solara icon indicating copy to clipboard operation
solara copied to clipboard

Matplotlib plot very slow in solara

Open robot144 opened this issue 2 years ago • 0 comments

Hi, I am trying to make a plot with pcolormesh from matplotlib, but wrapped in solara.FigureMatplotlib it becomes slow. It is very well possible that I am overlooking something, but at the moment I do not know how to make it faster. The code is here https://github.com/SALTISolutions/wetwin/blob/main/wetwin_solara_rhine_meuse_map.ipynb for comparison, I also added a cell with a straight plot without solara. Any hint is appreciated. Best regards, Martin

robot144 avatar Nov 29 '23 17:11 robot144