GangCaoLab / CoolBox

Jupyter notebook based genomic data visualization toolkit.
https://gangcaolab.github.io/CoolBox/index.html
GNU General Public License v3.0
224 stars 37 forks source link

Frame.plot closes figure #57

Closed scyrusm closed 2 years ago

scyrusm commented 2 years ago

In Frame.plot, plt.close() is called prior to return fig. Is there a reason for this? This currently makes it impossible to save that plot with a simple plt.savefig(...).

Nanguage commented 2 years ago

It prevents duplicate figure show in jupyter environments. User can use fig.savefig(...) to save the plot.