I’d like to save a plot but not as an image file, basically I want to be able to save a Plot p, end my julia session, open a new one, load Plot p and then edit it with new series for example.
I tried to use BSON like this:
p = plot(rand(5)) BSON.@save "myplot.bson" p #restart julia session BSON.@load "myplot.bson" p > UndefVarError: PyCall not defined
I tried adding and using the PyCall package but then another undefvarerror shows up.
Is there a convenient way to do this ?