ipython / ipython/matplotlib-inline

docs for API calling

Open
#12 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
31
Forks
39
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.