리눅스에서는 기본적인 MS 에서 사용한 Arial 같은 폰트가 없다.
해당 부분을 설치해준다.
$ sudo apt install msttcorefonts -qq
$ rm ~/.cache/matplotlib -rf
Jupyter 재시작하고 다시 코드 실행
출처: python - Matplotlib cannot find basic fonts - Stack Overflow
'IT > Python' 카테고리의 다른 글
[Matplotlib] vline, hline 두께 조절 (0) | 2024.05.01 |
---|---|
[Matplotlib] 그래프에서 특정 축만 안보이게 하기 (0) | 2024.04.30 |
[Jupyter] 라이브러리/모듈 자동 재로드 (0) | 2024.04.29 |
[Matplotlib] AttributeError: 'Axes' object has no attribute 'get_zticklabels' (1) | 2024.04.26 |
[VS Code] Python 코딩 관련 팁 (0) | 2024.03.27 |