data (list of 2d numpy.ndarray): A list of 2d numpy.ndarray.
m_rows (int): The number of rows in the subplot grid.
n_cols (int): The number of columns in the subplot grid.
Raises:
ValueError: If the product of m_rows and n_cols is not equal to the number of 2d arrays in data.
Notes:
- Subplots are organized in a m rows x n columns Grid.
- The total number of subplots is equal to the product of m_rows and n_cols.
'''
total=m_rows*n_cols
iftotal!=len(data):
raiseValueError("The product of m_rows and n_cols must be equal to the number of 2d arrays in data.\nCurrently, m_rows * n_cols = {}, while arrays in data = {}".format(m_rows*n_cols,len(data)))