holoviews.plotting.mpl.stats module#
- class holoviews.plotting.mpl.stats.BivariatePlot(*args, **kwargs)[source]#
Bases:
PolygonPlot
Bivariate plot visualizes two-dimensional kernel density estimates. Additionally, by enabling the joint option, the marginals distributions can be plotted alongside each axis (does not animate or compose).
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: aspectholoviews.plotting.mpl.path.ContourPlot
: color_indexholoviews.plotting.mpl.path.PolygonPlot
: show_legendbandwidth = Number(allow_None=True, inclusive_bounds=(True, True), label='Bandwidth')
The bandwidth of the kernel for the density estimate.
cut = Number(default=3, inclusive_bounds=(True, True), label='Cut')
Draw the estimate to cut * bw from the extreme data points.
filled = Boolean(default=False, label='Filled')
Whether the bivariate contours should be filled.
levels = ClassSelector(class_=(<class 'list'>, <class 'int'>), default=10, label='Levels')
A list of scalar values used to specify the contour levels.
- class holoviews.plotting.mpl.stats.BoxPlot(element, **params)[source]#
Bases:
MultiDistributionMixin
,ChartPlot
BoxPlot plots the ErrorBar Element type and supporting both horizontal and vertical error bars via the ‘horizontal’ plot option.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticks
- class holoviews.plotting.mpl.stats.DistributionPlot(element, **params)[source]#
Bases:
AreaPlot
DistributionPlot visualizes a distribution of values as a KDE.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.chart.AreaPlot
: padding, show_legendbandwidth = Number(allow_None=True, inclusive_bounds=(True, True), label='Bandwidth')
The bandwidth of the kernel for the density estimate.
cut = Number(default=3, inclusive_bounds=(True, True), label='Cut')
Draw the estimate to cut * bw from the extreme data points.
filled = Boolean(default=True, label='Filled')
Whether the bivariate contours should be filled.
- class holoviews.plotting.mpl.stats.SideBoxPlot(*args, **kwargs)[source]#
Bases:
AdjoinedPlot
,BoxPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.plot.AdjoinedPlot
: show_title, aspect, subplot_size, show_xlabelbgcolor = Parameter(default=(1, 1, 1, 0), label='Bgcolor')
Make plot background invisible.
xaxis = Selector(default='bare', label='Xaxis', names={}, objects=['top', 'bottom', 'bare', 'top-bare', 'bottom-bare', None])
Whether and where to display the xaxis, bare options allow suppressing all axis labels including ticks and xlabel. Valid options are ‘top’, ‘bottom’, ‘bare’, ‘top-bare’ and ‘bottom-bare’.
yaxis = Selector(default='bare', label='Yaxis', names={}, objects=['left', 'right', 'bare', 'left-bare', 'right-bare', None])
Whether and where to display the yaxis, bare options allow suppressing all axis labels including ticks and ylabel. Valid options are ‘left’, ‘right’, ‘bare’ ‘left-bare’ and ‘right-bare’.
border_size = Number(default=0, inclusive_bounds=(True, True), label='Border size')
The size of the border expressed as a fraction of the main plot.
- class holoviews.plotting.mpl.stats.ViolinPlot(element, **params)[source]#
Bases:
BoxPlot
BoxPlot plots the ErrorBar Element type and supporting both horizontal and vertical error bars via the ‘horizontal’ plot option.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksbandwidth = Number(allow_None=True, inclusive_bounds=(True, True), label='Bandwidth')
Allows supplying explicit bandwidth value rather than relying on scott or silverman method.
inner = Selector(default='box', label='Inner', names={}, objects=['box', 'medians', None])
Inner visual indicator for distribution values: * box - A small box plot * stick - Lines indicating each sample value * quartiles - Indicates first, second and third quartiles