Skip to content

Conversation

lukashof
Copy link

@lukashof lukashof commented Apr 3, 2024

This replaces the _common_texification deprecated by Matplotlib 3.6 with _tex_escape. I also changed the name in tikzplotlib accordingly.

This should fix #559.

@JasonGross
Copy link

JasonGross commented Apr 3, 2024

Hm, this is good, but in light of matplotlib/matplotlib@1936c94 maybe we should just inline the old definition (so that we don't emit things like \mathdefault)?

@lukashof
Copy link
Author

lukashof commented Apr 4, 2024

I tried to keep the change minimal. Getting rid of the Matplotlib function might be a good idea, but I think it's something the maintainer needs to be interested in so it actually gets merged. I also lack some knowledge for this.

I rarely use tikzplotlib at the moment and created this fix when I needed it last year. But as a sporadic user and seeing that the repo isn't maintained, I'm not interested in pursuing this much further.

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

Successfully merging this pull request may close these issues.

matplotlib 3.6 deprecates pgf.common_texification
2 participants