matplotlib/matplotlib — pull request #2780 by tacaswell (2014-02-01 04:01:00+00:00)
Title: ENH : improve error invalid error message for subplot

Closes #2098

If user passes in a not-three-digit integer, raise `ValueError`
instead of letting the error propagate up from much farther down
the stack