LoginSignup
1
1

More than 5 years have passed since last update.

pyenv+pyenv-virtualenv+MacOSX環境下でmatplotlib.pyplotが使用できない問題の対応策

Last updated at Posted at 2018-01-06

修正すべきファイルがある場所を探します。

$ python -c "import matplotlib;print(matplotlib.matplotlib_fname())"
/path/to/matplotlibrc

matplotlibrcというファイルのbackendというパラメータを弄ります。

backend : macosx

となっているところを、以下のように書き換えるだけです。

backend : Tkagg
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1