Menu

Commit [r4811]  Maximize  Restore  History

Added some logic to Axes.bar that will preconvert unitized data before creating

the rectangular Patch since not all unitized data can be subtracted with a floating
point number (ie. 'left - width') this is especially true with 'time' (time - time = duration).
This problem can be seen when passing in a floating-point number for the width, which
in-turn should be interpreted to be a number in the units for the axis. This was not
being done, and now is. There is probably a better way to handle this.

jrevans 2008-01-08

changed /trunk/matplotlib/lib/matplotlib/axes.py
/trunk/matplotlib/lib/matplotlib/axes.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.