# autolens.plot.Axis¶

class autolens.plot.Axis(symmetric_source_centre: bool = False, **kwargs)
__init__(symmetric_source_centre: bool = False, **kwargs)

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

 __init__(symmetric_source_centre, **kwargs) Customizes the axis of the plotted figure. set(extent[, grid]) Set the axis limits of the figure the grid is plotted on.

Attributes

 config_dict config_folder
set(extent: List[float] = None, grid=None)

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].