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

Make Cube objects IPython-friendly #27

Open
forman opened this issue Mar 16, 2016 · 2 comments
Open

Make Cube objects IPython-friendly #27

forman opened this issue Mar 16, 2016 · 2 comments

Comments

@forman
Copy link
Member

forman commented Mar 16, 2016

To make our Cube objects IPython-friendly, follow guide at:
http://ipython.readthedocs.org/en/stable/config/integrating.html

It basically means adding _repr_*_() methods to it where * is png, html etc.

@forman
Copy link
Member Author

forman commented Mar 30, 2016

Issue would be solved, if we use xarray (http://xarray.pydata.org) to represent Cube objects.

@forman
Copy link
Member Author

forman commented Jun 17, 2016

There is also a nice lib.pretty module in IPython that we could exploit to make Cube objects more REPL-friendly:
http://ipython.readthedocs.io/en/stable/api/generated/IPython.lib.pretty.html

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

1 participant