Skip to content

Contour🍋

contour_plot(georef_object, property, agg_method=AggregationMethod.MEAN, region=None, region_agg=None, fill_contour=False, **kwargs) 🍋

Shows the contour plot of a given property. Interpolation is done with the centripetal Catmull-Rom interpolation method.

Parameters:

Name Type Description Default
georef_object GeoRefObject

Geo-ref Object.

required
property str

A single property belonging to the geo_object to plot.

required
agg_method AggregationMethod

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

MEAN
region Optional[str]

Object region or condition to select data from.

None
region_agg Optional[RegionAggregationMethod]

Aggregation region method.

None
fill_contour bool

Indicates if the plot displays only the iso lines.

False
**kwargs

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

{}

Returns:

Type Description
Figure

Plotly Figure.


Last update: 2022-12-23