I did this mostly to be consistent with plot_precision_recall - though I agree about side-effects, and would personally prefer -

```random_state = np.random.RandomState(0)```

I will change all the examples to be consistent, and use a dedicated random_state rather than updating global seeds.