Sebastian Janisch

Results 4 comments of Sebastian Janisch

There is a rather ugly hack for the time being. The layout object cannot be serialized right now, but the underlying structure is a plain dict. turning this into a...

Turns out the figure itself has a `to_dict` function, so we can use `self.layout = self.figure.to_dict()["layout']` as a workaround.

I just came across this so this might be a multiprocessing issue in the way that the gunicorn workers are started: https://docs.pola.rs/user-guide/misc/multiprocessing/

I've been playing around with this more. It looks like this issue is caused if polars is touched on module level. That is, if the module level `pl.read_csv` is removed...