[Visualization]Correlation Matrix
import matplotlib.pyplot as plt import numpy as np import seaborn as sns import matplotlib.font_manager as fm def correlation_matrix(df, title='', num_size=15, font_scale=2): sns.set(font_scale=font_scale) fm.get_fontconfig_fonts() font_location = 'C:\Windows\Fonts\KoPubWorld Dotum Medium.ttf' # font location font_name = fm.FontProperties(fname=font_location).get_name() plt.rc('font', family=fon..
2021.08.18