-
Notifications
You must be signed in to change notification settings - Fork 295
Add repr_html for CubeLists #3313
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
Conversation
lib/iris/tests/unit/experimental/representation/test_CubeListRepresentation.py
Outdated
Show resolved
Hide resolved
Ping @DPeterK 😉 |
@bjlittle ping noted; unfortunately I'm busy now! I'll see what I can do. |
@DPeterK No worries 😉 |
@bjlittle I did it 😁 |
... shame the tests still didn't pass 😢 Edit: but it looks like it's just a license header thing 🎉 I'll fix... |
I've updated the CSS for the cubelist repr, including making use of jupyter variables to define elements of the style. This means the cubelist repr will correctly follow jupyter lab themes. When combined with #3380 the cubelist repr now looks like the following: |
@DPeterK Awesome, LGTM 👍 |
As a (long-delayed) follow-on to a previous PR to add cube html repr (see #2918), this adds html repr functionality to
CubeList
objects. The html repr is designed to be reasonably simple, retaining the content of the originalCubeList
repr while adding an accordion effect that, when a cube in the list is clicked, expands to reveal the html repr of that cube.