Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Chris Beaumont
Thanks for the tips -- I wish there was a way to do this within MPL, but it sounds like I'll have to live with external hackery. > > > PS. Try to convince the Dark Powers of the journal you send your work, > > that they modernize their processing and accept PDF. > +1 I know, right? chris --

Re: [Matplotlib-users] building matplotlib 1.3 on OS X 10.8.4

2013-08-23 Thread Russell E. Owen
In article , James Boyle wrote: > I built MPL 1.3 from source, all seem to go OK but I ran into the problem of > not finding libfreetype.6.dylib when importing. Hmmm, it works for me. (I tried it again, just now). Here is what I did: * Make sure you have XQuartz installed. I have 2.7.4 whic

Re: [Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-23 Thread Benjamin Root
On Fri, Aug 23, 2013 at 4:08 PM, Kari Aliranta < kari.p.alira...@student.jyu.fi> wrote: > 23.08.2013 20:57, Eric Firing kirjoitti: > > On 2013/08/23 3:55 AM, Kari Aliranta wrote: > >> Hello, fellow Matplotlib users, > >> > >> > >> I'm embedding some Matplotlib figures into GUI (PyQt4) windows or w

Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Sterling Smith
> > > PS. Try to convince the Dark Powers of the journal you send your work, > that they modernize their processing and accept PDF. +1 -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Pe

Re: [Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-23 Thread Kari Aliranta
23.08.2013 20:57, Eric Firing kirjoitti: > On 2013/08/23 3:55 AM, Kari Aliranta wrote: >> Hello, fellow Matplotlib users, >> >> >> I'm embedding some Matplotlib figures into GUI (PyQt4) windows or widget >> canvases using qt4agg as the backend. I'm having problems with these >> figures popping up a

Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Jerzy Karczmarczuk
Le 23/08/2013 03:32, Chris Beaumont a écrit : > It looks like some programs (like illustrator, and pdf2ps) are > semi-smart about handling transparency when converting to ps. Both > have their quirks (illustrator seems to mess up the bounding box, > pdf2ps makes the text look worse/fuzzy). > > I

Re: [Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-23 Thread Benjamin Root
On Fri, Aug 23, 2013 at 1:57 PM, Eric Firing wrote: > On 2013/08/23 3:55 AM, Kari Aliranta wrote: > > Hello, fellow Matplotlib users, > > > > > > I'm embedding some Matplotlib figures into GUI (PyQt4) windows or widget > > canvases using qt4agg as the backend. I'm having problems with these > > f

Re: [Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-23 Thread Eric Firing
On 2013/08/23 3:55 AM, Kari Aliranta wrote: > Hello, fellow Matplotlib users, > > > I'm embedding some Matplotlib figures into GUI (PyQt4) windows or widget > canvases using qt4agg as the backend. I'm having problems with these > figures popping up any time when some other part of the program calls

Re: [Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-23 Thread Benjamin Root
On Fri, Aug 23, 2013 at 9:55 AM, Kari Aliranta < kari.p.alira...@student.jyu.fi> wrote: > Hello, fellow Matplotlib users, > > > I'm embedding some Matplotlib figures into GUI (PyQt4) windows or widget > canvases using qt4agg as the backend. I'm having problems with these > figures popping up any t

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Chris Barker - NOAA Federal
On Fri, Aug 23, 2013 at 8:14 AM, Matt Terry wrote: > I'm banging away at installing MPL on top of python.org's python. This is why binary installers are good idea! > the libfreetype/freetype issue. yeah, that's kind of uglyand where is doesn't "just work" for me... > 1) install libpng[1] a

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Russell Owen
On Aug 22, 2013, at 8:24 PM, Matt Terry wrote: > > with/without third party X > I'm not quite sure what you mean by with/without third party X. If you > are referring to Tck/Tk: > > I had an issue where MPL found the headers to freetype in /opt/local, but > library in /usr/X11. Hilarity ensue

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Russell Owen
On Aug 23, 2013, at 8:14 AM, Matt Terry wrote: > I'm banging away at installing MPL on top of python.org's python. I'm at the > libfreetype/freetype issue. There seems to be three approaches to getting > MPL's dependencies. > > 1) install libpng[1] and freetype[2] from source > 2) install XQ

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Peter Bloomfield
On 08/23/2013 11:31 AM, Benjamin Root wrote: On Fri, Aug 23, 2013 at 11:21 AM, Peter Bloomfield mailto:peter.bloomfi...@camhpet.ca>> wrote: On 08/23/2013 10:43 AM, Benjamin Root wrote: On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield mailto:peter.bloomfi...@camhpet.ca>> wrot

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Benjamin Root
On Fri, Aug 23, 2013 at 11:21 AM, Peter Bloomfield < peter.bloomfi...@camhpet.ca> wrote: > > On 08/23/2013 10:43 AM, Benjamin Root wrote: > > > > On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield < > peter.bloomfi...@camhpet.ca> wrote: > >> Good morning, >> >> I am running openSuSE 12.2, and this

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Peter Bloomfield
On 08/23/2013 10:43 AM, Benjamin Root wrote: On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield mailto:peter.bloomfi...@camhpet.ca>> wrote: Good morning, I am running openSuSE 12.2, and this morning I upgraded matplotlib to v1.3, and now I am having a problem with suptitle.

Re: [Matplotlib-users] [matplotlib-devel] I have a Mac!

2013-08-23 Thread Matt Terry
I'm banging away at installing MPL on top of python.org's python. I'm at the libfreetype/freetype issue. There seems to be three approaches to getting MPL's dependencies. 1) install libpng[1] and freetype[2] from source 2) install XQuartz[3] and twiddle /opt/X11, /usr/X11 (per Russell's directio

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Sterling Smith
On Aug 23, 2013, at 7:43AM, Benjamin Root wrote: > > > On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield > wrote: > Good morning, > > I am running openSuSE 12.2, and this morning I upgraded matplotlib to v1.3, > and now I am having a problem with suptitle. > I use the following lines to put

Re: [Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Benjamin Root
On Fri, Aug 23, 2013 at 9:57 AM, Peter Bloomfield < peter.bloomfi...@camhpet.ca> wrote: > Good morning, > > I am running openSuSE 12.2, and this morning I upgraded matplotlib to > v1.3, and now I am having a problem with suptitle. > I use the following lines to put a title and legend onto a plot

[Matplotlib-users] Matplotlib V1.3 suptitle

2013-08-23 Thread Peter Bloomfield
Good morning, I am running openSuSE 12.2, and this morning I upgraded matplotlib to v1.3, and now I am having a problem with suptitle. I use the following lines to put a title and legend onto a plot figure import matplotlib.pyplot as plt plt.figure(1) plt.suptitle( "Study# : " + os.path.

[Matplotlib-users] Explicitly clearing Matplotlib/Pylab figure buffers

2013-08-23 Thread Kari Aliranta
Hello, fellow Matplotlib users, I'm embedding some Matplotlib figures into GUI (PyQt4) windows or widget canvases using qt4agg as the backend. I'm having problems with these figures popping up any time when some other part of the program calls pyplot.show(). How do you avoid this showing of p

Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Jon Ramsey
Dear Chris and List, pdf2ps is usually just a front end to a long-winded ghostscript ("gs") command. On my system this comes out as: gs -q -dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE=ps2write "-sOutputFile=$outfile" -c save pop -f "$1" If you're feeling brave, you can look at the ghostscript manual

Re: [Matplotlib-users] Intersecting polygons

2013-08-23 Thread Florian M. Wagner
Hey Chris, I had a similar problem. I saved the transparent objects, so the polygons in your case, as a high-resolution png and the axes, dots, lines, text objects and everything else to an eps. Finally, I just layed them on top of each other in Illustrator