Closed
Description
Bug report
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
- Operating system: Ubuntu 16.04.6
- Matplotlib version: 3.0.2
- Matplotlib backend:
module://ipykernel.pylab.backend_inline
- Python version: 3.7.1
- Jupyter version: 4.4.0
Matplotlib was installed from conda using the main channel.
Metadata
Metadata
Assignees
Labels
No labels