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

[feature request] Add _repr_html_() for visualistion in Jupyter Notebooks #94

Open
balwierz opened this issue Jun 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@balwierz
Copy link

Most users will be using GenomicRanges in Jupyter Lab.
It is important to have a _repr_html_ function showing a human-glanceable preview of a GenomicRanges object in a tabular form.

@jkanche jkanche self-assigned this Jun 14, 2024
@jkanche
Copy link
Member

jkanche commented Jun 14, 2024

wondering what advantages this provides compared to a normal print.

image

@jkanche jkanche added enhancement New feature or request good first issue Good for newcomers labels Jun 14, 2024
@balwierz
Copy link
Author

balwierz commented Jun 14, 2024

One of the problems is that Jupiter will use __repr__ if _repr_html_ is not available, and __repr__ of a GenomicRanges object with many columns may clutter the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants