-
matplotlib
import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt # 解决坐标轴刻度负号乱码 plt.rcParams['axes.unicode_minus'] = False # 解决中文乱码问题 plt.rcParams['font.sans-serif'] = ['Simhei']
-
matplotlib绘图进阶
2024-03-27 20:43:40
import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt # 解决坐标轴刻度负号乱码 plt.rcParams['axes.unicode_minus'] = False # 解决中文乱码问题 plt.rcParams['font.sans-serif'] = ['Simhei']