autogalaxy.plot.Axis#

class Axis[source]#

Bases: AbstractMatWrap

Customizes the axis of the plotted figure.

This object wraps the following Matplotlib method:

Parameters:

symmetric_source_centre (bool) – If True, the axis is symmetric around the centre of the plotted structure’s coordinates.

Methods

set

Set the axis limits of the figure the grid is plotted on.

vmax_from

The vmax of a plot, for example the maximum value of the colormap and colorbar.

vmin_from

The vmin of a plot, for example the minimum value of the colormap and colorbar.

Attributes

config_category

config_dict

config_folder

log10_max_value

log10_min_value

set(extent=None, grid=None)[source]#

Set the axis limits of the figure the grid is plotted on.

Parameters:

extent (List[float]) – The extent of the figure which set the axis-limits on the figure the grid is plotted, following the format [xmin, xmax, ymin, ymax].