ot actually get updated.
I mean, visually.
2010/9/8 Philippe Crave :
> -- Forwarded message --
> From: Eric Firing
> Date: 2010/9/8
> Subject: Re: [Matplotlib-users] draw after set_data
> To: matplotlib-users@lists.sourceforge.net
>
>
> On 09/07/2010 07:33 PM, P
hi,
sorry to bring this up again.
style haven't found how to draw my plot faster than
self.fig.canvas.draw(), after a set_data()
thanks
2010/9/1 Philippe Crave :
> Hi,
>
> I use qt4 backend.
> I update some lines doing something like that:
>
> def draw_curves(self, data
Hi,
I use qt4 backend.
I update some lines doing something like that:
def draw_curves(self, datas, x):
for y in datas:
self.lines[i].set_data(x, y)
min_y, max_y = self.min_max(y)
self.ax[i].axis((0, x[-1], min_y, max_y))
#self.ax[i].draw_artis
perfect!
was really simple, but I did not think about it.
thanks for your help!
2010/7/1 Matthias Michler :
> On Wednesday, June 30, 2010 06:24:12 pm Philippe Crave wrote:
>> Hello,
>>
>> I have a subplot with 4 lines.
>> I display the legend.
>> I can remove a li
Hello,
I have a subplot with 4 lines.
I display the legend.
I can remove a line easily with something like del(self.ax.lines[n]).
But how can I remove the line in the legend ?
I found that I can remove all the lines, add news ones, but all the
lines (new and deleted) remain in the legend.
thanks
without the svn version, you can save both files.
edit figureoptions.py to modify the import:
#import matplotlib.backends.qt4_editor.formlayout as formlayout
import formlayout
then, you can attach the nice dialog box to a Event, something like that
works:
import matplotlib.pyplot as plt
import nu
Hello,
the following will display a figure with a plot. the figure will embed
the classic toolbar.
import matplotlib.pyplot as plt
import numpy as np
x=np.arange(0, 1, 0.1)
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(x)
plt.show()
from there, is it possible to add new buttons to the too