#NEWLINE# def not_point( self , gate_idx , wire_idx ) : #NEWLINE# #INDENT# 'Draw a NOT gates as the circle with plus in the middle.' #NEWLINE# x = self . _gate_grid [ gate_idx ] #NEWLINE# y = self . _wire_grid [ wire_idx ] #NEWLINE# radius = self . not_radius #NEWLINE# c = Circle ( ( x , y ) , radius , ec = 'k' , fc = 'w' , fill = False , lw = self . linewidth ) #NEWLINE# self . _axes . add_patch ( c ) #NEWLINE# l = Line2D ( ( x , x ) , ( ( y - radius ) , ( y + radius ) ) , color = 'k' , lw = self . linewidth ) #NEWLINE# self . _axes . add_line ( l )