You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating plots in multiple notebooks / python scripts and save them to pickle. Than from a central notebook I combine them in the final figure using patchworklib. to do this i am trying it in two different ways:
Exporting bricks object to pickle and loading the pickle object somewhere else
import seaborn as sns
import patchworklib as pw
ax = pw.Brick(figsize=(3, 2))
sns.lineplot(melted_dilution, x="VAF %", y="Metric Value", hue="Metric", ax=ax)
dump_to_pickle(ax)
and than in another notebook
ax = load_pickle(path_to_file)
ax.savefid()
Exporting the matplotlib figure object, loading it in the other notebook and putting the ax in the Bricks object
Hello,
Thanks for this cool library - super helpful!
I'm creating plots in multiple notebooks / python scripts and save them to pickle. Than from a central notebook I combine them in the final figure using patchworklib. to do this i am trying it in two different ways:
and than in another notebook
ax
in theBricks
objectand than in another notebook
the problem i have is that in both of these ways:
brick.figure
returns the plot)brick.savefig("test.png")
or justbrick
in the notebook there is only a blank canvas.any advice on how to do this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: