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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ipython mimetypes extension #58

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

znd4
Copy link

@znd4 znd4 commented May 12, 2023

Hi, I've been trying to implement an ipython mime renderer extension for png and jpegs, and thought that itermplot.imgcat would be super useful for doing so. This could be a super simple standalone package instead, but I thought i'd send over a PR first to check if you'd be interested in this.

I understand if you're not interested in an ipython-specific feature. Either way, your implementation of the iterm image protocol is super helpful 馃槃

If you want to display a wider variety of objects using ipython's mimetype capturing, load our bundled ipython extension:

```ipython
$ %load_ext itermplot.ipython
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're okay with adding load_ipython_extension to itermplot/__init__.py, it'd make this a cleaner %load_ext itermplot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant