matplotlib/matplotlib — pull request #3167 by tacaswell (2014-06-29 19:52:53+00:00)
Title: BUG : raise exception in subplot if num out of range

if subplot(rows, cols, num) is called with num not in
0 < num <= rows * cols raise a ValueError

close #3166