@@ -807,7 +807,8 @@ def make_subplots(rows=1, cols=1,
807807
808808 # Throw exception if non-valid kwarg is sent
809809 VALID_KWARGS = ['horizontal_spacing' , 'vertical_spacing' ,
810- 'specs' , 'insets' , 'subplot_titles' , 'column_width' ]
810+ 'specs' , 'insets' , 'subplot_titles' , 'column_width' ,
811+ 'row_width' ]
811812 for key in kwargs .keys ():
812813 if key not in VALID_KWARGS :
813814 raise Exception ("Invalid keyword argument: '{0}'" .format (key ))
@@ -923,6 +924,9 @@ def _checks(item, defaults):
923924 for c in col_seq ]
924925 for r in row_seq ]
925926
927+ import pprint
928+ pprint .pprint (grid )
929+
926930 # [grid_ref] Initialize the grid and insets' axis-reference lists
927931 grid_ref = [[None for c in range (cols )] for r in range (rows )]
928932 insets_ref = [None for inset in range (len (insets ))] if insets else None
@@ -1038,6 +1042,12 @@ def _add_domain_is_3d(layout, s_label, x_domain, y_domain):
10381042 raise Exception ("Some 'rowspan' value is too large for "
10391043 "this subplot grid." )
10401044
1045+ print grid [r ][c ]
1046+ print grid [r ][c_spanned ]
1047+ print "width is {}" .format (width )
1048+ print "height is {}" .format (height )
1049+ print '\n \n '
1050+
10411051 # Get x domain using grid and colspan
10421052 x_s = grid [r ][c ][0 ] + spec ['l' ]
10431053 x_e = grid [r ][c_spanned ][0 ] + width - spec ['r' ]
0 commit comments