Ah, thanks! On Thu, Jul 23, 2009 at 12:18 PM, John Hunter<jdh2...@gmail.com> wrote: > bar width or 1.0 corresponds to 1 day. The default width to the bar > command is 0.8, which is too thin for months, just right for days, and > too wide for hours. Eg, for hours do > > bar(x, y, width=0.8*1/24.) # width is 0.8 hours > > for months, do something like > > bar(x, y, width=0.8*30/24.) # width approx 80% of a month
It would be nice for the documentation to say something like "width: the widths of the bars as a proportion of the width of 1 day" instead of "width: the widths of the bars" Nick ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users