Closed
Description
Bug report
Bug summary
In version 3.4.1, passing the 'ds' kwarg to plt.errorbar results in an attribute error.
Code for reproduction
from matplotlib import pyplot as plt
plt.errorbar(x=[1, 2], y=[1, 2], yerr=[1, 2], ds='steps-mid')
Actual outcome
AttributeError: 'LineCollection' object has no property 'drawstyle'
Matplotlib version
- Operating system: Catalina (10.15.7)
- Matplotlib version: 3.4.1
- Matplotlib backend: MacOSX
- Python version: 3.8.8
- Other libraries: Fresh conda environment
Installed matplotlib via conda using the default channel.