-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: text/mathtext
Milestone
Description
Bug summary
On current main branch a - character renders differently depending on whether there is maths in the string:
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.set_title('$1$-')
plt.show()ax.set_title('1-')Code for reproduction
-Actual outcome
Expected outcome
Additional information
No response
Operating system
No response
Matplotlib Version
3.6.0.dev2449+g806d40721c
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
git checkout
Metadata
Metadata
Assignees
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: text/mathtext

