I would add a test here that all elements of `markevery` are integers.  This addresses `markevery = 'hello'` and `markevery = [np.pi, .5]`.

I am not sure the best way to do this test.