Bootstrap

解决jupyter中出现中文乱码的问题

import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
matplotlib.use('qt4agg') # 加上避免报错
#指定默认字体
matplotlib.rcParams['font.sans-serif'] = ['SimHei']
matplotlib
;