#NEWLINE# def scatter( self , ax , X , Y , Z = None , color = Tango . colorsHex [ 'mediumBlue' ] , cmap = None , label = None , marker = 'o' , marker_kwargs = None , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# marker = SYMBOL_MAP [ marker ] #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# marker_kwargs = ( marker_kwargs or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( 'symbol' not in marker_kwargs ) : #NEWLINE# #INDENT# marker_kwargs [ 'symbol' ] = marker #NEWLINE# #UNINDENT# if ( Z is not None ) : #NEWLINE# #INDENT# return Scatter3d ( x = X , y = Y , z = Z , mode = 'markers' , showlegend = ( label is not None ) , marker = Marker ( color = color , colorscale = label , ** marker_kwargs ) , name = label , ** kwargs ) #NEWLINE# #UNINDENT# return Scatter ( x = X , y = Y , mode = 'markers' , showlegend = ( label is not None ) , marker = Marker ( color = color , colorscale = cmap , ** marker_kwargs ) , name = label , ** kwargs )