You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
\right) becomes ! when used together with sumation in latex strings #12834
the string
r"$\left( \sum_{i=1}^n \right)$"
is not formated properly by matplotlib axis labeling (or plt.text either).
The last symbol should be a big ")", however is a "!". The problem seems to be caused by \sum_{i=1}^n, as it does not occur in other combinations. (see script below).
here's code for reproduction
import matplotlib.pyplot as plt
Activity
QuLogic commentedon Nov 19, 2018
I cannot reproduce this with Matplotlib 2.2.3; can you try updating?
juergspaak commentedon Nov 19, 2018
updated and works fine, thanks
QuLogic commentedon Sep 4, 2025
This is actually a duplicate of #5210 and was only "fixed" by the change of default font.