xarray.Dataset.hyoga.plot.natural_earth#
- Dataset.hyoga.plot.natural_earth(theme=None, category='physical', scale='10m', **kwargs)#
Plot Natural Earth data in dataset projection.
- Parameters:
theme (
stror iterable, optional) – Natural Earth data theme(s) or theme aliase(s), such asriversorlakes_allpassed tohyoga.open.natural_earth(). If theme is None, plot coastline, rivers and lakes. Please browse https://www.naturalearthdata.com for available themes.category (
{'cultural', 'physical'}, optional) – Natural Earth data category (i.e. folder) used for downloads, defaults to ‘physical’.scale (
{'10m', '50m', '110m'}, optional) – Natural Earth data scale controlling the level of detail, defaults to the highest scale of 10m.**kwargs (optional) – Keyword arguments passed to
geopandas.GeoDataFrame.plot(). Defaults to plotting on current axes atzorder=-1, the same level as bedrock altitude maps. If theme is None, also apply a default style to coastline, rivers, and lakes.
- Returns:
ax (
matplotlib.axes.Axes(or a subclass)) – Matplotlib axes used for plotting.