Skip to content

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Jun 9, 2022

When in a Jupyter notebook, the notebook=False argument was not working when using a plot command going through Plotter.plot_contour

@PProfizi PProfizi added the bug Something isn't working label Jun 9, 2022
@PProfizi PProfizi self-assigned this Jun 9, 2022
@PProfizi PProfizi linked an issue Jun 9, 2022 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #259 (bd14d2f) into master (0495078) will decrease coverage by 0.02%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master     #259      +/-   ##
==========================================
- Coverage   85.88%   85.86%   -0.03%     
==========================================
  Files          52       52              
  Lines        5705     5695      -10     
==========================================
- Hits         4900     4890      -10     
  Misses        805      805              

@PProfizi PProfizi requested review from anslpa and cbellot000 June 9, 2022 10:11
else:
import pyvista as pv
pv_version = pv.__version__
version_to_reach = '0.32.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @PProfizi, could you please check that it does not break back the following : #140 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@anslpa I did, I found a bug, I fixed it, it should work :)

@PProfizi PProfizi merged commit 8597724 into master Jun 13, 2022
@PProfizi PProfizi deleted the fix/notebook_false_for_fields branch June 13, 2022 16:24
cbellot000 pushed a commit that referenced this pull request Jul 8, 2022
* Fixes the use of notebook argument for plot commands going through Plotter.plot_contour

* Fixing kwargs in plot_contour for call to pv.Plotter.show with cpos_return

* Update the example to show "notebook=False" is required for screenshots on a Jupyter notebook.

* Fix an error with pv.Plotter.__init__

* Fix support for cpos_return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Question / Enhancement] How to do screenshot of plots?

2 participants