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

Implement _repr_html_ on relevant classes #1012

Open
sk1p opened this issue Apr 7, 2021 · 0 comments
Open

Implement _repr_html_ on relevant classes #1012

sk1p opened this issue Apr 7, 2021 · 0 comments
Labels
good first issue Good for newcomers UX/DX

Comments

@sk1p
Copy link
Member

sk1p commented Apr 7, 2021

_repr_html_ is used by Jupyter notebooks to display rich information on objects. This could be a nice way of improving LiberTEM usage in notebooks. Right now, I can think of:

  • ResultBuffer - mainly useful if a user just types udf_results['some_buffer'] in their notebook - we can show shape/dtype/... but also hint at usage, like .data and .raw_data, including __array__.
  • DataSet - may need tweaks for each dataset impl, don't know...
  • Context - information about the executor/cluster we are connected to
@sk1p sk1p added good first issue Good for newcomers UX/DX labels Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers UX/DX
Projects
None yet
Development

No branches or pull requests

1 participant