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 <rainexpec...@theo.to > <mailto:rainexpec...@theo.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 printing in black and white. > > Thanks, > Ted To > > > You should be able to specify linestyle='dashed' (or 'dashdot', or > 'dotted') when you call hist(). > > I hope that helps! > Ben Root ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users