#NEWLINE# def _init_ctrls( self , prnt ) : #NEWLINE# #INDENT# wx . Panel . __init__ ( self , prnt , ( - 1 ) ) #NEWLINE# self . figure = Figure ( ) #NEWLINE# ax = self . figure . add_subplot ( 111 ) #NEWLINE# ax . axis ( [ 0 , 1 , 0 , 1 ] ) #NEWLINE# ax . plot ( [ ] , [ ] ) #NEWLINE# ax . set_title ( 'No Data To Plot' ) #NEWLINE# self . islegendvisible = False #NEWLINE# self . canvas = FigCanvas ( self , ( - 1 ) , self . figure ) #NEWLINE# self . toolbar = NavigationToolbar ( self . canvas ) #NEWLINE# self . toolbar . Realize ( ) #NEWLINE# self . axislist = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# left = 0.125 #NEWLINE# right = 0.9 #NEWLINE# bottom = 0.51 #NEWLINE# top = 1.2 #NEWLINE# wspace = 0.8 #NEWLINE# hspace = 0.8 #NEWLINE# self . figure . subplots_adjust ( left = left , bottom = bottom , right = right , top = top , wspace = wspace , hspace = hspace ) #NEWLINE# self . figure . tight_layout ( ) #NEWLINE# self . setColor ( 'WHITE' ) #NEWLINE# self . canvas . SetFont ( wx . Font ( 20 , wx . SWISS , wx . NORMAL , wx . NORMAL , False , 'Tahoma' ) ) #NEWLINE# self . fontP = FontProperties ( ) #NEWLINE# self . fontP . set_size ( 'small' ) #NEWLINE# self . canvas . draw ( ) #NEWLINE# self . _init_sizers ( )