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

docs for API calling #12

Open
blazespinnaker opened this issue Nov 24, 2021 · 1 comment
Open

docs for API calling #12

blazespinnaker opened this issue Nov 24, 2021 · 1 comment

Comments

@blazespinnaker
Copy link

blazespinnaker commented Nov 24, 2021

IPYthon docs lead me here -
https://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html#IPython.display.set_matplotlib_formats

they suggest:

"deprecated since version 7.23: use matplotlib_inline.backend_inline.set_matplotlib_formats()"

It's not entirely clear how to call this API.

This is what I"m doing

from IPython import get_ipython
get_ipython().run_line_magic("matplotlib", "inline")
import matplotlib_inline.backend_inline
matplotlib_inline.backend_inline.set_matplotlib_formats()

Is this the correct convention for using this API via python?

Cheers, thanks for the great library.

@fperez
Copy link
Member

fperez commented Aug 17, 2022

Sorry for not having responded earlier @blazespinnaker - what exactly are you trying to achieve? That's a correct call on the API, but since I'm not sure what your end goal is, I'm not sure how to best advise.

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

No branches or pull requests

2 participants