Christopher Barker wrote:
Louis,
This is standard num* array behavior: arrays are mutable, and MPL is
not making copies of them when you plot, which is a good thing.
by the way, slices of arrays are references too, which is different
than python lists, so it can be surprising, but also usefu
Louis,
This is standard num* array behavior: arrays are mutable, and MPL is not
making copies of them when you plot, which is a good thing.
by the way, slices of arrays are references too, which is different than
python lists, so it can be surprising, but also useful
# 1st Plo
On Wed, 31 May 2006, Louis Pecora wrote:
> Is this good matplotlib behavior?
I think so. It is Python behavior.
You are using a mutable object,
and the plot of this object changes
when you chage the object.
> Is it necessary to use new variables for each call of
> plot?
No. Just assign a ne
I have some simple code (I've cut it down a lot, but kept the problem)
that tries to plot two sets of data using the same variables. It
appears that re-using the variables from the first plot for the second
plot affects the first plot. In fact the two plots become identical. I
am guessing th