Description
Bug report
Bug summary
rotating different text by 90 degrees give different baseline alignment
Code for reproduction
import matplotlib.pyplot as plt
plt.figure(figsize=(2., 2.))
plt.text(0.5, 0.0, 'yB', fontsize=40, rotation=90)
plt.text(0.5, 0.5, 'By', fontsize=40, rotation=90)
plt.show()
Expected outcome
Expected 'yB' and 'By' to be aligned
Matplotlib version
- Operating system: CentOS Linux 7
- Matplotlib version: 3.0.3
- Matplotlib backend (
print(matplotlib.get_backend())
): Qt5Agg - Python version: 3.6.8
installed via conda