Skip to content

makePlotlyPlot inconsistency #102

@marc1uk

Description

@marc1uk

The tooldaq.js REAMDE states makePlotlyPlot returns a promise to div, which is in line with other tooldaq.js functions that return promise to object.
However in reality it returns the div where the object will be plotted, (not a promise).
The corresponding example on PlottingFunctions page in SubsystemExample tries to then append a .catch on the return from the call, which then errors because a div can't have a catch attached to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions