Closed
Description
Bug report
When I transform a MarkerStyle, it displays fine in the plot but not in the legend.
Code for reproduction
import matplotlib.pyplot as ppl
from matplotlib.markers import MarkerStyle
hdiamond = MarkerStyle("d")
hdiamond._transform.rotate_deg(90)
ppl.plot(0, 0, marker = hdiamond, label = 'foo', ls = 'None')
ppl.legend()
ppl.show()
Actual outcome
Matplotlib version
- Operating system: macOS 10.15.7 (19H15)
- Matplotlib version: 3.3.4
- Matplotlib backend: MacOSX
- Python version: 3.7.10