is it possible to serialise Panel objects? Let’s say I have something like this:
import panel as pn pn.extension() import numpy as np import matplotlib.pyplot as plt data = np.random.random(100) plot = plt.plot(data, 'bo') panel_obj = pn.Row("# My plot is cool: ", plot)
What would be cool is you could now save
panel_obj to some sort of file, and then open it again to get exactly the same contents back. If I understand correctly, the data is also indirectly saved into the panel object. I know there is
panel_obj.save but how does one load again?
I’m using holoviz to look at output from Earth System models. I can image automatically scripting some visualisations into the post-processing jobs. I could then use the resulting saved objects to piece together figures for slideshows, publications, etc…