holoviews.plotting.mpl.tabular module#

class holoviews.plotting.mpl.tabular.TablePlot(table, **params)[source]#

Bases: ElementPlot

A TablePlot can plot both TableViews and ViewMaps which display as either a single static table or as an animated table respectively.

Parameter Definitions


Parameters inherited from:

holoviews.plotting.plot.DimensionedPlot: fontsize, fontscale, show_title, title, normalize

holoviews.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_frame

holoviews.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, yticks

holoviews.plotting.mpl.element.ElementPlot: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticks

border = Number(bounds=(0.0, 0.5), default=0.05, inclusive_bounds=(True, True), label='Border')

The fraction of the plot that should be empty around the edges.

float_precision = Integer(default=3, inclusive_bounds=(True, True), label='Float precision')

The floating point precision to use when printing float numeric data types.

max_value_len = Integer(default=20, inclusive_bounds=(True, True), label='Max value len')

The maximum allowable string length of a value shown in any table cell. Any strings longer than this length will be truncated.

max_font_size = Integer(default=12, inclusive_bounds=(True, True), label='Max font size')

The largest allowable font size for the text in each table cell.

max_rows = Integer(default=15, inclusive_bounds=(True, True), label='Max rows')

The maximum number of Table rows before the table is summarized.

font_types = Dict(class_=<class 'dict'>, default={'heading': <matplotlib.font_manager.FontProperties object at 0x11aa1aa50>}, label='Font types')

The font style used for heading labels used for emphasis.

initialize_plot(*args, **kwargs)[source]#

Initialize the matplotlib figure.

update_handles(key, axes, element, ranges, style)[source]#

Update the elements of the plot.