Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug report
Bug summary
Usingbar
, the first input argument is not used for the left edge of the bar, but rather the center, as if the kwargalign='center'
was used. However, the desired behavior is obtained in both cases when usingalign = 'center'
andalign = 'edge'
. Just whenalign
is not specified, it should be 'edge' aligned which it is not.
Code for reproduction
importmatplotlib.pyplotaspltplt.bar([1], [1])plt.show()
Actual outcome
Expected outcome
In matplotlib 1.5.3 I got the expected behavior.
Matplotlib version
matplotlib 2.0.0
python 3.6.0
both installed from the Arch Linux repository.