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

Fix to ensure that IPython is an optional import in the N2 viewer and connection viewer #1869

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

robfalck
Copy link
Contributor

@robfalck robfalck commented Feb 2, 2021

Summary

Fixes import error when loading n2_viewer.py and viewconns.py.
Since these are used in an if notebook block, the failure of notebook_mode to load IPython will ensure that those blocks are never executed if IPython is unavailable.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

@robfalck robfalck requested a review from DKilkenny February 2, 2021 13:10
@robfalck robfalck requested a review from swryan February 2, 2021 13:10
@swryan swryan merged commit 1861047 into OpenMDAO:master Feb 2, 2021
@robfalck robfalck deleted the optional_ipython branch April 7, 2023 13:48
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.

IPython imports should be optional
4 participants