Skip to content

Conversation

PProfizi
Copy link
Contributor

Issue #193
Fixed the behavior to have what would be expected.

Still have to add tests, update the docstrings (some arguments are now kwargs), and update the examples.

PS: I have modified the Plotter class, while work is underway to deprecate this and use DpfPlotter instead. This behavior should be copied when migrating plot_contour to the DpfPlotter.

PPS: when initializing a Plotter directly and then calling plot_contour from it, the off_screen keyword must be given when creating the Plotter as it will be an attribute of this Plotter instance, whereas the screenshot keyword should be given to plot_contour (which is logical but should be explained).

@PProfizi PProfizi requested a review from anslpa March 15, 2022 17:40
… to pv.Plotter() when it should only be given to pv.show(), just like the "screenshot" kwarg.
@PProfizi PProfizi marked this pull request as ready for review March 22, 2022 15:04
…book.

Tested with Issue59.ipynb.
Linked to Issue59 of PyDPF-Post
@akaszynski
Copy link
Contributor

Rerunning ci by closing/opening

@akaszynski akaszynski closed this Mar 25, 2022
@akaszynski akaszynski reopened this Mar 25, 2022
@PProfizi PProfizi self-assigned this Apr 11, 2022
@PProfizi PProfizi marked this pull request as draft April 11, 2022 07:40
notebook,
shell_layers,
off_screen,
# off_screen,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PProfizi loose of compatibility with potential user scripts ? Is it wanted ?

@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #194 (9fed7ba) into master (3642103) will increase coverage by 0.21%.
The diff coverage is 86.48%.

@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
+ Coverage   85.55%   85.77%   +0.21%     
==========================================
  Files          52       52              
  Lines        5650     5700      +50     
==========================================
+ Hits         4834     4889      +55     
+ Misses        816      811       -5     

@PProfizi PProfizi marked this pull request as ready for review May 23, 2022 10:12
@PProfizi PProfizi requested a review from cbellot000 May 23, 2022 10:12
@PProfizi
Copy link
Contributor Author

PProfizi commented May 25, 2022

All plotting has been moved to the new DpfPlotter for 3D plotting. Example for basic_plotting is working.
Still have to modify/improve the plot_chart functionality.

@PProfizi PProfizi marked this pull request as draft May 27, 2022 11:04
@PProfizi PProfizi marked this pull request as ready for review May 30, 2022 13:40
@PProfizi PProfizi merged commit 519b3c7 into master May 30, 2022
@PProfizi PProfizi deleted the fix/Issue#193_screenshots branch May 30, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants