#NEWLINE# def _update_plot( self , key , plot , element = None ) : #NEWLINE# #INDENT# '\n        Updates plot parameters on every frame\n        ' #NEWLINE# plot . set ( ** self . _plot_properties ( key , plot , element ) ) #NEWLINE# props = { axis : self . _axis_properties ( axis , key , plot , element ) for axis in [ 'x' , 'y' ] } #NEWLINE# plot . xaxis [ 0 ] . set ( ** props [ 'x' ] ) #NEWLINE# plot . yaxis [ 0 ] . set ( ** props [ 'y' ] ) #NEWLINE# if ( not self . show_grid ) : #NEWLINE# #INDENT# plot . xgrid . grid_line_color = None #NEWLINE# plot . ygrid . grid_line_color = None