vastorbit.VastColumn.geo_plot¶
- VastColumn.geo_plot(*args, **kwargs) PlottingBase | TableSample | Axes | mFigure | Figure¶
Draws the Geospatial object.
- Parameters:
**kwargs (*args /) – Any optional parameter to pass to the geopandas plot function. For more information, see: https://geopandas.readthedocs.io/en/latest/ docs/reference/api/geopandas.GeoDataFrame.plot.html
- Returns:
Axes
- Return type:
ax
Examples
Note
The below example is a very basic one. For other more detailed examples and customization options, please see Geospatial Plots
Let’s begin by importing the dataset module of vastorbit. It provides a range of datasets for both training and exploring vastorbit’s capabilities.
import vastorbit.datasets as vod
Let’s utilize the World dataset to demonstrate geospatial capabilities.
import vastorbit.datasets as vod world = vod.load_world() # We filter to select only the African continent africa = world[world["continent"] == "Africa"]
Now we can draw the plot:
africa["geometry"].geo_plot(edgecolor = "black", color = "white")
See also
VastColumn.plot(): Line Plot.