Hello everybody,
I have a question concerning the redrawing of one/several figures.
Say that I have the following (very) simple code:
ion()
f1 = figure(1)
plot([1,2,3,4])
f2 = figure(2)
plot([1,1,1,1])
and that I killed f1 and f2 figures by clicking on their respective right-top
corner. Is th
Hello everybody,
I would like to create a plot from which I set the x data later. The method
set_xdata works but the corresponding plot displays the initial x limits. Is it
possible to update the plot automatically in order that the displayed plot has
x limits corresponding to the newly set x d
Dear all,
When writing:
f = figure()
...
gl = f.gca().get_xgridlines()
I always get a list of gridlines independantly of the fact that they are
actually drawn or not.
Is there an attribute or a method that could inform me whether the
gridlines are actually displayed or not ?
I th
Hello everybody,
My question is in the title !
Say that I have the following code:
f = pylab.figure()
f.plot([1,2,3,4,5])
pylab.show()
and that, once I destroyed the figure by clicking on the top-right corner red
button, I would like to redisplay it in the state it was just before I closed
it
Hello everybody,
I would like to call a function when I close manually a window previously
opened by a pylab.figure. I tried the following:
f = pylab.figure()
f.canvas.mpl_connect('close_event',my_function)
but it fails because the 'close_event' is not recognized as a valid event
(button_press
Hi Ben,
I use the version 0.99.3.
Eric
--- En date de : Jeu 29.7.10, Benjamin Root a écrit :
De: Benjamin Root
Objet: Re: [Matplotlib-users] catching close figure event
À: "Pellegrini Eric"
Cc: matplotlib-users@lists.sourceforge.net
Date: Jeudi 29 juillet 2010, 19h26
On Thu, Ju
: "Pellegrini Eric"
Cc: "Benjamin Root" , matplotlib-users@lists.sourceforge.net
Date: Jeudi 29 juillet 2010, 19h29
On Thu, Jul 29, 2010 at 12:26 PM, Benjamin Root wrote:
On Thu, Jul 29, 2010 at 12:18 PM, Pellegrini Eric
wrote:
Hello everybody,
I would like to call a function whe
Hello everybody,
when using matplotlib, any plot I create is displayed separately from my
Tkinter application. Is there a direct way to embed the plot created by
matplotlib in a widget such as a canvas using something like "create_image" or
something else ?
Currently, the only thing I managed
Hi everybody,
Would you have any idea how to embed a matshow (or imshow) object in a Tk
application but with a given dimension ?
Using FigureCanvasTkAgg embed a matshow object in my application but it takes
the dimension of the matshow object not the dimension of the place where I
would like to
Hi,
I have some problems to combine a matshow object with a canvas. Here is a
little piece of code that illustrates my problem. It displays a matshow object
when pressing a button.
I would like to embed the matshow object into a canvas of a fixed dimension.
The code I wrote does the opposite i
Hi,
I have a problem of memory leak using the following code:
from Tkinter import *
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
import pylab
def display():
mat = pylab.zer
Hi everybody,
when repeating the following sequence:
pylab.figure()
pylab.close()
the memory used increases like if something remained. Would you have any idea
of what is going on ? How to solve this kind of memory leak ?
thank you very much
Eruc
Hi evebrybody,
I started a discussion one week ago about a problem of memory leak using the
following code:
from Tkinter import *
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
impo
Hi everybody,
I would like to build an application where many filled polygons will have to be
displayed on the screen. To do so, I would like to use matplotlib but, up to
now, my application is not fast enough.
I use:
python 2.4.1
matplot-0.87.6
numpy-1.0rc1
and I checked my matplotlibrc file
er <[EMAIL PROTECTED]> a écrit :
>>>>> "Pellegrini" == Pellegrini Eric writes:
Pellegrini> Hi everybody, I would like to build an application
Pellegrini> where many filled polygons will have to be displayed
Pellegrini> on the screen. To do so, I would lik
a']
loaded ttfcache file C:\Documents and Settings\Eric\.matplotlib\ttffont.cache
backend TkAgg version 8.4
"
Thanks again
Eric
John Hunter <[EMAIL PROTECTED]> a écrit :
>>>>> "Pellegrini" == Pellegr
16 matches
Mail list logo