autogalaxy.plot.plot_grid#
- plot_grid(grid, title='', output_path=None, output_filename='grid', output_format=None, lines=None, ax=None)[source]#
Plot an autoarray
Grid2Das a scatter plot.Delegates to
autoarray.plot.plot_gridafter converting the grid to a plain numpy array.- Parameters:
grid – The
Grid2D(or grid-like) to plot.title (str) – Title displayed above the panel.
output_path (str or None) – Directory in which to save the figure.
None→ callplt.show()instead.output_filename (str) – Stem of the output file name.
output_format (str) – File format, e.g.
"png".lines (list or None) – Line coordinates to overlay on the grid plot.
ax (matplotlib.axes.Axes or None) – Existing
Axesto draw into.