[Matplotlib-users] (no subject)

2012-07-11 Thread Arek Kedzior
http://horit.com/yuaoqlcns/405279.html-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will in

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Tony Yu
On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote: > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > >> >> >> On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall < >> damon.mcdoug...@gmail.com> wrote: >>> >>> Well, as Ben said, that error fill plot is neato! It doesn't look too >>> c

Re: [Matplotlib-users] How to compile under windows?

2012-07-11 Thread Christoph Gohlke
On 7/11/2012 1:47 PM, Daniel Hyams wrote: > I looked around in the docs a bit but didn't find anything...is there a > guide / set of recommended practices when trying to build matplotlib > from source on Windows? > These discussions on [matplotlib-devel] might help: "Calling all Mac OSX users!" <

[Matplotlib-users] How to compile under windows?

2012-07-11 Thread Daniel Hyams
I looked around in the docs a bit but didn't find anything...is there a guide / set of recommended practices when trying to build matplotlib from source on Windows? -- Daniel Hyams dhy...@gmail.com -- Live Security Virtua

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Daniel Hyams
Josh: I'm assuming that you saw the workaround two messages up? On Wed, Jul 11, 2012 at 1:41 PM, Joshua Koehler wrote: > Here is the full traceback from the sample program: > > Traceback (most recent call last): > File "panel_test.py", line 54, in > frame = MyFrame(None) > File "panel_t

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Benjamin Root
On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall < > damon.mcdoug...@gmail.com> wrote: >> >> Well, as Ben said, that error fill plot is neato! It doesn't look too >> complicated, either. I'd be more than happy to port it over later today

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Damon McDougall
On Wed, Jul 11, 2012 at 10:23:32AM -0500, John Hunter wrote: > On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall > wrote: > > > > Well, as Ben said, that error fill plot is neato! It doesn't look too > > complicated, either. I'd be more than happy to port it over later today > > when I get bored o

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Joshua Koehler
Here is the full traceback from the sample program: Traceback (most recent call last): File "panel_test.py", line 54, in frame = MyFrame(None) File "panel_test.py", line 42, in __init__ self.panel1.update_display() File "panel_test.py", line 19, in update_display my_plot(self.fi

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Daniel Hyams
Just from morbid curiosity, I installed networkx to see if I could see what is going on. And the answer to your original question is that no, matplotlib doesn't have problems with multiple wx panels; I do this all the time. Basically what is going on is that pylab is being used inside of networkx

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Benjamin Root
On Wed, Jul 11, 2012 at 12:45 PM, Joshua Koehler wrote: > Hi all, > > I am currently trying to have two panels each with their own figure > instance so they can have separate plots. > > I can successfully update a plot if there is only one panel. As soon as I > add a second panel, I get the follow

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Tony Yu
On Wed, Jul 11, 2012 at 11:27 AM, Benjamin Root wrote: > > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > >> >> >> On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall < >> damon.mcdoug...@gmail.com> wrote: >>> >>> Well, as Ben said, that error fill plot is neato! It doesn't look too >>>

Re: [Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Daniel Hyams
To get rid of the networkx dependency, I just replaced my_plot() with this: def my_plot(figure): figure.clear() axes = figure.add_subplot(1,1,1) axes.plot([0,1,2],[2,3,4]) and also added "self.panel2.update_display()" in the constructor for MyFrame, and everything worked fine. Could

[Matplotlib-users] Two panels (wxPython) containing separate figures

2012-07-11 Thread Joshua Koehler
Hi all, I am currently trying to have two panels each with their own figure instance so they can have separate plots. I can successfully update a plot if there is only one panel. As soon as I add a second panel, I get the following error when I try to update (replot) a plot (Showing last mess

Re: [Matplotlib-users] Saving animation with coloured background

2012-07-11 Thread Benjamin Root
On Wed, Jul 11, 2012 at 10:41 AM, Pål Gunnar Ellingsen wrote: > Hi > > I'm trying to save a animation, which I've generated using > animation.FuncAnimation. > The animation has it's background set by plt.rcParams['figure.facecolor'] > = 'black' > Which works with plt.show(), though not with animat

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Benjamin Root
On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote: > > > On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall < > damon.mcdoug...@gmail.com> wrote: >> >> Well, as Ben said, that error fill plot is neato! It doesn't look too >> complicated, either. I'd be more than happy to port it over later today

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread John Hunter
On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall wrote: > > Well, as Ben said, that error fill plot is neato! It doesn't look too > complicated, either. I'd be more than happy to port it over later today > when I get bored of typing up my thesis. It'll probably only take me > about 30 minutes. >

Re: [Matplotlib-users] ANN: mpltools 0.1 release

2012-07-11 Thread Damon McDougall
On Tue, Jul 10, 2012 at 05:36:50PM -0400, Tony Yu wrote: > On Tue, Jul 10, 2012 at 1:52 PM, John Hunter wrote: > > > > > On Tue, Jul 10, 2012 at 12:49 PM, Damon McDougall < > > damon.mcdoug...@gmail.com> wrote: > > > >> > >> Would there be any interest in porting some of that functionality into >

[Matplotlib-users] Saving animation with coloured background

2012-07-11 Thread Pål Gunnar Ellingsen
Hi I'm trying to save a animation, which I've generated using animation.FuncAnimation. The animation has it's background set by plt.rcParams['figure.facecolor'] = 'black' Which works with plt.show(), though not with animation save. I know that plt.save needs the argument facecolor to save a figure

Re: [Matplotlib-users] Interactive selecting a quadrilateral from a axes

2012-07-11 Thread Tony Yu
On Wed, Jul 11, 2012 at 8:35 AM, Wolfgang Draxinger < wdraxinger.maill...@draxit.de> wrote: > Hi, > > I have a plot of an image of which I'd like to interactively select a > quadrilateral. This is for a homography operation (perspective > correction). It suffices if the quadrilateral can be dragge

[Matplotlib-users] Interactive selecting a quadrilateral from a axes

2012-07-11 Thread Wolfgang Draxinger
Hi, I have a plot of an image of which I'd like to interactively select a quadrilateral. This is for a homography operation (perspective correction). It suffices if the quadrilateral can be dragged by only its vertices (display the vertices as rects or circled to click within). In principle I wan