Re: [Matplotlib-users] Compiling matplotlib (freetype issues)

2009-08-31 Thread Eric Firing
Pim Schellart wrote: > Hi Everyone, > > after I encountered some problems embedding matplotlib in a Tkinter > application I decided to update my matplotlib installation. > I downloaded and installed Python 2.6.2 and the latest svn checkouts > of numpy and scipy. > Then I tried to install (the late

Re: [Matplotlib-users] Unknown Path Error

2009-08-31 Thread Andrew Kelly
I spent some time trying to cobble one together but it was taking too much time so I tried the following and it seems to work now: Instead of using a thick line2D and adding it to the drawing, I added a patches.Rectangle instead. The line2D works in 0.88.5 but not in 0.99. The newer version was

Re: [Matplotlib-users] preserving transparency in eps

2009-08-31 Thread Jae-Joon Lee
If you need to stick to eps, another option is to use rasterization feature of the matplotlib itself. This way you can keep part of plot in vector format (e.g., texts, lines, etc ) while rasterizing others. Of course this solution only works if the "quality" of those being rasterized is not very im

Re: [Matplotlib-users] preserving transparency in eps

2009-08-31 Thread Jouni K . Seppänen
Chuck Pepe-Ranney writes: >> The postscript format does not support transparency. This is not a >> matplotlib limitation but a postscript limitation. The best solution >> is to save your matplotlib figures as pdf, [...] > > Thanks, I guess my problem is that I am using the latex prosper > packa

Re: [Matplotlib-users] Unknown Path Error

2009-08-31 Thread Michael Droettboom
Can you provide a standalone example that reproduces this error? Cheers, Mike Andrew Kelly wrote: > I recently re-installed matplotlib (0.99) on my vista machine and my > code that worked yesterday (no changes) no longer runs because of the > following matplotlib error: > > File "C:\Python25\

Re: [Matplotlib-users] preserving transparency in eps

2009-08-31 Thread Chuck Pepe-Ranney
Thanks, I guess my problem is that I am using the latex prosper package to make presentation slides but I cannot compile prosper documents with pdflatex (see here ). Sorry, I see that this is not a matplotlib specific question so I will try to find a

[Matplotlib-users] Unknown Path Error

2009-08-31 Thread Andrew Kelly
I recently re-installed matplotlib (0.99) on my vista machine and my code that worked yesterday (no changes) no longer runs because of the following matplotlib error: File "C:\Python25\Lib\site-packages\matplotlib\lines.py", line 286, in contains path, affine = self._transformed_path.get_tra

Re: [Matplotlib-users] plotting lines with shaded / transparent region for standard deviation

2009-08-31 Thread Eric Firing
Teemu Ikonen wrote: > > I also need error band plotting regularly (also the loglog and semilog > versions) and currently have some quickly written code to do this in > matplotlib. > > If I clean up my code and submit a patch to axes and pyplot classes, > would it have a chance to be accepted? >

Re: [Matplotlib-users] plotting lines with shaded / transparent region for standard deviation

2009-08-31 Thread Eric Firing
Teemu Ikonen wrote: > Hi, > > I also need error band plotting regularly (also the loglog and semilog > versions) and currently have some quickly written code to do this in > matplotlib. > > If I clean up my code and submit a patch to axes and pyplot classes, > would it have a chance to be accep

Re: [Matplotlib-users] preserving transparency in eps

2009-08-31 Thread John Hunter
On Mon, Aug 31, 2009 at 1:04 PM, Chuck Pepe-Ranney wrote: > Does anybody have a good method for preserving quality and transparancy of > eps images when going from matplotlib to latex to pdf?  I can only preserve > the transparency if I save as png and then convert to eps but then I lose > quality.

[Matplotlib-users] preserving transparency in eps

2009-08-31 Thread Chuck Pepe-Ranney
Does anybody have a good method for preserving quality and transparancy of eps images when going from matplotlib to latex to pdf? I can only preserve the transparency if I save as png and then convert to eps but then I lose quality. If I save as eps directly, all my patches are opaque despite the

Re: [Matplotlib-users] plotting lines with shaded / transparent region for standard deviation

2009-08-31 Thread Teemu Ikonen
John Hunter wrote: >On Wed, Aug 5, 2009 at 9:40 AM, per freem wrote: >> hi all, >> >> is there a way in matplotlib to plot lines with errorbars, e.g. using >> errorbar(...) but instead of lines just have shaded, partly transparent >> regions that represent the error bars? people often use this to s

Re: [Matplotlib-users] heatmap and masked values

2009-08-31 Thread Christian Meesters
Jeff, that's a good point. I remember ... On Thu, 2009-08-27 at 07:54 -0600, Jeff Whitaker wrote: > Christian Meesters wrote: > >> Christian: That should work, if you created the masked array > >> correctly. Why are you creating the mask with data=='NA'? I suspect > >> that this always evalua