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

MWE: This bit of code plots open circles of a fixed but non-default size: ``` import matplotlib.pyplot as plt from tikzplotlib import get_tikz_code max_marker_size = 300 fig, ax = plt.subplots()...

Thanks for this awesome package. I was however a bit unhappy by the fact that image data had to be moved around in separate files, always adding some extra hassle...

For the code ``` import pandas as pd import tikzplotlib date_rng = pd.date_range(start='2018-01-01', end='2018-12-01', freq='MS') df = pd.DataFrame(np.random.randint(0, 100, size=(len(date_rng))), index=date_rng) fig, ax = plt.subplots(figsize=(10, 4)) ax.plot(df) ax.set_xticks(pd.DatetimeIndex(['2018-{}-01'.format(month) for month...

Hi, currently I struggle to export a matplotlib (v3.1.0) plot with tikzplotlib (v0.8.2) to tikz. I made simple example of a plot with two rectangles with different colors and a...

Originally, I was imshowing some rgb image and wanted to add a legend explaining what color channel is giving which information. Therefore, I needed to add a manual legend entry...

When creating a legend with a title, the title does not transform to tikz code. Python code: ``` import matplotlib.pyplot as plt from tikzplotlib import save as tikz_save x=[-1,1] y=[-1,1]...

Calling `plt.savefig()` changes the tikzplotlib result. A minimized example is the following. Complicated examples of this bug can be found in #416 and #400 . ```py from matplotlib import pyplot...

Hi, this is a great library that can save me tones of time! I wish I had discovered it earlier. I use pgfplots heavily, but inputing data is a nightmare...

I am trying to preserve the aspect ratio being set for my figure, but it seems to be ignored. At the moment I manually add `height=5cm,width=5cm` to the axis argument...

Hi, what is your workflow when generating plots to be used as subfloats? (I'm not happy with groupplots because of the lack of configurability, the visual appeal and it being...