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

Be able to change lines thickness translation #569

Open
LeanderK opened this issue Feb 10, 2023 · 0 comments
Open

Be able to change lines thickness translation #569

LeanderK opened this issue Feb 10, 2023 · 0 comments

Comments

@LeanderK
Copy link

The translation between matplotlib and tikz is, as far as I can see, defined here:

https://github.com/texworld/tikzplotlib/blob/450712b4014799ec5f151f234df84335c90f4b9d/src/tikzplotlib/_path.py#L409

I have different thickness defaults in my tikz-plots, so the translation is out of sync. This forces me to change the thickness of my matplotlib lines, resulting in pretty unreadable matplotlib plots just to get the thickness correct. It would be great to change those things globally! I can create a PR if this is a welcome addition and you would give me a hint on how you would like to have it implemented. I was thinking of something simple like matplotlibs rcparams but I am happy to do something else.

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

1 participant