tikzplotlib icon indicating copy to clipboard operation
tikzplotlib copied to clipboard

Error nested axes pgfplots

Open jellinge opened this issue 4 years ago • 0 comments
trafficstars

Dear all,

I am trying to convert the following Python plot to Tikz: example

Without the detail (created by using ax.inset_axes(...)), everything works perfectly fine. However, with it I cannot compile my document anymore because of a pgfplots error:

Package pgfplots Error: Sorry, nested axis environments are not supported. Please move the inner axis environment below \end{axis} and use alignment options (for example named node s, see manual) to place it at the desired position.

The export works just fine: example.zip

Is there a way to fix or circumvent this?

Best Joe

jellinge avatar May 10 '21 10:05 jellinge