etna.analysis.MetricPlotType#

class MetricPlotType(value)[source]#

Bases: str, Enum

Enum for types of plot in metric_per_segment_distribution_plot().

Methods

get_function()

Get aggregation function.

Attributes

hist

Histogram plot, seaborn.distributions.histplot() is used.

box

Boxplot, seaborn.categorical.boxplot() is used.

violin

Violin plot, seaborn.categorical.violinplot() is used.

get_function()[source]#

Get aggregation function.

box = 'box'[source]#

Boxplot, seaborn.categorical.boxplot() is used.

hist = 'hist'[source]#

Histogram plot, seaborn.distributions.histplot() is used.

violin = 'violin'[source]#

Violin plot, seaborn.categorical.violinplot() is used.