Re: [Matplotlib-users] Outline for histogram bars

2013-11-15 Thread Benjamin Root
On Wed, Nov 13, 2013 at 8:16 PM, Ted To wrote: > Thanks Ben! > > I was wondering if you can help me with a related question. How does > one change the artist for the legend? Since I have a "step" histogram, > it would be nice to have the legend display lines rather than outlined > rectangles. >

Re: [Matplotlib-users] Outline for histogram bars

2013-11-13 Thread Ted To
Thanks Ben! I was wondering if you can help me with a related question. How does one change the artist for the legend? Since I have a "step" histogram, it would be nice to have the legend display lines rather than outlined rectangles. Thanks, Ted On 11/13/2013 09:35 AM, Benjamin Root wrote: >

Re: [Matplotlib-users] Outline for histogram bars

2013-11-13 Thread Benjamin Root
On Tue, Nov 12, 2013 at 8:01 PM, Ted To wrote: > Perfect! Many thanks! Seems to be an undocumented feature... > > Not undocumented. In the docs for hist(), it says that it accepts any parameter that is used for Patch artists. This is also generally true for many of the other plotting functions.

Re: [Matplotlib-users] Outline for histogram bars

2013-11-12 Thread Ted To
Perfect! Many thanks! Seems to be an undocumented feature... Out of curiosity, what is the rationale behind using 'dashed' and 'dashdot' instead of '--' and '-.'? Ted To On 11/12/2013 04:59 PM, Benjamin Root wrote: > > > > On Tue, Nov 12, 2013 at 4:26 PM, Ted To

Re: [Matplotlib-users] Outline for histogram bars

2013-11-12 Thread Benjamin Root
On Tue, Nov 12, 2013 at 4:26 PM, Ted To wrote: > Hi, > > Is there an option to change the line style for the outline of histogram > bars? What I am looking for some something like the attached kernel > density plot. I can set different colors (attached) but this is not > very useful when printi