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
grammar check please... I think you were trying for "as in", not "has in".