I have to plot multiple lines and markers with matplotlib by creating a loop and I have already set the axes color cycle in the matplolibrc param file. In each cycle of the loop
Note that iter.next() was removed in Python 3.x as described in this question. If you run the examples in the accepted answer you will therefore receive AttributeError:
'itertools.cycle' object has no attribute 'next'
For both examples this can be solved by replacing:
marker=marker.next()
in plt.plot() with
marker=next(marker)