-
-
Notifications
You must be signed in to change notification settings - Fork 26k
ENH Improves message for HTML repr when notebook is not trusted #21316
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
ENH Improves message for HTML repr when notebook is not trusted #21316
Conversation
Should we fall back to text output when it's not a trusted notebook? |
This PR already falls back to a text repr, with an additional message: The biggest benefit of having the repr text in the HTML is that trusting the notebook will automatically display the HTML repr, because the HTML repr is still in the output. |
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
When the HTML repr is shown in an jupyter notebook that is not trusted, one needs to rerun the cell or trust the notebook. This PR shows an improved message for when this happens:
This PR
main