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
gests.
>
>
> From: Adam Mercer
> Date: October 27, 2011 6:12:50 AM PDT
> To: matplotlib-users@lists.sourceforge.net
> Subject: [Matplotlib-users] Legend and proxy artists
>
>
> Hi
>
> I have recently updated to Matplotlib-1.1.0 and now one of my sc
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 [[]]
Use proxy artist instead.
http://matplotlib.sourceforge.net/users/legend_guide.html#using-proxy-artist
The link it refers to doesn't seem to be much