plot_xy_hist
The plot_xy_hist method creates XY histograms using data from Deephaven tables or arrays.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| series_name | str | The name (as a String) you want to use to identify the series on the plot itself. |
| t | Union[Table, SelectableDataSet] | The table (or other selectable data set) that holds the data to be plotted. |
| x | Union[str, list[int], list[float], list[DateTime]] | The name of the column containing the discrete values. This parameter is a list only when data is not sourced from a table; otherwise, it will be an array. |
| nbins | int | The number of intervals (bins) to use in the chart. |
| xmin optional | float | The minimum value in the X column to plot. |
| xmax optional | float | The maximum value in the X column to plot. |
Returns
A histogram.
Examples
The following example plots data from a Deephaven table.
The following example plots data from an array.