Hello,I tried to embed matplotlib in a GTK2 application (using pygtk & glade) but encountered a problem.As I have been playing with it for a while I think that for its demonstration it is enough to look at the matplotlib example:
embedding_in_gtk2.py (from the example directory of matplotlib)There
On Friday 18 August 2006 08:27, Darren Dale wrote:
> On Wednesday 16 August 2006 04:54, Samuel GARCIA wrote:
> > Thank you,
> > Sorry I did known the existence of matplotlib.backends.backend_qt4agg.
> > It is more easy than I thought.
> >
> > but I still have a problem. This is my code :
> >
> > im
On 8/19/06, Darren Dale <[EMAIL PROTECTED]> wrote:
> On Friday 18 August 2006 08:27, Darren Dale wrote:
> > On Wednesday 16 August 2006 04:54, Samuel GARCIA wrote:
> > > Thank you,
> > > Sorry I did known the existence of matplotlib.backends.backend_qt4agg.
> > > It is more easy than I thought.
> >
On 8/18/06, assiss <[EMAIL PROTECTED]> wrote:
> From: "Charlie Moad" <[EMAIL PROTECTED]>
> To: "assiss" <[EMAIL PROTECTED]>
> Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST)
> Subject: Re: [Matplotlib-users] python coredump when using GtkAgg mode
>
> Thanks.
>
> 9 import matplotlib._image #worked
> 1
On Saturday 19 August 2006 13:18, Hubert Fitch wrote:
> Hi!
>
> Matplotlib is great! (For some unknown reason Matplotlib did not work until
> I finally bought a differnt Windows XP computer).
> Finally after about a year of trying, I can plot! but when the figure is on
> screen, how can I quickly g
Matplotlib is great. Between numpy, scipy, and matplotlib, I'm almost
completely weaned myself off of Matlab (just need to rewrite a bunch of
m-files in Python).
My question is, is there an easy way to remove text that's been added
with the text() function from a plot (like if I make a mistake
Aaron,
Each text object that you add with the text() function is appended to a
list called "texts" that is an attribute of the axes object. So, to
remove the last text object you added, you can do:
del gca().texts[-1]
draw()
If what you want to do is change the contents but not the position,
I've got a series of subplots in a matplotlib.FigureCanvas instance which is embedded in a gtk viewport. Everything seems to work correctly when I start the application - i.e. the series of subplots are displayed. But, I need to be able to interactively change the axis settings by clicking on GTK
On 19 Aug 2006, at 20:13, Kevin Horton wrote:
> I've got a series of subplots in a matplotlib.FigureCanvas instance
> which is embedded in a gtk viewport. Everything seems to work
> correctly when I start the application - i.e. the series of
> subplots are displayed. But, I need to be able