Re: [Matplotlib-users] Dashed line step plot

2010-09-19 Thread Gökhan Sever
On Sat, Sep 18, 2010 at 1:03 PM, Benjamin Root wrote: > > I'll admit that I am not very familiar with how these step plots are done. > Maybe it should be the 'drawstyle' kwarg that should be over-riden, not > 'linestyle'? > > Ben Root > This seems like more reasonable to me. When I update /matplo

Re: [Matplotlib-users] Dashed line step plot

2010-09-18 Thread Benjamin Root
On Sat, Sep 18, 2010 at 10:39 AM, Gökhan Sever wrote: > On Fri, Sep 17, 2010 at 8:59 PM, Benjamin Root wrote: >> >> Not a bug, but a "feature". In step(), the 'linestyle' kwarg gets >> over-ridden with a value of 'steps-' + kwargs['where']. >> >> Ben Root >> > > Hard to interpret that way at the

Re: [Matplotlib-users] Dashed line step plot

2010-09-18 Thread Gökhan Sever
On Fri, Sep 17, 2010 at 8:59 PM, Benjamin Root wrote: > > Not a bug, but a "feature". In step(), the 'linestyle' kwarg gets > over-ridden with a value of 'steps-' + kwargs['where']. > > Ben Root > Hard to interpret that way at the first look. This does what I want: plt.plot(range(10), 'g--', dr

Re: [Matplotlib-users] Dashed line step plot

2010-09-17 Thread Benjamin Root
On Fri, Sep 17, 2010 at 8:43 PM, Gökhan Sever wrote: > On Fri, Sep 17, 2010 at 3:34 PM, Gökhan Sever wrote: > >> Hello, >> >> Can someone confirm me if this creates a dashed line for a simple step >> plot? >> >> # this is fine >> plt.plot(range(10), "g--") >> >> # plots solid line! >> plt.step(ra

Re: [Matplotlib-users] Dashed line step plot

2010-09-17 Thread Gökhan Sever
On Fri, Sep 17, 2010 at 3:34 PM, Gökhan Sever wrote: > Hello, > > Can someone confirm me if this creates a dashed line for a simple step > plot? > > # this is fine > plt.plot(range(10), "g--") > > # plots solid line! > plt.step(range(10), "g--") > > Thanks, > > -- > Gökhan > My version is v8624.

Re: [Matplotlib-users] Dashed line step plot

2010-09-17 Thread Paul Hobson
Same here. -paul h. On Fri, Sep 17, 2010 at 2:21 PM, Jeffrey Blackburne wrote: > I get a solid line for plt.step like you do. > > MPL 1.0.0, SVN revision 8657. > > -Jeff > > > On Sep 17, 2010, at 4:34 PM, Gökhan Sever wrote: > >> Hello, >> >> Can someone confirm me if this creates a dashed line f

Re: [Matplotlib-users] Dashed line step plot

2010-09-17 Thread Jeffrey Blackburne
I get a solid line for plt.step like you do. MPL 1.0.0, SVN revision 8657. -Jeff On Sep 17, 2010, at 4:34 PM, Gökhan Sever wrote: > Hello, > > Can someone confirm me if this creates a dashed line for a simple step plot? > > # this is fine > plt.plot(range(10), "g--") > > # plots solid line!

[Matplotlib-users] Dashed line step plot

2010-09-17 Thread Gökhan Sever
Hello, Can someone confirm me if this creates a dashed line for a simple step plot? # this is fine plt.plot(range(10), "g--") # plots solid line! plt.step(range(10), "g--") Thanks, -- Gökhan -- Start uncovering the ma