marplotlib坐标轴ax

常用函数 import matplotlib.pyplot as plt import numpy as np plt.gcf() #获取当前Figure plt.gca()#获取当前Axes # 添加子图 fig = plt.figure() ax = fig.add_subplot(numrows, numcols, fignum) # 如 plt.subplot(221) # 第一行的左图
相关文章
相关标签/搜索