oraclesai.vis.plot_geometries
- plot_geometries(data, ax=None, with_basemap=False, **plot_extra_kwargs)
Plot data using matplotlib.
- Parameters:
data – a
SpatialDataFrame
, A list of shapely geometries, ageopandas.GeoSeries
or,geopandas.GeoDataFrame
.ax – axes on which to draw the plot.
with_basemap – (boolean,
xyzservices.TileProvider
or dictionary). Specifies whether a basemap should be added. If True, the default basemap will be used. If a TileProvider instance is passed (e.g.,elocation.osm_bright
), it will be used as basemap. Alternatively, a dictionary can be passed with the parameters tooraclesai.vis.add_basemap()
, except ax.**plot_extra_kwargs –
Parameters accepted by
geopandas.GeoDataFrame.plot()
(when data is a DataFrame) orgeopandas.GeoSeries.plot()
(when data is not a DataFrame).