An open API service indexing awesome lists of open source software.

https://github.com/benbovy/xarray-fancy-repr

Fancy reprs for Xarray objects in Jupyter notebooks (experimental)
https://github.com/benbovy/xarray-fancy-repr

jupyter widget xarray

Last synced: 5 months ago
JSON representation

Fancy reprs for Xarray objects in Jupyter notebooks (experimental)

Awesome Lists containing this project

README

          

# Xarray Fancy Repr

This package provides enhanced representations of Xarray objects (Dataset,
DataArray, Coordinates and Variable) for a better and more interactive user
experience within Jupyter notebooks.

## Installation

```sh
pip install xarray-fancy-repr
```

## How Does it Work?

After importing this package:

```python
import xarray_fancy_repr
```

Xarray objects are patched so that they are displayed in the following fallback
order:

1. Interactive widget: should work in most notebook environments (JupyterLab,
Jupyter Notebook <7 and 7+, Google Colab, VSCode, etc.) based on
[anywidget](https://anywidget.dev/)
2. Static HTML: should work in any web browser
3. Plain text