You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(33) |
Dec
(20) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(44) |
Mar
(51) |
Apr
(43) |
May
(43) |
Jun
(36) |
Jul
(61) |
Aug
(44) |
Sep
(25) |
Oct
(82) |
Nov
(97) |
Dec
(47) |
2005 |
Jan
(77) |
Feb
(143) |
Mar
(42) |
Apr
(31) |
May
(93) |
Jun
(93) |
Jul
(35) |
Aug
(78) |
Sep
(56) |
Oct
(44) |
Nov
(72) |
Dec
(75) |
2006 |
Jan
(116) |
Feb
(99) |
Mar
(181) |
Apr
(171) |
May
(112) |
Jun
(86) |
Jul
(91) |
Aug
(111) |
Sep
(77) |
Oct
(72) |
Nov
(57) |
Dec
(51) |
2007 |
Jan
(64) |
Feb
(116) |
Mar
(70) |
Apr
(74) |
May
(53) |
Jun
(40) |
Jul
(519) |
Aug
(151) |
Sep
(132) |
Oct
(74) |
Nov
(282) |
Dec
(190) |
2008 |
Jan
(141) |
Feb
(67) |
Mar
(69) |
Apr
(96) |
May
(227) |
Jun
(404) |
Jul
(399) |
Aug
(96) |
Sep
(120) |
Oct
(205) |
Nov
(126) |
Dec
(261) |
2009 |
Jan
(136) |
Feb
(136) |
Mar
(119) |
Apr
(124) |
May
(155) |
Jun
(98) |
Jul
(136) |
Aug
(292) |
Sep
(174) |
Oct
(126) |
Nov
(126) |
Dec
(79) |
2010 |
Jan
(109) |
Feb
(83) |
Mar
(139) |
Apr
(91) |
May
(79) |
Jun
(164) |
Jul
(184) |
Aug
(146) |
Sep
(163) |
Oct
(128) |
Nov
(70) |
Dec
(73) |
2011 |
Jan
(235) |
Feb
(165) |
Mar
(147) |
Apr
(86) |
May
(74) |
Jun
(118) |
Jul
(65) |
Aug
(75) |
Sep
(162) |
Oct
(94) |
Nov
(48) |
Dec
(44) |
2012 |
Jan
(49) |
Feb
(40) |
Mar
(88) |
Apr
(35) |
May
(52) |
Jun
(69) |
Jul
(90) |
Aug
(123) |
Sep
(112) |
Oct
(120) |
Nov
(105) |
Dec
(116) |
2013 |
Jan
(76) |
Feb
(26) |
Mar
(78) |
Apr
(43) |
May
(61) |
Jun
(53) |
Jul
(147) |
Aug
(85) |
Sep
(83) |
Oct
(122) |
Nov
(18) |
Dec
(27) |
2014 |
Jan
(58) |
Feb
(25) |
Mar
(49) |
Apr
(17) |
May
(29) |
Jun
(39) |
Jul
(53) |
Aug
(52) |
Sep
(35) |
Oct
(47) |
Nov
(110) |
Dec
(27) |
2015 |
Jan
(50) |
Feb
(93) |
Mar
(96) |
Apr
(30) |
May
(55) |
Jun
(83) |
Jul
(44) |
Aug
(8) |
Sep
(5) |
Oct
|
Nov
(1) |
Dec
(1) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
(13) |
2
(9) |
3
(4) |
4
|
5
(1) |
6
(4) |
7
(4) |
8
|
9
(1) |
10
(2) |
11
(1) |
12
(1) |
13
(3) |
14
(1) |
15
(5) |
16
(3) |
17
(18) |
18
(2) |
19
|
20
(1) |
21
(4) |
22
(9) |
23
(3) |
24
(2) |
25
|
26
|
27
|
28
|
29
(1) |
30
(1) |
|
|
From: Eric F. <ef...@ha...> - 2005-06-02 17:39:47
|
John, Jeff, > Eric: Thanks - contour indeed now seems to work perfectly with masked > arrays, but I still have problems with contourf (see attached > ortho_test.png). Unfortunately, neither of your suggested workarounds > help, the first makes no difference and the second makes it much worse. > -Jeff The attached patch against the cntr.c in cvs does the following: 1) Fixes the bug you (Jeff) described above. 2) Adds a print function for debugging, but normally unused. 3) Fixes a minor bug in which space for an array of ints was allocated where only an array of chars was used. The original masked array contourf bug is still there, but I suspect (and hope!) it will not present a serious problem for basemap. I still want to find and fix it, but that may take a long time. I want to make some minor cleanups and one API change in contour.py, but I will leave that for a separate message, probably within 24 hours. Eric |
From: Darren D. <dd...@co...> - 2005-06-02 14:46:10
|
I have been trying to deal with some font problems related to the new tex=20 capabilities in MPL. Let me summarize what MPL is doing, when text.usetex i= s=20 true in rc: texmanager runs TeX (or LaTeX) on a string, and John has somehow extracted = an=20 image of that string and its bbox information to intelligently layout and=20 render the text. the ps backend will produce a transitional eps file with a bunch of psfrag= =20 markers, along with an associated tex file. backend_ps runs latex on the te= x=20 file, which embeds the eps, and replaces the markers with the actual text.= =20 Now we have a ps file, which can be converted into an eps if desired with=20 ps2epsi, or maybe this could be changed to a call to ghostscript: gs=20 =2DdNOPAUSE -sDEVICE=3Depswrite -sOutputFile=3Dtex_demo.eps tex_demo.ps. As= far as=20 the user is concerned, you type savefig('foo.eps') and get foo.eps,=20 blissfully unaware of all the intermediate steps. Here is my current problem. I embed an eps file generated with ps2epsi in a= =20 new tex document. The dvi looks ok, but after dvips, the text in my figure= =20 gets inverted and shifted. This seems to be a bigger problem when using lat= ex=20 classes that do some font handling behind the scenes, for example, article= =20 seems ok, but revtex4 and ha-prosper yield unacceptable results. On the other hand, if I use ghostscript to generate the eps, I can embed th= e=20 files and the printed page looks fine, but the fonts look terrible on scree= n.=20 Here is a comment from the afpl website=20 http://www.cs.wisc.edu/~ghost/doc/AFPL/8.50/Issues.htm: =2D-- pswrite device generates low level PostScript. pswrite and epswrite devices reduce everything to path, fill, stroke, clip= =20 image, and imagemask operations. Although the resulting file prints OK it=20 produces unsatisfactory results when scaled, distilled or imported into=20 graphic editors. The file can easily exceed 4GB and hit file size limits in= =20 some applications or operation systems. Handling of big files is slow.=20 =2D-- The associated bug report (filed over 2 years ago) says this is a low prior= ity=20 problem. How can MPL deal with these non-MPL issues? I know John doesn't like the id= ea=20 of handling text in eps as images, but if we did, could that be a suitable= =20 workaround? Does anyone have another suggestion? Darren |
From: Nicholas Y. <su...@su...> - 2005-06-02 10:00:23
|
On Wed, 2005-06-01 at 15:49 -0700, Andrew Straw wrote: > John Hunter wrote: > >>>>>>"Nicholas" == Nicholas Young <su...@su...> writes: > > > > > > Nicholas> Now done in the attached patch, I also added support for > > Nicholas> MxNx3 images; as I suspected these are noticeably slower > > Nicholas> than MxNx4 images but I changed my mind and decided it > > Nicholas> was worth supporting them. > > > > Great, I just committed this to CVS. > > > > Andrew, if you get a minute to update from CVS, can you make sure that > > the PIL changes don't cause a problem for your PIL using mpl scripts? > > I didn't have much of a check, but image_demo3.py still works. > > This may be the apparently-longstanding imshow resizing bug (that I > haven't followed), but this demo shows some storage behavior when > resizing -- horizontal stretching of the window allows the aspect ratio > of the image to change to horizontally stretched, but vertical > stretching of the window appears to scale the image to maintain its > original aspect ratio. I don't think this is connected to the changes I've made; as I've changed none of the resizing/streaching/fixed aspect code. I've not followed any prior discussion (and so don't know why the problem hasn't been fixed) but if I'm reading it correctly it's fairly clear from the general imshow code that problem is going to manifest itself. Nick |
From: Nicolas G. <nic...@ne...> - 2005-06-02 09:26:52
|
On Wednesday 01 June 2005 18:38, John Hunter wrote: > Nicolas wants a standard > colormap but with the colorbar display inverted (red would still map > to large numbers but for vertical colorbars would be on the bottom and > for horizontal colorbars would be on the left -- the colorbar tick > labels would change too). > That beeing said, I'm also in the need of a way of saving eps figures of gray contours in negative, in order to save toner... with the standard gray colormap, my contours are very dark, leading to a huge consumption of toner. With a gray colormap "in negative", the result would be at least as readable and consumes much less toner. Two strategies are possible here: - either display the gray colormap as usual on the screen, but save the figure in negative with the "eps" or "png" backends (this is AFAIK the default behaviour of IDL), - or provide a "negative gray" colormap ; I've tried to hack the cm.py in that way, and tried something like: _ngray_data = {'red': ((0., 1, 1), (1., 0, 0)), 'green': ((0., 1, 1), (1., 0, 0)), 'blue': ((0., 1, 1), (1., 0, 0))} but there seems to be a problem with the highest values, that keep beeing displayed in white instead of black. What do you think ? PS: which place would be the more appropriate for this discussion, the -user or -devel mailing list ? Cheers, Nicolas |
From: Andrew S. <str...@as...> - 2005-06-01 22:49:25
|
John Hunter wrote: >>>>>>"Nicholas" == Nicholas Young <su...@su...> writes: > > > Nicholas> Now done in the attached patch, I also added support for > Nicholas> MxNx3 images; as I suspected these are noticeably slower > Nicholas> than MxNx4 images but I changed my mind and decided it > Nicholas> was worth supporting them. > > Great, I just committed this to CVS. > > Andrew, if you get a minute to update from CVS, can you make sure that > the PIL changes don't cause a problem for your PIL using mpl scripts? I didn't have much of a check, but image_demo3.py still works. This may be the apparently-longstanding imshow resizing bug (that I haven't followed), but this demo shows some storage behavior when resizing -- horizontal stretching of the window allows the aspect ratio of the image to change to horizontally stretched, but vertical stretching of the window appears to scale the image to maintain its original aspect ratio. Cheers! Andrew |
From: John H. <jdh...@ac...> - 2005-06-01 17:58:34
|
>>>>> "Keith" == Keith Goodman <kwg...@gm...> writes: Keith> Thought you might be interested in knowing that the Octave Keith> maintainers are looking into using matplotlib in Octave. Hi Keith, I very recently exchanged emails with Tom Holroyd (CCd on this mail), who was also interested in adding mpl plotting to octave. We thought that embedding the python interpreter might be the path of least resistance. It might be good for Tom to be in touch with the octave people to avoid duplication of effort. There are also some inconsistencies in the plotting functions between mpl and matlab, in addition to the lack of 3D. For example, our plot command does not currently support plot(x, Y) or plot(X,Y) where X and Y are matrices, though it would be easy to add such functionality. Also, the default behavior of imshow is pretty different (in matplotlib imshow scales the image to fit the current axes box). These differences will surely cause some minor headaches, but for the most part the interfaces are compatible. A combination of extending/patching matplotlib and doing some translation on the octave side would probably work for most (2D) cases. Thanks for the heads up, JDH |
From: Keith G. <kwg...@gm...> - 2005-06-01 17:42:28
|
Thought you might be interested in knowing that the Octave maintainers are looking into using matplotlib in Octave. (Octave, by the way, is a free language for numerical computation that is mostly compatible with Matlab.) ---------- Forwarded message ---------- From: John W. Eaton <jwe at bevo dot che dot wisc dot edu> Date: Jun 1, 2005 9:54 AM Subject: Re: Line thickness To: Keith Goodman <kwgoodman at gmail dot com> Cc: octave maintainers mailing list <maintainers at octave dot org> [I'm moving this discussion to the maintainers list.] On 1-Jun-2005, Keith Goodman wrote: | Take a look at the beautiful screenshots (and the code used to | generate the plots) at | http://matplotlib.sourceforge.net/screenshots.html OK, it seems like it would be useful to be able to use this directly from Octave. What would be the best way to make that happen? Do we need a general Octave <-> Python interface, or can we just build bindings for matplotlib? How about a handle graphics compatible interface for Octave that uses matplotlib? The one major difficulty that I see is that matplotlib seems to only handle 2-d plotting. jwe |
From: Nicolas G. <nic...@ne...> - 2005-06-01 16:57:47
|
On Wednesday 01 June 2005 18:50, Fernando Perez wrote: > > I wonder though: if we also get 'reversed' colormaps, is this going to > be a cause for confusion with the 'reversed' colorbar keyword? It may > not be a problem in the end, as long as the two different ideas are > clearly explained, to prevent others falling into the same trap I did. > Please feel free to use any keyword you want, provided the feature is implemented ! English is not my native language, so I just came to "reverse" as the closest word to what I had in mind, but for sure there must be better alternatives (invert, mirror, whatever) Nicolas |
From: Fernando P. <Fer...@co...> - 2005-06-01 16:50:27
|
John Hunter wrote: >>>>>>"Fernando" == Fernando Perez <Fer...@co...> writes: > > > Fernando> mmh, just yesterday I was talking to JDH about this: I > Fernando> have the feeling that the right place to implement this > Fernando> would be to provide colormaps (the beasts lurking > Fernando> underneath colorbars) with an easy way to get reversed > Fernando> versions. I don't think that a hack at the level of the > Fernando> colorbar function is the right place, design wise, to do > Fernando> this. But I could be wrong... > > Unless I misunderstand, Nicolas and you want different things. You > want a reversed color map (eg for the case of jet, red would map to > small numbers and blue to large numbers). Nicolas wants a standard > colormap but with the colorbar display inverted (red would still map > to large numbers but for vertical colorbars would be on the bottom and > for horizontal colorbars would be on the left -- the colorbar tick > labels would change too). Ah! Yes, sorry: I did misunderstand Nicolas, probably because I parsed his post through the lens of our discussion too quickly. Sorry for the noise... I wonder though: if we also get 'reversed' colormaps, is this going to be a cause for confusion with the 'reversed' colorbar keyword? It may not be a problem in the end, as long as the two different ideas are clearly explained, to prevent others falling into the same trap I did. f |
From: Nicolas G. <nic...@ne...> - 2005-06-01 16:46:06
|
On Wednesday 01 June 2005 18:38, John Hunter wrote: > Unless I misunderstand, Nicolas and you want different things. You > want a reversed color map (eg for the case of jet, red would map to > small numbers and blue to large numbers). Nicolas wants a standard > colormap but with the colorbar display inverted (red would still map > to large numbers but for vertical colorbars would be on the bottom and > for horizontal colorbars would be on the left -- the colorbar tick > labels would change too). > > Or am I misunderstanding? > At least you understood correctly what I meant ;-) |
From: John H. <jdh...@ac...> - 2005-06-01 16:40:23
|
>>>>> "Fernando" == Fernando Perez <Fer...@co...> writes: Fernando> mmh, just yesterday I was talking to JDH about this: I Fernando> have the feeling that the right place to implement this Fernando> would be to provide colormaps (the beasts lurking Fernando> underneath colorbars) with an easy way to get reversed Fernando> versions. I don't think that a hack at the level of the Fernando> colorbar function is the right place, design wise, to do Fernando> this. But I could be wrong... Unless I misunderstand, Nicolas and you want different things. You want a reversed color map (eg for the case of jet, red would map to small numbers and blue to large numbers). Nicolas wants a standard colormap but with the colorbar display inverted (red would still map to large numbers but for vertical colorbars would be on the bottom and for horizontal colorbars would be on the left -- the colorbar tick labels would change too). Or am I misunderstanding? JDH |
From: Fernando P. <Fer...@co...> - 2005-06-01 16:10:05
|
Nicolas Girard wrote: > Hi all, > > with most of my contours, upper values are on the left side and lower values > on the right side ; to the contrary the colorbar (created with > orientation='horizontal') displays colors ranging from the lowest to the > highest ; this leads to an unpleasant look. (No, I cannot reverse my whole > contours, their orientation is important ;-) > > What I'd find useful is a "reverse" option that would make the colorbar > display colors ranging from the highest to the lowest ; and I've tried to > hack the figure.py file. mmh, just yesterday I was talking to JDH about this: I have the feeling that the right place to implement this would be to provide colormaps (the beasts lurking underneath colorbars) with an easy way to get reversed versions. I don't think that a hack at the level of the colorbar function is the right place, design wise, to do this. But I could be wrong... I've been meaning to make some changes to the colormaps code to fix this along with a number of other annoyances it has, but I haven't gotten around to it yet. Best, f |
From: Nicolas G. <nic...@ne...> - 2005-06-01 15:36:52
|
Hi all, with most of my contours, upper values are on the left side and lower values on the right side ; to the contrary the colorbar (created with orientation='horizontal') displays colors ranging from the lowest to the highest ; this leads to an unpleasant look. (No, I cannot reverse my whole contours, their orientation is important ;-) What I'd find useful is a "reverse" option that would make the colorbar display colors ranging from the highest to the lowest ; and I've tried to hack the figure.py file. You'll find the attached patch as a result. apart from fixing a pair of typos in the docstring, it allows *colors* of the colorbars to be reversed, but not its ticks :-/ Then I'm afraid this patch is all but useful... but perhaps it helps getting the idea. I'd glad if this feature could be added to the colorbar... Thanks for reading, Cheers, Nicolas |
From: John H. <jdh...@ac...> - 2005-06-01 15:04:33
|
>>>>> "Nicholas" == Nicholas Young <su...@su...> writes: Nicholas> Now done in the attached patch, I also added support for Nicholas> MxNx3 images; as I suspected these are noticeably slower Nicholas> than MxNx4 images but I changed my mind and decided it Nicholas> was worth supporting them. Great, I just committed this to CVS. Andrew, if you get a minute to update from CVS, can you make sure that the PIL changes don't cause a problem for your PIL using mpl scripts? Thanks! JDH |
From: Nicholas Y. <su...@su...> - 2005-06-01 14:48:14
|
On Wed, 2005-06-01 at 13:14 +0100, Nicholas Young wrote: > On Wed, 2005-06-01 at 12:39 +0100, Nicholas Young wrote: > > On Tue, 2005-05-31 at 10:28 -0500, John Hunter wrote: > > > >>>>> "Nicholas" == Nicholas Young <su...@su...> writes: > > > I have mixed feelings about making this a separate class / separate > > > function. The current axes imshow / image.AxesImage is already > > > overloaded (handling MxN, MxNx3, MxNx3, _image.Image and PIL images. > > > What is the logic of making a special functions/classes case for MxNx4 > > > with directshow. On the one hand, I appreciate the desire to simplify > > > the code by pulling it into separate classes and functions. On the > > > other hand, I wonder if it will confuse users to have one separate > > > function for UInt8 images and another for everything else. Another > > > worry I have about the separate DirectImage class is that it copies > > > much of the image resize functionality from AxesImage, including the > > > broken handling of aspect='preserve'. This too argues for keeping as > > > much functionality in AxesImage as possible, testing for A.typecode() > > > where appropriate. What do you think? > > Sorry to reply to my own message but I realised just after sending it > that it didn't make any sense (as MxNx4 images aren't normalised > anyway). I now realise that it makes sense to assume that an MxNx4 > UInt8 image will contain pixel data as John suggested and I'll rewrite > my code to implement this. > > It also occurred to me that it would make sense to change the PIL code > to avoid the UInt8 -> Float -> UInt transition. I'll try implementing > this after making the alterations John suggested. Now done in the attached patch, I also added support for MxNx3 images; as I suspected these are noticeably slower than MxNx4 images but I changed my mind and decided it was worth supporting them. I changed the PIL image output to output from PIL RGBX (alpha is 255) or RGBA images only when converting to a string and then array. This will use more memory but, as the conversion to RGBA is done no more than once and by PIL code (which is probably optimised), should be the fastest option. I changed the conversion code to always attempt to convert to RGBA whenever an unsupported format is given and to raise an error on catching a ValueError (rather than before trying the conversion); this adds support for several image types. I'd also suggest changing the error raised here to a ValueError rather than a SystemError (as the error is due to an unsupported value) but haven't in case others are catching the SystemError. Additionally I changed the docstring for the imshow function to state that floating point MxNx3 and MxNx4 arrays aren't normalised (this was the original source of my earlier confusion). Nick |
From: Nicholas Y. <N.P...@wa...> - 2005-06-01 12:15:25
|
On Wed, 2005-06-01 at 12:39 +0100, Nicholas Young wrote: > On Tue, 2005-05-31 at 10:28 -0500, John Hunter wrote: > > >>>>> "Nicholas" == Nicholas Young <su...@su...> writes: > > I have mixed feelings about making this a separate class / separate > > function. The current axes imshow / image.AxesImage is already > > overloaded (handling MxN, MxNx3, MxNx3, _image.Image and PIL images. > > What is the logic of making a special functions/classes case for MxNx4 > > with directshow. On the one hand, I appreciate the desire to simplify > > the code by pulling it into separate classes and functions. On the > > other hand, I wonder if it will confuse users to have one separate > > function for UInt8 images and another for everything else. Another > > worry I have about the separate DirectImage class is that it copies > > much of the image resize functionality from AxesImage, including the > > broken handling of aspect='preserve'. This too argues for keeping as > > much functionality in AxesImage as possible, testing for A.typecode() > > where appropriate. What do you think? > > I'm happy for it be be called from imshow but I can't think of a syntax > to do so which isn't going to be confusing. The existing variations to > imshow are all based upon the type of the input image and this won't > work here - the case of someone who wants to plot a MxNx4 UInt8 array > and have the values it contains normalised being the problem. Another > keyword parameter could be added which only takes effect in this case; I > thought this likely to confuse but if you prefer it I'm happy. Sorry to reply to my own message but I realised just after sending it that it didn't make any sense (as MxNx4 images aren't normalised anyway). I now realise that it makes sense to assume that an MxNx4 UInt8 image will contain pixel data as John suggested and I'll rewrite my code to implement this. It also occurred to me that it would make sense to change the PIL code to avoid the UInt8 -> Float -> UInt transition. I'll try implementing this after making the alterations John suggested. Nick |
From: Nicholas Y. <su...@su...> - 2005-06-01 11:39:23
|
On Tue, 2005-05-31 at 10:28 -0500, John Hunter wrote: > >>>>> "Nicholas" == Nicholas Young <su...@su...> writes: > I have mixed feelings about making this a separate class / separate > function. The current axes imshow / image.AxesImage is already > overloaded (handling MxN, MxNx3, MxNx3, _image.Image and PIL images. > What is the logic of making a special functions/classes case for MxNx4 > with directshow. On the one hand, I appreciate the desire to simplify > the code by pulling it into separate classes and functions. On the > other hand, I wonder if it will confuse users to have one separate > function for UInt8 images and another for everything else. Another > worry I have about the separate DirectImage class is that it copies > much of the image resize functionality from AxesImage, including the > broken handling of aspect='preserve'. This too argues for keeping as > much functionality in AxesImage as possible, testing for A.typecode() > where appropriate. What do you think? I'm happy for it be be called from imshow but I can't think of a syntax to do so which isn't going to be confusing. The existing variations to imshow are all based upon the type of the input image and this won't work here - the case of someone who wants to plot a MxNx4 UInt8 array and have the values it contains normalised being the problem. Another keyword parameter could be added which only takes effect in this case; I thought this likely to confuse but if you prefer it I'm happy. Nick |