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.
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
.catchon the return from the call, which then errors because a div can't have a catch attached to it.