MCPcopy Create free account
hub / github.com/cselab/aphros / PlotSave

Function PlotSave

src/test/sharp/plot.py:50–54  ·  view source on GitHub ↗
(fig, ax, po)

Source from the content-addressed store, hash-verified

48 return fig, ax
49
50def PlotSave(fig, ax, po):
51 ax.set_aspect('equal')
52 fig.tight_layout()
53 fig.savefig(po, dpi=300)
54 plt.close()
55
56from matplotlib.colors import LinearSegmentedColormap
57

Callers 1

plot.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected