Bug summary
LaTeX parser error with \overset symbol
Code for reproduction
import matplotlib.pyplot as plt plt.text(0, 0, r"$x \overset{f}{\rightarrow} y$")
Actual outcome
ValueError: x \overset{f}\rightarrow y ^ Unknown symbol: \overset, found '\' (at char 2), (line:1, col:3)
Expected outcome
overset: http://tex.wikidot.com/snippets:overset-and-underset
Matplotlib version
matplotlib installed with pip.
Fixed by #18916.
Activity
QuLogic commented on Jan 18, 2021
Fixed by #18916.