差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| python:matplotlib [2019/04/13 00:56] – mumeiyamibito | python:matplotlib [2022/11/29 10:24] (現在) – [操作方法] mumeiyamibito | ||
|---|---|---|---|
| 行 31: | 行 31: | ||
| * [[python/ | * [[python/ | ||
| * [[python/ | * [[python/ | ||
| + | * [[python/ | ||
| + | |||
| + | ===== その他 ===== | ||
| + | * [[python/ | ||
| + | |||
| + | ===== Tips ===== | ||
| + | ==== バッチプログラムで利用する場合 ==== | ||
| + | * バッチプログラムで matplotlib を利用すると以下のエラーメッセージが出てくる。\\ <code python> | ||
| + | _tkinter.TclError: | ||
| + | </ | ||
| + | * 解決するには、以下の順で '' | ||
| + | import matplotlib | ||
| + | matplotlib.use(' | ||
| + | from matplotlib import pyplot | ||
| + | </ | ||
| + | * 参考サイト: | ||
| + | |||
| + | ==== jupyternote で利用する場合のおまじない ==== | ||
| + | * jupyternote で使う場合は、以下のおまじないをグラフをプロットする前に記述する。< | ||
| + | %matplotlib inline | ||
| + | %config InlineBackend.print_figure_kwargs = {' | ||
| + | </ | ||
| + | * '' | ||
| + | |||
| {{tag> | {{tag> | ||