Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

LaTeX overset: unknown symbol #18241

Copy link
Copy link
Closed
Closed
Copy link
@maxdevblock

Description

@maxdevblock
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.