plot_pie

The plot_pie method creates pie charts using data from Deephaven tables.

Syntax

Parameters

ParameterTypeDescription
series_namestr

The name (as a String) you want to use to identify the series on the plot itself.

tUnion[Table, SelectableDataSet]

The table (or other selectable data set) that holds the data to be plotted.

categoryUnion[str, list[str], list[int], list[float]]

The name of the column containing category values.

yUnion[str, list[int], list[float], list[DateTime]]

The name of the column containing discrete values.

Returns

A pie chart.

Examples

The following example plots data from a Deephaven table.