#NEWLINE# def _init_tools( self , element ) : #NEWLINE# #INDENT# '\n        Processes the list of tools to be supplied to the plot.\n        ' #NEWLINE# tools = ( self . default_tools + self . tools ) #NEWLINE# if ( 'hover' in tools ) : #NEWLINE# #INDENT# tooltips = [ ( d . pprint_label , ( '@' + util . dimension_sanitizer ( d . name ) ) ) for d in element . dimensions ( ) ] #NEWLINE# tools [ tools . index ( 'hover' ) ] = HoverTool ( tooltips = tooltips ) #NEWLINE# #UNINDENT# return tools