On Thu, Oct 27, 2011 at 8:12 AM, Adam Mercer wrote:
> Hi
>
> I have recently updated to Matplotlib-1.1.0 and now one of my scripts
> displays the following warning:
>
> UserWarning: Legend does not support [[ at 0x1026296d0>]]
> Use proxy artist instead.
>
> http://matplotlib.sourceforge.net/users
On Fri, Oct 28, 2011 at 00:56, Sterling Smith wrote:
> Here is a working example:
>
> from pylab import figure, arange
> fig = figure(1)
> fig.clear()
> ax = fig.add_subplot(111)
> x = arange(0,1,.25)
> y1 = x
> y2 = x**2
> y3 = x**3
> l1 = ax.plot(x,y1,'bo-')
> l2 = ax.plot(x,y2,'go-')
> l3 = []
Adam,
I'm sorry that I wasn't clear before.
Here is a working example:
from pylab import figure, arange
fig = figure(1)
fig.clear()
ax = fig.add_subplot(111)
x = arange(0,1,.25)
y1 = x
y2 = x**2
y3 = x**3
l1 = ax.plot(x,y1,'bo-')
l2 = ax.plot(x,y2,'go-')
l3 = []
for xi,x1 in enumerate(x):
l3.a
On Thu, Oct 27, 2011 at 12:05, Sterling Smith wrote:
> Your example is not complete. I don't understand the value variable that you
> are iterating over, or how it affects the different plots you are making.
value is simply a list of different datasets to plot, read in using:
value = []
for v
Adam,
Your example is not complete. I don't understand the value variable that you
are iterating over, or how it affects the different plots you are making.
I would guess that the problem is that you have a list of tuples of handles for
value_plot, instead of a list of handles. Note that each