-
Notifications
You must be signed in to change notification settings - Fork 128
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
REFACTOR: Extend consistency on plot methods #4723
REFACTOR: Extend consistency on plot methods #4723
Conversation
Following #4626 and #4708, theses changes aim at making our code base consistent. The changes consist in returning Matplotlib figure objects on methods that were returning a list of value. In the case of polar_plot_3d_pyvista, a Pyvista plotter object is returned when, before, a boolean was returned if one wanted to show the figure or save it in a file.
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
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.
See minor suggestions, otherwise looks good.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4723 +/- ##
=======================================
Coverage 80.42% 80.42%
=======================================
Files 121 121
Lines 55116 55071 -45
=======================================
- Hits 44328 44293 -35
+ Misses 10788 10778 -10 |
All good. |
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.
Inadvertently closed. LGTM. |
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
Following #4626 and #4708, theses changes aim at making our code base consistent.
The changes consist in returning
matplotlib
figure objects on methods that were returning a list of value.In the case of
polar_plot_3d_pyvista
, apyvista
plotter object is returned when, before, a boolean was returned if one wanted to show the figure or save it in a file.This changes should be performed before merging #4702