Open Viech opened 1 week ago
Hi, thanks for spotting this error :) I did not manage to reproduce it, could you please provide a Minimal (Non)-Working Example leading to the error ?
@Viech The following code, where I manually set y
data to an empty list
import plotly.express as px
fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])4
fig.data[0].y = None
import tikzplotly
tikzplotly.save("test.tex", fig)
raises the following code, which is not exactly what you got:
But still, there is some bug that I need to fix ;)
Sometimes, procedurally, you might add a trace whose data is empty; this causes the following exception.