Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Missing plot refresh of tasks sharing the Matplotlib figure with the prior task #1076

Closed
3 tasks done
detlefarend opened this issue Oct 30, 2024 · 0 comments · May be fixed by #1043
Closed
3 tasks done

Bug: Missing plot refresh of tasks sharing the Matplotlib figure with the prior task #1076

detlefarend opened this issue Oct 30, 2024 · 0 comments · May be fixed by #1043
Assignees
Labels
BF Basic Functions/Infrastructure bug Something isn't working next release quality Quality assurance

Comments

@detlefarend
Copy link
Member

detlefarend commented Oct 30, 2024

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():

2024-10-30_11-59

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

  • Linux
  • Windows
  • Mac OS
@detlefarend detlefarend added bug Something isn't working quality Quality assurance BF Basic Functions/Infrastructure labels Oct 30, 2024
@detlefarend detlefarend self-assigned this Oct 30, 2024
@detlefarend detlefarend linked a pull request Oct 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BF Basic Functions/Infrastructure bug Something isn't working next release quality Quality assurance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant