Related issue: wdecoster/NanoPlot#207
A user reported an error coming from kaleido, the relevant part of the traceback is below:
f.write(scope.transform(self.fig, format="png"))
File "/home/user/.local/lib/python3.8/site-packages/kaleido/scopes/plotly.py", line 110, in transform
raise ValueError(
ValueError: Transform failed with error code 1: Failed to serialize document: Uncaught
The code is:
scope = PlotlyScope()
with open('output.png'), "wb") as f:
f.write(scope.transform(fig, format="png"))
It could be that the image is rather large, would that explain the problem? What can I do to debug?
Thanks,
Wouter
Related issue: wdecoster/NanoPlot#207
A user reported an error coming from kaleido, the relevant part of the traceback is below:
The code is:
It could be that the image is rather large, would that explain the problem? What can I do to debug?
Thanks,
Wouter