简体   繁体   English

jupyter notebook:再次显示 seaborn 情节

[英]jupyter notebook: show seaborn plot again

Trying to build seaborn FacetGrid plots in a Jupyter notebook.尝试在 Jupyter 笔记本中构建 seaborn FacetGrid 图。 Upon creation, it displays just fine.创建后,它显示得很好。 But if I manipulate the chart and want to see it again, I cannot.但是如果我操纵图表并想再次看到它,我就不能。 I can only get the object listing.我只能得到对象列表。

How can I show the chart a second time?如何再次显示图表?

在此处输入图片说明

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

g.fig

g.fig不起作用。相反, g.figure起作用了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM