ImageFolder.montage¶
- ImageFolder.montage(*args, **kargs)¶
Call the plot method for each metadataObject, but switching to a subplot each time.
- Parameters:
args – Positional arguments to pass through to the
Stoner.plot.PlotMixin.plot()
call.kargs – Keyword arguments to pass through to the
Stoner.plot.PlotMixin.plot()
call.
- Keyword Arguments:
extra (callable(i,j,d)) – A callable that can carry out additional processing per plot after the plot is done
dpi (float) – dots per inch on the figure
edgecolor,facecolor (matplotlib colour) – figure edge and frame colours.
frameon (bool) – Turns figure frames on or off
FigureClass (class) – Passed to matplotlib figure call.
plots_per_page (int) – maximum number of plots per figure.
- Returns:
A list of
matplotlib.pyplot.Axes
instances.
Notes
If the underlying type of the
Stoner.Core.metadataObject
instances in thePlotFolder
lacks a plot method, then the instances are converted toStoner.Core.Data
.Each plot is generated as sub-plot on a page. The number of rows and columns of subplots is computed from the aspect ratio of the figure and the number of files in the
PlotFolder
.