ecell / ecell4

An integrated software environment for multi-algorithm, multi-timescale, multi-spatial-representation simulation of various cellular phenomena
https://ecell4.e-cell.org/
GNU General Public License v3.0
17 stars 9 forks source link

Return a figure without showing it #93

Open kaizu opened 4 years ago

kaizu commented 4 years ago
fig, ax = plt.subplots()
_ = ax.plot(x, y, 'k--')
plt.close()
fig

https://qiita.com/U25CE/items/c2714bf5903de84bf47b