摘要:
绘制漫画风格图import matplotlib.pyplot as pltplt.xkcd()fig = plt.figure()ax = fig.add_subplot(1, 1, 1)ax.spines['right'].set_color('none... 阅读全文
摘要:
把字体都设置成为“Times New Roman”plt.figure(figsize=[15,8])plt.scatter(X, Y, label = 'RealValue')plt.plot(X, func(X, a, b), 'red', label ... 阅读全文
摘要:
默认画图from scipy.stats import normimport matplotlib.pyplot as pltimport numpy as npx = np.arange(-3, 3, 0.001)plt.plot(x, norm.pdf(... 阅读全文