How to get number of rows of subplots in python?

ipython

#1

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.


#2

@sid100158,

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)

Regards,
Steve