Skip to content

from tikzplotlib import get_tikz_code not working + propsed single line solution #626

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
Ntropic opened this issue Jan 22, 2025 · 1 comment

Comments

@Ntropic
Copy link

Ntropic commented Jan 22, 2025

v10.1 has a problem in tikzplotlib_axes.py
from matplotlib.backends.backend_pgf import common_texification as mpl_common_texification
Leading to:
ImportError: cannot import name 'common_texification' from 'matplotlib.backends.backend_pgf'

I tshould be:
from matplotlib.backends.backend_pgf import _tex_escape as mpl_common_texification instead.

@nschloe
Copy link
Owner

nschloe commented Jan 22, 2025

Dup of #559.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants