조회 수 6111 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print


아래 코드를 jupyter notebook에 집어넣으면 됨


import platform
from matplotlib import font_manager, rc 
import matplotlib
# '-' 부호가 제대로 표시되게 하는 설정 
matplotlib.rcParams['axes.unicode_minus'] = False
# 운영 체제마다 한글이 보이게 하는 설정 # 윈도우
if platform.system() == 'Windows':
    path = "c:\Windows\Fonts\malgun.ttf"
    font_name = font_manager.FontProperties(fname=path).get_name() 
    rc('font', family=font_name)
#맥
elif platform.system() == 'Darwin': 
    rc('font', family='AppleGothic')
# 리눅스
elif platform.system() == 'Linux':
    rc('font', family='NanumBarunGothic')



Dreamy의 코드 스크랩

내가 모으고 내가 보는

List of Articles
번호 분류 제목 날짜 조회 수 추천 수
35 Python BeautifulSoup로 HTML 파싱 끝내기 2013.04.08 42645 0
34 Python BeautifulSoup으로 웹에 있는 데이터 긁어오기 2013.04.08 77026 0
33 Python C#에서 Python 파일 실행하고 결과 가져오기 2012.02.02 38126 0
32 Python C, Python and swig on Windows with Visual Studio 2014.05.29 11617 0
31 Python collections.counter() 함수 2014.04.30 14141 0
30 Python distutils 개요 2014.04.24 9444 0
29 Python filter()와 reduce() 함수 2014.04.30 11055 0
28 Python Google Colab에서 파일 업로드/다운로드 팁 2019.03.06 36506 0
27 Python Image 기반 Steganography 예제 1 2019.07.17 25414 0
26 Python json 데이터 핸들링 2017.03.09 8705 0
25 Python Lambda 함수, 축약 함수 2014.04.25 12519 0
24 Python map() 함수 2014.04.30 9976 0
» Python matplot에서 한글이 보이도록 하는 코드 2019.03.06 6111 0
22 Python pandas, matplot 자주사용하는 코드 2019.03.06 4951 0
21 Python paramiko로 SSH 접속하기 2014.04.22 21578 0
목록
Board Pagination ‹ Prev 1 2 3 Next ›
/ 3

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5