formatHoverText function

Format hover text for use in plotly interactive plots. The labels are wrapped to multiple lines if exceed the width of the plotly hover box, e.g. in case labels for points with same x/y coordinates overlap, and corresponding labels are truncated.

  • Maintainer: Laure Cougnaud
  • License: MIT + file LICENSE
  • Last published: 2025-04-11