tikzplotlib icon indicating copy to clipboard operation
tikzplotlib copied to clipboard

:bar_chart: Save matplotlib figures as TikZ/PGFplots for smooth integration into LaTeX.

Results 138 tikzplotlib issues
Sort by recently updated
recently updated
newest added
trafficstars

Dear all, I am trying to export an imshow image with a set clip_path. Unfortunately, the latter is ignored. Is there any way to get this functionalitiy working, or am...

I am having some issues when trying to produce a contour plot for tikz. ``` import matplotlib.pyplot as plt import pandas as pd import numpy as np from matplotlib import...

Thank you for your really nice package, which simplifies my workflow of writing. However, I have found a small error in your code. **Python Code** plt.plot([0,2,4,5,6]) plt.suptitle("%") tikzplotlib.save("test.tex") **Resulting tikz...

When using a boxplot with custom labels, the latter are not translated into Pgfplot. ## Python Code Here is a MWE in Python / Matplotlib: ```python import tikzplotlib from matplotlib...

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...

Since matplotlib=3.6 matplotlib.legend attribute ncol was renamed to ncols. Renaming in the _legend.py file solves this error.

Matplotlib figures created with imshow and a LogNorm normalization do not get exported correctly, i.e. the log scale is ignored. This pull request changes the code to check for a...

Hi, I'm new to using tikzplotlib. My issue is that the produced tikz figure in latex doesn't follow the style of the figure in matplotlib. Here is a minimal example:...

Attempting to clean a figure with an inverted axis cascades into the error ```IndexError: index 0 is out of bounds for axis 0 with size 0``` This is due to...

Hello, I have the problem, that the following code produces an empty tikz-file: Might the reason be the polar plot itself? `fig, ax = plt.subplots(subplot_kw={'projection': 'polar'}) ax.plot(theta, r1,label = 'MIC1')...