I think some closing parenthesis are missing in the beginners handout:
https://raw.githubusercontent.com/matplotlib/cheatsheets/master/handout-beginner.png
When np.random.uniform() is used with the size argument as a tuple, the last closing parenthesis is missing.
Here:

and here:
