jupyter notebook:再次显示 seaborn 情节

jupyter notebook: show seaborn plot again

尝试在 Jupyter notebook 中构建 seaborn FacetGrid 图。创建后,它显示得很好。但如果我操纵图表并想再次看到它,我就做不到。我只能获取对象列表。

如何再次显示图表?

您需要在新单元格中声明图形,以使其与内联后端一起显示。

g.fig

g.fig 没有 work.Instead、g.figure 算出来。