Skip to content
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

Incompatibility with matplotlib 3.8.0 #37

Open
assumpcaothiago opened this issue Oct 24, 2023 · 2 comments
Open

Incompatibility with matplotlib 3.8.0 #37

assumpcaothiago opened this issue Oct 24, 2023 · 2 comments

Comments

@assumpcaothiago
Copy link

When trying to run the example plot_1d_slice.py with matplotlib 3.8.0, I get the following error

ImportError: cannot import name 'common_texification' from 'matplotlib.backends.backend_pgf'

I do not get this error when executing the same example with, say, matplotlib 3.7.3.

@Sbozzolo
Copy link
Owner

Thank you. The root problem is nschloe/tikzplotlib#559.

What I can do is move the import for tikzplotlib to a place such that the error won't affect users that do not output their figures in the tikz format.

@assumpcaothiago
Copy link
Author

Thank you, Gabriele! That would work for me.

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