#NEWLINE# def fill_between( self , ax , X , lower , upper , color = Tango . colorsHex [ 'mediumBlue' ] , label = None , line_kwargs = None , **kwargs ) : #NEWLINE# #INDENT# if ( not ( 'line' in kwargs ) ) : #NEWLINE# #INDENT# kwargs [ 'line' ] = Line ( ** ( line_kwargs or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# kwargs [ 'line' ] . update ( ( line_kwargs or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# #UNINDENT# if color . startswith ( '#' ) : #NEWLINE# #INDENT# fcolor = 'rgba({c[0]}, {c[1]}, {c[2]}, {alpha})' . format ( c = Tango . hex2rgb ( color ) , alpha = kwargs . get ( 'opacity' , 1.0 ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# fcolor = color #NEWLINE# #UNINDENT# u = Scatter ( x = X , y = upper , fillcolor = fcolor , showlegend = ( label is not None ) , name = label , fill = 'tonextx' , legendgroup = '{}_fill_({},{})' . format ( label , ax [ 1 ] , ax [ 2 ] ) , ** kwargs ) #NEWLINE# l = Scatter ( x = X , y = lower , fillcolor = fcolor , showlegend = False , name = label , legendgroup = '{}_fill_({},{})' . format ( u , ax [ 1 ] , ax [ 2 ] ) , ** kwargs ) #NEWLINE# return ( l , u )