(ax, u, vmin=None, vmax=None, cmap="viridis")
| 200 | |
| 201 | |
| 202 | def PlotSquareField(ax, u, vmin=None, vmax=None, cmap="viridis"): |
| 203 | ax.imshow(np.flipud(u), |
| 204 | vmin=vmin, |
| 205 | vmax=vmax, |
| 206 | extent=(0, 1, 0, 1), |
| 207 | interpolation='nearest', |
| 208 | cmap=cmap) |
| 209 | |
| 210 | def SaveFigure(fig, filename): |
| 211 | matplotlib.rcParams['svg.hashsalt'] = 123 # for reproducible svg |
nothing calls this directly
no outgoing calls
no test coverage detected