ipython / ipython/matplotlib-inline

docs for API calling

オープン
#12 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
31
フォーク
39
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。