【发布时间】:2016-12-24 15:10:59
【问题描述】:
我有两个 matplotlib (seaborn) 图形对象,它们都是在不同的 ipython 单元格中制作的。
#One Cell
fig_1_object = sns.factorplot(y='freq',x='d_fam',col='easy_donor',kind="bar",data=collection_d_fam)
fig_1 = fig_1_object.fig
#Two Cell
fig_2_object = sns.factorplot(y='freq',x='d_fam',col='easy_donor',kind="bar",data=collection_c_fam)
fig_2 = fig_2_object.fig
我怎样才能在同一个单元格中一个接一个地“显示”它们。我打开了 matplotlib 内联。
#third cell
fig_1
fig_2
>>Only shows fig_2
【问题讨论】:
标签: python matplotlib ipython jupyter-notebook seaborn