SparkXYFrame - nteract/semiotic GitHub Wiki
<SparkXYFrame />
is a wrapper around XYFrame that renders it as a <span>
so it can be placed in a <p>
. Its height (and width if not set) are based on the computed line-height
of the line it is embedded in.
Some of the built-in defaults of the frame are different from the usual XYFrame:
- Axes default to
tickFormat: () => ""
andbaseline: false
- Hover annotation defaults to a
react-annotation
that displays the hovered value (there are no HTML annotations in a spark frame)