Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

User should be able to view PageElements in Jupyter #107

Open
3 tasks
anders-kiaer opened this issue Sep 24, 2018 · 0 comments
Open
3 tasks

User should be able to view PageElements in Jupyter #107

anders-kiaer opened this issue Sep 24, 2018 · 0 comments

Comments

@anders-kiaer
Copy link
Collaborator

anders-kiaer commented Sep 24, 2018

webviz is close to have native support for Jupyter, just by being web based.

The user should be able to do things as illustrated in picture below. This will facilitate quicker and more interactive data analysis, and also useful in cases where a full webviz instance is not needed.

Currently, the user is only represented with a standard __repr__ output:
image

Wanted output:
image

This can be achieved by giving the PageElement class a _repr_html_ method (which returns a html string) which is automatically found by Jupyter, and used as interactive output if available (instead of __repr__).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant