import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sb
%matplotlib inline
import platform
from matplotlib import font_manager, rc
plt.rcParams['axes.unicode_minus'] = False
if platform.system() == 'Darwin':
rc('font', family='AppleGothic')
elif platform.system() == 'Windows':
path = "c:/Windows/Fonts/malgun.ttf"
font_name = font_manager.FontProperties(fname=path).get_name()
rc('font', family=font_name)
else:
print('Unknown system... sorry~~~~')
'개발 > 파이썬' 카테고리의 다른 글
파이썬. Matplotlib - 상관관계 ( scatter , regplot , pairplot) (0) | 2022.11.28 |
---|---|
파이썬. Matplotlib - Histogram (0) | 2022.11.28 |
파이썬. Mabplotlib - Pie Charts (0) | 2022.11.28 |
파이썬. Matplotlib - Bar Chart (1) | 2022.11.28 |
파이썬. DataFrame 합치기 (0) | 2022.11.25 |