Questions tagged [tikzplotlib]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

Pgfplot overlapping plots

I currently used tikzplotlib from Python to generate the following plot in LaTeX. However, my current subplots are overlapping in LaTeX while they were not overlapping in Python (I used fig....
user avatar
  • 1
0 votes
1 answer
20 views

How to adjust the size of the legendbox in Tikzplots if the content is bigger than the boxsize?

The title says it all. I have a tikzplot. I have a legend. And I have some content that is too big for the legend box. Please help. This is my code: \begin{figure}[H] \centering \begin{...
user avatar
0 votes
0 answers
20 views

Error scatterplot tikzplotlib

I have created such a scatterplot in seaborn and I wanted to export that figure using tikzplotlib. When compiling the tikz file I get the error: 'Argument of \XC@cnv@RGB has an extra }.' What I found ...
user avatar
3 votes
1 answer
565 views

twinx x-ticklabels not showing properly when input to latex document

I have a plot with two datasets, using the same x-axis data, so I want to plot this using the twinx functionality in python's matplotlib. To typeset the resulting graph in my latex document that the ...
user avatar
  • 33
1 vote
0 answers
122 views

No colors in marks on pgfplots legend, using groupplots and standalone? [closed]

I'm trying to make an image with 2 groupplots, and a single legend. Issue #1 should be evident: the legend is showing up to the right of the plots, not below them. < This has been solved using a ...
user avatar
0 votes
1 answer
48 views

Vertically unaligned tikz plots

I'm working on a latex project and I use pgfplots for graphs. However, I encounter misalignment of them: I notice that this problem completely disappears if I delete the axes data of the green and ...
user avatar
  • 103
0 votes
1 answer
51 views

pgfplot axis is offset

I have a plot generated from tikzplotlib & pythontex that I'm working on in a standalone document, to include in a larger document. The offset is present in both documents, and I do not know why. ...
user avatar
0 votes
1 answer
249 views

tikzplotlib settings do not match

I am trying to translate a matplotlib plot to tikz. This is fairly straightforward: plt.figure(dpi=100) plt.xticks([], []) plt.yticks([], []) plt.scatter([d[0] for d in towns], [d[1] for d in towns], ...
user avatar
  • 103
0 votes
1 answer
151 views

Alignment of pgfplots inside subfloats when using tikzplotlib

I'm using the tikzplotlib code below to generate two Plots. I then place them in two subfloats. As you can see in the final latex output, the figure looks rather ugly with the two plots differently ...
user avatar
0 votes
0 answers
276 views

Standalone Tikz from tikzplotlib won't compile

I'm trying to compile the following standalone tikz picture I exported from a matplotlib python plot with tikzplotlib. It originally had over 4000 data points and I thought it might be related to that,...
user avatar
  • 301
2 votes
1 answer
225 views

Density plot with log scale for z-axis in pgfplots or tikzplotlib

I am trying to make a 2D density plot in python using tikzplotlib. I need to have the colorbar (and corresponding z-axis) in the log scale. Here is the example of the figure in png that I want to have ...
user avatar
1 vote
1 answer
231 views

loading picture generated from tikzplotlib into latex changes axis on plot

I generate a plot with tikzplotlib. When I load the .tex file into latex it adds to my y-axis 10^-2 and I don't know why. Saving the picture as .png looks like(No 10^-2 above y-axis): Loading it now ...
user avatar
0 votes
1 answer
464 views

Setting axis x line* and axis y line* globally

I have encountered a "problem" to which I was not yet able to find a solution. If one exports a figure with tikzplotlib or matlab2tikz, the lines axis x line*=bottom, axis y line*=left, are ...
user avatar
  • 360