How to get number of rows of subplots in python?



I have created a subplot in Ipython notebook .I have used the function nrowsto get the number of rows of subplot but it giving an error.



Look at the output of axes, it is an array and to find the number of rows in an array, we can use function len.

print len(axes)