아나콘다 기반으로 matplotlib 실행할 때 차트가 잘 안나타난다면
아나콘다 설치경로 안에 matplotlibrc 이라는 파일을 실행
아래 부분에서 backend 부분을 수정
#### CONFIGURATION BEGINS HERE
# The default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
# MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
# Template.
# You can also deploy your own backend outside of matplotlib by
# referring to the module name (which must be in the PYTHONPATH) as
# 'module://my_backend'.
backend : TkAgg
기존 macosx -> TkAgg
The default backend 종류에서 하나 선택해서 변경하고 저장하면 됨
https://stackoverflow.com/questions/14558843/why-matplotlib-does-not-plot
'Python' 카테고리의 다른 글
Python 종료하기 (0) | 2018.11.06 |
---|---|
vscode python pylint 에러 (0) | 2018.05.03 |
Python 한글 인코딩 (0) | 2017.07.25 |
Mac Python Path 설정 (0) | 2017.07.24 |