- class ImagingPlotter[source]#
Plots the attributes of Imaging objects using the matplotlib method imshow() and many other matplotlib functions which customize the plot’s appearance.
The mat_plot_2d attribute wraps matplotlib function calls to make the figure. By default, the settings passed to every matplotlib function called are those specified in the config/visualize/mat_wrap/*.ini files, but a user can manually input values into MatPlot2d to customize the figure’s appearance.
Overlaid on the figure are visuals, contained in the Visuals2D object. Attributes may be extracted from the Imaging and plotted via the visuals object, if the corresponding entry is True in the Include2D object or the config/visualize/include.ini file.
Imaging) – The imaging dataset the plotter plots.
MatPlot2D) – Contains objects which wrap the matplotlib function calls that make 2D plots.
Visuals2D) – Contains 2D visuals that can be overlaid on 2D plots.
Include2D) – Specifies which attributes of the Imaging are extracted and plotted as visuals for 2D plots.
Get the size of a sub plotter in (total_y_pixels, total_x_pixels), based on the number of subplots that are going to be plotted.
Setup a figure for plotting an image.