How to get alternating colours in dashed line using matplotlib?,plt.show()