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

Add warning when trying to screenshot while using a jupyter_backend #2795

Merged
merged 3 commits into from
Jun 18, 2022

Conversation

banesullivan
Copy link
Member

When using a jupyter_backend, passing screenshot to the show() call silently fails. This PR adds warning. IMO, we should fix this more completely such that if screenshot is specified, it always executes a screenshot.

@github-actions github-actions bot added the bug Uh-oh! Something isn't working as expected. label Jun 15, 2022
@banesullivan banesullivan changed the title Add warning when trying to screenshot when using a jupyter_backend Add warning when trying to screenshot while using a jupyter_backend Jun 15, 2022
@codecov
Copy link

codecov bot commented Jun 15, 2022

Codecov Report

Merging #2795 (807e073) into main (5b92679) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2795   +/-   ##
=======================================
  Coverage   93.92%   93.93%           
=======================================
  Files          76       76           
  Lines       16329    16331    +2     
=======================================
+ Hits        15337    15340    +3     
+ Misses        992      991    -1     

Copy link
Member

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

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

Added a test to improve coverage, but otherwise LGTM.

@tkoyama010 tkoyama010 merged commit bf7ebe5 into main Jun 18, 2022
@tkoyama010 tkoyama010 deleted the patch/notebook-screenshot branch June 18, 2022 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh-oh! Something isn't working as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants