Bug report
matplotlib.pyplot.errorbar does follow the plot order, in particular the markers seem to be plot always last. Calls to other plot functions will thus be covered by the errobar markers.
Code for reproduction
import matplotlib.pyplot as plt
plt.errorbar(range(10), range(10), fmt='o')
plt.plot(range(10), range(10), 'x')
plt.show()
Expected outcome
the 'x's should be on top but they are covered by the 'o' of errorbar.
Matplotlib version
- Operating system: Fedora 31
- Matplotlib version: 3.2.1
- Matplotlib backend: Qt5Agg
- Python version: 3.7.6
Installation from pip3
Bug report
matplotlib.pyplot.errorbardoes follow the plot order, in particular the markers seem to be plot always last. Calls to other plot functions will thus be covered by the errobar markers.Code for reproduction
Expected outcome
the 'x's should be on top but they are covered by the 'o' of
errorbar.Matplotlib version
Installation from
pip3