MAIDR Documentation - v4.4.0
    Preparing search index...
    • Contour selectors: the curves plotly drew for one level at a time.

      Plotly gives every level a g.contourlevel of its own — one per level in the ladder, whether or not the field crosses it — and puts the level's curves inside as path.openline and path.closedline. A level the field never reaches therefore still takes a group, which is why a curve is addressed by the index of the LEVEL it runs at rather than by counting the curves before it.

      The trace's group is counted within its own panel, since plotly hangs no uid class on these groups either.

      Parameters

      • gd: PlotlyGraphDiv

        The plotly graph div

      • traceIndex: number

        The global index of the contour trace

      • levelIndices: number[]

        The ladder position of each level the layer emitted

      Returns string[]

      One selector per level