matplotlib显示像,matplotlib常用
来源:互联网 浏览:107次 时间:2023-04-08
导入matplotlib 、numpy,在jupyter_notebook中设置图形显示,设置中文显示,设置减号显示 import matplotlib.pyplot as pltimport numpy as np%matplotlib 便宜香港vps inlineplt.rcParams['font.sans-serif']=['SimHei']plt.rcParams['axes.unicode_minus'] 82718766