Set sticky_edges correctly for negative height bar(). #7995
Merged
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
Jump to file
| @@ -0,0 +1,7 @@ | ||
| +`bar` now returns rectangles of negative height or width if the corresponding input is negative | ||
| +``````````````````````````````````````````````````````````````````````````````````````````````` | ||
| + | ||
| +`plt.bar` used to normalize the coordinates of the rectangles that it created, | ||
| +to keep their height and width positives, even if the corresponding input was | ||
| +negative. This normalization has been removed to permit a simpler computation | ||
| +of the correct `sticky_edges` to use. |