cityImage.MultiPlot#
- class cityImage.MultiPlot(figsize, nrows, ncols, black_background, fontsize, title=None)[source]#
Create a grid of static GeoDataFrame plots.
- Parameters:
ncols (int) – Number of subplot columns.
nrows (int) – Number of subplot rows.
figsize (tuple, optional) – Matplotlib figure size.
**kwargs – Additional plotting options.
- fig#
Figure created for the plot grid.
- Type:
matplotlib.figure.Figure
- axes#
Matplotlib axes used by the plot grid.
- Type:
numpy.ndarray
- __init__(figsize, nrows, ncols, black_background, fontsize, title=None)[source]#
Initializes the MultiPlot class.
- Parameters:
figsize (tuple) – The size of the figure (width, height) in inches.
nrows (int) – The number of rows in the grid layout.
ncols (int) – The number of columns in the grid layout.
black_background (bool) – Specifies whether the plot has a black background (True) or white background (False).
fontsize (int) – The font size to be used in the plot.
title (str or None) – The title of the figure. If None, no title is displayed.
Methods
__init__(figsize, nrows, ncols, ...[, title])Initializes the MultiPlot class.