how to create major and minor gridlines with different linestyles in python,plt.show()