Skip to content

GIS🍋

plot_2d(georef_object, property, agg_method, crs=None, kwargs) 🍋

Return a 2d plot on a map of a given property belonging to a GeoRefObject.

Parameters:

Name Type Description Default
georef_object GeoRefObject

Geo-ref Object.

required
property str

Property to map.

required
agg_method AggregationMethod

aggregation data methods. See Pandas - Group By to find out supported methods.

required
crs Optional[CRS]

Cooordinate Reference System.

None
**kwargs

Extra arguments to pass along to Plotly - Update Layout, arguments available at Plotly - Layout.

{}

Raises:

Type Description
ValueError

No CRS is provided and project has no CRS either.

Returns:

Type Description
Figure

Plotly Figure.