tooltip_format#

PandasSlicer.tooltip_format(n, p)[source]#

Format the tooltip for a hovered datapoint using the tooltip_columns.

Parameters:
  • n (int) – index of the graphic within the collection

  • p (int) – index of the datapoint within the current display window

Returns:

value of that graphic’s tooltip column at this datapoint

Return type:

str