For #55 (Plotly plotter), a method of deferring method calls for updates is needed when the chart has not been plotted yet so that the calls of the methods are not forgotten but get automatically executed after the chart is plotted.
There will be a CommandQueue class with methods addCommand(function) and runCommands() that runs all the previously added commands in the order they were added. Once the commands are run, they are forgotten.
For #55 (Plotly plotter), a method of deferring method calls for updates is needed when the chart has not been plotted yet so that the calls of the methods are not forgotten but get automatically executed after the chart is plotted.
There will be a
CommandQueue
class with methodsaddCommand(function)
andrunCommands()
that runs all the previously added commands in the order they were added. Once the commands are run, they are forgotten.