Skip to content

Fancy reprs for Xarray objects in Jupyter notebooks (experimental)

License

Notifications You must be signed in to change notification settings

benbovy/xarray-fancy-repr

Repository files navigation

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

pip install xarray-fancy-repr

How Does it Work?

After importing this package:

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
  2. Static HTML: should work in any web browser
  3. Plain text