ax.grid(which='major', axis='both', linestyle='--') [line.set_zorder(3) for line in ax.lines] fig.show() # to update plt.gca().xaxis.grid(True) plt.show() ...
確定! 回上一頁