On Wed, Oct 6, 2010 at 7:31 PM, Michael Cracraft wrote:
> You are correct about the version. I was just working with the version
> installed on Fedora 13, and the recache works. Looks like a working
> solution for now.
>
> Thanks,
> Michael
>
>
Just as a side note because 'tis the season for Li
You are correct about the version. I was just working with the version
installed on Fedora 13, and the recache works. Looks like a working
solution for now.
Thanks,
Michael
On Wed, Oct 6, 2010 at 8:18 PM, Jae-Joon Lee wrote:
> I believe that you're using older version of mpl (<1.0) and this
I am running python 2.6.4 and matplotlib 0.99.1.1. I was using the TkAgg
backend with my original problem, but I tried GTKAgg with the same result.
Here are two sample codes. One works and the other does not.
This one works ...
plt.ion()
x = np.arange(0,2*np.pi,0.01)
y = np.sin(x)
line, = plt.
I believe that you're using older version of mpl (<1.0) and this is a
known issues, which has been fixed.
http://sourceforge.net/tracker/?func=detail&aid=2917758&group_id=80706&atid=560720
Try to add
L1.recache()
after set_ydata.
Regards,
-JJ
On Thu, Oct 7, 2010 at 3:06 AM, Michael Cracraf
On Wed, Oct 6, 2010 at 1:06 PM, Michael Cracraft wrote:
> I have a code that continuously modifies a numpy.ndarray variable. Then, I
> use set_ydata on the matplotlib.lines.Line2D object to the same ndarray
> variable. Then, I call fig.canvas.draw() to redraw the figure, where fig is
> Figure o
I have a code that continuously modifies a numpy.ndarray variable. Then, I
use set_ydata on the matplotlib.lines.Line2D object to the same ndarray
variable. Then, I call fig.canvas.draw() to redraw the figure, where fig is
Figure object.
However, the line on the graph never changes. I print a f