[Matplotlib-users] figure.subplot not adding axis after deleting axis

2012-08-03 Thread Joshua Koehler
Hi all, I am creating a GUI using wxPython and Matplotlib. In it, I am trying to delete an axis in a figure and then adding another axis to the same figure. In essence, I am attempting to dynamically update the figure. I am using pylab.figure. I am using the figure.delaxes function to delete the

[Matplotlib-users] plt.figure.show() not working in Ubuntu

2012-07-26 Thread Joshua Koehler
Hi all, I am getting the following error message: 'Figure' object has no attribute 'show' When running matplotlib in Ubuntu 12.04, with matplotlib 1.2.x and pylab 1.6.2. The code is set up as such: fig = pylab.figure() ... fig.show() This works fine on Mac OSX 10.6 with matplotlib 1.1.0 and

Re: [Matplotlib-users] wxpython matplotlib figure resize

2012-07-19 Thread Joshua Koehler
wrote: Thanks Josh this is much appreciated. I will definitely have a look at this approach. Just for clarification, my code does only create the figures when the frame is initialised. The plots are then updated/cleared as required. Regards, Keith From: Joshua Koehler

Re: [Matplotlib-users] wxpython matplotlib figure resize

2012-07-16 Thread Joshua Koehler
(wx.VERTICAL) panel.sizer.Add(panel.canvas, 1, wx.LEFT | wx.TOP | wx.GROW) panel.SetSizer(panel.sizer) panel.Fit() self.add_2Dtoolbar(panel) From: Joshua Koehler [jjkoehl...@gmail.com] Sent: Friday, 13 July 2012 10:45 p.m. To: matplotlib-users

Re: [Matplotlib-users] wxpython matplotlib figure resize

2012-07-13 Thread Joshua Koehler
)) self.SetSize((x, y)) Regards, Keith From: Joshua Koehler [mailto:jjkoehl...@gmail.com] Sent: Saturday, 7 July 2012 1:51 a.m. To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] wxpython matplotlib figure resize Hi all, I am currently trying to use matplotlib

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

2012-07-12 Thread Joshua Koehler
That did the trick. I tried going through the source code but it just got too messy. How do I let the networkx developers know about this? On Jul 11, 2012, at 1:18 PM, Benjamin Root wrote: On Wed, Jul 11, 2012 at 12:45 PM, Joshua Koehler jjkoehl...@gmail.com wrote: Hi all, I am

[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

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

2012-07-11 Thread Joshua Koehler
! Josh On Jul 11, 2012, at 1:18 PM, Benjamin Root wrote: On Wed, Jul 11, 2012 at 12:45 PM, Joshua Koehler jjkoehl...@gmail.com 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