import matplotlib.pyplot as plt
fig, ax = plt.subplots(1)
ax.plot(list(range(10)), list(range(10)), dashes=[3, 6, 3, 6, 3, 18], lw=3, c='b')
ax.plot(list(range(10)), list(range(0, 20, 2)), dashes=[12, 6, 12, 6, 3, 6], lw=3, c='r')
Are there really only 4 Matplotlib Line Styles?