I was wondering if there is a way to control the order in which @param.depends("arg")
statements with the same "arg"
are executed?
I am currently using a filename parameter that has to process the data first and then update a plot, when a filename is entered. However, the plot is updating first when the data is not processed, thus returning a NoneType.
Because I cannot create a param of the processed data to watch (tuple of numpy arrays), it cannot be used as a trigger for the plot.
Is there a parameter to change the update order or is the only way to create a dummy parameter to update after the data processing that triggers the plotting?