Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LaTeX overset: unknown symbol #18241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
maxdevblock opened this issue Aug 13, 2020 · 1 comment
Closed

LaTeX overset: unknown symbol #18241

maxdevblock opened this issue Aug 13, 2020 · 1 comment

Comments

@maxdevblock
Copy link

Bug report

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

  • Operating system: macOS 10.15.5
  • Matplotlib version: 3.3.0
  • Matplotlib backend (print(matplotlib.get_backend())): module://ipykernel.pylab.backend_inline
  • Python version: Python 3.7.7
  • Jupyter version: 6.0.3 (IPython 7.13.0)

matplotlib installed with pip.

@QuLogic
Copy link
Member

QuLogic commented Jan 18, 2021

Fixed by #18916.

@QuLogic QuLogic closed this as completed Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants