-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Implement a draw method in scenario config for debug purpose. #2289
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[task_config_1, task_config_2, task_config_3], | ||
[dn_config_5], | ||
) | ||
scenario_cfg.draw() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can assert the path exists when running this test and similarly for other draw tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matplotlib won't be installed in GitHub. So it should do nothing. I don't know how to test that, then.
Co-authored-by: Đỗ Trường Giang <do.giang@avaiga.com>
What type of PR is this? (check all applicable)
Description
A draw method has been implemented to export a scenario config graph as a PNG file.
The method requires
matplotlib
to be installed to run. However,matplotlib
should be installed independently from taipy as it is not a taipy dependency.Related Tickets & Documents
Checklist
We encourage you to keep the code coverage percentage at 80% and above.