Repository navigation
Commit 96d2376
committed
DOC/TST : document and test negative width to bar
`ax.bar` allows you to specify the left edge of the bars. The
'align' keyword allows the user to tell mpl to interpret the left
edges as the centers. To use the left edges as the right edges the
user can simply pass a negative width.
- Added note to the 'align' entry in the docstring
- Added test to make sure this does not get 'fixed' with validation on
width in bar1 parent f532615 commit 96d2376
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
| 1858 | + | |
| 1859 | + | |
1858 | 1860 | | |
1859 | 1861 | | |
1860 | 1862 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
3569 | 3569 | | |
3570 | 3570 | | |
3571 | 3571 | | |
| 3572 | + | |
3572 | 3573 | | |
3573 | 3574 | | |
3574 | 3575 | | |
3575 | 3576 | | |
3576 | 3577 | | |
3577 | 3578 | | |
| 3579 | + | |
3578 | 3580 | | |
3579 | 3581 | | |
3580 | 3582 | | |
3581 | 3583 | | |
3582 | 3584 | | |
3583 | 3585 | | |
3584 | 3586 | | |
| 3587 | + | |
3585 | 3588 | | |
3586 | 3589 | | |
3587 | 3590 | | |
3588 | 3591 | | |
3589 | 3592 | | |
| 3593 | + | |
3590 | 3594 | | |
3591 | 3595 | | |
3592 | 3596 | | |
| |||
3595 | 3599 | | |
3596 | 3600 | | |
3597 | 3601 | | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
3598 | 3614 | | |
3599 | 3615 | | |
3600 | 3616 | | |
| |||
0 commit comments