Bug summary
In figure with multiple boxplot calls and manual positions. The xlim is not set correctly.
Code for reproduction
plt.figure() plt.boxplot(np.random.rand(100,3), positions=[2, 4, 6]) plt.boxplot(np.random.rand(100,3), positions=[1, 3, 5]) plt.show()
Actual outcome
Expected outcome
I would have expected the xlim to be set to [0.5, 6.5].
Matplotlib version
Matplotlib was installed from conda using the main channel.
Equivalent plot figure does produce the expected outcome.
plt.figure() plt.plot([50, 150], [0, 10]) plt.plot([0, 100], [-10, 10]) plt.show()
This commit looks related to the issue: tacaswell@8c9f4d4
Likely #13444 should close this.
Activity
jon-dan commented on Mar 19, 2019
Equivalent plot figure does produce the expected outcome.
jon-dan commented on Mar 19, 2019
This commit looks related to the issue: tacaswell@8c9f4d4
anntzer commented on Mar 19, 2019
Likely #13444 should close this.