@@ -130,31 +130,31 @@ def test_auto_column():
130130 #iteratble list input
131131 ax1 = fig .add_subplot (3 , 1 , 1 )
132132 ax1 .axis ('off' )
133- tb1 = ax1 .table (cellText = [['Fit Text' , 2 ],['Longer text than default' , 1 ]],
134- rowLabels = ["A" ,"B" ],
135- colLabels = ["Col1" ,"Col2" ],
133+ tb1 = ax1 .table (cellText = [['Fit Text' , 2 ], ['Longer text than default' , 1 ]],
134+ rowLabels = ["A" , "B" ],
135+ colLabels = ["Col1" , "Col2" ],
136136 loc = "center" )
137137 tb1 .auto_set_font_size (False )
138138 tb1 .set_fontsize (12 )
139- tb1 .auto_set_column_width ([- 1 ,0 , 1 ])
139+ tb1 .auto_set_column_width ([- 1 , 0 , 1 ])
140140
141141 #iteratble tuple input
142142 ax2 = fig .add_subplot (3 , 1 , 2 )
143143 ax2 .axis ('off' )
144- tb2 = ax2 .table (cellText = [['Fit Text' , 2 ],['Longer text than default' , 1 ]],
145- rowLabels = ["A" ,"B" ],
146- colLabels = ["Col1" ,"Col2" ],
144+ tb2 = ax2 .table (cellText = [['Fit Text' , 2 ], ['Longer text than default' , 1 ]],
145+ rowLabels = ["A" , "B" ],
146+ colLabels = ["Col1" , "Col2" ],
147147 loc = "center" )
148148 tb2 .auto_set_font_size (False )
149149 tb2 .set_fontsize (12 )
150- tb2 .auto_set_column_width ((- 1 ,0 , 1 ))
150+ tb2 .auto_set_column_width ((- 1 , 0 , 1 ))
151151
152152 #3 single input
153153 ax3 = fig .add_subplot (3 , 1 , 3 )
154154 ax3 .axis ('off' )
155- tb3 = ax3 .table (cellText = [['Fit Text' , 2 ],['Longer text than default' , 1 ]],
156- rowLabels = ["A" ,"B" ],
157- colLabels = ["Col1" ,"Col2" ],
155+ tb3 = ax3 .table (cellText = [['Fit Text' , 2 ], ['Longer text than default' , 1 ]],
156+ rowLabels = ["A" , "B" ],
157+ colLabels = ["Col1" , "Col2" ],
158158 loc = "center" )
159159 tb3 .auto_set_font_size (False )
160160 tb3 .set_fontsize (12 )
0 commit comments