Re: [Matplotlib-users] linestyles in LineCollection

2010-04-29 Thread Carlos Grohmann
Hi there I found that the error is related to legend! If I disable self.plotaxes.legend(bbox_to_anchor=(0.95, 0.95), loc=2, prop=FontProperties(size='small'),numpoints=1) I can change the linestyles and it works like a charm, but if I turn on that line again... just errors. can anyone think of

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-28 Thread Carlos Grohmann
Here. I found out that if I use from pylab import * as in the example, it works. But in my app, I'm using import wx import matplotlib from matplotlib.figure import Figure from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.backends.backend_wxagg impo

Re: [Matplotlib-users] linestyles in LineCollection

2010-04-28 Thread Michael Droettboom
I can't reproduce the error on 0.99. Can you provide a complete script that reproduces the error? Mike Carlos Grohmann wrote: > I've been trying to change the linestyles in a LineCollection, but > without any success... > > If I'm using: > col = collections.LineCollection(listXY, linewidths=cir

[Matplotlib-users] linestyles in LineCollection

2010-04-27 Thread Carlos Grohmann
I've been trying to change the linestyles in a LineCollection, but without any success... If I'm using: col = collections.LineCollection(listXY, linewidths=circwdt, colors=circcol, linestyle='solid', label=plabel) it works fine, but anything other than 'solid' gives me an error when the code call