ipython / ipython/matplotlib-inline

docs for API calling

Offen
#12 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
31
Forks
39
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.