Commit 56f424f
James Evans
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.
svn path=/trunk/matplotlib/; revision=48111 parent b80f0c3 commit 56f424f
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3264 | 3264 | | |
3265 | 3265 | | |
3266 | 3266 | | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
3267 | 3281 | | |
3268 | 3282 | | |
3269 | 3283 | | |
| |||
0 commit comments