autocti.plot.Axis#

class autocti.plot.Axis(symmetric_source_centre: bool = False, **kwargs)[source]#

Bases: AbstractMatWrap

Customizes the axis of the plotted figure.

This object wraps the following Matplotlib method:

Parameters:

symmetric_source_centre – 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.

Attributes

config_category

config_dict

config_folder

log10_min_value

set(extent: Optional[List[float]] = None, grid=None)[source]#

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

Parameters:

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