Open scp-1024 opened 5 years ago
https://nullblog.top/2019/04/15/matplotlib%E5%9D%90%E6%A0%87%E5%8E%9F%E7%82%B9%E4%B8%8D%E9%87%8D%E5%90%88/
用matplotlib画图时会遇到原点不重合在左下角的情况 12345678fig,ax=plt.subplots(figsize=(8,5)) ax.plot(range(1,13),error_train,label="Train") ax.plot(range(1,13),error_cv,label="Cross Validation",color="green") ax
https://nullblog.top/2019/04/15/matplotlib%E5%9D%90%E6%A0%87%E5%8E%9F%E7%82%B9%E4%B8%8D%E9%87%8D%E5%90%88/
用matplotlib画图时会遇到原点不重合在左下角的情况 12345678fig,ax=plt.subplots(figsize=(8,5)) ax.plot(range(1,13),error_train,label="Train") ax.plot(range(1,13),error_cv,label="Cross Validation",color="green") ax