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

Html and string representation of object both shown together in presentation mode #84

Open
TomNicholas opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TomNicholas
Copy link

Xarray has objects with both a HTML representation and a printable string repr. The HTML repr is implemented through a _repr_html_ method, and works great in jupyter normally, where it is the default way of displaying an xarray.Dataset object.

Screenshot 2024-05-14 at 2 17 23 PM

When I make a RISE slide with the same code, in presentation mode it first prints the string representation of the ds object, then displays a (very messed up-looking) version of the HTML repr.

Screenshot 2024-05-14 at 2 17 35 PM

It looks like an issue was raised for odd sizing of HTML output (#51), but here I want to raise the separate issue of printing both the string repr and the HTML repr.

@TomNicholas TomNicholas added the bug Something isn't working label May 14, 2024
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

No branches or pull requests

1 participant