onstove.VectorLayer.plot#
- VectorLayer.plot(ax: Axes | None = None, style: dict = None)#
Plots a map of the layer using custom styles.
This is, in principle, a wrapper function for the geopandas.GeoDataFrame.plot method.
- Parameters:
- ax: matplotlib axes instance
A matplotlib axes instance can be passed in order to overlay layers in the same axes.
- style: dict, optional
Dictionary containing all custom styles wanted for the map. This dictionary can contain any input that is accepted by geopandas.GeoDataFrame.plot. If not defined, then the
styleattribute is used.