matplotlib包,使得python可以使用类似matlab的命令 双坐标,子图例子 fig, axes = plt.subplots( 2,1, figsize=(14, 14) ) ax = badrate.plot.bar('t_len', 'total', ax=axes[0]) ax2 = ax.twinx() ax2.plot(ax.get_xticks(), badrate['badrate'], 'rs-') ax_ = badrate1.plot.bar('t_len',…