You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1
(1) |
2
(43) |
3
(17) |
4
(12) |
5
(9) |
6
(14) |
7
(8) |
8
|
9
(15) |
10
(16) |
11
(11) |
12
(10) |
13
(20) |
14
(7) |
15
(4) |
16
(16) |
17
(25) |
18
(10) |
19
(27) |
20
(26) |
21
(6) |
22
(20) |
23
(12) |
24
(15) |
25
(22) |
26
(15) |
27
(43) |
28
(8) |
29
(6) |
30
(12) |
|
|
|
|
|
My fault. that last error was because I re-installed matplotlib and forgot to "re-change" the backend to TkAgg. Sorry. Everything seems to be working again now (although a bit slower). Kurt
Looks like your latest compile includes the full-res data. Kurt
Well, installing the highres data into the 'data' directory didn't help. Kurt
Jeff, Got it and it seemed to install. Well... as luck would have it, I still have a problem. I think I know what is causing it, though. I was using the high-res data, and the "upgrade" nukes that data. Here's the message I'm getting along with the code snippet, just to make sure I'm on the right track for a solution: Exception in Tkinter callback Traceback (most recent call last): File "C:\Python25\Lib\lib-tk\Tkinter.py", line 1403, in __call__ return self.func(*args) File "C:\Documents and Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py", line 405, in callback populate_banddata(fileToOpen) File "C:\Documents and Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py", line 383, in populate_banddata populate_location_map(sheetnumber, sP, txInfo) File "C:\Documents and Settings\kpeters\smworkspace\parsesmExcelFile\src\readParse\ExcelClass.py", line 100, in populate_location_map projection='lcc', lat_1=33, lat_2=45, lon_0=-95, resolution='l') TypeError: 'module' object is not callable Code Snippet: m1 = basemap(llcrnrlon=-119, llcrnrlat=22, urcrnrlon=-64, urcrnrlat=49, \ projection='lcc', lat_1=33, lat_2=45, lon_0=-95, resolution='l') shp_info = m1.readshapefile(r'C:\Python25\Lib\basemap-0.99\examples\citiesx020', 'states', drawbounds=True) Any hints on what to do now that I am downloading the fullres? Regards, Kurt
HI , thank you very much for the quick reply, i have an older version (which is not up to me upgrade) so the subplots_adjust worked just fine. Thanks again. bye for now Margherita
Hi Margherita, On Wednesday 04 June 2008 18:01:47 Margherita Vittone wiersma wrote: > Hi all, > i have a plot on which the x axix has timestamps info; i would like to > control the size of the edge or border (not sure whta is the proper word) > so the there is enough space between the real plot and the outer border so > that the x labels are not cut out. I rotate the xlabel also but still i > don't have enough space; how do i control that feature? Even in one of the > demo examples i see the same problem, example in date_demo_convert.py > where you can't see the x full lable. First of all I cannot confirm your observation with the online version of the example at http://matplotlib.sourceforge.net/examples/pylab/date_demo_convert.py Maybe the function "fig.autofmt_xdate" is not included in your version of the example. With that function you have many possibilities to change the x-date-format, e.g. fig.autofmt_xdate(bottom=0.3, rotation=45) or you can extend the space between the axes and the border of the figure yourself using subplots_adjust(bottom=0.2) best regards Matthias
On Wed, Jun 4, 2008 at 11:01 AM, Margherita Vittone wiersma <vi...@fn...> wrote: > Hi all, > i have a plot on which the x axix has timestamps info; i would like to control the size > of the edge or border (not sure whta is the proper word) so the there is enough space between > the real plot and the outer border so that the x labels are not cut out. I rotate the xlabel also > but still i don't have enough space; how do i control that feature? Even in one of the demo examples > i see the same problem, example in date_demo_convert.py where you can't see the x full lable. What you are asking for is controlled by the "subplots_adjust" parameter fig.subplots_adjust(bottom=0.2) but for dates in particular we have a helper function which: * adjusts the bottom * rotates the ticks * right aligns them Try fig.autofmt_xdate() with recent matplotlib releases. JD
Hi all, i have a plot on which the x axix has timestamps info; i would like to control the size of the edge or border (not sure whta is the proper word) so the there is enough space between the real plot and the outer border so that the x labels are not cut out. I rotate the xlabel also but still i don't have enough space; how do i control that feature? Even in one of the demo examples i see the same problem, example in date_demo_convert.py where you can't see the x full lable. Thank all you much Margherita
Hi, Thanks for the tips, I'll try that :) Matthieu 2008年6月4日 Matthias Michler <Mat...@gm...>: > Hi Matthieu, > > I'm not sure if somebody else already answered to your question and I don't > know the best way to achieve what you need, but I suggest the following > work-around: > > scatter(x, x**2.4, marker='s', color='r', s=25, label="_") > # with no label > > plot([0], [0], ls='', marker='s', color='r', ms=5, mew=0, label="my label") > # plot somewhere outside the shown axis with the preferred label > > legend() > > Best regards > Matthias > > On Friday 30 May 2008 11:20:08 Matthieu Brucher wrote: > > Hi, > > > > I'd like to plot three scatter plots on the same figure, each with > > different symbols. Associated to these scatter plots, I'd like to put a > > legend. For the moment, the legend is based on one of the color of the > > associated scatter plot, but it is not relevant. Indeed, the colors are > not > > identical inside one scatter plot, so the displayed color is > > discriminating. So I'd like to display the symbol (circle, square, cross, > > ...) instead of the color rectangle. Is it possible ? > > > > Thanks, > > > > Matthieu > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- French PhD student Website : http://matthieu-brucher.developpez.com/ Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92 LinkedIn : http://www.linkedin.com/in/matthieubrucher
Hi Matthieu, I'm not sure if somebody else already answered to your question and I don't know the best way to achieve what you need, but I suggest the following work-around: scatter(x, x**2.4, marker='s', color='r', s=25, label="_") # with no label plot([0], [0], ls='', marker='s', color='r', ms=5, mew=0, label="my label") # plot somewhere outside the shown axis with the preferred label legend() Best regards Matthias On Friday 30 May 2008 11:20:08 Matthieu Brucher wrote: > Hi, > > I'd like to plot three scatter plots on the same figure, each with > different symbols. Associated to these scatter plots, I'd like to put a > legend. For the moment, the legend is based on one of the color of the > associated scatter plot, but it is not relevant. Indeed, the colors are not > identical inside one scatter plot, so the displayed color is > discriminating. So I'd like to display the symbol (circle, square, cross, > ...) instead of the color rectangle. Is it possible ? > > Thanks, > > Matthieu
I have .debs for Ubuntu Hardy available at http://debs.astraw.com/hardy/ . Note that these packages don't follow all Debian/Ubuntu guidelines and are of lower quality than the official packages, which I recommend over these. Nevertheless, I've packaged these things up for my personal and my laboratory's use, and anyone is welcome to use them, too. As always, please let me know if you find any bugs. (The source .dsc packages are also available at the same site, and might work with recompilation for Debian testing and possibly older Ubuntu versions.) -Andrew Johan Mazel wrote: > Hi > I'd like to know when the latest packages in *.deb or *.rpm (from the > 0.98.0 version) will be available in the repositories ? > If you have any addresses of "custom" repositories where I could get > this package, it would be nice too. > > I prefer to have a package installed than installed the software > myself since I think it would be easier for me if I want to uninstall it. > > Thanks. > Johan Mazel > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Hi I'd like to know when the latest packages in *.deb or *.rpm (from the 0.98.0 version) will be available in the repositories ? If you have any addresses of "custom" repositories where I could get this package, it would be nice too. I prefer to have a package installed than installed the software myself since I think it would be easier for me if I want to uninstall it. Thanks. Johan Mazel
Berit Hinnemann wrote: > > Hi Michael, > > Thanks a lot for your reply. > > >No. As of 0.91 and later, you can mix normal text with math. Just > >stick the math inside a pair of '$'. > > I just realized that I have version 0.90 installed. Is it advisable to > upgrade to 0.93 or to 0.98 directly? Also, how do I uninstall the 0.90 > version before installing the new one? My old version is located in > site-packages as an .egg directory. I never use eggs myself, but you should be able to delete that egg directory and then install a new matplotlib version. matplotlib doesn't install anything required outside of site-packages/matplotlib. > > As for the code to set the fonts, I use > > rc('font',**{'family':'sans-serif', 'sans-serif':['Helvetica']}) > That seems to work for me for any font I throw at it. Do you have usetex on, or any other non-default settings in your matplotlibrc file? Are you running this line (above) before any plotting? Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
On Tue, Jun 03, 2008 at 03:55:48PM +0200, Friedrich Hagedorn wrote: > > I want do add an arrow *tip* to a line with the same angle. It should behave like a marker: it should not resize when I zoom in. By, Friedrich
Hello, I want do add an arrow *tip* to a line with the same angle. I have tried this: from pylab import * from matplotlib import collections, transforms def MyArrow(ax, x, y, ang, scale=50, over=.5, color='k'): ar = [(0,0), (-.5,-over), (0,1), (.5,-over), (0,0)] col = collections.PolyCollection( [ar], offsets=(x, y), transOffset=ax.transData, color=color ) col.set_transform(transforms.Affine2D().rotate(ang).scale(scale)) ax.add_collection(col) plot([0,1,2], '.-', lw=2) MyArrow(gca(), .5, .5, -pi/4) draw() and I get an arrow tip without the same line angle :-( See the attached image. Can you help me to get the right transformation? Thanks, Friedrich
Hello all, Just a quick question which I can't seem to find an answer to on google or in the documentation. Is it possible to produce a Radar or Spider chart: http://en.wikipedia.org/wiki/Radar_chart with Matplotlib? I can see that you can produce polar plots, however the only references I can find to "radar" plots are the "radar" green colour in the examples file. Just wondering whether it was worth pursuing this technique or using a different method (if anyone knows of a python library that can do this I would appreciate it?) Kind regards, Tom
On Mon, Jun 2, 2008 at 11:44 PM, <chu...@ch...> wrote: > Windows XP SP2 / MPL 0.98 / NumPy 1.1 > > I wrote some code which has the following line > ax1.yaxis.set_major_locator(MLT.LinearLocator(numticks=10)) > > I now get the error > AttributeError: LinearLocator instance has no attribute 'verify_intervals' > > This was working fine with the previous version of MPL. > > Any ideas for a workaround? This looks like old cruft that did not have any tests and slipped through the cracks on the upgrade. I'm attaching an updated file you can drop in site-packages/matplotlib/. We'll fix this on our end so that the updated version comes out in the bug-fix release. Let us know if you see any more problems. BTW: the LinearLocator is prettty old and the default matplotlib tick locating has gotten a lot better so this is mostly obsolete. My guess is you will get better results by simply commenting out the linear locator part. JDH
Hi Michael, Thanks a lot for your reply. >No. As of 0.91 and later, you can mix normal text with math. Just >stick the math inside a pair of '$'. I just realized that I have version 0.90 installed. Is it advisable to upgrade to 0.93 or to 0.98 directly? Also, how do I uninstall the 0.90 version before installing the new one? My old version is located in site-packages as an .egg directory. As for the code to set the fonts, I use rc('font',**{'family':'sans-serif', 'sans-serif':['Helvetica']}) Best regards, Berit No. As of 0.91 and later, you can mix normal text with math. Just stick the math inside a pair of '$'. > -When I do that and set the default font to e.g. Helvetica, everything > gets printed in Helvetica, except the numbers on the axes. How can I > get them in Helvetica as well? Can you include a snippet of code showing how you set those fonts? This e-mail message (including attachments, if any) is confidential and may be privileged. It is intended only for the addressee. Any unauthorised distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify the sender by e-mail and delete it and any attachments from your computer system and records. HALDOR TOPSOE (www.topsoe.com)
I've never needed to ask this question, so I don't know the answer, but I would suspect pylab, in reality, adds very little overhead to matplotlib. But -- I would modify your test script to actually perform a plot using pylab vs. matplotlib API. Until you actually "do" something, you're just measuring the cost of importing and initialization, which is likely not the significant part of memory usage. Also, make sure you aren't using a GUI backend. Use Agg, Pdf, Svg, Ps etc. depending on your desired output. The GUI backends will not only take up more memory, but they can break inside of a CGI/mod_python environment where you don't have an X server. Cheers, Mike Larsen, Jesper wrote: > > Hi matplotlib users and developers, > > I am trying to run a web application using matplotlib in a memory > constrained environment. I have therefore tried to figure out what > memory overhead matplotlib incurs. When I run the following method > prior to and after importing pylab and matplotlib respectively I get: > > def report_memory(): > import os > pid = os.getpid() > a2 = os.popen('ps -p %d -o rss,vsz,%%mem' % pid).readlines() > print a2[1], > return int(a2[1].split()[1]) > > import numpy > report_memory() > #import pylab > #import matplotlib > report_memory() > > $ python test.py > 5976 17872 0.5 > 15608 41924 1.5 > $ python test.py > 5972 17824 0.5 > 7608 20608 0.7 > > I am importing numpy separately since I need it for other purposes. So > pylab uses ~24 MB while matplotlib uses 2.8 MB. Does this mean that I > should rewrite my application so that it does not depend on pylab or > will the matplotlib memory usage ramp up as I import sub modules? What > is your experience? > > Regards, > Jesper > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Berit Hinnemann wrote: > > Hi again, > > Thanks a lot for all the replies. Markersize and Markeredgewidth work > beautifully. > > A couple more questions, which is, I think, are related to what Erik > Tollerud asked > > -Is it correct that I can only mix math symbols and normal text in an > axis label, when I use "usetex = True" No. As of 0.91 and later, you can mix normal text with math. Just stick the math inside a pair of '$'. > -When I do that and set the default font to e.g. Helvetica, everything > gets printed in Helvetica, except the numbers on the axes. How can I > get them in Helvetica as well? Can you include a snippet of code showing how you set those fonts? Cheers, Mike > > Thanks a lot! > > Best regards, > Berit > ------------------------------------------------------------------------ > *Berit Hinnemann* > Research Scientist | Characterization Department | Research & Development > > *Haldor Topsøe A/S* > Nymøllevej 55 > DK-2800 Kgs. Lyngby > Phone: +45 4527 2130 (direct) > > /Haldor Topsøe is market leading within heterogeneous catalysis and > supplies catalysts and process design for oil refineries, chemical > plants and the energy sector. The environment plays an important role > in Topsøe's research and production, and through the introduction of > new catalysts and technologies the company supports a more sustainable > use of the world's resources. Annual revenues total DKK 3.5 billion > generated by our 1,700 dedicated employees. For additional information > please see our web site /*_www.topsoe.com_* <http://www.topsoe.com/> > > > *"John Hunter" <jd...@gm...>* > > 02-06-2008 19:51 > > > To > Berit Hinnemann [BEHI]@htas > cc > mat...@li... > > > Subject > Re: [Matplotlib-users] Make tick labels thicker > > > > > > > > > > On Mon, Jun 2, 2008 at 12:45 PM, John Hunter <jd...@gm...> wrote: > > > for line in ax.get_xticklines() + ax.get_yticklines(): > > line.set_markeredgewidth(10) > > Correction ( I should have read the link myself first). The property > you are probably interested is the markersize (marker size in points) > though markeredgewidth may be useful too.... > > JDH > > > > ------------------------------------------------------------------------ > > This e-mail message (including attachments, if any) is confidential > and may be privileged. It is intended only for the addressee. > Any unauthorised distribution or disclosure is prohibited. Disclosure > to anyone other than the intended recipient does not constitute waiver > of privilege. > If you have received this e-mail in error, please notify the sender by > e-mail and delete it and any attachments from your computer system and > records. > HALDOR TOPSOE (_www.topsoe.com_ <http://www.topsoe.com/>) > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Hello all, Just a quick question which I can't seem to find an answer to on google or in the documentation. Is it possible to produce a Radar or Spider chart: http://en.wikipedia.org/wiki/Radar_chart with Matplotlib? I can see that you can produce polar plots, however the only references I can find to "radar" plots are the "radar" green colour in the examples file. Just wondering whether it was worth pursuing this technique or using a different method (if anyone knows of a python library that can do this I would appreciate it?) Kind regards, Tom
Hi matplotlib users and developers, I am trying to run a web application using matplotlib in a memory constrained environment. I have therefore tried to figure out what memory overhead matplotlib incurs. When I run the following method prior to and after importing pylab and matplotlib respectively I get: def report_memory(): import os pid = os.getpid() a2 = os.popen('ps -p %d -o rss,vsz,%%mem' % pid).readlines() print a2[1], return int(a2[1].split()[1]) import numpy report_memory() #import pylab #import matplotlib report_memory() $ python test.py 5976 17872 0.5 15608 41924 1.5 $ python test.py 5972 17824 0.5 7608 20608 0.7 I am importing numpy separately since I need it for other purposes. So pylab uses ~24 MB while matplotlib uses 2.8 MB. Does this mean that I should rewrite my application so that it does not depend on pylab or will the matplotlib memory usage ramp up as I import sub modules? What is your experience? Regards, Jesper
On Mon, Jun 02, 2008 at 11:17:44PM +0300, Jouni K. Seppänen wrote: > I can confirm this in at least version 0.91.3. The problem seems to be > caused by the midpoint of the stem being included in the path twice in a > row. The following patch removes the midpoint altogether and fixes the > rendering problem at least on my version of xpdf. I'm kind of swamped > right now, so I hope someone else can check whether this breaks any > other uses of arrows, or some other backend. (If this doesn't seem to > happen, please file a bug report in the tracker so it isn't forgotten.) > The patch is against the maintenance branch, but the trunk has > similar-looking code. Thank you very much. It works for me too. > Index: lib/matplotlib/patches.py > =================================================================== > --- lib/matplotlib/patches.py (revision 5366) > +++ lib/matplotlib/patches.py (working copy) > @@ -634,7 +634,13 @@ > if shape == 'right': > coords = right_half_arrow > elif shape == 'full': > - coords=npy.concatenate([left_half_arrow,right_half_arrow[::-1]]) > + # Concatenating the full paths caused the midpoint > + # of the stem to be included twice, which was > + # rendered badly by xpdf. Since the point is right > + # between the corners of the stem, we can drop it > + # from both halves. > + coords=npy.concatenate([left_half_arrow[:-1], for the most recent svn version: npy => np > + right_half_arrow[-2::-1]]) > else: > raise ValueError, "Got unknown shape: %s" % shape > cx = float(dx)/distance By, Friedrich
Hi again, Thanks a lot for all the replies. Markersize and Markeredgewidth work beautifully. A couple more questions, which is, I think, are related to what Erik Tollerud asked -Is it correct that I can only mix math symbols and normal text in an axis label, when I use "usetex = True" -When I do that and set the default font to e.g. Helvetica, everything gets printed in Helvetica, except the numbers on the axes. How can I get them in Helvetica as well? Thanks a lot! Best regards, Berit Berit Hinnemann Research Scientist | Characterization Department | Research & Development Haldor Topsøe A/S Nymøllevej 55 DK-2800 Kgs. Lyngby Phone: +45 4527 2130 (direct) Haldor Topsøe is market leading within heterogeneous catalysis and supplies catalysts and process design for oil refineries, chemical plants and the energy sector. The environment plays an important role in Topsøe's research and production, and through the introduction of new catalysts and technologies the company supports a more sustainable use of the world's resources. Annual revenues total DKK 3.5 billion generated by our 1,700 dedicated employees. For additional information please see our web site www.topsoe.com "John Hunter" <jd...@gm...> 02-06-2008 19:51 To Berit Hinnemann [BEHI]@htas cc mat...@li... Subject Re: [Matplotlib-users] Make tick labels thicker On Mon, Jun 2, 2008 at 12:45 PM, John Hunter <jd...@gm...> wrote: > for line in ax.get_xticklines() + ax.get_yticklines(): > line.set_markeredgewidth(10) Correction ( I should have read the link myself first). The property you are probably interested is the markersize (marker size in points) though markeredgewidth may be useful too.... JDH This e-mail message (including attachments, if any) is confidential and may be privileged. It is intended only for the addressee. Any unauthorised distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify the sender by e-mail and delete it and any attachments from your computer system and records. HALDOR TOPSOE (www.topsoe.com)
Windows XP SP2 / MPL 0.98 / NumPy 1.1 I wrote some code which has the following line ax1.yaxis.set_major_locator(MLT.LinearLocator(numticks=10)) I now get the error AttributeError: LinearLocator instance has no attribute 'verify_intervals' This was working fine with the previous version of MPL. Any ideas for a workaround?