Closed detlefarend closed 3 weeks ago
1 Describe the bug If subsequent tasks in a workflow share the same figure (MyTask.C_PLOT_STANDALONE = FALSE), the following behavior occurs:
1) Task 1 (Owner of the figure): plots and refreshes it 2) Task 2 (guest plot): plots but doesn't refresh it since it is not the owner of the figure
The output of task 2 is shown next time when task 1 refreshes the plot.
The causing code is implemented in the class Plottable.update_plot():
2 To Reproduce ...
3 Expected behavior The best would be to refresh the figure whenever the last task in the plot chain updates the plot.
4 Screenshots If applicable, add screenshots to help explain your problem.
5 Additional Information
5.1 Operating System
1 Describe the bug If subsequent tasks in a workflow share the same figure (MyTask.C_PLOT_STANDALONE = FALSE), the following behavior occurs:
1) Task 1 (Owner of the figure): plots and refreshes it 2) Task 2 (guest plot): plots but doesn't refresh it since it is not the owner of the figure
The output of task 2 is shown next time when task 1 refreshes the plot.
The causing code is implemented in the class Plottable.update_plot():
2 To Reproduce ...
3 Expected behavior The best would be to refresh the figure whenever the last task in the plot chain updates the plot.
4 Screenshots If applicable, add screenshots to help explain your problem.
5 Additional Information
5.1 Operating System