tikzplotlib
tikzplotlib copied to clipboard
:bar_chart: Save matplotlib figures as TikZ/PGFplots for smooth integration into LaTeX.
```python # %% import numpy as np import matplotlib.pyplot as plt import seaborn as sns from tqdm.auto import tqdm import tikzplotlib # Generate scatter plot figures for different n (1...
Fixes #606 Not sure if this is the best way to do it, since it seems a bit kludgy, but it seems to work. On top of #607, to avoid...
This at least allows a workaround for #606
```python # %% import matplotlib as mpl import matplotlib.pyplot as plt import tikzplotlib # example from https://matplotlib.org/stable/users/explain/colors/colorbar_only.html#basic-continuous-colorbar fig, ax = plt.subplots(figsize=(6, 1), layout='constrained') cmap = mpl.cm.cool norm = mpl.colors.Normalize(vmin=5, vmax=10)...
Work around https://github.com/matplotlib/matplotlib/commit/1936c948476b7d58d10f2c50003a0b9c38f30477 Fixes #559 Closes #602 Closes #597 Closes #604 Overalps a bit with #540
Hey, thanks for your amazing work on this project. Since the development on tikzplotlib is stalled for 2 years now, I am wondering how to continue this project. Several bugs...
`common_texification` is deprecated since matplotlib 3.6. I replaced with `tex_escape`. See issue https://github.com/nschloe/tikzplotlib/issues/559 for more details.
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.
As per https://github.com/nschloe/tikzplotlib/issues/559
Fixes #600