Plotting#

PyAutoLens custom visualization library.

Step-by-step Juypter notebook guides illustrating all objects listed on this page are provided on the autolens_workspace: plot tutorials and it is strongly recommended you use those to learn plot customization.

Examples / Tutorials:

Plotters [aplt]#

Create figures and subplots showing quantities of standard PyAutoLens objects.

Array2DPlotter

Plots Array2D objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

Grid2DPlotter

Plots Grid2D objects using the matplotlib method scatter() and many other matplotlib functions which customize the plot's appearance.

MapperPlotter

Plots the attributes of Mapper objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

YX1DPlotter

Plots two 1D objects using the matplotlib method plot() (or a similar method) and many other matplotlib functions which customize the plot's appearance.

InversionPlotter

Plots the attributes of Inversion objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

ImagingPlotter

Plots the attributes of Imaging objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

InterferometerPlotter

Plots the attributes of Interferometer objects using the matplotlib methods plot(), scatter() and imshow() and other matplotlib functions which customize the plot's appearance.

LightProfilePlotter

Plots the attributes of LightProfile objects using the matplotlib methods plot() and imshow() and many other matplotlib functions which customize the plot's appearance.

LightProfilePDFPlotter

Plots the attributes of a list of LightProfile objects using the matplotlib methods plot() and imshow() and many other matplotlib functions which customize the plot's appearance.

GalaxyPlotter

Plots the attributes of Galaxy objects using the matplotlib methods plot() and imshow() and many other matplotlib functions which customize the plot's appearance.

FitImagingPlotter

Plots the attributes of FitImaging objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

FitInterferometerPlotter

Plots the attributes of FitInterferometer objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

GalaxiesPlotter

Plots the attributes of a list of galaxies using the matplotlib methods plot() and imshow() and many other matplotlib functions which customize the plot's appearance.

AdaptPlotter

FitImagingPlotter

Plots the attributes of FitImaging objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

FitInterferometerPlotter

Plots the attributes of FitInterferometer objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot's appearance.

MultiFigurePlotter

MultiYX1DPlotter

Non-linear Search Plotters [aplt]#

Create figures and subplots of non-linear search specific visualization of every search algorithm supported by PyAutoGalaxy.

Plot Customization [aplt]#

Customize figures created via Plotter objects, including changing matplotlib settings and adding visuals to figures.

MatPlot1D

Visualizes 1D data structures as a y versus x plot using Matplotlib.

MatPlot2D

Visualizes data structures (e.g an Array2D, Grid2D, VectorField, etc.) using Matplotlib.

Include1D

Sets which Visuals1D are included on a figure plotting 1D data that is plotted using a Plotter1D.

Include2D

Sets which Visuals2D are included on a figure plotting 2D data that is plotted using a Plotter.

Visuals1D

Visuals2D

Matplot Lib Wrappers [aplt]#

Wrappers for every matplotlib function used by a Plotter, allowing for detailed customizaiton of every figure and subplot.

Matplotlib Wrapper Base Objects:

Units

This object controls the units of a plotted figure, and performs multiple tasks when making the plot:

Figure

An abstract base class for wrapping matplotlib plotting methods.

Axis

Customizes the axis of the plotted figure.

Cmap

Customizes the Matplotlib colormap and its normalization.

Colorbar

Customizes the colorbar of the plotted figure.

ColorbarTickParams

An abstract base class for wrapping matplotlib plotting methods.

TickParams

An abstract base class for wrapping matplotlib plotting methods.

YTicks

The settings used to customize a figure's y and x ticks using the YTicks and XTicks objects.

XTicks

The settings used to customize a figure's y and x ticks using the YTicks and XTicks objects.

Title

The settings used to customize the figure's title.

YLabel

The settings used to customize the figure's title and y and x labels.

XLabel

The settings used to customize the figure's title and y and x labels.

Legend

An abstract base class for wrapping matplotlib plotting methods.

Output

Sets how the figure or subplot is output, either by displaying it on the screen or writing it to hard-disk.

Matplotlib Wrapper 1D Objects:

YXPlot

Plots 1D data structures as a y vs x figure.

Matplotlib Wrapper 2D Objects:

ArrayOverlay

An abstract base class for wrapping matplotlib plotting methods.

GridScatter

An abstract base class for wrapping matplotlib plotting methods.

GridPlot

An abstract base class for wrapping matplotlib plotting methods.

VectorYXQuiver

An abstract base class for wrapping matplotlib plotting methods.

PatchOverlay

An abstract base class for wrapping matplotlib plotting methods.

VoronoiDrawer

An abstract base class for wrapping matplotlib plotting methods.

OriginScatter

An abstract base class for wrapping matplotlib plotting methods.

MaskScatter

An abstract base class for wrapping matplotlib plotting methods.

BorderScatter

An abstract base class for wrapping matplotlib plotting methods.

PositionsScatter

An abstract base class for wrapping matplotlib plotting methods.

IndexScatter

An abstract base class for wrapping matplotlib plotting methods.

MeshGridScatter

An abstract base class for wrapping matplotlib plotting methods.

ParallelOverscanPlot

An abstract base class for wrapping matplotlib plotting methods.

SerialPrescanPlot

An abstract base class for wrapping matplotlib plotting methods.

SerialOverscanPlot

An abstract base class for wrapping matplotlib plotting methods.