xarray-contrib/cf-xarray

Add rich repr

dcherian opened this issue · 0 comments

I've started using rich more.

I think we should support the _rich_repr_ protocol for nicer text reprs.

https://rich.readthedocs.io/en/stable/pretty.html#rich-repr-protocol

This seems fairly easy to implement reusing code from our existing text repr