Skip to content

Histogram🍋

histogram_plot(data, nbins=20, histnorm=HistogramNormalisationMethod.COUNT, **kwargs) 🍋

Shows the histograms of given properties (one or several).

Parameters:

Name Type Description Default
data List[Dict[str, Union[GeoRefObject, Optional[str]]]]

List of distributions to plot. Each distribution is made from a geo-ref object property: ensure each item in the list contains the two keys object (referring to the GeoRefObject, e.g. DrillHoles, BlockModel, Surface, etc.) and property (referring to the property name).

required
nbins int

Refers to the number of bins on both histograms.

20
histnorm HistogramNormalisationMethod

Normalization mode, see Plotly - Histnorm.

COUNT
**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