You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
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:
Wanted output:
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__).
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
![image](https://user-images.githubusercontent.com/31612826/45969401-e4d79980-c033-11e8-8eb2-85343912ac90.png)
__repr__
output:Wanted output:
![image](https://user-images.githubusercontent.com/31612826/45970059-d4282300-c035-11e8-86ff-5a83676f6ce7.png)
This can be achieved by giving the
PageElement
class a_repr_html_
method (which returns ahtml
string) which is automatically found by Jupyter, and used as interactive output if available (instead of__repr__
)._repr_html_
method, which is probably basically what__str__
is today (but without static resources like js-libs and css).The text was updated successfully, but these errors were encountered: