#NEWLINE# def regressiontable( text , ax , fig ) : #NEWLINE# #INDENT# '\n    Creates the table for the scatter plot.\n    Pass in text and you get a axis back.\n    ' #NEWLINE# ax . text ( 0 , 1 , '{}' . format ( text ) , horizontalalignment = 'left' , verticalalignment = 'top' , family = 'Courier New' , fontsize = 12 , transform = text . transAxes ) #NEWLINE# ax . set_axis_bgcolor ( 'white' ) #NEWLINE# ax . grid ( b = False ) #NEWLINE# ax . set_xticklabels ( [ ] ) #NEWLINE# ax . set_yticklabels ( [ ] ) #NEWLINE# ax . set_ylim ( [ 0 , 1 ] ) #NEWLINE# ax . tick_params ( top = 'off' ) #NEWLINE# ax . tick_params ( bottom = 'off' ) #NEWLINE# ax . tick_params ( right = 'off' ) #NEWLINE# ax . tick_params ( left = 'off' ) #NEWLINE# return ax