Skip to content

xarray dataset or dataarray html display failed in jupyter notebook #5977

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

Closed
Jing25 opened this issue Nov 11, 2021 Discussed in #5974 · 4 comments
Closed

xarray dataset or dataarray html display failed in jupyter notebook #5977

Jing25 opened this issue Nov 11, 2021 Discussed in #5974 · 4 comments

Comments

@Jing25
Copy link

Jing25 commented Nov 11, 2021

Discussed in #5974

Originally posted by Jing25 November 10, 2021
I cannot have xarray dataset or dataarray displayed in jupyter notebook (I'm actually using jupyterhub). It shows blank.

image

'text' style works:
image

I checked my jupyter notebook HTML display and it works great:
image

No problem with displaying pandas dataframe also.

So I excluded jupyter notebook as the source of the issue.

I'm not sure if this is a bug of xarray but does anyone know how I can solve this problem?

My xarray version is 0.19.0, Ubuntu 20.04.3.

@max-sixty
Copy link
Collaborator

@Jing25 please could you fill out the issue template, including a reproducible example?

@Jing25
Copy link
Author

Jing25 commented Nov 12, 2021

Hi @max-sixty, thank you for asking. @andersy005 found an issue similar to mine here: executablebooks/sphinx-book-theme#238, and I think this issue is being addressed: #5880 (comment)
I'm just curious when this can be done. I can't view the xarray dask array which is a pain.

@max-sixty
Copy link
Collaborator

@Jing25 if you'd like to speed it along a couple of ways you could contribute:

  • Try out that branch
  • Understand the existing concern in that PR and add your thoughts on the best approach

@Jing25
Copy link
Author

Jing25 commented Nov 12, 2021

OK. I will try it out, thank you!

@Jing25 Jing25 closed this as completed Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants