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
(9) |
2
(11) |
3
(2) |
4
|
5
(6) |
6
(1) |
7
(6) |
8
(7) |
9
(16) |
10
(6) |
11
(2) |
12
(13) |
13
(3) |
14
(6) |
15
(6) |
16
(19) |
17
(2) |
18
(1) |
19
(1) |
20
(11) |
21
(5) |
22
(4) |
23
(7) |
24
(14) |
25
(15) |
26
(27) |
27
(26) |
28
(7) |
29
(2) |
30
(7) |
|
From: John H. <jd...@gm...> - 2007-11-16 21:06:15
|
On Nov 16, 2007 2:54 PM, Mark Bakker <ma...@gm...> wrote: > Erik - > > You write that adding a 'save' is difficult. > I can see it is involved, but don't quite see how it is specifically difficult. > The way I see it, every item that is added to a figure needs a method > to write itself to a file. So you loop through all lines, polygons, > and such, and write them to a file. I am sure you guys have thought > about this, and maybe have a much better approach. Last time we looked at it, there were problems pickling CXX extension code, and in particular our transformations objects were deeply nested CXX objects. In the transforms branch, they will be pure python and numpy, and we can revisit the issue again when the branch is folded into the trunk. |
From: Mark B. <ma...@gm...> - 2007-11-16 20:54:41
|
Erik - You write that adding a 'save' is difficult. I can see it is involved, but don't quite see how it is specifically difficult. The way I see it, every item that is added to a figure needs a method to write itself to a file. So you loop through all lines, polygons, and such, and write them to a file. I am sure you guys have thought about this, and maybe have a much better approach. Is this something that is on the to-do or wish list? Maybe not top priority, but it would sure be nice, Thanks, Mark Jordan Atlas wrote: > Hello, > > Is it possible to 'save' a matplotlib figure object using something > like the python pickle module? Basically, I'd like to save the 'figure' > as a file so that I can open it and manipulate it if something is > wrong. Alternative suggestions are welcome. > > Thank you, > > --Jordan Atlas Jordan, No, this has been requested before but it is not an easy modification of mpl to make. The alternative suggestion is to always encapsulate the making of a figure in a script, and then save the script and the data. If you want to save the combination in a single file, then arrange for the script and data to reside in a single subdirectory, and zip or tar that subdirectory. Eric |
From: Eric F. <ef...@ha...> - 2007-11-16 18:25:54
|
Hanno Klemm wrote: > Eric, > > if this is relatively straightforward, I might try and give it a shot. > However, at the moment, I don't even have a good idea how I get pylab > to draw an ellipsis given the two axes. > > If you could point me into the right direction I might try and start > writing some first implementation of this thing. Hanno, Well, I would not say it is "relatively straightforward" unless you understand the code in quiver, and that may take some work. What is needed is very similar to the quiver code. Or at least that is the way I would approach it. Eric > > Hanno > > > Eric Firing <ef...@ha...> said: > >> Michael Droettboom wrote: >>> Don't take this is a definitive answer, because this may be out of >>> date... The quiver.py module contains the following comment at > the top: >>> """ >>> This will also become a home for things such as standard >>> deviation ellipses, which can and will be derived very easily from >>> the Quiver code. >>> """ >>> >>> ...suggesting that this was planned but not yet implemented. >> Yes, I never got to it, and every time I look at quiver I think, "I >> should get that done." I will be needing it myself. If no one else >> does it, I will get to it--but probably in weeks, not days, since I am >> working on other things right now. >> >> Eric >> >>> Cheers, >>> Mike >>> >>> Hanno Klemm wrote: >>>> Hi all, >>>> >>>> I am looking for the possibility to plot quivers with error ellipsis >>>> on the end, representing the uncertainty in a velocity measurement. I >>>> looked around but I haven't found a functionality for that in pylab. >>>> Is this available or how would I go about writing such a > functionality? >>>> Best regards, >>>> Hanno >>>> >>>> >>>> > > > |
From: Hanno K. <kl...@ph...> - 2007-11-16 18:11:15
|
Eric, if this is relatively straightforward, I might try and give it a shot. However, at the moment, I don't even have a good idea how I get pylab to draw an ellipsis given the two axes. If you could point me into the right direction I might try and start writing some first implementation of this thing. Hanno Eric Firing <ef...@ha...> said: > Michael Droettboom wrote: > > Don't take this is a definitive answer, because this may be out of > > date... The quiver.py module contains the following comment at the top: > > > > """ > > This will also become a home for things such as standard > > deviation ellipses, which can and will be derived very easily from > > the Quiver code. > > """ > > > > ...suggesting that this was planned but not yet implemented. > > Yes, I never got to it, and every time I look at quiver I think, "I > should get that done." I will be needing it myself. If no one else > does it, I will get to it--but probably in weeks, not days, since I am > working on other things right now. > > Eric > > > > > Cheers, > > Mike > > > > Hanno Klemm wrote: > >> Hi all, > >> > >> I am looking for the possibility to plot quivers with error ellipsis > >> on the end, representing the uncertainty in a velocity measurement. I > >> looked around but I haven't found a functionality for that in pylab. > >> Is this available or how would I go about writing such a functionality? > >> > >> Best regards, > >> Hanno > >> > >> > >> > > > -- Hanno Klemm kl...@ph... |
From: Eric F. <ef...@ha...> - 2007-11-16 17:21:38
|
Michael Droettboom wrote: > Don't take this is a definitive answer, because this may be out of > date... The quiver.py module contains the following comment at the top: > > """ > This will also become a home for things such as standard > deviation ellipses, which can and will be derived very easily from > the Quiver code. > """ > > ...suggesting that this was planned but not yet implemented. Yes, I never got to it, and every time I look at quiver I think, "I should get that done." I will be needing it myself. If no one else does it, I will get to it--but probably in weeks, not days, since I am working on other things right now. Eric > > Cheers, > Mike > > Hanno Klemm wrote: >> Hi all, >> >> I am looking for the possibility to plot quivers with error ellipsis >> on the end, representing the uncertainty in a velocity measurement. I >> looked around but I haven't found a functionality for that in pylab. >> Is this available or how would I go about writing such a functionality? >> >> Best regards, >> Hanno >> >> >> > |
From: John H. <jd...@gm...> - 2007-11-16 16:24:04
|
On Nov 16, 2007 10:03 AM, Xavier Gnata <gn...@ob...> wrote: > /usr/lib/python2.4/site-packages/matplotlib/image.py in get_extent(self) > 286 sz = self.get_size() > 287 #print 'sz', sz > --> 288 numrows, numcols = sz > 289 if self.origin == 'upper': > 290 return (-0.5, numcols-0.5, numrows-0.5, -0.5) > > ValueError: need more than 1 value to unpack > > but it is another topic. It looks like you may be passing in a 1D array to imshow or to im.set_array. Could you post a code sample? JDH |
From: Xavier G. <gn...@ob...> - 2007-11-16 16:03:47
|
Darren Dale wrote: > On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote: > >> Hi, >> >> Quoting matplotlib/__init__.py : >> >> def checkdep_ghostscript(): >> try: >> if sys.platform == 'win32': >> command = 'gswin32c -v' >> else: >> command = 'gs -v' >> stdin, stdout = os.popen4(command) >> line = stdout.readlines()[0] >> v = line.split()[2] >> vtest = '.'.join(v.split('.')[:2]) # deal with version numbers >> like '7.07.1' >> float(vtest) >> return vtest >> except (IndexError, ValueError): >> return None >> >> It fails on debian sid because 'gs -v' returns "GPL Ghostscript SVN >> PRE-RELEASE 8.61 (2007-08-02)\n" >> >> Anyway, the parser will be ugly because it has to deal with version >> numbers like '7.07.1'. >> Should I propose a trivial patch to get thinks working on debian sid ? >> >> Xavier >> ps :Why is there no standard way (like -v or --version) on *unix to get >> the version *number*?? Only the version number. Why :( >> > > > This was fixed a while back in svn, but thanks for the report. It turns out > that --version does return only the version number. > > Darren > > Unfortunately, I'm not able to get the svn version working : imshow always fails : /usr/lib/python2.4/site-packages/matplotlib/pyplot.py in imshow(*args, **kwargs) 1673 hold(h) 1674 try: -> 1675 ret = gca().imshow(*args, **kwargs) 1676 draw_if_interactive() 1677 except: /usr/lib/python2.4/site-packages/matplotlib/axes.py in imshow(self, X, cmap, norm, aspect, interpolation, alpha, vmin, vmax, origin, extent, shape, filternorm, filterrad, imlim, **kwargs) 4435 im.autoscale_None() 4436 -> 4437 xmin, xmax, ymin, ymax = im.get_extent() 4438 4439 corners = (xmin, ymin), (xmax, ymax) /usr/lib/python2.4/site-packages/matplotlib/image.py in get_extent(self) 286 sz = self.get_size() 287 #print 'sz', sz --> 288 numrows, numcols = sz 289 if self.origin == 'upper': 290 return (-0.5, numcols-0.5, numrows-0.5, -0.5) ValueError: need more than 1 value to unpack but it is another topic. Xavier. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- ############################################ Xavier Gnata CRAL - Observatoire de Lyon 9, avenue Charles André 69561 Saint Genis Laval cedex Phone: +33 4 78 86 85 28 Fax: +33 4 78 86 83 86 E-mail: gn...@ob... ############################################ |
From: Darren D. <dar...@co...> - 2007-11-16 15:42:57
|
On Friday 16 November 2007 10:28:25 am Xavier Gnata wrote: > Hi, > > Quoting matplotlib/__init__.py : > > def checkdep_ghostscript(): > try: > if sys.platform == 'win32': > command = 'gswin32c -v' > else: > command = 'gs -v' > stdin, stdout = os.popen4(command) > line = stdout.readlines()[0] > v = line.split()[2] > vtest = '.'.join(v.split('.')[:2]) # deal with version numbers > like '7.07.1' > float(vtest) > return vtest > except (IndexError, ValueError): > return None > > It fails on debian sid because 'gs -v' returns "GPL Ghostscript SVN > PRE-RELEASE 8.61 (2007-08-02)\n" > > Anyway, the parser will be ugly because it has to deal with version > numbers like '7.07.1'. > Should I propose a trivial patch to get thinks working on debian sid ? > > Xavier > ps :Why is there no standard way (like -v or --version) on *unix to get > the version *number*?? Only the version number. Why :( This was fixed a while back in svn, but thanks for the report. It turns out that --version does return only the version number. Darren |
From: Xavier G. <gn...@ob...> - 2007-11-16 15:28:38
|
Hi, Quoting matplotlib/__init__.py : def checkdep_ghostscript(): try: if sys.platform == 'win32': command = 'gswin32c -v' else: command = 'gs -v' stdin, stdout = os.popen4(command) line = stdout.readlines()[0] v = line.split()[2] vtest = '.'.join(v.split('.')[:2]) # deal with version numbers like '7.07.1' float(vtest) return vtest except (IndexError, ValueError): return None It fails on debian sid because 'gs -v' returns "GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02)\n" Anyway, the parser will be ugly because it has to deal with version numbers like '7.07.1'. Should I propose a trivial patch to get thinks working on debian sid ? Xavier ps :Why is there no standard way (like -v or --version) on *unix to get the version *number*?? Only the version number. Why :( -- ############################################ Xavier Gnata CRAL - Observatoire de Lyon 9, avenue Charles André 69561 Saint Genis Laval cedex Phone: +33 4 78 86 85 28 Fax: +33 4 78 86 83 86 E-mail: gn...@ob... ############################################ |
From: John H. <jd...@gm...> - 2007-11-16 14:23:14
|
s On Nov 15, 2007 10:42 PM, C M <cmp...@gm...> wrote: > sorry, the last email did not get the pic attached. retrying, and text > recopied below: > ---------------------------------------------- > > Using Python 2.5, wxPython 2.8.4.2 (msw-unicode) matplotlib 0.90.1 > on winXP. I have two questions: > > 1) I have a small working app that produces a matplotlib plot. > This is a plot embedded in wxPython (it's not using Pylab). > When it is run as a python script, it looks fine. However, after > packaging it into an .exe with py2exe (using GUI2Exe to do that), > the font and size of the axes are different: smaller, and now in > italics. See attached picture. I also get the errors: > > C:\mycode\dist\myapp.exe\matplotlib\__init__.py:948: UserWarning: Could not > find matplotlibrc; using defaults > C:\mycode\dist\myapp.exe\matplotlib\__init__.py:999: UserWarning: could not > find rc file; returning defaults > > I did include in the data files this folder: > C:\Python25\Lib\site-packages\matplotlib\mpl-data\back.png > > and in the Python packages I included: > pytz > matplotlib.numerix > > 2) I thought that was the only error, but now I also see that, in > either case (as a python script or as a .exe file), each time I > resize the window, and the plot resizes (it is in a wxPython > sizer), the color of the data line changes randomly! It starts > blue, and then as I resize it it can be green, red, whatever. > In the picture attached, with resizing they've wound up different > colors, though they both started blue as they should have. My guess is that you are calling plot in an event handler that is triggered by a resize, and are seeing mpl's color cycler. As for the fonts, it looks like whatever fonts are being picked up by default (outside of py2exe) are not being packaged by py2exe. Make sure all the fonts in site-pacakges/matplotlib/mpl-data are being picked up by py2exe. In general, as long as py2exe is picking up all of mpl-data, I don't see why you would have trouble with fonts, your rc file, or your icons (eg back.png). Of course, w/o seeing any code or setup files this is just a wild guess. JDH |
From: Favre-Nicolin V. <vi...@us...> - 2007-11-16 14:06:20
|
> Thanks for (the only) reply Eric. I guess I have to switch over to > another plotting tool if I really want the color (maybe Gnuplot). Too > bad I started to like matplotlibs 3D plotting. You can try Mayavi (it may require Mayavi2, see=20 http://scipy.org/Cookbook/MayaVi/) =46or surface plots, see http://scipy.org/Cookbook/MayaVi/mlab Vincent =2D-=20 Vincent Favre-Nicolin Universit=E9 Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net |
From: Seyit H. <se...@as...> - 2007-11-16 13:55:27
|
Eric Firing wrote: > Seyit Hocuk wrote: >> Hi everybody, >> >> I have sent this email before today, but I wasn't a member back then. >> So I don't know if it was sent. Anyway I am sending it again, if >> anyone knows how to color the plot_surface function (along an axis >> perhaps), please share your knowledge. >> >> Thanks, >> Seyit > > Seyit, > > I haven't seen a reply yet, so I will give the standard caution: 3-D > plotting in mpl is not actively supported or maintained. > > Eric Thanks for (the only) reply Eric. I guess I have to switch over to another plotting tool if I really want the color (maybe Gnuplot). Too bad I started to like matplotlibs 3D plotting. Greetz, Seyit |
From: Michael D. <md...@st...> - 2007-11-16 13:23:10
|
Don't take this is a definitive answer, because this may be out of date... The quiver.py module contains the following comment at the top: """ This will also become a home for things such as standard deviation ellipses, which can and will be derived very easily from the Quiver code. """ ...suggesting that this was planned but not yet implemented. Cheers, Mike Hanno Klemm wrote: > Hi all, > > I am looking for the possibility to plot quivers with error ellipsis > on the end, representing the uncertainty in a velocity measurement. I > looked around but I haven't found a functionality for that in pylab. > Is this available or how would I go about writing such a functionality? > > Best regards, > Hanno > > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
From: Hanno K. <kl...@ph...> - 2007-11-16 09:29:45
|
Hi all, I am looking for the possibility to plot quivers with error ellipsis on the end, representing the uncertainty in a velocity measurement. I looked around but I haven't found a functionality for that in pylab. Is this available or how would I go about writing such a functionality? Best regards, Hanno -- Hanno Klemm kl...@ph... |
From: Eric F. <ef...@ha...> - 2007-11-16 08:03:59
|
Seyit Hocuk wrote: > Hi everybody, > > I have sent this email before today, but I wasn't a member back then. So > I don't know if it was sent. Anyway I am sending it again, if anyone > knows how to color the plot_surface function (along an axis perhaps), > please share your knowledge. > > Thanks, > Seyit Seyit, I haven't seen a reply yet, so I will give the standard caution: 3-D plotting in mpl is not actively supported or maintained. Eric |
From: Eric F. <ef...@ha...> - 2007-11-16 05:36:47
|
Jordan Atlas wrote: > Hello, > > Is it possible to 'save' a matplotlib figure object using something > like the python pickle module? Basically, I'd like to save the 'figure' > as a file so that I can open it and manipulate it if something is > wrong. Alternative suggestions are welcome. > > Thank you, > > --Jordan Atlas Jordan, No, this has been requested before but it is not an easy modification of mpl to make. The alternative suggestion is to always encapsulate the making of a figure in a script, and then save the script and the data. If you want to save the combination in a single file, then arrange for the script and data to reside in a single subdirectory, and zip or tar that subdirectory. Eric |
From: C M <cmp...@gm...> - 2007-11-16 04:41:15
|
Using Python 2.5, wxPython 2.8.4.2 (msw-unicode) matplotlib 0.90.1 on winXP. I have two questions: 1) I have a small working app that produces a matplotlib plot. This is a plot embedded in wxPython (it's not using Pylab). When it is run as a python script, it looks fine. However, after packaging it into an .exe with py2exe (using GUI2Exe to do that), the font and size of the axes are different: smaller, and now in italics. See attached picture. I also get the errors: C:\mycode\dist\myapp.exe\matplotlib\__init__.py:948: UserWarning: Could not find matplotlibrc; using defaults C:\mycode\dist\myapp.exe\matplotlib\__init__.py:999: UserWarning: could not find rc file; returning defaults I did include in the data files this folder: C:\Python25\Lib\site-packages\matplotlib\mpl-data\back.png and in the Python packages I included: pytz matplotlib.numerix 2) I thought that was the only error, but now I also see that, in either case (as a python script or as a .exe file), each time I resize the window, and the plot resizes (it is in a wxPython sizer), the color of the data line changes randomly! It starts blue, and then as I resize it it can be green, red, whatever. In the picture attached, with resizing they've wound up different colors, though they both started blue as they should have. Any ideas? Thanks. |
From: Jordan A. <jc...@co...> - 2007-11-16 04:34:16
|
Hello, Is it possible to 'save' a matplotlib figure object using something like the python pickle module? Basically, I'd like to save the 'figure' as a file so that I can open it and manipulate it if something is wrong. Alternative suggestions are welcome. Thank you, --Jordan Atlas |