diff --git a/codegen/datatypes.py b/codegen/datatypes.py index 12c3aa4b5cf..d44504c95f9 100644 --- a/codegen/datatypes.py +++ b/codegen/datatypes.py @@ -241,8 +241,8 @@ def __init__(self""") for subtype_node in subtype_nodes: name_prop = subtype_node.name_property buffer.write(f""" - v = arg.pop('{name_prop}', None) - self.{name_prop} = {name_prop} if {name_prop} is not None else v""") + _v = arg.pop('{name_prop}', None) + self.{name_prop} = {name_prop} if {name_prop} is not None else _v""") # ### Literals ### if literal_nodes: diff --git a/plotly/graph_objs/_area.py b/plotly/graph_objs/_area.py index ccfadac1ea6..0c4cd0e583d 100644 --- a/plotly/graph_objs/_area.py +++ b/plotly/graph_objs/_area.py @@ -739,46 +739,46 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('rsrc', None) - self.rsrc = rsrc if rsrc is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('t', None) - self.t = t if t is not None else v - v = arg.pop('tsrc', None) - self.tsrc = tsrc if tsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('rsrc', None) + self.rsrc = rsrc if rsrc is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('t', None) + self.t = t if t is not None else _v + _v = arg.pop('tsrc', None) + self.tsrc = tsrc if tsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_bar.py b/plotly/graph_objs/_bar.py index bfbb9561dd2..f67d82856ab 100644 --- a/plotly/graph_objs/_bar.py +++ b/plotly/graph_objs/_bar.py @@ -2058,114 +2058,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('base', None) - self.base = base if base is not None else v - v = arg.pop('basesrc', None) - self.basesrc = basesrc if basesrc is not None else v - v = arg.pop('cliponaxis', None) - self.cliponaxis = cliponaxis if cliponaxis is not None else v - v = arg.pop('constraintext', None) - self.constraintext = constraintext if constraintext is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dx', None) - self.dx = dx if dx is not None else v - v = arg.pop('dy', None) - self.dy = dy if dy is not None else v - v = arg.pop('error_x', None) - self.error_x = error_x if error_x is not None else v - v = arg.pop('error_y', None) - self.error_y = error_y if error_y is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('insidetextfont', None) - self.insidetextfont = insidetextfont if insidetextfont is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('offset', None) - self.offset = offset if offset is not None else v - v = arg.pop('offsetsrc', None) - self.offsetsrc = offsetsrc if offsetsrc is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('outsidetextfont', None) - self.outsidetextfont = outsidetextfont if outsidetextfont is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('rsrc', None) - self.rsrc = rsrc if rsrc is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('t', None) - self.t = t if t is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('tsrc', None) - self.tsrc = tsrc if tsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('base', None) + self.base = base if base is not None else _v + _v = arg.pop('basesrc', None) + self.basesrc = basesrc if basesrc is not None else _v + _v = arg.pop('cliponaxis', None) + self.cliponaxis = cliponaxis if cliponaxis is not None else _v + _v = arg.pop('constraintext', None) + self.constraintext = constraintext if constraintext is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dx', None) + self.dx = dx if dx is not None else _v + _v = arg.pop('dy', None) + self.dy = dy if dy is not None else _v + _v = arg.pop('error_x', None) + self.error_x = error_x if error_x is not None else _v + _v = arg.pop('error_y', None) + self.error_y = error_y if error_y is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('insidetextfont', None) + self.insidetextfont = insidetextfont if insidetextfont is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('offset', None) + self.offset = offset if offset is not None else _v + _v = arg.pop('offsetsrc', None) + self.offsetsrc = offsetsrc if offsetsrc is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('outsidetextfont', None) + self.outsidetextfont = outsidetextfont if outsidetextfont is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('rsrc', None) + self.rsrc = rsrc if rsrc is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('t', None) + self.t = t if t is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('tsrc', None) + self.tsrc = tsrc if tsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_box.py b/plotly/graph_objs/_box.py index 0044f8b3a41..b13d750049a 100644 --- a/plotly/graph_objs/_box.py +++ b/plotly/graph_objs/_box.py @@ -1486,88 +1486,88 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('boxmean', None) - self.boxmean = boxmean if boxmean is not None else v - v = arg.pop('boxpoints', None) - self.boxpoints = boxpoints if boxpoints is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('jitter', None) - self.jitter = jitter if jitter is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('notched', None) - self.notched = notched if notched is not None else v - v = arg.pop('notchwidth', None) - self.notchwidth = notchwidth if notchwidth is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('pointpos', None) - self.pointpos = pointpos if pointpos is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('whiskerwidth', None) - self.whiskerwidth = whiskerwidth if whiskerwidth is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('boxmean', None) + self.boxmean = boxmean if boxmean is not None else _v + _v = arg.pop('boxpoints', None) + self.boxpoints = boxpoints if boxpoints is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('jitter', None) + self.jitter = jitter if jitter is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('notched', None) + self.notched = notched if notched is not None else _v + _v = arg.pop('notchwidth', None) + self.notchwidth = notchwidth if notchwidth is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('pointpos', None) + self.pointpos = pointpos if pointpos is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('whiskerwidth', None) + self.whiskerwidth = whiskerwidth if whiskerwidth is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_candlestick.py b/plotly/graph_objs/_candlestick.py index 04a4a4a8513..c86390eca38 100644 --- a/plotly/graph_objs/_candlestick.py +++ b/plotly/graph_objs/_candlestick.py @@ -1160,74 +1160,74 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('close', None) - self.close = close if close is not None else v - v = arg.pop('closesrc', None) - self.closesrc = closesrc if closesrc is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('decreasing', None) - self.decreasing = decreasing if decreasing is not None else v - v = arg.pop('high', None) - self.high = high if high is not None else v - v = arg.pop('highsrc', None) - self.highsrc = highsrc if highsrc is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('increasing', None) - self.increasing = increasing if increasing is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('low', None) - self.low = low if low is not None else v - v = arg.pop('lowsrc', None) - self.lowsrc = lowsrc if lowsrc is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('open', None) - self.open = open if open is not None else v - v = arg.pop('opensrc', None) - self.opensrc = opensrc if opensrc is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('whiskerwidth', None) - self.whiskerwidth = whiskerwidth if whiskerwidth is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v + _v = arg.pop('close', None) + self.close = close if close is not None else _v + _v = arg.pop('closesrc', None) + self.closesrc = closesrc if closesrc is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('decreasing', None) + self.decreasing = decreasing if decreasing is not None else _v + _v = arg.pop('high', None) + self.high = high if high is not None else _v + _v = arg.pop('highsrc', None) + self.highsrc = highsrc if highsrc is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('increasing', None) + self.increasing = increasing if increasing is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('low', None) + self.low = low if low is not None else _v + _v = arg.pop('lowsrc', None) + self.lowsrc = lowsrc if lowsrc is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('open', None) + self.open = open if open is not None else _v + _v = arg.pop('opensrc', None) + self.opensrc = opensrc if opensrc is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('whiskerwidth', None) + self.whiskerwidth = whiskerwidth if whiskerwidth is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_carpet.py b/plotly/graph_objs/_carpet.py index add21b903a6..d9c47cabe60 100644 --- a/plotly/graph_objs/_carpet.py +++ b/plotly/graph_objs/_carpet.py @@ -1636,76 +1636,76 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('a', None) - self.a = a if a is not None else v - v = arg.pop('a0', None) - self.a0 = a0 if a0 is not None else v - v = arg.pop('aaxis', None) - self.aaxis = aaxis if aaxis is not None else v - v = arg.pop('asrc', None) - self.asrc = asrc if asrc is not None else v - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('b0', None) - self.b0 = b0 if b0 is not None else v - v = arg.pop('baxis', None) - self.baxis = baxis if baxis is not None else v - v = arg.pop('bsrc', None) - self.bsrc = bsrc if bsrc is not None else v - v = arg.pop('carpet', None) - self.carpet = carpet if carpet is not None else v - v = arg.pop('cheaterslope', None) - self.cheaterslope = cheaterslope if cheaterslope is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('da', None) - self.da = da if da is not None else v - v = arg.pop('db', None) - self.db = db if db is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('a', None) + self.a = a if a is not None else _v + _v = arg.pop('a0', None) + self.a0 = a0 if a0 is not None else _v + _v = arg.pop('aaxis', None) + self.aaxis = aaxis if aaxis is not None else _v + _v = arg.pop('asrc', None) + self.asrc = asrc if asrc is not None else _v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('b0', None) + self.b0 = b0 if b0 is not None else _v + _v = arg.pop('baxis', None) + self.baxis = baxis if baxis is not None else _v + _v = arg.pop('bsrc', None) + self.bsrc = bsrc if bsrc is not None else _v + _v = arg.pop('carpet', None) + self.carpet = carpet if carpet is not None else _v + _v = arg.pop('cheaterslope', None) + self.cheaterslope = cheaterslope if cheaterslope is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('da', None) + self.da = da if da is not None else _v + _v = arg.pop('db', None) + self.db = db if db is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_choropleth.py b/plotly/graph_objs/_choropleth.py index 34c16038026..1b1f41e5954 100644 --- a/plotly/graph_objs/_choropleth.py +++ b/plotly/graph_objs/_choropleth.py @@ -1358,74 +1358,74 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('geo', None) - self.geo = geo if geo is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('locationmode', None) - self.locationmode = locationmode if locationmode is not None else v - v = arg.pop('locations', None) - self.locations = locations if locations is not None else v - v = arg.pop('locationssrc', None) - self.locationssrc = locationssrc if locationssrc is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('geo', None) + self.geo = geo if geo is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('locationmode', None) + self.locationmode = locationmode if locationmode is not None else _v + _v = arg.pop('locations', None) + self.locations = locations if locations is not None else _v + _v = arg.pop('locationssrc', None) + self.locationssrc = locationssrc if locationssrc is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_cone.py b/plotly/graph_objs/_cone.py index 7d295d22a2d..78f42936079 100644 --- a/plotly/graph_objs/_cone.py +++ b/plotly/graph_objs/_cone.py @@ -1733,92 +1733,92 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('anchor', None) - self.anchor = anchor if anchor is not None else v - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('lighting', None) - self.lighting = lighting if lighting is not None else v - v = arg.pop('lightposition', None) - self.lightposition = lightposition if lightposition is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('scene', None) - self.scene = scene if scene is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('u', None) - self.u = u if u is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('usrc', None) - self.usrc = usrc if usrc is not None else v - v = arg.pop('v', None) - self.v = v if v is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('vsrc', None) - self.vsrc = vsrc if vsrc is not None else v - v = arg.pop('w', None) - self.w = w if w is not None else v - v = arg.pop('wsrc', None) - self.wsrc = wsrc if wsrc is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('anchor', None) + self.anchor = anchor if anchor is not None else _v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('lighting', None) + self.lighting = lighting if lighting is not None else _v + _v = arg.pop('lightposition', None) + self.lightposition = lightposition if lightposition is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('scene', None) + self.scene = scene if scene is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('u', None) + self.u = u if u is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('usrc', None) + self.usrc = usrc if usrc is not None else _v + _v = arg.pop('v', None) + self.v = v if v is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('vsrc', None) + self.vsrc = vsrc if vsrc is not None else _v + _v = arg.pop('w', None) + self.w = w if w is not None else _v + _v = arg.pop('wsrc', None) + self.wsrc = wsrc if wsrc is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_contour.py b/plotly/graph_objs/_contour.py index 05063fc5397..d9ac5fadc1c 100644 --- a/plotly/graph_objs/_contour.py +++ b/plotly/graph_objs/_contour.py @@ -1930,104 +1930,104 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('autocontour', None) - self.autocontour = autocontour if autocontour is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('contours', None) - self.contours = contours if contours is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dx', None) - self.dx = dx if dx is not None else v - v = arg.pop('dy', None) - self.dy = dy if dy is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('ncontours', None) - self.ncontours = ncontours if ncontours is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('transpose', None) - self.transpose = transpose if transpose is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('xtype', None) - self.xtype = xtype if xtype is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('ytype', None) - self.ytype = ytype if ytype is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zhoverformat', None) - self.zhoverformat = zhoverformat if zhoverformat is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('autocontour', None) + self.autocontour = autocontour if autocontour is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('contours', None) + self.contours = contours if contours is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dx', None) + self.dx = dx if dx is not None else _v + _v = arg.pop('dy', None) + self.dy = dy if dy is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('ncontours', None) + self.ncontours = ncontours if ncontours is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('transpose', None) + self.transpose = transpose if transpose is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('xtype', None) + self.xtype = xtype if xtype is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('ytype', None) + self.ytype = ytype if ytype is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zhoverformat', None) + self.zhoverformat = zhoverformat if zhoverformat is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_contourcarpet.py b/plotly/graph_objs/_contourcarpet.py index abdd213dc13..20027d5e7c7 100644 --- a/plotly/graph_objs/_contourcarpet.py +++ b/plotly/graph_objs/_contourcarpet.py @@ -1835,98 +1835,98 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('a', None) - self.a = a if a is not None else v - v = arg.pop('a0', None) - self.a0 = a0 if a0 is not None else v - v = arg.pop('asrc', None) - self.asrc = asrc if asrc is not None else v - v = arg.pop('atype', None) - self.atype = atype if atype is not None else v - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('autocontour', None) - self.autocontour = autocontour if autocontour is not None else v - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('b0', None) - self.b0 = b0 if b0 is not None else v - v = arg.pop('bsrc', None) - self.bsrc = bsrc if bsrc is not None else v - v = arg.pop('btype', None) - self.btype = btype if btype is not None else v - v = arg.pop('carpet', None) - self.carpet = carpet if carpet is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('contours', None) - self.contours = contours if contours is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('da', None) - self.da = da if da is not None else v - v = arg.pop('db', None) - self.db = db if db is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('ncontours', None) - self.ncontours = ncontours if ncontours is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('transpose', None) - self.transpose = transpose if transpose is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('a', None) + self.a = a if a is not None else _v + _v = arg.pop('a0', None) + self.a0 = a0 if a0 is not None else _v + _v = arg.pop('asrc', None) + self.asrc = asrc if asrc is not None else _v + _v = arg.pop('atype', None) + self.atype = atype if atype is not None else _v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('autocontour', None) + self.autocontour = autocontour if autocontour is not None else _v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('b0', None) + self.b0 = b0 if b0 is not None else _v + _v = arg.pop('bsrc', None) + self.bsrc = bsrc if bsrc is not None else _v + _v = arg.pop('btype', None) + self.btype = btype if btype is not None else _v + _v = arg.pop('carpet', None) + self.carpet = carpet if carpet is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('contours', None) + self.contours = contours if contours is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('da', None) + self.da = da if da is not None else _v + _v = arg.pop('db', None) + self.db = db if db is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('ncontours', None) + self.ncontours = ncontours if ncontours is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('transpose', None) + self.transpose = transpose if transpose is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_frame.py b/plotly/graph_objs/_frame.py index 717fe6f6d0e..9b0daff6a1c 100644 --- a/plotly/graph_objs/_frame.py +++ b/plotly/graph_objs/_frame.py @@ -237,18 +237,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('baseframe', None) - self.baseframe = baseframe if baseframe is not None else v - v = arg.pop('data', None) - self.data = data if data is not None else v - v = arg.pop('group', None) - self.group = group if group is not None else v - v = arg.pop('layout', None) - self.layout = layout if layout is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('traces', None) - self.traces = traces if traces is not None else v + _v = arg.pop('baseframe', None) + self.baseframe = baseframe if baseframe is not None else _v + _v = arg.pop('data', None) + self.data = data if data is not None else _v + _v = arg.pop('group', None) + self.group = group if group is not None else _v + _v = arg.pop('layout', None) + self.layout = layout if layout is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('traces', None) + self.traces = traces if traces is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/_heatmap.py b/plotly/graph_objs/_heatmap.py index 6979c0d4f8b..480a975f662 100644 --- a/plotly/graph_objs/_heatmap.py +++ b/plotly/graph_objs/_heatmap.py @@ -1731,100 +1731,100 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dx', None) - self.dx = dx if dx is not None else v - v = arg.pop('dy', None) - self.dy = dy if dy is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('transpose', None) - self.transpose = transpose if transpose is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xgap', None) - self.xgap = xgap if xgap is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('xtype', None) - self.xtype = xtype if xtype is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ygap', None) - self.ygap = ygap if ygap is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('ytype', None) - self.ytype = ytype if ytype is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zhoverformat', None) - self.zhoverformat = zhoverformat if zhoverformat is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsmooth', None) - self.zsmooth = zsmooth if zsmooth is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dx', None) + self.dx = dx if dx is not None else _v + _v = arg.pop('dy', None) + self.dy = dy if dy is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('transpose', None) + self.transpose = transpose if transpose is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xgap', None) + self.xgap = xgap if xgap is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('xtype', None) + self.xtype = xtype if xtype is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ygap', None) + self.ygap = ygap if ygap is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('ytype', None) + self.ytype = ytype if ytype is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zhoverformat', None) + self.zhoverformat = zhoverformat if zhoverformat is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsmooth', None) + self.zsmooth = zsmooth if zsmooth is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_heatmapgl.py b/plotly/graph_objs/_heatmapgl.py index 2eb20d41818..c0995598e38 100644 --- a/plotly/graph_objs/_heatmapgl.py +++ b/plotly/graph_objs/_heatmapgl.py @@ -1514,86 +1514,86 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dx', None) - self.dx = dx if dx is not None else v - v = arg.pop('dy', None) - self.dy = dy if dy is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('transpose', None) - self.transpose = transpose if transpose is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('xtype', None) - self.xtype = xtype if xtype is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('ytype', None) - self.ytype = ytype if ytype is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dx', None) + self.dx = dx if dx is not None else _v + _v = arg.pop('dy', None) + self.dy = dy if dy is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('transpose', None) + self.transpose = transpose if transpose is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('xtype', None) + self.xtype = xtype if xtype is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('ytype', None) + self.ytype = ytype if ytype is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_histogram.py b/plotly/graph_objs/_histogram.py index 979f11a329d..db819d6902c 100644 --- a/plotly/graph_objs/_histogram.py +++ b/plotly/graph_objs/_histogram.py @@ -1668,86 +1668,86 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autobinx', None) - self.autobinx = autobinx if autobinx is not None else v - v = arg.pop('autobiny', None) - self.autobiny = autobiny if autobiny is not None else v - v = arg.pop('cumulative', None) - self.cumulative = cumulative if cumulative is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('error_x', None) - self.error_x = error_x if error_x is not None else v - v = arg.pop('error_y', None) - self.error_y = error_y if error_y is not None else v - v = arg.pop('histfunc', None) - self.histfunc = histfunc if histfunc is not None else v - v = arg.pop('histnorm', None) - self.histnorm = histnorm if histnorm is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('nbinsx', None) - self.nbinsx = nbinsx if nbinsx is not None else v - v = arg.pop('nbinsy', None) - self.nbinsy = nbinsy if nbinsy is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xbins', None) - self.xbins = xbins if xbins is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ybins', None) - self.ybins = ybins if ybins is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('autobinx', None) + self.autobinx = autobinx if autobinx is not None else _v + _v = arg.pop('autobiny', None) + self.autobiny = autobiny if autobiny is not None else _v + _v = arg.pop('cumulative', None) + self.cumulative = cumulative if cumulative is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('error_x', None) + self.error_x = error_x if error_x is not None else _v + _v = arg.pop('error_y', None) + self.error_y = error_y if error_y is not None else _v + _v = arg.pop('histfunc', None) + self.histfunc = histfunc if histfunc is not None else _v + _v = arg.pop('histnorm', None) + self.histnorm = histnorm if histnorm is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('nbinsx', None) + self.nbinsx = nbinsx if nbinsx is not None else _v + _v = arg.pop('nbinsy', None) + self.nbinsy = nbinsy if nbinsy is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xbins', None) + self.xbins = xbins if xbins is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ybins', None) + self.ybins = ybins if ybins is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_histogram2d.py b/plotly/graph_objs/_histogram2d.py index b6ca60f9e19..d0c355fa25d 100644 --- a/plotly/graph_objs/_histogram2d.py +++ b/plotly/graph_objs/_histogram2d.py @@ -1797,98 +1797,98 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autobinx', None) - self.autobinx = autobinx if autobinx is not None else v - v = arg.pop('autobiny', None) - self.autobiny = autobiny if autobiny is not None else v - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('histfunc', None) - self.histfunc = histfunc if histfunc is not None else v - v = arg.pop('histnorm', None) - self.histnorm = histnorm if histnorm is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('nbinsx', None) - self.nbinsx = nbinsx if nbinsx is not None else v - v = arg.pop('nbinsy', None) - self.nbinsy = nbinsy if nbinsy is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xbins', None) - self.xbins = xbins if xbins is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xgap', None) - self.xgap = xgap if xgap is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ybins', None) - self.ybins = ybins if ybins is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ygap', None) - self.ygap = ygap if ygap is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zhoverformat', None) - self.zhoverformat = zhoverformat if zhoverformat is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsmooth', None) - self.zsmooth = zsmooth if zsmooth is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autobinx', None) + self.autobinx = autobinx if autobinx is not None else _v + _v = arg.pop('autobiny', None) + self.autobiny = autobiny if autobiny is not None else _v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('histfunc', None) + self.histfunc = histfunc if histfunc is not None else _v + _v = arg.pop('histnorm', None) + self.histnorm = histnorm if histnorm is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('nbinsx', None) + self.nbinsx = nbinsx if nbinsx is not None else _v + _v = arg.pop('nbinsy', None) + self.nbinsy = nbinsy if nbinsy is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xbins', None) + self.xbins = xbins if xbins is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xgap', None) + self.xgap = xgap if xgap is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ybins', None) + self.ybins = ybins if ybins is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ygap', None) + self.ygap = ygap if ygap is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zhoverformat', None) + self.zhoverformat = zhoverformat if zhoverformat is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsmooth', None) + self.zsmooth = zsmooth if zsmooth is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_histogram2dcontour.py b/plotly/graph_objs/_histogram2dcontour.py index de78376394a..7aa67eebb24 100644 --- a/plotly/graph_objs/_histogram2dcontour.py +++ b/plotly/graph_objs/_histogram2dcontour.py @@ -1944,100 +1944,100 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autobinx', None) - self.autobinx = autobinx if autobinx is not None else v - v = arg.pop('autobiny', None) - self.autobiny = autobiny if autobiny is not None else v - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('autocontour', None) - self.autocontour = autocontour if autocontour is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('contours', None) - self.contours = contours if contours is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('histfunc', None) - self.histfunc = histfunc if histfunc is not None else v - v = arg.pop('histnorm', None) - self.histnorm = histnorm if histnorm is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('nbinsx', None) - self.nbinsx = nbinsx if nbinsx is not None else v - v = arg.pop('nbinsy', None) - self.nbinsy = nbinsy if nbinsy is not None else v - v = arg.pop('ncontours', None) - self.ncontours = ncontours if ncontours is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xbins', None) - self.xbins = xbins if xbins is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ybins', None) - self.ybins = ybins if ybins is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zauto', None) - self.zauto = zauto if zauto is not None else v - v = arg.pop('zhoverformat', None) - self.zhoverformat = zhoverformat if zhoverformat is not None else v - v = arg.pop('zmax', None) - self.zmax = zmax if zmax is not None else v - v = arg.pop('zmin', None) - self.zmin = zmin if zmin is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autobinx', None) + self.autobinx = autobinx if autobinx is not None else _v + _v = arg.pop('autobiny', None) + self.autobiny = autobiny if autobiny is not None else _v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('autocontour', None) + self.autocontour = autocontour if autocontour is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('contours', None) + self.contours = contours if contours is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('histfunc', None) + self.histfunc = histfunc if histfunc is not None else _v + _v = arg.pop('histnorm', None) + self.histnorm = histnorm if histnorm is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('nbinsx', None) + self.nbinsx = nbinsx if nbinsx is not None else _v + _v = arg.pop('nbinsy', None) + self.nbinsy = nbinsy if nbinsy is not None else _v + _v = arg.pop('ncontours', None) + self.ncontours = ncontours if ncontours is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xbins', None) + self.xbins = xbins if xbins is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ybins', None) + self.ybins = ybins if ybins is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zauto', None) + self.zauto = zauto if zauto is not None else _v + _v = arg.pop('zhoverformat', None) + self.zhoverformat = zhoverformat if zhoverformat is not None else _v + _v = arg.pop('zmax', None) + self.zmax = zmax if zmax is not None else _v + _v = arg.pop('zmin', None) + self.zmin = zmin if zmin is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_layout.py b/plotly/graph_objs/_layout.py index db900791156..42c2c52d8fc 100644 --- a/plotly/graph_objs/_layout.py +++ b/plotly/graph_objs/_layout.py @@ -3487,108 +3487,108 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('angularaxis', None) - self.angularaxis = angularaxis if angularaxis is not None else v - v = arg.pop('annotations', None) - self.annotations = annotations if annotations is not None else v - v = arg.pop('autosize', None) - self.autosize = autosize if autosize is not None else v - v = arg.pop('bargap', None) - self.bargap = bargap if bargap is not None else v - v = arg.pop('bargroupgap', None) - self.bargroupgap = bargroupgap if bargroupgap is not None else v - v = arg.pop('barmode', None) - self.barmode = barmode if barmode is not None else v - v = arg.pop('barnorm', None) - self.barnorm = barnorm if barnorm is not None else v - v = arg.pop('boxgap', None) - self.boxgap = boxgap if boxgap is not None else v - v = arg.pop('boxgroupgap', None) - self.boxgroupgap = boxgroupgap if boxgroupgap is not None else v - v = arg.pop('boxmode', None) - self.boxmode = boxmode if boxmode is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('colorway', None) - self.colorway = colorway if colorway is not None else v - v = arg.pop('datarevision', None) - self.datarevision = datarevision if datarevision is not None else v - v = arg.pop('direction', None) - self.direction = direction if direction is not None else v - v = arg.pop('dragmode', None) - self.dragmode = dragmode if dragmode is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('geo', None) - self.geo = geo if geo is not None else v - v = arg.pop('grid', None) - self.grid = grid if grid is not None else v - v = arg.pop('height', None) - self.height = height if height is not None else v - v = arg.pop('hiddenlabels', None) - self.hiddenlabels = hiddenlabels if hiddenlabels is not None else v - v = arg.pop('hiddenlabelssrc', None) - self.hiddenlabelssrc = hiddenlabelssrc if hiddenlabelssrc is not None else v - v = arg.pop('hidesources', None) - self.hidesources = hidesources if hidesources is not None else v - v = arg.pop('hoverdistance', None) - self.hoverdistance = hoverdistance if hoverdistance is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovermode', None) - self.hovermode = hovermode if hovermode is not None else v - v = arg.pop('images', None) - self.images = images if images is not None else v - v = arg.pop('legend', None) - self.legend = legend if legend is not None else v - v = arg.pop('mapbox', None) - self.mapbox = mapbox if mapbox is not None else v - v = arg.pop('margin', None) - self.margin = margin if margin is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('paper_bgcolor', None) - self.paper_bgcolor = paper_bgcolor if paper_bgcolor is not None else v - v = arg.pop('plot_bgcolor', None) - self.plot_bgcolor = plot_bgcolor if plot_bgcolor is not None else v - v = arg.pop('polar', None) - self.polar = polar if polar is not None else v - v = arg.pop('radialaxis', None) - self.radialaxis = radialaxis if radialaxis is not None else v - v = arg.pop('scene', None) - self.scene = scene if scene is not None else v - v = arg.pop('selectdirection', None) - self.selectdirection = selectdirection if selectdirection is not None else v - v = arg.pop('separators', None) - self.separators = separators if separators is not None else v - v = arg.pop('shapes', None) - self.shapes = shapes if shapes is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('sliders', None) - self.sliders = sliders if sliders is not None else v - v = arg.pop('spikedistance', None) - self.spikedistance = spikedistance if spikedistance is not None else v - v = arg.pop('ternary', None) - self.ternary = ternary if ternary is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('updatemenus', None) - self.updatemenus = updatemenus if updatemenus is not None else v - v = arg.pop('violingap', None) - self.violingap = violingap if violingap is not None else v - v = arg.pop('violingroupgap', None) - self.violingroupgap = violingroupgap if violingroupgap is not None else v - v = arg.pop('violinmode', None) - self.violinmode = violinmode if violinmode is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v + _v = arg.pop('angularaxis', None) + self.angularaxis = angularaxis if angularaxis is not None else _v + _v = arg.pop('annotations', None) + self.annotations = annotations if annotations is not None else _v + _v = arg.pop('autosize', None) + self.autosize = autosize if autosize is not None else _v + _v = arg.pop('bargap', None) + self.bargap = bargap if bargap is not None else _v + _v = arg.pop('bargroupgap', None) + self.bargroupgap = bargroupgap if bargroupgap is not None else _v + _v = arg.pop('barmode', None) + self.barmode = barmode if barmode is not None else _v + _v = arg.pop('barnorm', None) + self.barnorm = barnorm if barnorm is not None else _v + _v = arg.pop('boxgap', None) + self.boxgap = boxgap if boxgap is not None else _v + _v = arg.pop('boxgroupgap', None) + self.boxgroupgap = boxgroupgap if boxgroupgap is not None else _v + _v = arg.pop('boxmode', None) + self.boxmode = boxmode if boxmode is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('colorway', None) + self.colorway = colorway if colorway is not None else _v + _v = arg.pop('datarevision', None) + self.datarevision = datarevision if datarevision is not None else _v + _v = arg.pop('direction', None) + self.direction = direction if direction is not None else _v + _v = arg.pop('dragmode', None) + self.dragmode = dragmode if dragmode is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('geo', None) + self.geo = geo if geo is not None else _v + _v = arg.pop('grid', None) + self.grid = grid if grid is not None else _v + _v = arg.pop('height', None) + self.height = height if height is not None else _v + _v = arg.pop('hiddenlabels', None) + self.hiddenlabels = hiddenlabels if hiddenlabels is not None else _v + _v = arg.pop('hiddenlabelssrc', None) + self.hiddenlabelssrc = hiddenlabelssrc if hiddenlabelssrc is not None else _v + _v = arg.pop('hidesources', None) + self.hidesources = hidesources if hidesources is not None else _v + _v = arg.pop('hoverdistance', None) + self.hoverdistance = hoverdistance if hoverdistance is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovermode', None) + self.hovermode = hovermode if hovermode is not None else _v + _v = arg.pop('images', None) + self.images = images if images is not None else _v + _v = arg.pop('legend', None) + self.legend = legend if legend is not None else _v + _v = arg.pop('mapbox', None) + self.mapbox = mapbox if mapbox is not None else _v + _v = arg.pop('margin', None) + self.margin = margin if margin is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('paper_bgcolor', None) + self.paper_bgcolor = paper_bgcolor if paper_bgcolor is not None else _v + _v = arg.pop('plot_bgcolor', None) + self.plot_bgcolor = plot_bgcolor if plot_bgcolor is not None else _v + _v = arg.pop('polar', None) + self.polar = polar if polar is not None else _v + _v = arg.pop('radialaxis', None) + self.radialaxis = radialaxis if radialaxis is not None else _v + _v = arg.pop('scene', None) + self.scene = scene if scene is not None else _v + _v = arg.pop('selectdirection', None) + self.selectdirection = selectdirection if selectdirection is not None else _v + _v = arg.pop('separators', None) + self.separators = separators if separators is not None else _v + _v = arg.pop('shapes', None) + self.shapes = shapes if shapes is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('sliders', None) + self.sliders = sliders if sliders is not None else _v + _v = arg.pop('spikedistance', None) + self.spikedistance = spikedistance if spikedistance is not None else _v + _v = arg.pop('ternary', None) + self.ternary = ternary if ternary is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('updatemenus', None) + self.updatemenus = updatemenus if updatemenus is not None else _v + _v = arg.pop('violingap', None) + self.violingap = violingap if violingap is not None else _v + _v = arg.pop('violingroupgap', None) + self.violingroupgap = violingroupgap if violingroupgap is not None else _v + _v = arg.pop('violinmode', None) + self.violinmode = violinmode if violinmode is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/_mesh3d.py b/plotly/graph_objs/_mesh3d.py index ad26b1186ef..3a9e60edcb0 100644 --- a/plotly/graph_objs/_mesh3d.py +++ b/plotly/graph_objs/_mesh3d.py @@ -2181,114 +2181,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('alphahull', None) - self.alphahull = alphahull if alphahull is not None else v - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('contour', None) - self.contour = contour if contour is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('delaunayaxis', None) - self.delaunayaxis = delaunayaxis if delaunayaxis is not None else v - v = arg.pop('facecolor', None) - self.facecolor = facecolor if facecolor is not None else v - v = arg.pop('facecolorsrc', None) - self.facecolorsrc = facecolorsrc if facecolorsrc is not None else v - v = arg.pop('flatshading', None) - self.flatshading = flatshading if flatshading is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('i', None) - self.i = i if i is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('intensity', None) - self.intensity = intensity if intensity is not None else v - v = arg.pop('intensitysrc', None) - self.intensitysrc = intensitysrc if intensitysrc is not None else v - v = arg.pop('isrc', None) - self.isrc = isrc if isrc is not None else v - v = arg.pop('j', None) - self.j = j if j is not None else v - v = arg.pop('jsrc', None) - self.jsrc = jsrc if jsrc is not None else v - v = arg.pop('k', None) - self.k = k if k is not None else v - v = arg.pop('ksrc', None) - self.ksrc = ksrc if ksrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('lighting', None) - self.lighting = lighting if lighting is not None else v - v = arg.pop('lightposition', None) - self.lightposition = lightposition if lightposition is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('scene', None) - self.scene = scene if scene is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('vertexcolor', None) - self.vertexcolor = vertexcolor if vertexcolor is not None else v - v = arg.pop('vertexcolorsrc', None) - self.vertexcolorsrc = vertexcolorsrc if vertexcolorsrc is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zcalendar', None) - self.zcalendar = zcalendar if zcalendar is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('alphahull', None) + self.alphahull = alphahull if alphahull is not None else _v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('contour', None) + self.contour = contour if contour is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('delaunayaxis', None) + self.delaunayaxis = delaunayaxis if delaunayaxis is not None else _v + _v = arg.pop('facecolor', None) + self.facecolor = facecolor if facecolor is not None else _v + _v = arg.pop('facecolorsrc', None) + self.facecolorsrc = facecolorsrc if facecolorsrc is not None else _v + _v = arg.pop('flatshading', None) + self.flatshading = flatshading if flatshading is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('i', None) + self.i = i if i is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('intensity', None) + self.intensity = intensity if intensity is not None else _v + _v = arg.pop('intensitysrc', None) + self.intensitysrc = intensitysrc if intensitysrc is not None else _v + _v = arg.pop('isrc', None) + self.isrc = isrc if isrc is not None else _v + _v = arg.pop('j', None) + self.j = j if j is not None else _v + _v = arg.pop('jsrc', None) + self.jsrc = jsrc if jsrc is not None else _v + _v = arg.pop('k', None) + self.k = k if k is not None else _v + _v = arg.pop('ksrc', None) + self.ksrc = ksrc if ksrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('lighting', None) + self.lighting = lighting if lighting is not None else _v + _v = arg.pop('lightposition', None) + self.lightposition = lightposition if lightposition is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('scene', None) + self.scene = scene if scene is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('vertexcolor', None) + self.vertexcolor = vertexcolor if vertexcolor is not None else _v + _v = arg.pop('vertexcolorsrc', None) + self.vertexcolorsrc = vertexcolorsrc if vertexcolorsrc is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zcalendar', None) + self.zcalendar = zcalendar if zcalendar is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_ohlc.py b/plotly/graph_objs/_ohlc.py index 99478972c3a..4a8c756c22e 100644 --- a/plotly/graph_objs/_ohlc.py +++ b/plotly/graph_objs/_ohlc.py @@ -1151,74 +1151,74 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('close', None) - self.close = close if close is not None else v - v = arg.pop('closesrc', None) - self.closesrc = closesrc if closesrc is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('decreasing', None) - self.decreasing = decreasing if decreasing is not None else v - v = arg.pop('high', None) - self.high = high if high is not None else v - v = arg.pop('highsrc', None) - self.highsrc = highsrc if highsrc is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('increasing', None) - self.increasing = increasing if increasing is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('low', None) - self.low = low if low is not None else v - v = arg.pop('lowsrc', None) - self.lowsrc = lowsrc if lowsrc is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('open', None) - self.open = open if open is not None else v - v = arg.pop('opensrc', None) - self.opensrc = opensrc if opensrc is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v + _v = arg.pop('close', None) + self.close = close if close is not None else _v + _v = arg.pop('closesrc', None) + self.closesrc = closesrc if closesrc is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('decreasing', None) + self.decreasing = decreasing if decreasing is not None else _v + _v = arg.pop('high', None) + self.high = high if high is not None else _v + _v = arg.pop('highsrc', None) + self.highsrc = highsrc if highsrc is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('increasing', None) + self.increasing = increasing if increasing is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('low', None) + self.low = low if low is not None else _v + _v = arg.pop('lowsrc', None) + self.lowsrc = lowsrc if lowsrc is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('open', None) + self.open = open if open is not None else _v + _v = arg.pop('opensrc', None) + self.opensrc = opensrc if opensrc is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_parcoords.py b/plotly/graph_objs/_parcoords.py index e3b40fc14bb..c70a8965a88 100644 --- a/plotly/graph_objs/_parcoords.py +++ b/plotly/graph_objs/_parcoords.py @@ -960,48 +960,48 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dimensions', None) - self.dimensions = dimensions if dimensions is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('labelfont', None) - self.labelfont = labelfont if labelfont is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('rangefont', None) - self.rangefont = rangefont if rangefont is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dimensions', None) + self.dimensions = dimensions if dimensions is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('labelfont', None) + self.labelfont = labelfont if labelfont is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('rangefont', None) + self.rangefont = rangefont if rangefont is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_pie.py b/plotly/graph_objs/_pie.py index 2bb7338054f..b485b9f32e9 100644 --- a/plotly/graph_objs/_pie.py +++ b/plotly/graph_objs/_pie.py @@ -1419,86 +1419,86 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('direction', None) - self.direction = direction if direction is not None else v - v = arg.pop('dlabel', None) - self.dlabel = dlabel if dlabel is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('hole', None) - self.hole = hole if hole is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('insidetextfont', None) - self.insidetextfont = insidetextfont if insidetextfont is not None else v - v = arg.pop('label0', None) - self.label0 = label0 if label0 is not None else v - v = arg.pop('labels', None) - self.labels = labels if labels is not None else v - v = arg.pop('labelssrc', None) - self.labelssrc = labelssrc if labelssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('outsidetextfont', None) - self.outsidetextfont = outsidetextfont if outsidetextfont is not None else v - v = arg.pop('pull', None) - self.pull = pull if pull is not None else v - v = arg.pop('pullsrc', None) - self.pullsrc = pullsrc if pullsrc is not None else v - v = arg.pop('rotation', None) - self.rotation = rotation if rotation is not None else v - v = arg.pop('scalegroup', None) - self.scalegroup = scalegroup if scalegroup is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('sort', None) - self.sort = sort if sort is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textinfo', None) - self.textinfo = textinfo if textinfo is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('values', None) - self.values = values if values is not None else v - v = arg.pop('valuessrc', None) - self.valuessrc = valuessrc if valuessrc is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('direction', None) + self.direction = direction if direction is not None else _v + _v = arg.pop('dlabel', None) + self.dlabel = dlabel if dlabel is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('hole', None) + self.hole = hole if hole is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('insidetextfont', None) + self.insidetextfont = insidetextfont if insidetextfont is not None else _v + _v = arg.pop('label0', None) + self.label0 = label0 if label0 is not None else _v + _v = arg.pop('labels', None) + self.labels = labels if labels is not None else _v + _v = arg.pop('labelssrc', None) + self.labelssrc = labelssrc if labelssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('outsidetextfont', None) + self.outsidetextfont = outsidetextfont if outsidetextfont is not None else _v + _v = arg.pop('pull', None) + self.pull = pull if pull is not None else _v + _v = arg.pop('pullsrc', None) + self.pullsrc = pullsrc if pullsrc is not None else _v + _v = arg.pop('rotation', None) + self.rotation = rotation if rotation is not None else _v + _v = arg.pop('scalegroup', None) + self.scalegroup = scalegroup if scalegroup is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('sort', None) + self.sort = sort if sort is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textinfo', None) + self.textinfo = textinfo if textinfo is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('values', None) + self.values = values if values is not None else _v + _v = arg.pop('valuessrc', None) + self.valuessrc = valuessrc if valuessrc is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_pointcloud.py b/plotly/graph_objs/_pointcloud.py index be9d9479ba9..1da7e6198d1 100644 --- a/plotly/graph_objs/_pointcloud.py +++ b/plotly/graph_objs/_pointcloud.py @@ -1137,70 +1137,70 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('indices', None) - self.indices = indices if indices is not None else v - v = arg.pop('indicessrc', None) - self.indicessrc = indicessrc if indicessrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xbounds', None) - self.xbounds = xbounds if xbounds is not None else v - v = arg.pop('xboundssrc', None) - self.xboundssrc = xboundssrc if xboundssrc is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('xy', None) - self.xy = xy if xy is not None else v - v = arg.pop('xysrc', None) - self.xysrc = xysrc if xysrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ybounds', None) - self.ybounds = ybounds if ybounds is not None else v - v = arg.pop('yboundssrc', None) - self.yboundssrc = yboundssrc if yboundssrc is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('indices', None) + self.indices = indices if indices is not None else _v + _v = arg.pop('indicessrc', None) + self.indicessrc = indicessrc if indicessrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xbounds', None) + self.xbounds = xbounds if xbounds is not None else _v + _v = arg.pop('xboundssrc', None) + self.xboundssrc = xboundssrc if xboundssrc is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('xy', None) + self.xy = xy if xy is not None else _v + _v = arg.pop('xysrc', None) + self.xysrc = xysrc if xysrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ybounds', None) + self.ybounds = ybounds if ybounds is not None else _v + _v = arg.pop('yboundssrc', None) + self.yboundssrc = yboundssrc if yboundssrc is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_sankey.py b/plotly/graph_objs/_sankey.py index fcbc19928f5..abecf27a651 100644 --- a/plotly/graph_objs/_sankey.py +++ b/plotly/graph_objs/_sankey.py @@ -929,52 +929,52 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('arrangement', None) - self.arrangement = arrangement if arrangement is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('link', None) - self.link = link if link is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('node', None) - self.node = node if node is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('valueformat', None) - self.valueformat = valueformat if valueformat is not None else v - v = arg.pop('valuesuffix', None) - self.valuesuffix = valuesuffix if valuesuffix is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('arrangement', None) + self.arrangement = arrangement if arrangement is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('link', None) + self.link = link if link is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('node', None) + self.node = node if node is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('valueformat', None) + self.valueformat = valueformat if valueformat is not None else _v + _v = arg.pop('valuesuffix', None) + self.valuesuffix = valuesuffix if valuesuffix is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scatter.py b/plotly/graph_objs/_scatter.py index 60d08934bc0..57b6006399b 100644 --- a/plotly/graph_objs/_scatter.py +++ b/plotly/graph_objs/_scatter.py @@ -2039,106 +2039,106 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('cliponaxis', None) - self.cliponaxis = cliponaxis if cliponaxis is not None else v - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dx', None) - self.dx = dx if dx is not None else v - v = arg.pop('dy', None) - self.dy = dy if dy is not None else v - v = arg.pop('error_x', None) - self.error_x = error_x if error_x is not None else v - v = arg.pop('error_y', None) - self.error_y = error_y if error_y is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('rsrc', None) - self.rsrc = rsrc if rsrc is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('t', None) - self.t = t if t is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('tsrc', None) - self.tsrc = tsrc if tsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('cliponaxis', None) + self.cliponaxis = cliponaxis if cliponaxis is not None else _v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dx', None) + self.dx = dx if dx is not None else _v + _v = arg.pop('dy', None) + self.dy = dy if dy is not None else _v + _v = arg.pop('error_x', None) + self.error_x = error_x if error_x is not None else _v + _v = arg.pop('error_y', None) + self.error_y = error_y if error_y is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('rsrc', None) + self.rsrc = rsrc if rsrc is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('t', None) + self.t = t if t is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('tsrc', None) + self.tsrc = tsrc if tsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scatter3d.py b/plotly/graph_objs/_scatter3d.py index 394edd6683b..1cda7f47190 100644 --- a/plotly/graph_objs/_scatter3d.py +++ b/plotly/graph_objs/_scatter3d.py @@ -1836,90 +1836,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('error_x', None) - self.error_x = error_x if error_x is not None else v - v = arg.pop('error_y', None) - self.error_y = error_y if error_y is not None else v - v = arg.pop('error_z', None) - self.error_z = error_z if error_z is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('projection', None) - self.projection = projection if projection is not None else v - v = arg.pop('scene', None) - self.scene = scene if scene is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('surfaceaxis', None) - self.surfaceaxis = surfaceaxis if surfaceaxis is not None else v - v = arg.pop('surfacecolor', None) - self.surfacecolor = surfacecolor if surfacecolor is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zcalendar', None) - self.zcalendar = zcalendar if zcalendar is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('error_x', None) + self.error_x = error_x if error_x is not None else _v + _v = arg.pop('error_y', None) + self.error_y = error_y if error_y is not None else _v + _v = arg.pop('error_z', None) + self.error_z = error_z if error_z is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('projection', None) + self.projection = projection if projection is not None else _v + _v = arg.pop('scene', None) + self.scene = scene if scene is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('surfaceaxis', None) + self.surfaceaxis = surfaceaxis if surfaceaxis is not None else _v + _v = arg.pop('surfacecolor', None) + self.surfacecolor = surfacecolor if surfacecolor is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zcalendar', None) + self.zcalendar = zcalendar if zcalendar is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scattercarpet.py b/plotly/graph_objs/_scattercarpet.py index a1e417e7567..0c010f3737b 100644 --- a/plotly/graph_objs/_scattercarpet.py +++ b/plotly/graph_objs/_scattercarpet.py @@ -1502,78 +1502,78 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('a', None) - self.a = a if a is not None else v - v = arg.pop('asrc', None) - self.asrc = asrc if asrc is not None else v - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('bsrc', None) - self.bsrc = bsrc if bsrc is not None else v - v = arg.pop('carpet', None) - self.carpet = carpet if carpet is not None else v - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v + _v = arg.pop('a', None) + self.a = a if a is not None else _v + _v = arg.pop('asrc', None) + self.asrc = asrc if asrc is not None else _v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('bsrc', None) + self.bsrc = bsrc if bsrc is not None else _v + _v = arg.pop('carpet', None) + self.carpet = carpet if carpet is not None else _v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scattergeo.py b/plotly/graph_objs/_scattergeo.py index cde8121ddc5..c0896eed841 100644 --- a/plotly/graph_objs/_scattergeo.py +++ b/plotly/graph_objs/_scattergeo.py @@ -1507,82 +1507,82 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('geo', None) - self.geo = geo if geo is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('lat', None) - self.lat = lat if lat is not None else v - v = arg.pop('latsrc', None) - self.latsrc = latsrc if latsrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('locationmode', None) - self.locationmode = locationmode if locationmode is not None else v - v = arg.pop('locations', None) - self.locations = locations if locations is not None else v - v = arg.pop('locationssrc', None) - self.locationssrc = locationssrc if locationssrc is not None else v - v = arg.pop('lon', None) - self.lon = lon if lon is not None else v - v = arg.pop('lonsrc', None) - self.lonsrc = lonsrc if lonsrc is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('geo', None) + self.geo = geo if geo is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('lat', None) + self.lat = lat if lat is not None else _v + _v = arg.pop('latsrc', None) + self.latsrc = latsrc if latsrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('locationmode', None) + self.locationmode = locationmode if locationmode is not None else _v + _v = arg.pop('locations', None) + self.locations = locations if locations is not None else _v + _v = arg.pop('locationssrc', None) + self.locationssrc = locationssrc if locationssrc is not None else _v + _v = arg.pop('lon', None) + self.lon = lon if lon is not None else _v + _v = arg.pop('lonsrc', None) + self.lonsrc = lonsrc if lonsrc is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scattergl.py b/plotly/graph_objs/_scattergl.py index af22a540c40..6079c3d0a08 100644 --- a/plotly/graph_objs/_scattergl.py +++ b/plotly/graph_objs/_scattergl.py @@ -1649,86 +1649,86 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('dx', None) - self.dx = dx if dx is not None else v - v = arg.pop('dy', None) - self.dy = dy if dy is not None else v - v = arg.pop('error_x', None) - self.error_x = error_x if error_x is not None else v - v = arg.pop('error_y', None) - self.error_y = error_y if error_y is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('dx', None) + self.dx = dx if dx is not None else _v + _v = arg.pop('dy', None) + self.dy = dy if dy is not None else _v + _v = arg.pop('error_x', None) + self.error_x = error_x if error_x is not None else _v + _v = arg.pop('error_y', None) + self.error_y = error_y if error_y is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scattermapbox.py b/plotly/graph_objs/_scattermapbox.py index 7b029bb54fa..a237c60324c 100644 --- a/plotly/graph_objs/_scattermapbox.py +++ b/plotly/graph_objs/_scattermapbox.py @@ -1356,74 +1356,74 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('lat', None) - self.lat = lat if lat is not None else v - v = arg.pop('latsrc', None) - self.latsrc = latsrc if latsrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('lon', None) - self.lon = lon if lon is not None else v - v = arg.pop('lonsrc', None) - self.lonsrc = lonsrc if lonsrc is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('subplot', None) - self.subplot = subplot if subplot is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('lat', None) + self.lat = lat if lat is not None else _v + _v = arg.pop('latsrc', None) + self.latsrc = latsrc if latsrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('lon', None) + self.lon = lon if lon is not None else _v + _v = arg.pop('lonsrc', None) + self.lonsrc = lonsrc if lonsrc is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('subplot', None) + self.subplot = subplot if subplot is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scatterpolar.py b/plotly/graph_objs/_scatterpolar.py index 4899a57dba1..58e2971ee87 100644 --- a/plotly/graph_objs/_scatterpolar.py +++ b/plotly/graph_objs/_scatterpolar.py @@ -1556,82 +1556,82 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('cliponaxis', None) - self.cliponaxis = cliponaxis if cliponaxis is not None else v - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('rsrc', None) - self.rsrc = rsrc if rsrc is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('subplot', None) - self.subplot = subplot if subplot is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('theta', None) - self.theta = theta if theta is not None else v - v = arg.pop('thetasrc', None) - self.thetasrc = thetasrc if thetasrc is not None else v - v = arg.pop('thetaunit', None) - self.thetaunit = thetaunit if thetaunit is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('cliponaxis', None) + self.cliponaxis = cliponaxis if cliponaxis is not None else _v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('rsrc', None) + self.rsrc = rsrc if rsrc is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('subplot', None) + self.subplot = subplot if subplot is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('theta', None) + self.theta = theta if theta is not None else _v + _v = arg.pop('thetasrc', None) + self.thetasrc = thetasrc if thetasrc is not None else _v + _v = arg.pop('thetaunit', None) + self.thetaunit = thetaunit if thetaunit is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scatterpolargl.py b/plotly/graph_objs/_scatterpolargl.py index b8c16cccc99..b2aca583dbc 100644 --- a/plotly/graph_objs/_scatterpolargl.py +++ b/plotly/graph_objs/_scatterpolargl.py @@ -1324,70 +1324,70 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('rsrc', None) - self.rsrc = rsrc if rsrc is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('subplot', None) - self.subplot = subplot if subplot is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('theta', None) - self.theta = theta if theta is not None else v - v = arg.pop('thetasrc', None) - self.thetasrc = thetasrc if thetasrc is not None else v - v = arg.pop('thetaunit', None) - self.thetaunit = thetaunit if thetaunit is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('rsrc', None) + self.rsrc = rsrc if rsrc is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('subplot', None) + self.subplot = subplot if subplot is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('theta', None) + self.theta = theta if theta is not None else _v + _v = arg.pop('thetasrc', None) + self.thetasrc = thetasrc if thetasrc is not None else _v + _v = arg.pop('thetaunit', None) + self.thetaunit = thetaunit if thetaunit is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_scatterternary.py b/plotly/graph_objs/_scatterternary.py index 24493deeeae..d2c056f9ed2 100644 --- a/plotly/graph_objs/_scatterternary.py +++ b/plotly/graph_objs/_scatterternary.py @@ -1650,86 +1650,86 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('a', None) - self.a = a if a is not None else v - v = arg.pop('asrc', None) - self.asrc = asrc if asrc is not None else v - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('bsrc', None) - self.bsrc = bsrc if bsrc is not None else v - v = arg.pop('c', None) - self.c = c if c is not None else v - v = arg.pop('cliponaxis', None) - self.cliponaxis = cliponaxis if cliponaxis is not None else v - v = arg.pop('connectgaps', None) - self.connectgaps = connectgaps if connectgaps is not None else v - v = arg.pop('csrc', None) - self.csrc = csrc if csrc is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('hovertextsrc', None) - self.hovertextsrc = hovertextsrc if hovertextsrc is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('mode', None) - self.mode = mode if mode is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('subplot', None) - self.subplot = subplot if subplot is not None else v - v = arg.pop('sum', None) - self.sum = sum if sum is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v - v = arg.pop('textpositionsrc', None) - self.textpositionsrc = textpositionsrc if textpositionsrc is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('a', None) + self.a = a if a is not None else _v + _v = arg.pop('asrc', None) + self.asrc = asrc if asrc is not None else _v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('bsrc', None) + self.bsrc = bsrc if bsrc is not None else _v + _v = arg.pop('c', None) + self.c = c if c is not None else _v + _v = arg.pop('cliponaxis', None) + self.cliponaxis = cliponaxis if cliponaxis is not None else _v + _v = arg.pop('connectgaps', None) + self.connectgaps = connectgaps if connectgaps is not None else _v + _v = arg.pop('csrc', None) + self.csrc = csrc if csrc is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('hovertextsrc', None) + self.hovertextsrc = hovertextsrc if hovertextsrc is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('mode', None) + self.mode = mode if mode is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('subplot', None) + self.subplot = subplot if subplot is not None else _v + _v = arg.pop('sum', None) + self.sum = sum if sum is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v + _v = arg.pop('textpositionsrc', None) + self.textpositionsrc = textpositionsrc if textpositionsrc is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_splom.py b/plotly/graph_objs/_splom.py index 3dfe635828d..7294d1d6c9b 100644 --- a/plotly/graph_objs/_splom.py +++ b/plotly/graph_objs/_splom.py @@ -1060,58 +1060,58 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('diagonal', None) - self.diagonal = diagonal if diagonal is not None else v - v = arg.pop('dimensions', None) - self.dimensions = dimensions if dimensions is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showlowerhalf', None) - self.showlowerhalf = showlowerhalf if showlowerhalf is not None else v - v = arg.pop('showupperhalf', None) - self.showupperhalf = showupperhalf if showupperhalf is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('xaxes', None) - self.xaxes = xaxes if xaxes is not None else v - v = arg.pop('yaxes', None) - self.yaxes = yaxes if yaxes is not None else v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('diagonal', None) + self.diagonal = diagonal if diagonal is not None else _v + _v = arg.pop('dimensions', None) + self.dimensions = dimensions if dimensions is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showlowerhalf', None) + self.showlowerhalf = showlowerhalf if showlowerhalf is not None else _v + _v = arg.pop('showupperhalf', None) + self.showupperhalf = showupperhalf if showupperhalf is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('xaxes', None) + self.xaxes = xaxes if xaxes is not None else _v + _v = arg.pop('yaxes', None) + self.yaxes = yaxes if yaxes is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_surface.py b/plotly/graph_objs/_surface.py index b0d6962b30e..8038f63afae 100644 --- a/plotly/graph_objs/_surface.py +++ b/plotly/graph_objs/_surface.py @@ -1593,88 +1593,88 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('contours', None) - self.contours = contours if contours is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('hidesurface', None) - self.hidesurface = hidesurface if hidesurface is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('lighting', None) - self.lighting = lighting if lighting is not None else v - v = arg.pop('lightposition', None) - self.lightposition = lightposition if lightposition is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('scene', None) - self.scene = scene if scene is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('surfacecolor', None) - self.surfacecolor = surfacecolor if surfacecolor is not None else v - v = arg.pop('surfacecolorsrc', None) - self.surfacecolorsrc = surfacecolorsrc if surfacecolorsrc is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xcalendar', None) - self.xcalendar = xcalendar if xcalendar is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('ycalendar', None) - self.ycalendar = ycalendar if ycalendar is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v - v = arg.pop('zcalendar', None) - self.zcalendar = zcalendar if zcalendar is not None else v - v = arg.pop('zsrc', None) - self.zsrc = zsrc if zsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('contours', None) + self.contours = contours if contours is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('hidesurface', None) + self.hidesurface = hidesurface if hidesurface is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('lighting', None) + self.lighting = lighting if lighting is not None else _v + _v = arg.pop('lightposition', None) + self.lightposition = lightposition if lightposition is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('scene', None) + self.scene = scene if scene is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('surfacecolor', None) + self.surfacecolor = surfacecolor if surfacecolor is not None else _v + _v = arg.pop('surfacecolorsrc', None) + self.surfacecolorsrc = surfacecolorsrc if surfacecolorsrc is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xcalendar', None) + self.xcalendar = xcalendar if xcalendar is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('ycalendar', None) + self.ycalendar = ycalendar if ycalendar is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v + _v = arg.pop('zcalendar', None) + self.zcalendar = zcalendar if zcalendar is not None else _v + _v = arg.pop('zsrc', None) + self.zsrc = zsrc if zsrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_table.py b/plotly/graph_objs/_table.py index ec0a864ae31..94aac263fc4 100644 --- a/plotly/graph_objs/_table.py +++ b/plotly/graph_objs/_table.py @@ -899,50 +899,50 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('cells', None) - self.cells = cells if cells is not None else v - v = arg.pop('columnorder', None) - self.columnorder = columnorder if columnorder is not None else v - v = arg.pop('columnordersrc', None) - self.columnordersrc = columnordersrc if columnordersrc is not None else v - v = arg.pop('columnwidth', None) - self.columnwidth = columnwidth if columnwidth is not None else v - v = arg.pop('columnwidthsrc', None) - self.columnwidthsrc = columnwidthsrc if columnwidthsrc is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('header', None) - self.header = header if header is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('cells', None) + self.cells = cells if cells is not None else _v + _v = arg.pop('columnorder', None) + self.columnorder = columnorder if columnorder is not None else _v + _v = arg.pop('columnordersrc', None) + self.columnordersrc = columnordersrc if columnordersrc is not None else _v + _v = arg.pop('columnwidth', None) + self.columnwidth = columnwidth if columnwidth is not None else _v + _v = arg.pop('columnwidthsrc', None) + self.columnwidthsrc = columnwidthsrc if columnwidthsrc is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('header', None) + self.header = header if header is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/_violin.py b/plotly/graph_objs/_violin.py index 70169ad21db..920118ebb6c 100644 --- a/plotly/graph_objs/_violin.py +++ b/plotly/graph_objs/_violin.py @@ -1617,92 +1617,92 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bandwidth', None) - self.bandwidth = bandwidth if bandwidth is not None else v - v = arg.pop('box', None) - self.box = box if box is not None else v - v = arg.pop('customdata', None) - self.customdata = customdata if customdata is not None else v - v = arg.pop('customdatasrc', None) - self.customdatasrc = customdatasrc if customdatasrc is not None else v - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('hoverinfo', None) - self.hoverinfo = hoverinfo if hoverinfo is not None else v - v = arg.pop('hoverinfosrc', None) - self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hoveron', None) - self.hoveron = hoveron if hoveron is not None else v - v = arg.pop('ids', None) - self.ids = ids if ids is not None else v - v = arg.pop('idssrc', None) - self.idssrc = idssrc if idssrc is not None else v - v = arg.pop('jitter', None) - self.jitter = jitter if jitter is not None else v - v = arg.pop('legendgroup', None) - self.legendgroup = legendgroup if legendgroup is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('meanline', None) - self.meanline = meanline if meanline is not None else v - v = arg.pop('name', None) - self.name = name if name is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('pointpos', None) - self.pointpos = pointpos if pointpos is not None else v - v = arg.pop('points', None) - self.points = points if points is not None else v - v = arg.pop('scalegroup', None) - self.scalegroup = scalegroup if scalegroup is not None else v - v = arg.pop('scalemode', None) - self.scalemode = scalemode if scalemode is not None else v - v = arg.pop('selected', None) - self.selected = selected if selected is not None else v - v = arg.pop('selectedpoints', None) - self.selectedpoints = selectedpoints if selectedpoints is not None else v - v = arg.pop('showlegend', None) - self.showlegend = showlegend if showlegend is not None else v - v = arg.pop('side', None) - self.side = side if side is not None else v - v = arg.pop('span', None) - self.span = span if span is not None else v - v = arg.pop('spanmode', None) - self.spanmode = spanmode if spanmode is not None else v - v = arg.pop('stream', None) - self.stream = stream if stream is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textsrc', None) - self.textsrc = textsrc if textsrc is not None else v - v = arg.pop('uid', None) - self.uid = uid if uid is not None else v - v = arg.pop('unselected', None) - self.unselected = unselected if unselected is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('xsrc', None) - self.xsrc = xsrc if xsrc is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('ysrc', None) - self.ysrc = ysrc if ysrc is not None else v + _v = arg.pop('bandwidth', None) + self.bandwidth = bandwidth if bandwidth is not None else _v + _v = arg.pop('box', None) + self.box = box if box is not None else _v + _v = arg.pop('customdata', None) + self.customdata = customdata if customdata is not None else _v + _v = arg.pop('customdatasrc', None) + self.customdatasrc = customdatasrc if customdatasrc is not None else _v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('hoverinfo', None) + self.hoverinfo = hoverinfo if hoverinfo is not None else _v + _v = arg.pop('hoverinfosrc', None) + self.hoverinfosrc = hoverinfosrc if hoverinfosrc is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hoveron', None) + self.hoveron = hoveron if hoveron is not None else _v + _v = arg.pop('ids', None) + self.ids = ids if ids is not None else _v + _v = arg.pop('idssrc', None) + self.idssrc = idssrc if idssrc is not None else _v + _v = arg.pop('jitter', None) + self.jitter = jitter if jitter is not None else _v + _v = arg.pop('legendgroup', None) + self.legendgroup = legendgroup if legendgroup is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('meanline', None) + self.meanline = meanline if meanline is not None else _v + _v = arg.pop('name', None) + self.name = name if name is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('pointpos', None) + self.pointpos = pointpos if pointpos is not None else _v + _v = arg.pop('points', None) + self.points = points if points is not None else _v + _v = arg.pop('scalegroup', None) + self.scalegroup = scalegroup if scalegroup is not None else _v + _v = arg.pop('scalemode', None) + self.scalemode = scalemode if scalemode is not None else _v + _v = arg.pop('selected', None) + self.selected = selected if selected is not None else _v + _v = arg.pop('selectedpoints', None) + self.selectedpoints = selectedpoints if selectedpoints is not None else _v + _v = arg.pop('showlegend', None) + self.showlegend = showlegend if showlegend is not None else _v + _v = arg.pop('side', None) + self.side = side if side is not None else _v + _v = arg.pop('span', None) + self.span = span if span is not None else _v + _v = arg.pop('spanmode', None) + self.spanmode = spanmode if spanmode is not None else _v + _v = arg.pop('stream', None) + self.stream = stream if stream is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textsrc', None) + self.textsrc = textsrc if textsrc is not None else _v + _v = arg.pop('uid', None) + self.uid = uid if uid is not None else _v + _v = arg.pop('unselected', None) + self.unselected = unselected if unselected is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('xsrc', None) + self.xsrc = xsrc if xsrc is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('ysrc', None) + self.ysrc = ysrc if ysrc is not None else _v # Read-only literals # ------------------ diff --git a/plotly/graph_objs/area/_hoverlabel.py b/plotly/graph_objs/area/_hoverlabel.py index ffcbc569935..9036bdcce1d 100644 --- a/plotly/graph_objs/area/_hoverlabel.py +++ b/plotly/graph_objs/area/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/area/_marker.py b/plotly/graph_objs/area/_marker.py index c93d5b5c17c..ca064c271fa 100644 --- a/plotly/graph_objs/area/_marker.py +++ b/plotly/graph_objs/area/_marker.py @@ -394,22 +394,22 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/area/_stream.py b/plotly/graph_objs/area/_stream.py index b707a0a436d..896e1b9c8d6 100644 --- a/plotly/graph_objs/area/_stream.py +++ b/plotly/graph_objs/area/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/area/hoverlabel/_font.py b/plotly/graph_objs/area/hoverlabel/_font.py index 6452bb59133..c16683b5c5e 100644 --- a/plotly/graph_objs/area/hoverlabel/_font.py +++ b/plotly/graph_objs/area/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_error_x.py b/plotly/graph_objs/bar/_error_x.py index bd7bf84c0a1..2fe4000e3d3 100644 --- a/plotly/graph_objs/bar/_error_x.py +++ b/plotly/graph_objs/bar/_error_x.py @@ -551,36 +551,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('copy_ystyle', None) - self.copy_ystyle = copy_ystyle if copy_ystyle is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('copy_ystyle', None) + self.copy_ystyle = copy_ystyle if copy_ystyle is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_error_y.py b/plotly/graph_objs/bar/_error_y.py index 32f568c8dab..c164f3450c1 100644 --- a/plotly/graph_objs/bar/_error_y.py +++ b/plotly/graph_objs/bar/_error_y.py @@ -527,34 +527,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_hoverlabel.py b/plotly/graph_objs/bar/_hoverlabel.py index d254f62605e..ef54f03267d 100644 --- a/plotly/graph_objs/bar/_hoverlabel.py +++ b/plotly/graph_objs/bar/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_insidetextfont.py b/plotly/graph_objs/bar/_insidetextfont.py index 0f2df4be1be..8722c2654eb 100644 --- a/plotly/graph_objs/bar/_insidetextfont.py +++ b/plotly/graph_objs/bar/_insidetextfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_marker.py b/plotly/graph_objs/bar/_marker.py index b47b546f957..5ddb9c6d02f 100644 --- a/plotly/graph_objs/bar/_marker.py +++ b/plotly/graph_objs/bar/_marker.py @@ -844,32 +844,32 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_outsidetextfont.py b/plotly/graph_objs/bar/_outsidetextfont.py index 11a83e4f820..6c443e58926 100644 --- a/plotly/graph_objs/bar/_outsidetextfont.py +++ b/plotly/graph_objs/bar/_outsidetextfont.py @@ -295,18 +295,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_selected.py b/plotly/graph_objs/bar/_selected.py index 2e5e3b5e8b7..d8375a3e42e 100644 --- a/plotly/graph_objs/bar/_selected.py +++ b/plotly/graph_objs/bar/_selected.py @@ -126,10 +126,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_stream.py b/plotly/graph_objs/bar/_stream.py index 9eeaad73ea4..c0627246d28 100644 --- a/plotly/graph_objs/bar/_stream.py +++ b/plotly/graph_objs/bar/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_textfont.py b/plotly/graph_objs/bar/_textfont.py index 1bf5720fb70..96625bd15fa 100644 --- a/plotly/graph_objs/bar/_textfont.py +++ b/plotly/graph_objs/bar/_textfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/_unselected.py b/plotly/graph_objs/bar/_unselected.py index 2a17bb3ccf0..6abc37ff9dd 100644 --- a/plotly/graph_objs/bar/_unselected.py +++ b/plotly/graph_objs/bar/_unselected.py @@ -129,10 +129,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/hoverlabel/_font.py b/plotly/graph_objs/bar/hoverlabel/_font.py index 9b8f78ecf76..f6b32d5ba38 100644 --- a/plotly/graph_objs/bar/hoverlabel/_font.py +++ b/plotly/graph_objs/bar/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/marker/_colorbar.py b/plotly/graph_objs/bar/marker/_colorbar.py index 94a091a3074..d91e40d7dcc 100644 --- a/plotly/graph_objs/bar/marker/_colorbar.py +++ b/plotly/graph_objs/bar/marker/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/marker/_line.py b/plotly/graph_objs/bar/marker/_line.py index 21ad2570ec0..cd427049c2e 100644 --- a/plotly/graph_objs/bar/marker/_line.py +++ b/plotly/graph_objs/bar/marker/_line.py @@ -489,26 +489,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/marker/colorbar/_tickfont.py b/plotly/graph_objs/bar/marker/colorbar/_tickfont.py index c5224b2b613..9fd3e9e0312 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/bar/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py index 86ac85e2401..469544df6f8 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/marker/colorbar/_titlefont.py b/plotly/graph_objs/bar/marker/colorbar/_titlefont.py index 170f76d8605..5dd3be90d6f 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/bar/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/selected/_marker.py b/plotly/graph_objs/bar/selected/_marker.py index e36ee41a578..46aabcf941b 100644 --- a/plotly/graph_objs/bar/selected/_marker.py +++ b/plotly/graph_objs/bar/selected/_marker.py @@ -147,10 +147,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/selected/_textfont.py b/plotly/graph_objs/bar/selected/_textfont.py index 20c11cd9afb..4dd48949485 100644 --- a/plotly/graph_objs/bar/selected/_textfont.py +++ b/plotly/graph_objs/bar/selected/_textfont.py @@ -122,8 +122,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/unselected/_marker.py b/plotly/graph_objs/bar/unselected/_marker.py index 577c438cf4c..70d7d532820 100644 --- a/plotly/graph_objs/bar/unselected/_marker.py +++ b/plotly/graph_objs/bar/unselected/_marker.py @@ -153,10 +153,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/bar/unselected/_textfont.py b/plotly/graph_objs/bar/unselected/_textfont.py index 33a59f13c3e..bac56b721cb 100644 --- a/plotly/graph_objs/bar/unselected/_textfont.py +++ b/plotly/graph_objs/bar/unselected/_textfont.py @@ -126,8 +126,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/_hoverlabel.py b/plotly/graph_objs/box/_hoverlabel.py index 650dd020265..0004343356b 100644 --- a/plotly/graph_objs/box/_hoverlabel.py +++ b/plotly/graph_objs/box/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/_line.py b/plotly/graph_objs/box/_line.py index a85d52e9271..bb2dc0cf3f9 100644 --- a/plotly/graph_objs/box/_line.py +++ b/plotly/graph_objs/box/_line.py @@ -147,10 +147,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/_marker.py b/plotly/graph_objs/box/_marker.py index f0c4dc1de65..a976c5aa5f5 100644 --- a/plotly/graph_objs/box/_marker.py +++ b/plotly/graph_objs/box/_marker.py @@ -398,18 +398,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('outliercolor', None) - self.outliercolor = outliercolor if outliercolor is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('outliercolor', None) + self.outliercolor = outliercolor if outliercolor is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/_selected.py b/plotly/graph_objs/box/_selected.py index 71afeae87be..406fd25e94b 100644 --- a/plotly/graph_objs/box/_selected.py +++ b/plotly/graph_objs/box/_selected.py @@ -95,8 +95,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/_stream.py b/plotly/graph_objs/box/_stream.py index 3d93325777a..c2fe8e821b7 100644 --- a/plotly/graph_objs/box/_stream.py +++ b/plotly/graph_objs/box/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/_unselected.py b/plotly/graph_objs/box/_unselected.py index e59bc10b087..a6ddaa5083f 100644 --- a/plotly/graph_objs/box/_unselected.py +++ b/plotly/graph_objs/box/_unselected.py @@ -98,8 +98,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/hoverlabel/_font.py b/plotly/graph_objs/box/hoverlabel/_font.py index 23504a9ce67..2cdba4bac6f 100644 --- a/plotly/graph_objs/box/hoverlabel/_font.py +++ b/plotly/graph_objs/box/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/marker/_line.py b/plotly/graph_objs/box/marker/_line.py index a229ca52267..ee3e6481420 100644 --- a/plotly/graph_objs/box/marker/_line.py +++ b/plotly/graph_objs/box/marker/_line.py @@ -261,14 +261,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('outliercolor', None) - self.outliercolor = outliercolor if outliercolor is not None else v - v = arg.pop('outlierwidth', None) - self.outlierwidth = outlierwidth if outlierwidth is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('outliercolor', None) + self.outliercolor = outliercolor if outliercolor is not None else _v + _v = arg.pop('outlierwidth', None) + self.outlierwidth = outlierwidth if outlierwidth is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/selected/_marker.py b/plotly/graph_objs/box/selected/_marker.py index ae705926614..2815aa0199f 100644 --- a/plotly/graph_objs/box/selected/_marker.py +++ b/plotly/graph_objs/box/selected/_marker.py @@ -174,12 +174,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/box/unselected/_marker.py b/plotly/graph_objs/box/unselected/_marker.py index 2b4769dd17e..bb3108155d7 100644 --- a/plotly/graph_objs/box/unselected/_marker.py +++ b/plotly/graph_objs/box/unselected/_marker.py @@ -183,12 +183,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/_decreasing.py b/plotly/graph_objs/candlestick/_decreasing.py index 4f957d4fcca..992c28690ee 100644 --- a/plotly/graph_objs/candlestick/_decreasing.py +++ b/plotly/graph_objs/candlestick/_decreasing.py @@ -164,10 +164,10 @@ def __init__(self, arg=None, fillcolor=None, line=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/_hoverlabel.py b/plotly/graph_objs/candlestick/_hoverlabel.py index ce8325f9f8d..a755cd96da3 100644 --- a/plotly/graph_objs/candlestick/_hoverlabel.py +++ b/plotly/graph_objs/candlestick/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/_increasing.py b/plotly/graph_objs/candlestick/_increasing.py index 52fa31e56a2..a38b03fe1d8 100644 --- a/plotly/graph_objs/candlestick/_increasing.py +++ b/plotly/graph_objs/candlestick/_increasing.py @@ -164,10 +164,10 @@ def __init__(self, arg=None, fillcolor=None, line=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/_line.py b/plotly/graph_objs/candlestick/_line.py index 1b615feeaba..8fbb065aa1a 100644 --- a/plotly/graph_objs/candlestick/_line.py +++ b/plotly/graph_objs/candlestick/_line.py @@ -91,8 +91,8 @@ def __init__(self, arg=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/_stream.py b/plotly/graph_objs/candlestick/_stream.py index db0c9d4544e..986a6620d92 100644 --- a/plotly/graph_objs/candlestick/_stream.py +++ b/plotly/graph_objs/candlestick/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/decreasing/_line.py b/plotly/graph_objs/candlestick/decreasing/_line.py index e69ca679066..0e7a640906d 100644 --- a/plotly/graph_objs/candlestick/decreasing/_line.py +++ b/plotly/graph_objs/candlestick/decreasing/_line.py @@ -148,10 +148,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/hoverlabel/_font.py b/plotly/graph_objs/candlestick/hoverlabel/_font.py index c47ad75687e..f12ad4e14c4 100644 --- a/plotly/graph_objs/candlestick/hoverlabel/_font.py +++ b/plotly/graph_objs/candlestick/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/candlestick/increasing/_line.py b/plotly/graph_objs/candlestick/increasing/_line.py index e8e7151662a..58e50ffeb10 100644 --- a/plotly/graph_objs/candlestick/increasing/_line.py +++ b/plotly/graph_objs/candlestick/increasing/_line.py @@ -148,10 +148,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/_aaxis.py b/plotly/graph_objs/carpet/_aaxis.py index a4f04d27291..8cae1df1909 100644 --- a/plotly/graph_objs/carpet/_aaxis.py +++ b/plotly/graph_objs/carpet/_aaxis.py @@ -1997,114 +1997,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('arraydtick', None) - self.arraydtick = arraydtick if arraydtick is not None else v - v = arg.pop('arraytick0', None) - self.arraytick0 = arraytick0 if arraytick0 is not None else v - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('cheatertype', None) - self.cheatertype = cheatertype if cheatertype is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('endline', None) - self.endline = endline if endline is not None else v - v = arg.pop('endlinecolor', None) - self.endlinecolor = endlinecolor if endlinecolor is not None else v - v = arg.pop('endlinewidth', None) - self.endlinewidth = endlinewidth if endlinewidth is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('fixedrange', None) - self.fixedrange = fixedrange if fixedrange is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('labelpadding', None) - self.labelpadding = labelpadding if labelpadding is not None else v - v = arg.pop('labelprefix', None) - self.labelprefix = labelprefix if labelprefix is not None else v - v = arg.pop('labelsuffix', None) - self.labelsuffix = labelsuffix if labelsuffix is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('minorgridcolor', None) - self.minorgridcolor = minorgridcolor if minorgridcolor is not None else v - v = arg.pop('minorgridcount', None) - self.minorgridcount = minorgridcount if minorgridcount is not None else v - v = arg.pop('minorgridwidth', None) - self.minorgridwidth = minorgridwidth if minorgridwidth is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('startline', None) - self.startline = startline if startline is not None else v - v = arg.pop('startlinecolor', None) - self.startlinecolor = startlinecolor if startlinecolor is not None else v - v = arg.pop('startlinewidth', None) - self.startlinewidth = startlinewidth if startlinewidth is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleoffset', None) - self.titleoffset = titleoffset if titleoffset is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v + _v = arg.pop('arraydtick', None) + self.arraydtick = arraydtick if arraydtick is not None else _v + _v = arg.pop('arraytick0', None) + self.arraytick0 = arraytick0 if arraytick0 is not None else _v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('cheatertype', None) + self.cheatertype = cheatertype if cheatertype is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('endline', None) + self.endline = endline if endline is not None else _v + _v = arg.pop('endlinecolor', None) + self.endlinecolor = endlinecolor if endlinecolor is not None else _v + _v = arg.pop('endlinewidth', None) + self.endlinewidth = endlinewidth if endlinewidth is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('fixedrange', None) + self.fixedrange = fixedrange if fixedrange is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('labelpadding', None) + self.labelpadding = labelpadding if labelpadding is not None else _v + _v = arg.pop('labelprefix', None) + self.labelprefix = labelprefix if labelprefix is not None else _v + _v = arg.pop('labelsuffix', None) + self.labelsuffix = labelsuffix if labelsuffix is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('minorgridcolor', None) + self.minorgridcolor = minorgridcolor if minorgridcolor is not None else _v + _v = arg.pop('minorgridcount', None) + self.minorgridcount = minorgridcount if minorgridcount is not None else _v + _v = arg.pop('minorgridwidth', None) + self.minorgridwidth = minorgridwidth if minorgridwidth is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('startline', None) + self.startline = startline if startline is not None else _v + _v = arg.pop('startlinecolor', None) + self.startlinecolor = startlinecolor if startlinecolor is not None else _v + _v = arg.pop('startlinewidth', None) + self.startlinewidth = startlinewidth if startlinewidth is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleoffset', None) + self.titleoffset = titleoffset if titleoffset is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/_baxis.py b/plotly/graph_objs/carpet/_baxis.py index af83c765457..19e242378c5 100644 --- a/plotly/graph_objs/carpet/_baxis.py +++ b/plotly/graph_objs/carpet/_baxis.py @@ -1997,114 +1997,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('arraydtick', None) - self.arraydtick = arraydtick if arraydtick is not None else v - v = arg.pop('arraytick0', None) - self.arraytick0 = arraytick0 if arraytick0 is not None else v - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('cheatertype', None) - self.cheatertype = cheatertype if cheatertype is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('endline', None) - self.endline = endline if endline is not None else v - v = arg.pop('endlinecolor', None) - self.endlinecolor = endlinecolor if endlinecolor is not None else v - v = arg.pop('endlinewidth', None) - self.endlinewidth = endlinewidth if endlinewidth is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('fixedrange', None) - self.fixedrange = fixedrange if fixedrange is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('labelpadding', None) - self.labelpadding = labelpadding if labelpadding is not None else v - v = arg.pop('labelprefix', None) - self.labelprefix = labelprefix if labelprefix is not None else v - v = arg.pop('labelsuffix', None) - self.labelsuffix = labelsuffix if labelsuffix is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('minorgridcolor', None) - self.minorgridcolor = minorgridcolor if minorgridcolor is not None else v - v = arg.pop('minorgridcount', None) - self.minorgridcount = minorgridcount if minorgridcount is not None else v - v = arg.pop('minorgridwidth', None) - self.minorgridwidth = minorgridwidth if minorgridwidth is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('startline', None) - self.startline = startline if startline is not None else v - v = arg.pop('startlinecolor', None) - self.startlinecolor = startlinecolor if startlinecolor is not None else v - v = arg.pop('startlinewidth', None) - self.startlinewidth = startlinewidth if startlinewidth is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleoffset', None) - self.titleoffset = titleoffset if titleoffset is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v + _v = arg.pop('arraydtick', None) + self.arraydtick = arraydtick if arraydtick is not None else _v + _v = arg.pop('arraytick0', None) + self.arraytick0 = arraytick0 if arraytick0 is not None else _v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('cheatertype', None) + self.cheatertype = cheatertype if cheatertype is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('endline', None) + self.endline = endline if endline is not None else _v + _v = arg.pop('endlinecolor', None) + self.endlinecolor = endlinecolor if endlinecolor is not None else _v + _v = arg.pop('endlinewidth', None) + self.endlinewidth = endlinewidth if endlinewidth is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('fixedrange', None) + self.fixedrange = fixedrange if fixedrange is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('labelpadding', None) + self.labelpadding = labelpadding if labelpadding is not None else _v + _v = arg.pop('labelprefix', None) + self.labelprefix = labelprefix if labelprefix is not None else _v + _v = arg.pop('labelsuffix', None) + self.labelsuffix = labelsuffix if labelsuffix is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('minorgridcolor', None) + self.minorgridcolor = minorgridcolor if minorgridcolor is not None else _v + _v = arg.pop('minorgridcount', None) + self.minorgridcount = minorgridcount if minorgridcount is not None else _v + _v = arg.pop('minorgridwidth', None) + self.minorgridwidth = minorgridwidth if minorgridwidth is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('startline', None) + self.startline = startline if startline is not None else _v + _v = arg.pop('startlinecolor', None) + self.startlinecolor = startlinecolor if startlinecolor is not None else _v + _v = arg.pop('startlinewidth', None) + self.startlinewidth = startlinewidth if startlinewidth is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleoffset', None) + self.titleoffset = titleoffset if titleoffset is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/_font.py b/plotly/graph_objs/carpet/_font.py index b2613761bea..0d4c445001d 100644 --- a/plotly/graph_objs/carpet/_font.py +++ b/plotly/graph_objs/carpet/_font.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/_hoverlabel.py b/plotly/graph_objs/carpet/_hoverlabel.py index ac5be27aabb..bc41ab79922 100644 --- a/plotly/graph_objs/carpet/_hoverlabel.py +++ b/plotly/graph_objs/carpet/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/_stream.py b/plotly/graph_objs/carpet/_stream.py index f1492e31859..a9661270c6b 100644 --- a/plotly/graph_objs/carpet/_stream.py +++ b/plotly/graph_objs/carpet/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/aaxis/_tickfont.py b/plotly/graph_objs/carpet/aaxis/_tickfont.py index 8919aa6966a..8714056a73e 100644 --- a/plotly/graph_objs/carpet/aaxis/_tickfont.py +++ b/plotly/graph_objs/carpet/aaxis/_tickfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/aaxis/_tickformatstop.py b/plotly/graph_objs/carpet/aaxis/_tickformatstop.py index c037fc5feb6..2de299a0dc0 100644 --- a/plotly/graph_objs/carpet/aaxis/_tickformatstop.py +++ b/plotly/graph_objs/carpet/aaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/aaxis/_titlefont.py b/plotly/graph_objs/carpet/aaxis/_titlefont.py index 0931c6ad9e0..a82a4f873b8 100644 --- a/plotly/graph_objs/carpet/aaxis/_titlefont.py +++ b/plotly/graph_objs/carpet/aaxis/_titlefont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/baxis/_tickfont.py b/plotly/graph_objs/carpet/baxis/_tickfont.py index 9e4be67cb6e..7698a281324 100644 --- a/plotly/graph_objs/carpet/baxis/_tickfont.py +++ b/plotly/graph_objs/carpet/baxis/_tickfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/baxis/_tickformatstop.py b/plotly/graph_objs/carpet/baxis/_tickformatstop.py index c213c849205..17603960fc3 100644 --- a/plotly/graph_objs/carpet/baxis/_tickformatstop.py +++ b/plotly/graph_objs/carpet/baxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/baxis/_titlefont.py b/plotly/graph_objs/carpet/baxis/_titlefont.py index 6c3775cd596..3822d57fe5e 100644 --- a/plotly/graph_objs/carpet/baxis/_titlefont.py +++ b/plotly/graph_objs/carpet/baxis/_titlefont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/carpet/hoverlabel/_font.py b/plotly/graph_objs/carpet/hoverlabel/_font.py index 6bf5bafa6a5..fb291e0ee27 100644 --- a/plotly/graph_objs/carpet/hoverlabel/_font.py +++ b/plotly/graph_objs/carpet/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/_colorbar.py b/plotly/graph_objs/choropleth/_colorbar.py index 0f633a66fde..c3def51df72 100644 --- a/plotly/graph_objs/choropleth/_colorbar.py +++ b/plotly/graph_objs/choropleth/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/_hoverlabel.py b/plotly/graph_objs/choropleth/_hoverlabel.py index 36aff301942..6e801ea287f 100644 --- a/plotly/graph_objs/choropleth/_hoverlabel.py +++ b/plotly/graph_objs/choropleth/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/_marker.py b/plotly/graph_objs/choropleth/_marker.py index 9e184df6fb5..ffe901d3494 100644 --- a/plotly/graph_objs/choropleth/_marker.py +++ b/plotly/graph_objs/choropleth/_marker.py @@ -157,12 +157,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/_selected.py b/plotly/graph_objs/choropleth/_selected.py index ce9ea676e96..7b728a3c78f 100644 --- a/plotly/graph_objs/choropleth/_selected.py +++ b/plotly/graph_objs/choropleth/_selected.py @@ -91,8 +91,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/_stream.py b/plotly/graph_objs/choropleth/_stream.py index 17202bffbed..9d6676222da 100644 --- a/plotly/graph_objs/choropleth/_stream.py +++ b/plotly/graph_objs/choropleth/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/_unselected.py b/plotly/graph_objs/choropleth/_unselected.py index 02fc7b0998e..3ca94dedec6 100644 --- a/plotly/graph_objs/choropleth/_unselected.py +++ b/plotly/graph_objs/choropleth/_unselected.py @@ -92,8 +92,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/colorbar/_tickfont.py b/plotly/graph_objs/choropleth/colorbar/_tickfont.py index 1e552b60570..bf6a0a82093 100644 --- a/plotly/graph_objs/choropleth/colorbar/_tickfont.py +++ b/plotly/graph_objs/choropleth/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py b/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py index 1bdb9de463b..e41771cf967 100644 --- a/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/colorbar/_titlefont.py b/plotly/graph_objs/choropleth/colorbar/_titlefont.py index f4bd82390b1..94c7aa0f02d 100644 --- a/plotly/graph_objs/choropleth/colorbar/_titlefont.py +++ b/plotly/graph_objs/choropleth/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/hoverlabel/_font.py b/plotly/graph_objs/choropleth/hoverlabel/_font.py index 81d96e86e85..fe839281151 100644 --- a/plotly/graph_objs/choropleth/hoverlabel/_font.py +++ b/plotly/graph_objs/choropleth/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/marker/_line.py b/plotly/graph_objs/choropleth/marker/_line.py index 012e979c059..bda2cb6c0eb 100644 --- a/plotly/graph_objs/choropleth/marker/_line.py +++ b/plotly/graph_objs/choropleth/marker/_line.py @@ -218,14 +218,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/selected/_marker.py b/plotly/graph_objs/choropleth/selected/_marker.py index 3e18ffadc0c..495918eb22c 100644 --- a/plotly/graph_objs/choropleth/selected/_marker.py +++ b/plotly/graph_objs/choropleth/selected/_marker.py @@ -84,8 +84,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/choropleth/unselected/_marker.py b/plotly/graph_objs/choropleth/unselected/_marker.py index ca89f4dd91c..4e0c5fe12ca 100644 --- a/plotly/graph_objs/choropleth/unselected/_marker.py +++ b/plotly/graph_objs/choropleth/unselected/_marker.py @@ -89,8 +89,8 @@ def __init__(self, arg=None, opacity=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/_colorbar.py b/plotly/graph_objs/cone/_colorbar.py index d5a529047e0..cb7d10faaa0 100644 --- a/plotly/graph_objs/cone/_colorbar.py +++ b/plotly/graph_objs/cone/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/_hoverlabel.py b/plotly/graph_objs/cone/_hoverlabel.py index 54b940bb915..21cfab94ab2 100644 --- a/plotly/graph_objs/cone/_hoverlabel.py +++ b/plotly/graph_objs/cone/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/_lighting.py b/plotly/graph_objs/cone/_lighting.py index 412ef79f3f1..9efee4b1bdc 100644 --- a/plotly/graph_objs/cone/_lighting.py +++ b/plotly/graph_objs/cone/_lighting.py @@ -272,20 +272,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('ambient', None) - self.ambient = ambient if ambient is not None else v - v = arg.pop('diffuse', None) - self.diffuse = diffuse if diffuse is not None else v - v = arg.pop('facenormalsepsilon', None) - self.facenormalsepsilon = facenormalsepsilon if facenormalsepsilon is not None else v - v = arg.pop('fresnel', None) - self.fresnel = fresnel if fresnel is not None else v - v = arg.pop('roughness', None) - self.roughness = roughness if roughness is not None else v - v = arg.pop('specular', None) - self.specular = specular if specular is not None else v - v = arg.pop('vertexnormalsepsilon', None) - self.vertexnormalsepsilon = vertexnormalsepsilon if vertexnormalsepsilon is not None else v + _v = arg.pop('ambient', None) + self.ambient = ambient if ambient is not None else _v + _v = arg.pop('diffuse', None) + self.diffuse = diffuse if diffuse is not None else _v + _v = arg.pop('facenormalsepsilon', None) + self.facenormalsepsilon = facenormalsepsilon if facenormalsepsilon is not None else _v + _v = arg.pop('fresnel', None) + self.fresnel = fresnel if fresnel is not None else _v + _v = arg.pop('roughness', None) + self.roughness = roughness if roughness is not None else _v + _v = arg.pop('specular', None) + self.specular = specular if specular is not None else _v + _v = arg.pop('vertexnormalsepsilon', None) + self.vertexnormalsepsilon = vertexnormalsepsilon if vertexnormalsepsilon is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/_lightposition.py b/plotly/graph_objs/cone/_lightposition.py index 20f53aaba3c..b2066638538 100644 --- a/plotly/graph_objs/cone/_lightposition.py +++ b/plotly/graph_objs/cone/_lightposition.py @@ -139,12 +139,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/_stream.py b/plotly/graph_objs/cone/_stream.py index 4bd7996a5ed..a911cc059df 100644 --- a/plotly/graph_objs/cone/_stream.py +++ b/plotly/graph_objs/cone/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/colorbar/_tickfont.py b/plotly/graph_objs/cone/colorbar/_tickfont.py index 432719205b8..b86ebac8af0 100644 --- a/plotly/graph_objs/cone/colorbar/_tickfont.py +++ b/plotly/graph_objs/cone/colorbar/_tickfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/colorbar/_tickformatstop.py b/plotly/graph_objs/cone/colorbar/_tickformatstop.py index c228ccf1c1f..25b72f44712 100644 --- a/plotly/graph_objs/cone/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/cone/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/colorbar/_titlefont.py b/plotly/graph_objs/cone/colorbar/_titlefont.py index f55d22e53fd..1b1e9539ab9 100644 --- a/plotly/graph_objs/cone/colorbar/_titlefont.py +++ b/plotly/graph_objs/cone/colorbar/_titlefont.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/cone/hoverlabel/_font.py b/plotly/graph_objs/cone/hoverlabel/_font.py index 16828edd847..6ac63acf61e 100644 --- a/plotly/graph_objs/cone/hoverlabel/_font.py +++ b/plotly/graph_objs/cone/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/_colorbar.py b/plotly/graph_objs/contour/_colorbar.py index d53a487f0ff..d5b69970052 100644 --- a/plotly/graph_objs/contour/_colorbar.py +++ b/plotly/graph_objs/contour/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/_contours.py b/plotly/graph_objs/contour/_contours.py index cf80fbea7d8..be91914b900 100644 --- a/plotly/graph_objs/contour/_contours.py +++ b/plotly/graph_objs/contour/_contours.py @@ -471,28 +471,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('coloring', None) - self.coloring = coloring if coloring is not None else v - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('labelfont', None) - self.labelfont = labelfont if labelfont is not None else v - v = arg.pop('labelformat', None) - self.labelformat = labelformat if labelformat is not None else v - v = arg.pop('operation', None) - self.operation = operation if operation is not None else v - v = arg.pop('showlabels', None) - self.showlabels = showlabels if showlabels is not None else v - v = arg.pop('showlines', None) - self.showlines = showlines if showlines is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('coloring', None) + self.coloring = coloring if coloring is not None else _v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('labelfont', None) + self.labelfont = labelfont if labelfont is not None else _v + _v = arg.pop('labelformat', None) + self.labelformat = labelformat if labelformat is not None else _v + _v = arg.pop('operation', None) + self.operation = operation if operation is not None else _v + _v = arg.pop('showlabels', None) + self.showlabels = showlabels if showlabels is not None else _v + _v = arg.pop('showlines', None) + self.showlines = showlines if showlines is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/_hoverlabel.py b/plotly/graph_objs/contour/_hoverlabel.py index c675d527d88..f283e94f9f4 100644 --- a/plotly/graph_objs/contour/_hoverlabel.py +++ b/plotly/graph_objs/contour/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/_line.py b/plotly/graph_objs/contour/_line.py index 77b0f9fb42a..a5899ed16d3 100644 --- a/plotly/graph_objs/contour/_line.py +++ b/plotly/graph_objs/contour/_line.py @@ -223,14 +223,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/_stream.py b/plotly/graph_objs/contour/_stream.py index 7d714072892..6775c0f3bf8 100644 --- a/plotly/graph_objs/contour/_stream.py +++ b/plotly/graph_objs/contour/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/colorbar/_tickfont.py b/plotly/graph_objs/contour/colorbar/_tickfont.py index b9c1ef5dee3..f2f0fe3d744 100644 --- a/plotly/graph_objs/contour/colorbar/_tickfont.py +++ b/plotly/graph_objs/contour/colorbar/_tickfont.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/colorbar/_tickformatstop.py b/plotly/graph_objs/contour/colorbar/_tickformatstop.py index c2a587f9dae..32ebafc222b 100644 --- a/plotly/graph_objs/contour/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/contour/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/colorbar/_titlefont.py b/plotly/graph_objs/contour/colorbar/_titlefont.py index fd79bdd13c1..7dc610f4376 100644 --- a/plotly/graph_objs/contour/colorbar/_titlefont.py +++ b/plotly/graph_objs/contour/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/contours/_labelfont.py b/plotly/graph_objs/contour/contours/_labelfont.py index fb8f02f73ab..fe4404aeaa3 100644 --- a/plotly/graph_objs/contour/contours/_labelfont.py +++ b/plotly/graph_objs/contour/contours/_labelfont.py @@ -210,12 +210,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contour/hoverlabel/_font.py b/plotly/graph_objs/contour/hoverlabel/_font.py index fa308bb37bf..d1d02d2c520 100644 --- a/plotly/graph_objs/contour/hoverlabel/_font.py +++ b/plotly/graph_objs/contour/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/_colorbar.py b/plotly/graph_objs/contourcarpet/_colorbar.py index 4dcd541e9e6..fa4035f20d0 100644 --- a/plotly/graph_objs/contourcarpet/_colorbar.py +++ b/plotly/graph_objs/contourcarpet/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/_contours.py b/plotly/graph_objs/contourcarpet/_contours.py index 73e223921a3..b2cbddd2f58 100644 --- a/plotly/graph_objs/contourcarpet/_contours.py +++ b/plotly/graph_objs/contourcarpet/_contours.py @@ -468,28 +468,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('coloring', None) - self.coloring = coloring if coloring is not None else v - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('labelfont', None) - self.labelfont = labelfont if labelfont is not None else v - v = arg.pop('labelformat', None) - self.labelformat = labelformat if labelformat is not None else v - v = arg.pop('operation', None) - self.operation = operation if operation is not None else v - v = arg.pop('showlabels', None) - self.showlabels = showlabels if showlabels is not None else v - v = arg.pop('showlines', None) - self.showlines = showlines if showlines is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('coloring', None) + self.coloring = coloring if coloring is not None else _v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('labelfont', None) + self.labelfont = labelfont if labelfont is not None else _v + _v = arg.pop('labelformat', None) + self.labelformat = labelformat if labelformat is not None else _v + _v = arg.pop('operation', None) + self.operation = operation if operation is not None else _v + _v = arg.pop('showlabels', None) + self.showlabels = showlabels if showlabels is not None else _v + _v = arg.pop('showlines', None) + self.showlines = showlines if showlines is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/_hoverlabel.py b/plotly/graph_objs/contourcarpet/_hoverlabel.py index bc4295c5f2f..7cb2c9bf571 100644 --- a/plotly/graph_objs/contourcarpet/_hoverlabel.py +++ b/plotly/graph_objs/contourcarpet/_hoverlabel.py @@ -387,20 +387,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/_line.py b/plotly/graph_objs/contourcarpet/_line.py index 91b9768f614..ad382c5c70c 100644 --- a/plotly/graph_objs/contourcarpet/_line.py +++ b/plotly/graph_objs/contourcarpet/_line.py @@ -223,14 +223,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/_stream.py b/plotly/graph_objs/contourcarpet/_stream.py index 2d6c08fa7be..8c6fca7e340 100644 --- a/plotly/graph_objs/contourcarpet/_stream.py +++ b/plotly/graph_objs/contourcarpet/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py b/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py index 14f91bb71ba..eeacbbd4967 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py b/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py index 94ed42f28a9..bf4ff19085d 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/colorbar/_titlefont.py b/plotly/graph_objs/contourcarpet/colorbar/_titlefont.py index e4d2ecc5205..ece7409a28a 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_titlefont.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/contours/_labelfont.py b/plotly/graph_objs/contourcarpet/contours/_labelfont.py index dc21966d3f5..cb998341366 100644 --- a/plotly/graph_objs/contourcarpet/contours/_labelfont.py +++ b/plotly/graph_objs/contourcarpet/contours/_labelfont.py @@ -210,12 +210,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/contourcarpet/hoverlabel/_font.py b/plotly/graph_objs/contourcarpet/hoverlabel/_font.py index 797387241de..a01728e5047 100644 --- a/plotly/graph_objs/contourcarpet/hoverlabel/_font.py +++ b/plotly/graph_objs/contourcarpet/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/_colorbar.py b/plotly/graph_objs/heatmap/_colorbar.py index 0a51c987f9f..97a032e8fae 100644 --- a/plotly/graph_objs/heatmap/_colorbar.py +++ b/plotly/graph_objs/heatmap/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/_hoverlabel.py b/plotly/graph_objs/heatmap/_hoverlabel.py index 65cb7979631..8c8b0924275 100644 --- a/plotly/graph_objs/heatmap/_hoverlabel.py +++ b/plotly/graph_objs/heatmap/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/_stream.py b/plotly/graph_objs/heatmap/_stream.py index e6e66040c85..a85b49680d7 100644 --- a/plotly/graph_objs/heatmap/_stream.py +++ b/plotly/graph_objs/heatmap/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/colorbar/_tickfont.py b/plotly/graph_objs/heatmap/colorbar/_tickfont.py index dad87ac8f0e..981cd80ce95 100644 --- a/plotly/graph_objs/heatmap/colorbar/_tickfont.py +++ b/plotly/graph_objs/heatmap/colorbar/_tickfont.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py b/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py index 880d3d1f295..454c0e7afee 100644 --- a/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/colorbar/_titlefont.py b/plotly/graph_objs/heatmap/colorbar/_titlefont.py index 2a4a22cd458..3feacd51041 100644 --- a/plotly/graph_objs/heatmap/colorbar/_titlefont.py +++ b/plotly/graph_objs/heatmap/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmap/hoverlabel/_font.py b/plotly/graph_objs/heatmap/hoverlabel/_font.py index 6825c2ac42d..a1e46d23ec3 100644 --- a/plotly/graph_objs/heatmap/hoverlabel/_font.py +++ b/plotly/graph_objs/heatmap/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/_colorbar.py b/plotly/graph_objs/heatmapgl/_colorbar.py index 4ef442a55a2..042084a351a 100644 --- a/plotly/graph_objs/heatmapgl/_colorbar.py +++ b/plotly/graph_objs/heatmapgl/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/_hoverlabel.py b/plotly/graph_objs/heatmapgl/_hoverlabel.py index e2e9b056c09..2d078548f15 100644 --- a/plotly/graph_objs/heatmapgl/_hoverlabel.py +++ b/plotly/graph_objs/heatmapgl/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/_stream.py b/plotly/graph_objs/heatmapgl/_stream.py index 34d6d72ed8a..560599a6fea 100644 --- a/plotly/graph_objs/heatmapgl/_stream.py +++ b/plotly/graph_objs/heatmapgl/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py b/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py index f70d6890917..9a69735c729 100644 --- a/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py +++ b/plotly/graph_objs/heatmapgl/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py b/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py index be9754578b4..f6419cf6804 100644 --- a/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/heatmapgl/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/colorbar/_titlefont.py b/plotly/graph_objs/heatmapgl/colorbar/_titlefont.py index 982f0634b68..c1cb979e294 100644 --- a/plotly/graph_objs/heatmapgl/colorbar/_titlefont.py +++ b/plotly/graph_objs/heatmapgl/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/heatmapgl/hoverlabel/_font.py b/plotly/graph_objs/heatmapgl/hoverlabel/_font.py index 28022d8d628..36a506ecac3 100644 --- a/plotly/graph_objs/heatmapgl/hoverlabel/_font.py +++ b/plotly/graph_objs/heatmapgl/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_cumulative.py b/plotly/graph_objs/histogram/_cumulative.py index 2f5803c1e21..2e4c2c33e56 100644 --- a/plotly/graph_objs/histogram/_cumulative.py +++ b/plotly/graph_objs/histogram/_cumulative.py @@ -188,12 +188,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('currentbin', None) - self.currentbin = currentbin if currentbin is not None else v - v = arg.pop('direction', None) - self.direction = direction if direction is not None else v - v = arg.pop('enabled', None) - self.enabled = enabled if enabled is not None else v + _v = arg.pop('currentbin', None) + self.currentbin = currentbin if currentbin is not None else _v + _v = arg.pop('direction', None) + self.direction = direction if direction is not None else _v + _v = arg.pop('enabled', None) + self.enabled = enabled if enabled is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_error_x.py b/plotly/graph_objs/histogram/_error_x.py index 653176bda7f..d60756a4e5d 100644 --- a/plotly/graph_objs/histogram/_error_x.py +++ b/plotly/graph_objs/histogram/_error_x.py @@ -551,36 +551,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('copy_ystyle', None) - self.copy_ystyle = copy_ystyle if copy_ystyle is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('copy_ystyle', None) + self.copy_ystyle = copy_ystyle if copy_ystyle is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_error_y.py b/plotly/graph_objs/histogram/_error_y.py index a013973559c..cabd75ae8c3 100644 --- a/plotly/graph_objs/histogram/_error_y.py +++ b/plotly/graph_objs/histogram/_error_y.py @@ -527,34 +527,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_hoverlabel.py b/plotly/graph_objs/histogram/_hoverlabel.py index 065ddf309fe..49ca66bb6fc 100644 --- a/plotly/graph_objs/histogram/_hoverlabel.py +++ b/plotly/graph_objs/histogram/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_marker.py b/plotly/graph_objs/histogram/_marker.py index a066f3f2477..e088632690e 100644 --- a/plotly/graph_objs/histogram/_marker.py +++ b/plotly/graph_objs/histogram/_marker.py @@ -844,32 +844,32 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_selected.py b/plotly/graph_objs/histogram/_selected.py index 802d31b8a12..59af1dab7e1 100644 --- a/plotly/graph_objs/histogram/_selected.py +++ b/plotly/graph_objs/histogram/_selected.py @@ -126,10 +126,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_stream.py b/plotly/graph_objs/histogram/_stream.py index a53cbb67e5e..b2918739c0f 100644 --- a/plotly/graph_objs/histogram/_stream.py +++ b/plotly/graph_objs/histogram/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_unselected.py b/plotly/graph_objs/histogram/_unselected.py index cd4472d84d6..71601512627 100644 --- a/plotly/graph_objs/histogram/_unselected.py +++ b/plotly/graph_objs/histogram/_unselected.py @@ -129,10 +129,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_xbins.py b/plotly/graph_objs/histogram/_xbins.py index 2c82bd63ec5..202502d033d 100644 --- a/plotly/graph_objs/histogram/_xbins.py +++ b/plotly/graph_objs/histogram/_xbins.py @@ -130,12 +130,12 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/_ybins.py b/plotly/graph_objs/histogram/_ybins.py index c66136d4ca4..b561dae5211 100644 --- a/plotly/graph_objs/histogram/_ybins.py +++ b/plotly/graph_objs/histogram/_ybins.py @@ -130,12 +130,12 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/hoverlabel/_font.py b/plotly/graph_objs/histogram/hoverlabel/_font.py index 2c2d5150444..f57df6a7a96 100644 --- a/plotly/graph_objs/histogram/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/marker/_colorbar.py b/plotly/graph_objs/histogram/marker/_colorbar.py index ef0fe427806..fbe6a950144 100644 --- a/plotly/graph_objs/histogram/marker/_colorbar.py +++ b/plotly/graph_objs/histogram/marker/_colorbar.py @@ -1646,90 +1646,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/marker/_line.py b/plotly/graph_objs/histogram/marker/_line.py index 70f66b710d7..1fb6e2edcd0 100644 --- a/plotly/graph_objs/histogram/marker/_line.py +++ b/plotly/graph_objs/histogram/marker/_line.py @@ -489,26 +489,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py b/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py index 26ea204bef2..58268eb4088 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py index 7d133ad1e8d..b4ca4238cd6 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/marker/colorbar/_titlefont.py b/plotly/graph_objs/histogram/marker/colorbar/_titlefont.py index 1c1805ca5d8..8af5ae810f9 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/selected/_marker.py b/plotly/graph_objs/histogram/selected/_marker.py index fa12e7359d6..7cc16aad90a 100644 --- a/plotly/graph_objs/histogram/selected/_marker.py +++ b/plotly/graph_objs/histogram/selected/_marker.py @@ -148,10 +148,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/selected/_textfont.py b/plotly/graph_objs/histogram/selected/_textfont.py index 703980936b2..27dbe5c3eea 100644 --- a/plotly/graph_objs/histogram/selected/_textfont.py +++ b/plotly/graph_objs/histogram/selected/_textfont.py @@ -125,8 +125,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/unselected/_marker.py b/plotly/graph_objs/histogram/unselected/_marker.py index 74201330189..d2a04061349 100644 --- a/plotly/graph_objs/histogram/unselected/_marker.py +++ b/plotly/graph_objs/histogram/unselected/_marker.py @@ -154,10 +154,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram/unselected/_textfont.py b/plotly/graph_objs/histogram/unselected/_textfont.py index 82a779a18a0..4e086b6cc51 100644 --- a/plotly/graph_objs/histogram/unselected/_textfont.py +++ b/plotly/graph_objs/histogram/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/_colorbar.py b/plotly/graph_objs/histogram2d/_colorbar.py index 743470b1ede..ef615f3f666 100644 --- a/plotly/graph_objs/histogram2d/_colorbar.py +++ b/plotly/graph_objs/histogram2d/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/_hoverlabel.py b/plotly/graph_objs/histogram2d/_hoverlabel.py index 2522d71208a..4893cc4e623 100644 --- a/plotly/graph_objs/histogram2d/_hoverlabel.py +++ b/plotly/graph_objs/histogram2d/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/_marker.py b/plotly/graph_objs/histogram2d/_marker.py index f115e8f76ca..2b2ac9348a7 100644 --- a/plotly/graph_objs/histogram2d/_marker.py +++ b/plotly/graph_objs/histogram2d/_marker.py @@ -108,10 +108,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/_stream.py b/plotly/graph_objs/histogram2d/_stream.py index cd8e8cb6e63..0b16ee39523 100644 --- a/plotly/graph_objs/histogram2d/_stream.py +++ b/plotly/graph_objs/histogram2d/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/_xbins.py b/plotly/graph_objs/histogram2d/_xbins.py index 7a2b119294a..806a3e563d8 100644 --- a/plotly/graph_objs/histogram2d/_xbins.py +++ b/plotly/graph_objs/histogram2d/_xbins.py @@ -130,12 +130,12 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/_ybins.py b/plotly/graph_objs/histogram2d/_ybins.py index f97ce2291d3..6bf7c827644 100644 --- a/plotly/graph_objs/histogram2d/_ybins.py +++ b/plotly/graph_objs/histogram2d/_ybins.py @@ -130,12 +130,12 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/colorbar/_tickfont.py b/plotly/graph_objs/histogram2d/colorbar/_tickfont.py index 941aaba4f92..7aaaca76cff 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram2d/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py b/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py index 60b302be246..8575fa113ad 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/colorbar/_titlefont.py b/plotly/graph_objs/histogram2d/colorbar/_titlefont.py index f269eb9923b..838f1a47203 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_titlefont.py +++ b/plotly/graph_objs/histogram2d/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2d/hoverlabel/_font.py b/plotly/graph_objs/histogram2d/hoverlabel/_font.py index 2d4dd8b7ff8..f2f5601e118 100644 --- a/plotly/graph_objs/histogram2d/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram2d/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_colorbar.py b/plotly/graph_objs/histogram2dcontour/_colorbar.py index dccdc7c9929..4f205e8c1e3 100644 --- a/plotly/graph_objs/histogram2dcontour/_colorbar.py +++ b/plotly/graph_objs/histogram2dcontour/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_contours.py b/plotly/graph_objs/histogram2dcontour/_contours.py index 8393f3907c7..061bb58e2bc 100644 --- a/plotly/graph_objs/histogram2dcontour/_contours.py +++ b/plotly/graph_objs/histogram2dcontour/_contours.py @@ -474,28 +474,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('coloring', None) - self.coloring = coloring if coloring is not None else v - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('labelfont', None) - self.labelfont = labelfont if labelfont is not None else v - v = arg.pop('labelformat', None) - self.labelformat = labelformat if labelformat is not None else v - v = arg.pop('operation', None) - self.operation = operation if operation is not None else v - v = arg.pop('showlabels', None) - self.showlabels = showlabels if showlabels is not None else v - v = arg.pop('showlines', None) - self.showlines = showlines if showlines is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('coloring', None) + self.coloring = coloring if coloring is not None else _v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('labelfont', None) + self.labelfont = labelfont if labelfont is not None else _v + _v = arg.pop('labelformat', None) + self.labelformat = labelformat if labelformat is not None else _v + _v = arg.pop('operation', None) + self.operation = operation if operation is not None else _v + _v = arg.pop('showlabels', None) + self.showlabels = showlabels if showlabels is not None else _v + _v = arg.pop('showlines', None) + self.showlines = showlines if showlines is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_hoverlabel.py b/plotly/graph_objs/histogram2dcontour/_hoverlabel.py index 5d2a72c8050..0a17021cd61 100644 --- a/plotly/graph_objs/histogram2dcontour/_hoverlabel.py +++ b/plotly/graph_objs/histogram2dcontour/_hoverlabel.py @@ -387,20 +387,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_line.py b/plotly/graph_objs/histogram2dcontour/_line.py index 4813167abd2..52887f9a94a 100644 --- a/plotly/graph_objs/histogram2dcontour/_line.py +++ b/plotly/graph_objs/histogram2dcontour/_line.py @@ -224,14 +224,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_marker.py b/plotly/graph_objs/histogram2dcontour/_marker.py index 6305946e5ba..2888be8dc59 100644 --- a/plotly/graph_objs/histogram2dcontour/_marker.py +++ b/plotly/graph_objs/histogram2dcontour/_marker.py @@ -109,10 +109,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_stream.py b/plotly/graph_objs/histogram2dcontour/_stream.py index b5b8d40ef57..222985efad8 100644 --- a/plotly/graph_objs/histogram2dcontour/_stream.py +++ b/plotly/graph_objs/histogram2dcontour/_stream.py @@ -122,10 +122,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_xbins.py b/plotly/graph_objs/histogram2dcontour/_xbins.py index a9043323cf1..dcf48d2d277 100644 --- a/plotly/graph_objs/histogram2dcontour/_xbins.py +++ b/plotly/graph_objs/histogram2dcontour/_xbins.py @@ -131,12 +131,12 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/_ybins.py b/plotly/graph_objs/histogram2dcontour/_ybins.py index f8ad03ae69e..65c1b12acda 100644 --- a/plotly/graph_objs/histogram2dcontour/_ybins.py +++ b/plotly/graph_objs/histogram2dcontour/_ybins.py @@ -131,12 +131,12 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('end', None) - self.end = end if end is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('start', None) - self.start = start if start is not None else v + _v = arg.pop('end', None) + self.end = end if end is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('start', None) + self.start = start if start is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py b/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py index 4729ed8f30d..c7213f307cb 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py b/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py index 12130c8ca67..28be908d7f6 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_titlefont.py b/plotly/graph_objs/histogram2dcontour/colorbar/_titlefont.py index dd64d8725cc..2b53b803b1b 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_titlefont.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py b/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py index c41fd30089b..3df1fac4a41 100644 --- a/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py +++ b/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py @@ -210,12 +210,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py b/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py index 0abde63551b..d78088e04bb 100644 --- a/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py @@ -296,18 +296,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_angularaxis.py b/plotly/graph_objs/layout/_angularaxis.py index 57339708473..8461023d343 100644 --- a/plotly/graph_objs/layout/_angularaxis.py +++ b/plotly/graph_objs/layout/_angularaxis.py @@ -385,26 +385,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('endpadding', None) - self.endpadding = endpadding if endpadding is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickorientation', None) - self.tickorientation = tickorientation if tickorientation is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('endpadding', None) + self.endpadding = endpadding if endpadding is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickorientation', None) + self.tickorientation = tickorientation if tickorientation is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_annotation.py b/plotly/graph_objs/layout/_annotation.py index 7a2d1650c9a..f69463d42dd 100644 --- a/plotly/graph_objs/layout/_annotation.py +++ b/plotly/graph_objs/layout/_annotation.py @@ -1667,88 +1667,88 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('align', None) - self.align = align if align is not None else v - v = arg.pop('arrowcolor', None) - self.arrowcolor = arrowcolor if arrowcolor is not None else v - v = arg.pop('arrowhead', None) - self.arrowhead = arrowhead if arrowhead is not None else v - v = arg.pop('arrowside', None) - self.arrowside = arrowside if arrowside is not None else v - v = arg.pop('arrowsize', None) - self.arrowsize = arrowsize if arrowsize is not None else v - v = arg.pop('arrowwidth', None) - self.arrowwidth = arrowwidth if arrowwidth is not None else v - v = arg.pop('ax', None) - self.ax = ax if ax is not None else v - v = arg.pop('axref', None) - self.axref = axref if axref is not None else v - v = arg.pop('ay', None) - self.ay = ay if ay is not None else v - v = arg.pop('ayref', None) - self.ayref = ayref if ayref is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderpad', None) - self.borderpad = borderpad if borderpad is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('captureevents', None) - self.captureevents = captureevents if captureevents is not None else v - v = arg.pop('clicktoshow', None) - self.clicktoshow = clicktoshow if clicktoshow is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('height', None) - self.height = height if height is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('showarrow', None) - self.showarrow = showarrow if showarrow is not None else v - v = arg.pop('standoff', None) - self.standoff = standoff if standoff is not None else v - v = arg.pop('startarrowhead', None) - self.startarrowhead = startarrowhead if startarrowhead is not None else v - v = arg.pop('startarrowsize', None) - self.startarrowsize = startarrowsize if startarrowsize is not None else v - v = arg.pop('startstandoff', None) - self.startstandoff = startstandoff if startstandoff is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textangle', None) - self.textangle = textangle if textangle is not None else v - v = arg.pop('valign', None) - self.valign = valign if valign is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xclick', None) - self.xclick = xclick if xclick is not None else v - v = arg.pop('xref', None) - self.xref = xref if xref is not None else v - v = arg.pop('xshift', None) - self.xshift = xshift if xshift is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('yclick', None) - self.yclick = yclick if yclick is not None else v - v = arg.pop('yref', None) - self.yref = yref if yref is not None else v - v = arg.pop('yshift', None) - self.yshift = yshift if yshift is not None else v + _v = arg.pop('align', None) + self.align = align if align is not None else _v + _v = arg.pop('arrowcolor', None) + self.arrowcolor = arrowcolor if arrowcolor is not None else _v + _v = arg.pop('arrowhead', None) + self.arrowhead = arrowhead if arrowhead is not None else _v + _v = arg.pop('arrowside', None) + self.arrowside = arrowside if arrowside is not None else _v + _v = arg.pop('arrowsize', None) + self.arrowsize = arrowsize if arrowsize is not None else _v + _v = arg.pop('arrowwidth', None) + self.arrowwidth = arrowwidth if arrowwidth is not None else _v + _v = arg.pop('ax', None) + self.ax = ax if ax is not None else _v + _v = arg.pop('axref', None) + self.axref = axref if axref is not None else _v + _v = arg.pop('ay', None) + self.ay = ay if ay is not None else _v + _v = arg.pop('ayref', None) + self.ayref = ayref if ayref is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderpad', None) + self.borderpad = borderpad if borderpad is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('captureevents', None) + self.captureevents = captureevents if captureevents is not None else _v + _v = arg.pop('clicktoshow', None) + self.clicktoshow = clicktoshow if clicktoshow is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('height', None) + self.height = height if height is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('showarrow', None) + self.showarrow = showarrow if showarrow is not None else _v + _v = arg.pop('standoff', None) + self.standoff = standoff if standoff is not None else _v + _v = arg.pop('startarrowhead', None) + self.startarrowhead = startarrowhead if startarrowhead is not None else _v + _v = arg.pop('startarrowsize', None) + self.startarrowsize = startarrowsize if startarrowsize is not None else _v + _v = arg.pop('startstandoff', None) + self.startstandoff = startstandoff if startstandoff is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textangle', None) + self.textangle = textangle if textangle is not None else _v + _v = arg.pop('valign', None) + self.valign = valign if valign is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xclick', None) + self.xclick = xclick if xclick is not None else _v + _v = arg.pop('xref', None) + self.xref = xref if xref is not None else _v + _v = arg.pop('xshift', None) + self.xshift = xshift if xshift is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('yclick', None) + self.yclick = yclick if yclick is not None else _v + _v = arg.pop('yref', None) + self.yref = yref if yref is not None else _v + _v = arg.pop('yshift', None) + self.yshift = yshift if yshift is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_font.py b/plotly/graph_objs/layout/_font.py index 2553d4a8ed5..81d89fe6fa4 100644 --- a/plotly/graph_objs/layout/_font.py +++ b/plotly/graph_objs/layout/_font.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_geo.py b/plotly/graph_objs/layout/_geo.py index 46016b1e4ea..ed97f0eb0e9 100644 --- a/plotly/graph_objs/layout/_geo.py +++ b/plotly/graph_objs/layout/_geo.py @@ -1293,64 +1293,64 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('center', None) - self.center = center if center is not None else v - v = arg.pop('coastlinecolor', None) - self.coastlinecolor = coastlinecolor if coastlinecolor is not None else v - v = arg.pop('coastlinewidth', None) - self.coastlinewidth = coastlinewidth if coastlinewidth is not None else v - v = arg.pop('countrycolor', None) - self.countrycolor = countrycolor if countrycolor is not None else v - v = arg.pop('countrywidth', None) - self.countrywidth = countrywidth if countrywidth is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('framecolor', None) - self.framecolor = framecolor if framecolor is not None else v - v = arg.pop('framewidth', None) - self.framewidth = framewidth if framewidth is not None else v - v = arg.pop('lakecolor', None) - self.lakecolor = lakecolor if lakecolor is not None else v - v = arg.pop('landcolor', None) - self.landcolor = landcolor if landcolor is not None else v - v = arg.pop('lataxis', None) - self.lataxis = lataxis if lataxis is not None else v - v = arg.pop('lonaxis', None) - self.lonaxis = lonaxis if lonaxis is not None else v - v = arg.pop('oceancolor', None) - self.oceancolor = oceancolor if oceancolor is not None else v - v = arg.pop('projection', None) - self.projection = projection if projection is not None else v - v = arg.pop('resolution', None) - self.resolution = resolution if resolution is not None else v - v = arg.pop('rivercolor', None) - self.rivercolor = rivercolor if rivercolor is not None else v - v = arg.pop('riverwidth', None) - self.riverwidth = riverwidth if riverwidth is not None else v - v = arg.pop('scope', None) - self.scope = scope if scope is not None else v - v = arg.pop('showcoastlines', None) - self.showcoastlines = showcoastlines if showcoastlines is not None else v - v = arg.pop('showcountries', None) - self.showcountries = showcountries if showcountries is not None else v - v = arg.pop('showframe', None) - self.showframe = showframe if showframe is not None else v - v = arg.pop('showlakes', None) - self.showlakes = showlakes if showlakes is not None else v - v = arg.pop('showland', None) - self.showland = showland if showland is not None else v - v = arg.pop('showocean', None) - self.showocean = showocean if showocean is not None else v - v = arg.pop('showrivers', None) - self.showrivers = showrivers if showrivers is not None else v - v = arg.pop('showsubunits', None) - self.showsubunits = showsubunits if showsubunits is not None else v - v = arg.pop('subunitcolor', None) - self.subunitcolor = subunitcolor if subunitcolor is not None else v - v = arg.pop('subunitwidth', None) - self.subunitwidth = subunitwidth if subunitwidth is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('center', None) + self.center = center if center is not None else _v + _v = arg.pop('coastlinecolor', None) + self.coastlinecolor = coastlinecolor if coastlinecolor is not None else _v + _v = arg.pop('coastlinewidth', None) + self.coastlinewidth = coastlinewidth if coastlinewidth is not None else _v + _v = arg.pop('countrycolor', None) + self.countrycolor = countrycolor if countrycolor is not None else _v + _v = arg.pop('countrywidth', None) + self.countrywidth = countrywidth if countrywidth is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('framecolor', None) + self.framecolor = framecolor if framecolor is not None else _v + _v = arg.pop('framewidth', None) + self.framewidth = framewidth if framewidth is not None else _v + _v = arg.pop('lakecolor', None) + self.lakecolor = lakecolor if lakecolor is not None else _v + _v = arg.pop('landcolor', None) + self.landcolor = landcolor if landcolor is not None else _v + _v = arg.pop('lataxis', None) + self.lataxis = lataxis if lataxis is not None else _v + _v = arg.pop('lonaxis', None) + self.lonaxis = lonaxis if lonaxis is not None else _v + _v = arg.pop('oceancolor', None) + self.oceancolor = oceancolor if oceancolor is not None else _v + _v = arg.pop('projection', None) + self.projection = projection if projection is not None else _v + _v = arg.pop('resolution', None) + self.resolution = resolution if resolution is not None else _v + _v = arg.pop('rivercolor', None) + self.rivercolor = rivercolor if rivercolor is not None else _v + _v = arg.pop('riverwidth', None) + self.riverwidth = riverwidth if riverwidth is not None else _v + _v = arg.pop('scope', None) + self.scope = scope if scope is not None else _v + _v = arg.pop('showcoastlines', None) + self.showcoastlines = showcoastlines if showcoastlines is not None else _v + _v = arg.pop('showcountries', None) + self.showcountries = showcountries if showcountries is not None else _v + _v = arg.pop('showframe', None) + self.showframe = showframe if showframe is not None else _v + _v = arg.pop('showlakes', None) + self.showlakes = showlakes if showlakes is not None else _v + _v = arg.pop('showland', None) + self.showland = showland if showland is not None else _v + _v = arg.pop('showocean', None) + self.showocean = showocean if showocean is not None else _v + _v = arg.pop('showrivers', None) + self.showrivers = showrivers if showrivers is not None else _v + _v = arg.pop('showsubunits', None) + self.showsubunits = showsubunits if showsubunits is not None else _v + _v = arg.pop('subunitcolor', None) + self.subunitcolor = subunitcolor if subunitcolor is not None else _v + _v = arg.pop('subunitwidth', None) + self.subunitwidth = subunitwidth if subunitwidth is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_grid.py b/plotly/graph_objs/layout/_grid.py index b3d4be00926..dc679f3c90e 100644 --- a/plotly/graph_objs/layout/_grid.py +++ b/plotly/graph_objs/layout/_grid.py @@ -543,30 +543,30 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('columns', None) - self.columns = columns if columns is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('pattern', None) - self.pattern = pattern if pattern is not None else v - v = arg.pop('roworder', None) - self.roworder = roworder if roworder is not None else v - v = arg.pop('rows', None) - self.rows = rows if rows is not None else v - v = arg.pop('subplots', None) - self.subplots = subplots if subplots is not None else v - v = arg.pop('xaxes', None) - self.xaxes = xaxes if xaxes is not None else v - v = arg.pop('xgap', None) - self.xgap = xgap if xgap is not None else v - v = arg.pop('xside', None) - self.xside = xside if xside is not None else v - v = arg.pop('yaxes', None) - self.yaxes = yaxes if yaxes is not None else v - v = arg.pop('ygap', None) - self.ygap = ygap if ygap is not None else v - v = arg.pop('yside', None) - self.yside = yside if yside is not None else v + _v = arg.pop('columns', None) + self.columns = columns if columns is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('pattern', None) + self.pattern = pattern if pattern is not None else _v + _v = arg.pop('roworder', None) + self.roworder = roworder if roworder is not None else _v + _v = arg.pop('rows', None) + self.rows = rows if rows is not None else _v + _v = arg.pop('subplots', None) + self.subplots = subplots if subplots is not None else _v + _v = arg.pop('xaxes', None) + self.xaxes = xaxes if xaxes is not None else _v + _v = arg.pop('xgap', None) + self.xgap = xgap if xgap is not None else _v + _v = arg.pop('xside', None) + self.xside = xside if xside is not None else _v + _v = arg.pop('yaxes', None) + self.yaxes = yaxes if yaxes is not None else _v + _v = arg.pop('ygap', None) + self.ygap = ygap if ygap is not None else _v + _v = arg.pop('yside', None) + self.yside = yside if yside is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_hoverlabel.py b/plotly/graph_objs/layout/_hoverlabel.py index 9673015e6f3..371dda4f77a 100644 --- a/plotly/graph_objs/layout/_hoverlabel.py +++ b/plotly/graph_objs/layout/_hoverlabel.py @@ -290,14 +290,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_image.py b/plotly/graph_objs/layout/_image.py index 2c36d9c153f..0f5e42691d4 100644 --- a/plotly/graph_objs/layout/_image.py +++ b/plotly/graph_objs/layout/_image.py @@ -482,32 +482,32 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('sizex', None) - self.sizex = sizex if sizex is not None else v - v = arg.pop('sizey', None) - self.sizey = sizey if sizey is not None else v - v = arg.pop('sizing', None) - self.sizing = sizing if sizing is not None else v - v = arg.pop('source', None) - self.source = source if source is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xref', None) - self.xref = xref if xref is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('yref', None) - self.yref = yref if yref is not None else v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('sizex', None) + self.sizex = sizex if sizex is not None else _v + _v = arg.pop('sizey', None) + self.sizey = sizey if sizey is not None else _v + _v = arg.pop('sizing', None) + self.sizing = sizing if sizing is not None else _v + _v = arg.pop('source', None) + self.source = source if source is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xref', None) + self.xref = xref if xref is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('yref', None) + self.yref = yref if yref is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_legend.py b/plotly/graph_objs/layout/_legend.py index 93dad913870..7809ac34951 100644 --- a/plotly/graph_objs/layout/_legend.py +++ b/plotly/graph_objs/layout/_legend.py @@ -498,28 +498,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('tracegroupgap', None) - self.tracegroupgap = tracegroupgap if tracegroupgap is not None else v - v = arg.pop('traceorder', None) - self.traceorder = traceorder if traceorder is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('tracegroupgap', None) + self.tracegroupgap = tracegroupgap if tracegroupgap is not None else _v + _v = arg.pop('traceorder', None) + self.traceorder = traceorder if traceorder is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_mapbox.py b/plotly/graph_objs/layout/_mapbox.py index 1ad493b255c..a4aacacc8bf 100644 --- a/plotly/graph_objs/layout/_mapbox.py +++ b/plotly/graph_objs/layout/_mapbox.py @@ -368,22 +368,22 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('accesstoken', None) - self.accesstoken = accesstoken if accesstoken is not None else v - v = arg.pop('bearing', None) - self.bearing = bearing if bearing is not None else v - v = arg.pop('center', None) - self.center = center if center is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('layers', None) - self.layers = layers if layers is not None else v - v = arg.pop('pitch', None) - self.pitch = pitch if pitch is not None else v - v = arg.pop('style', None) - self.style = style if style is not None else v - v = arg.pop('zoom', None) - self.zoom = zoom if zoom is not None else v + _v = arg.pop('accesstoken', None) + self.accesstoken = accesstoken if accesstoken is not None else _v + _v = arg.pop('bearing', None) + self.bearing = bearing if bearing is not None else _v + _v = arg.pop('center', None) + self.center = center if center is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('layers', None) + self.layers = layers if layers is not None else _v + _v = arg.pop('pitch', None) + self.pitch = pitch if pitch is not None else _v + _v = arg.pop('style', None) + self.style = style if style is not None else _v + _v = arg.pop('zoom', None) + self.zoom = zoom if zoom is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_margin.py b/plotly/graph_objs/layout/_margin.py index a81ee034939..be5e6de5c34 100644 --- a/plotly/graph_objs/layout/_margin.py +++ b/plotly/graph_objs/layout/_margin.py @@ -219,18 +219,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autoexpand', None) - self.autoexpand = autoexpand if autoexpand is not None else v - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('l', None) - self.l = l if l is not None else v - v = arg.pop('pad', None) - self.pad = pad if pad is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('t', None) - self.t = t if t is not None else v + _v = arg.pop('autoexpand', None) + self.autoexpand = autoexpand if autoexpand is not None else _v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('l', None) + self.l = l if l is not None else _v + _v = arg.pop('pad', None) + self.pad = pad if pad is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('t', None) + self.t = t if t is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_polar.py b/plotly/graph_objs/layout/_polar.py index fd399723dce..c04a79ce573 100644 --- a/plotly/graph_objs/layout/_polar.py +++ b/plotly/graph_objs/layout/_polar.py @@ -762,16 +762,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('angularaxis', None) - self.angularaxis = angularaxis if angularaxis is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('radialaxis', None) - self.radialaxis = radialaxis if radialaxis is not None else v - v = arg.pop('sector', None) - self.sector = sector if sector is not None else v + _v = arg.pop('angularaxis', None) + self.angularaxis = angularaxis if angularaxis is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('radialaxis', None) + self.radialaxis = radialaxis if radialaxis is not None else _v + _v = arg.pop('sector', None) + self.sector = sector if sector is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_radialaxis.py b/plotly/graph_objs/layout/_radialaxis.py index c6184fa429a..3866e7752b2 100644 --- a/plotly/graph_objs/layout/_radialaxis.py +++ b/plotly/graph_objs/layout/_radialaxis.py @@ -414,28 +414,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('endpadding', None) - self.endpadding = endpadding if endpadding is not None else v - v = arg.pop('orientation', None) - self.orientation = orientation if orientation is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickorientation', None) - self.tickorientation = tickorientation if tickorientation is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('endpadding', None) + self.endpadding = endpadding if endpadding is not None else _v + _v = arg.pop('orientation', None) + self.orientation = orientation if orientation is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickorientation', None) + self.tickorientation = tickorientation if tickorientation is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_scene.py b/plotly/graph_objs/layout/_scene.py index f8b736935cc..6de1d7f879c 100644 --- a/plotly/graph_objs/layout/_scene.py +++ b/plotly/graph_objs/layout/_scene.py @@ -1459,28 +1459,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('annotations', None) - self.annotations = annotations if annotations is not None else v - v = arg.pop('aspectmode', None) - self.aspectmode = aspectmode if aspectmode is not None else v - v = arg.pop('aspectratio', None) - self.aspectratio = aspectratio if aspectratio is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('camera', None) - self.camera = camera if camera is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('dragmode', None) - self.dragmode = dragmode if dragmode is not None else v - v = arg.pop('hovermode', None) - self.hovermode = hovermode if hovermode is not None else v - v = arg.pop('xaxis', None) - self.xaxis = xaxis if xaxis is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v - v = arg.pop('zaxis', None) - self.zaxis = zaxis if zaxis is not None else v + _v = arg.pop('annotations', None) + self.annotations = annotations if annotations is not None else _v + _v = arg.pop('aspectmode', None) + self.aspectmode = aspectmode if aspectmode is not None else _v + _v = arg.pop('aspectratio', None) + self.aspectratio = aspectratio if aspectratio is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('camera', None) + self.camera = camera if camera is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('dragmode', None) + self.dragmode = dragmode if dragmode is not None else _v + _v = arg.pop('hovermode', None) + self.hovermode = hovermode if hovermode is not None else _v + _v = arg.pop('xaxis', None) + self.xaxis = xaxis if xaxis is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v + _v = arg.pop('zaxis', None) + self.zaxis = zaxis if zaxis is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_shape.py b/plotly/graph_objs/layout/_shape.py index b4dcfa2fbfa..b854a3c3922 100644 --- a/plotly/graph_objs/layout/_shape.py +++ b/plotly/graph_objs/layout/_shape.py @@ -778,40 +778,40 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('path', None) - self.path = path if path is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x0', None) - self.x0 = x0 if x0 is not None else v - v = arg.pop('x1', None) - self.x1 = x1 if x1 is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xref', None) - self.xref = xref if xref is not None else v - v = arg.pop('xsizemode', None) - self.xsizemode = xsizemode if xsizemode is not None else v - v = arg.pop('y0', None) - self.y0 = y0 if y0 is not None else v - v = arg.pop('y1', None) - self.y1 = y1 if y1 is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('yref', None) - self.yref = yref if yref is not None else v - v = arg.pop('ysizemode', None) - self.ysizemode = ysizemode if ysizemode is not None else v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('path', None) + self.path = path if path is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x0', None) + self.x0 = x0 if x0 is not None else _v + _v = arg.pop('x1', None) + self.x1 = x1 if x1 is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xref', None) + self.xref = xref if xref is not None else _v + _v = arg.pop('xsizemode', None) + self.xsizemode = xsizemode if xsizemode is not None else _v + _v = arg.pop('y0', None) + self.y0 = y0 if y0 is not None else _v + _v = arg.pop('y1', None) + self.y1 = y1 if y1 is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('yref', None) + self.yref = yref if yref is not None else _v + _v = arg.pop('ysizemode', None) + self.ysizemode = ysizemode if ysizemode is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_slider.py b/plotly/graph_objs/layout/_slider.py index 077f0a26df2..88e8c42f754 100644 --- a/plotly/graph_objs/layout/_slider.py +++ b/plotly/graph_objs/layout/_slider.py @@ -913,48 +913,48 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('active', None) - self.active = active if active is not None else v - v = arg.pop('activebgcolor', None) - self.activebgcolor = activebgcolor if activebgcolor is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('currentvalue', None) - self.currentvalue = currentvalue if currentvalue is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('minorticklen', None) - self.minorticklen = minorticklen if minorticklen is not None else v - v = arg.pop('pad', None) - self.pad = pad if pad is not None else v - v = arg.pop('steps', None) - self.steps = steps if steps is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('transition', None) - self.transition = transition if transition is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v + _v = arg.pop('active', None) + self.active = active if active is not None else _v + _v = arg.pop('activebgcolor', None) + self.activebgcolor = activebgcolor if activebgcolor is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('currentvalue', None) + self.currentvalue = currentvalue if currentvalue is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('minorticklen', None) + self.minorticklen = minorticklen if minorticklen is not None else _v + _v = arg.pop('pad', None) + self.pad = pad if pad is not None else _v + _v = arg.pop('steps', None) + self.steps = steps if steps is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('transition', None) + self.transition = transition if transition is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_ternary.py b/plotly/graph_objs/layout/_ternary.py index 0635cb03c8f..c2a768f5c5f 100644 --- a/plotly/graph_objs/layout/_ternary.py +++ b/plotly/graph_objs/layout/_ternary.py @@ -861,18 +861,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('aaxis', None) - self.aaxis = aaxis if aaxis is not None else v - v = arg.pop('baxis', None) - self.baxis = baxis if baxis is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('caxis', None) - self.caxis = caxis if caxis is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('sum', None) - self.sum = sum if sum is not None else v + _v = arg.pop('aaxis', None) + self.aaxis = aaxis if aaxis is not None else _v + _v = arg.pop('baxis', None) + self.baxis = baxis if baxis is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('caxis', None) + self.caxis = caxis if caxis is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('sum', None) + self.sum = sum if sum is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_titlefont.py b/plotly/graph_objs/layout/_titlefont.py index 05d2f9a543a..8f6d886a6c7 100644 --- a/plotly/graph_objs/layout/_titlefont.py +++ b/plotly/graph_objs/layout/_titlefont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_updatemenu.py b/plotly/graph_objs/layout/_updatemenu.py index 3982ae73027..7524b4452d2 100644 --- a/plotly/graph_objs/layout/_updatemenu.py +++ b/plotly/graph_objs/layout/_updatemenu.py @@ -649,36 +649,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('active', None) - self.active = active if active is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('buttons', None) - self.buttons = buttons if buttons is not None else v - v = arg.pop('direction', None) - self.direction = direction if direction is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('pad', None) - self.pad = pad if pad is not None else v - v = arg.pop('showactive', None) - self.showactive = showactive if showactive is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v + _v = arg.pop('active', None) + self.active = active if active is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('buttons', None) + self.buttons = buttons if buttons is not None else _v + _v = arg.pop('direction', None) + self.direction = direction if direction is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('pad', None) + self.pad = pad if pad is not None else _v + _v = arg.pop('showactive', None) + self.showactive = showactive if showactive is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_xaxis.py b/plotly/graph_objs/layout/_xaxis.py index ed203305bdb..069b8e39bca 100644 --- a/plotly/graph_objs/layout/_xaxis.py +++ b/plotly/graph_objs/layout/_xaxis.py @@ -2773,140 +2773,140 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('anchor', None) - self.anchor = anchor if anchor is not None else v - v = arg.pop('automargin', None) - self.automargin = automargin if automargin is not None else v - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('constrain', None) - self.constrain = constrain if constrain is not None else v - v = arg.pop('constraintoward', None) - self.constraintoward = constraintoward if constraintoward is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('fixedrange', None) - self.fixedrange = fixedrange if fixedrange is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('mirror', None) - self.mirror = mirror if mirror is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('overlaying', None) - self.overlaying = overlaying if overlaying is not None else v - v = arg.pop('position', None) - self.position = position if position is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('rangeselector', None) - self.rangeselector = rangeselector if rangeselector is not None else v - v = arg.pop('rangeslider', None) - self.rangeslider = rangeslider if rangeslider is not None else v - v = arg.pop('scaleanchor', None) - self.scaleanchor = scaleanchor if scaleanchor is not None else v - v = arg.pop('scaleratio', None) - self.scaleratio = scaleratio if scaleratio is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showspikes', None) - self.showspikes = showspikes if showspikes is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('side', None) - self.side = side if side is not None else v - v = arg.pop('spikecolor', None) - self.spikecolor = spikecolor if spikecolor is not None else v - v = arg.pop('spikedash', None) - self.spikedash = spikedash if spikedash is not None else v - v = arg.pop('spikemode', None) - self.spikemode = spikemode if spikemode is not None else v - v = arg.pop('spikesnap', None) - self.spikesnap = spikesnap if spikesnap is not None else v - v = arg.pop('spikethickness', None) - self.spikethickness = spikethickness if spikethickness is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('zeroline', None) - self.zeroline = zeroline if zeroline is not None else v - v = arg.pop('zerolinecolor', None) - self.zerolinecolor = zerolinecolor if zerolinecolor is not None else v - v = arg.pop('zerolinewidth', None) - self.zerolinewidth = zerolinewidth if zerolinewidth is not None else v + _v = arg.pop('anchor', None) + self.anchor = anchor if anchor is not None else _v + _v = arg.pop('automargin', None) + self.automargin = automargin if automargin is not None else _v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('constrain', None) + self.constrain = constrain if constrain is not None else _v + _v = arg.pop('constraintoward', None) + self.constraintoward = constraintoward if constraintoward is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('fixedrange', None) + self.fixedrange = fixedrange if fixedrange is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('mirror', None) + self.mirror = mirror if mirror is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('overlaying', None) + self.overlaying = overlaying if overlaying is not None else _v + _v = arg.pop('position', None) + self.position = position if position is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('rangeselector', None) + self.rangeselector = rangeselector if rangeselector is not None else _v + _v = arg.pop('rangeslider', None) + self.rangeslider = rangeslider if rangeslider is not None else _v + _v = arg.pop('scaleanchor', None) + self.scaleanchor = scaleanchor if scaleanchor is not None else _v + _v = arg.pop('scaleratio', None) + self.scaleratio = scaleratio if scaleratio is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showspikes', None) + self.showspikes = showspikes if showspikes is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('side', None) + self.side = side if side is not None else _v + _v = arg.pop('spikecolor', None) + self.spikecolor = spikecolor if spikecolor is not None else _v + _v = arg.pop('spikedash', None) + self.spikedash = spikedash if spikedash is not None else _v + _v = arg.pop('spikemode', None) + self.spikemode = spikemode if spikemode is not None else _v + _v = arg.pop('spikesnap', None) + self.spikesnap = spikesnap if spikesnap is not None else _v + _v = arg.pop('spikethickness', None) + self.spikethickness = spikethickness if spikethickness is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('zeroline', None) + self.zeroline = zeroline if zeroline is not None else _v + _v = arg.pop('zerolinecolor', None) + self.zerolinecolor = zerolinecolor if zerolinecolor is not None else _v + _v = arg.pop('zerolinewidth', None) + self.zerolinewidth = zerolinewidth if zerolinewidth is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/_yaxis.py b/plotly/graph_objs/layout/_yaxis.py index 86ac1cf1c3b..1dc9dec3d60 100644 --- a/plotly/graph_objs/layout/_yaxis.py +++ b/plotly/graph_objs/layout/_yaxis.py @@ -2636,136 +2636,136 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('anchor', None) - self.anchor = anchor if anchor is not None else v - v = arg.pop('automargin', None) - self.automargin = automargin if automargin is not None else v - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('constrain', None) - self.constrain = constrain if constrain is not None else v - v = arg.pop('constraintoward', None) - self.constraintoward = constraintoward if constraintoward is not None else v - v = arg.pop('domain', None) - self.domain = domain if domain is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('fixedrange', None) - self.fixedrange = fixedrange if fixedrange is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('mirror', None) - self.mirror = mirror if mirror is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('overlaying', None) - self.overlaying = overlaying if overlaying is not None else v - v = arg.pop('position', None) - self.position = position if position is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('scaleanchor', None) - self.scaleanchor = scaleanchor if scaleanchor is not None else v - v = arg.pop('scaleratio', None) - self.scaleratio = scaleratio if scaleratio is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showspikes', None) - self.showspikes = showspikes if showspikes is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('side', None) - self.side = side if side is not None else v - v = arg.pop('spikecolor', None) - self.spikecolor = spikecolor if spikecolor is not None else v - v = arg.pop('spikedash', None) - self.spikedash = spikedash if spikedash is not None else v - v = arg.pop('spikemode', None) - self.spikemode = spikemode if spikemode is not None else v - v = arg.pop('spikesnap', None) - self.spikesnap = spikesnap if spikesnap is not None else v - v = arg.pop('spikethickness', None) - self.spikethickness = spikethickness if spikethickness is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('zeroline', None) - self.zeroline = zeroline if zeroline is not None else v - v = arg.pop('zerolinecolor', None) - self.zerolinecolor = zerolinecolor if zerolinecolor is not None else v - v = arg.pop('zerolinewidth', None) - self.zerolinewidth = zerolinewidth if zerolinewidth is not None else v + _v = arg.pop('anchor', None) + self.anchor = anchor if anchor is not None else _v + _v = arg.pop('automargin', None) + self.automargin = automargin if automargin is not None else _v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('constrain', None) + self.constrain = constrain if constrain is not None else _v + _v = arg.pop('constraintoward', None) + self.constraintoward = constraintoward if constraintoward is not None else _v + _v = arg.pop('domain', None) + self.domain = domain if domain is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('fixedrange', None) + self.fixedrange = fixedrange if fixedrange is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('mirror', None) + self.mirror = mirror if mirror is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('overlaying', None) + self.overlaying = overlaying if overlaying is not None else _v + _v = arg.pop('position', None) + self.position = position if position is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('scaleanchor', None) + self.scaleanchor = scaleanchor if scaleanchor is not None else _v + _v = arg.pop('scaleratio', None) + self.scaleratio = scaleratio if scaleratio is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showspikes', None) + self.showspikes = showspikes if showspikes is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('side', None) + self.side = side if side is not None else _v + _v = arg.pop('spikecolor', None) + self.spikecolor = spikecolor if spikecolor is not None else _v + _v = arg.pop('spikedash', None) + self.spikedash = spikedash if spikedash is not None else _v + _v = arg.pop('spikemode', None) + self.spikemode = spikemode if spikemode is not None else _v + _v = arg.pop('spikesnap', None) + self.spikesnap = spikesnap if spikesnap is not None else _v + _v = arg.pop('spikethickness', None) + self.spikethickness = spikethickness if spikethickness is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('zeroline', None) + self.zeroline = zeroline if zeroline is not None else _v + _v = arg.pop('zerolinecolor', None) + self.zerolinecolor = zerolinecolor if zerolinecolor is not None else _v + _v = arg.pop('zerolinewidth', None) + self.zerolinewidth = zerolinewidth if zerolinewidth is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/annotation/_font.py b/plotly/graph_objs/layout/annotation/_font.py index b9a23af53b3..9909f4226b7 100644 --- a/plotly/graph_objs/layout/annotation/_font.py +++ b/plotly/graph_objs/layout/annotation/_font.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/annotation/_hoverlabel.py b/plotly/graph_objs/layout/annotation/_hoverlabel.py index 177235ec8d8..efc9396747e 100644 --- a/plotly/graph_objs/layout/annotation/_hoverlabel.py +++ b/plotly/graph_objs/layout/annotation/_hoverlabel.py @@ -258,12 +258,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/annotation/hoverlabel/_font.py b/plotly/graph_objs/layout/annotation/hoverlabel/_font.py index e217937834d..e18ce917cad 100644 --- a/plotly/graph_objs/layout/annotation/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/annotation/hoverlabel/_font.py @@ -209,12 +209,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/geo/_center.py b/plotly/graph_objs/layout/geo/_center.py index 9ca950e0111..2be19b223cc 100644 --- a/plotly/graph_objs/layout/geo/_center.py +++ b/plotly/graph_objs/layout/geo/_center.py @@ -123,10 +123,10 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('lat', None) - self.lat = lat if lat is not None else v - v = arg.pop('lon', None) - self.lon = lon if lon is not None else v + _v = arg.pop('lat', None) + self.lat = lat if lat is not None else _v + _v = arg.pop('lon', None) + self.lon = lon if lon is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/geo/_domain.py b/plotly/graph_objs/layout/geo/_domain.py index 4f47f31d6ca..62891ffafb6 100644 --- a/plotly/graph_objs/layout/geo/_domain.py +++ b/plotly/graph_objs/layout/geo/_domain.py @@ -218,14 +218,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/geo/_lataxis.py b/plotly/graph_objs/layout/geo/_lataxis.py index 61c2210466a..24169d7ea32 100644 --- a/plotly/graph_objs/layout/geo/_lataxis.py +++ b/plotly/graph_objs/layout/geo/_lataxis.py @@ -265,18 +265,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/geo/_lonaxis.py b/plotly/graph_objs/layout/geo/_lonaxis.py index 5bd570d1876..fb4442ba3fe 100644 --- a/plotly/graph_objs/layout/geo/_lonaxis.py +++ b/plotly/graph_objs/layout/geo/_lonaxis.py @@ -265,18 +265,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/geo/_projection.py b/plotly/graph_objs/layout/geo/_projection.py index e59ed884360..b642db35259 100644 --- a/plotly/graph_objs/layout/geo/_projection.py +++ b/plotly/graph_objs/layout/geo/_projection.py @@ -202,14 +202,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('parallels', None) - self.parallels = parallels if parallels is not None else v - v = arg.pop('rotation', None) - self.rotation = rotation if rotation is not None else v - v = arg.pop('scale', None) - self.scale = scale if scale is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v + _v = arg.pop('parallels', None) + self.parallels = parallels if parallels is not None else _v + _v = arg.pop('rotation', None) + self.rotation = rotation if rotation is not None else _v + _v = arg.pop('scale', None) + self.scale = scale if scale is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/geo/projection/_rotation.py b/plotly/graph_objs/layout/geo/projection/_rotation.py index 3c4d9e72749..e81957b6b2a 100644 --- a/plotly/graph_objs/layout/geo/projection/_rotation.py +++ b/plotly/graph_objs/layout/geo/projection/_rotation.py @@ -142,12 +142,12 @@ def __init__(self, arg=None, lat=None, lon=None, roll=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('lat', None) - self.lat = lat if lat is not None else v - v = arg.pop('lon', None) - self.lon = lon if lon is not None else v - v = arg.pop('roll', None) - self.roll = roll if roll is not None else v + _v = arg.pop('lat', None) + self.lat = lat if lat is not None else _v + _v = arg.pop('lon', None) + self.lon = lon if lon is not None else _v + _v = arg.pop('roll', None) + self.roll = roll if roll is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/grid/_domain.py b/plotly/graph_objs/layout/grid/_domain.py index e2c0b8a85dc..eded3596fcf 100644 --- a/plotly/graph_objs/layout/grid/_domain.py +++ b/plotly/graph_objs/layout/grid/_domain.py @@ -130,10 +130,10 @@ def __init__(self, arg=None, x=None, y=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/hoverlabel/_font.py b/plotly/graph_objs/layout/hoverlabel/_font.py index 7f81308815c..9bb3ba2669e 100644 --- a/plotly/graph_objs/layout/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/hoverlabel/_font.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/legend/_font.py b/plotly/graph_objs/layout/legend/_font.py index c54d6d1edd5..35dd09d15a6 100644 --- a/plotly/graph_objs/layout/legend/_font.py +++ b/plotly/graph_objs/layout/legend/_font.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/_center.py b/plotly/graph_objs/layout/mapbox/_center.py index 307ab407479..b1e086f945f 100644 --- a/plotly/graph_objs/layout/mapbox/_center.py +++ b/plotly/graph_objs/layout/mapbox/_center.py @@ -112,10 +112,10 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('lat', None) - self.lat = lat if lat is not None else v - v = arg.pop('lon', None) - self.lon = lon if lon is not None else v + _v = arg.pop('lat', None) + self.lat = lat if lat is not None else _v + _v = arg.pop('lon', None) + self.lon = lon if lon is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/_domain.py b/plotly/graph_objs/layout/mapbox/_domain.py index a6f154da790..e30f06952cf 100644 --- a/plotly/graph_objs/layout/mapbox/_domain.py +++ b/plotly/graph_objs/layout/mapbox/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/_layer.py b/plotly/graph_objs/layout/mapbox/_layer.py index d21daaa6c7c..6b720ec8449 100644 --- a/plotly/graph_objs/layout/mapbox/_layer.py +++ b/plotly/graph_objs/layout/mapbox/_layer.py @@ -479,28 +479,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('below', None) - self.below = below if below is not None else v - v = arg.pop('circle', None) - self.circle = circle if circle is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('source', None) - self.source = source if source is not None else v - v = arg.pop('sourcelayer', None) - self.sourcelayer = sourcelayer if sourcelayer is not None else v - v = arg.pop('sourcetype', None) - self.sourcetype = sourcetype if sourcetype is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v + _v = arg.pop('below', None) + self.below = below if below is not None else _v + _v = arg.pop('circle', None) + self.circle = circle if circle is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('source', None) + self.source = source if source is not None else _v + _v = arg.pop('sourcelayer', None) + self.sourcelayer = sourcelayer if sourcelayer is not None else _v + _v = arg.pop('sourcetype', None) + self.sourcetype = sourcetype if sourcetype is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/layer/_circle.py b/plotly/graph_objs/layout/mapbox/layer/_circle.py index 697fa255323..f23a4744ad0 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_circle.py +++ b/plotly/graph_objs/layout/mapbox/layer/_circle.py @@ -87,8 +87,8 @@ def __init__(self, arg=None, radius=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('radius', None) - self.radius = radius if radius is not None else v + _v = arg.pop('radius', None) + self.radius = radius if radius is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/layer/_fill.py b/plotly/graph_objs/layout/mapbox/layer/_fill.py index 8608f1a884f..2f2ce77511d 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_fill.py +++ b/plotly/graph_objs/layout/mapbox/layer/_fill.py @@ -126,8 +126,8 @@ def __init__(self, arg=None, outlinecolor=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/layer/_line.py b/plotly/graph_objs/layout/mapbox/layer/_line.py index b02da4d88b3..085feb84916 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_line.py +++ b/plotly/graph_objs/layout/mapbox/layer/_line.py @@ -87,8 +87,8 @@ def __init__(self, arg=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/layer/_symbol.py b/plotly/graph_objs/layout/mapbox/layer/_symbol.py index e69b369ed00..8f74f29cf01 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_symbol.py +++ b/plotly/graph_objs/layout/mapbox/layer/_symbol.py @@ -235,16 +235,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('icon', None) - self.icon = icon if icon is not None else v - v = arg.pop('iconsize', None) - self.iconsize = iconsize if iconsize is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v - v = arg.pop('textposition', None) - self.textposition = textposition if textposition is not None else v + _v = arg.pop('icon', None) + self.icon = icon if icon is not None else _v + _v = arg.pop('iconsize', None) + self.iconsize = iconsize if iconsize is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v + _v = arg.pop('textposition', None) + self.textposition = textposition if textposition is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py b/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py index 0e4735e43bb..a88c9f8791e 100644 --- a/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py +++ b/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py @@ -209,12 +209,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/_angularaxis.py b/plotly/graph_objs/layout/polar/_angularaxis.py index 3d69c663ea5..7e26d8eec27 100644 --- a/plotly/graph_objs/layout/polar/_angularaxis.py +++ b/plotly/graph_objs/layout/polar/_angularaxis.py @@ -1715,90 +1715,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('direction', None) - self.direction = direction if direction is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('period', None) - self.period = period if period is not None else v - v = arg.pop('rotation', None) - self.rotation = rotation if rotation is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thetaunit', None) - self.thetaunit = thetaunit if thetaunit is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('direction', None) + self.direction = direction if direction is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('period', None) + self.period = period if period is not None else _v + _v = arg.pop('rotation', None) + self.rotation = rotation if rotation is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thetaunit', None) + self.thetaunit = thetaunit if thetaunit is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/_domain.py b/plotly/graph_objs/layout/polar/_domain.py index bed81a2de13..1938d8e00ad 100644 --- a/plotly/graph_objs/layout/polar/_domain.py +++ b/plotly/graph_objs/layout/polar/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/_radialaxis.py b/plotly/graph_objs/layout/polar/_radialaxis.py index df3153485e0..b7e748d5eb7 100644 --- a/plotly/graph_objs/layout/polar/_radialaxis.py +++ b/plotly/graph_objs/layout/polar/_radialaxis.py @@ -1893,98 +1893,98 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('angle', None) - self.angle = angle if angle is not None else v - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('side', None) - self.side = side if side is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('angle', None) + self.angle = angle if angle is not None else _v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('side', None) + self.side = side if side is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py b/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py index be3b03ff8f9..b0df1477075 100644 --- a/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py +++ b/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py b/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py index ea329e8cc8d..cfa4fab5e93 100644 --- a/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py b/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py index e823e219382..058adcf56ad 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py b/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py index aea49eeeb7a..45a3b91a7dd 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/polar/radialaxis/_titlefont.py b/plotly/graph_objs/layout/polar/radialaxis/_titlefont.py index eeb8fd5eab3..3367d84b2e3 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_titlefont.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_annotation.py b/plotly/graph_objs/layout/scene/_annotation.py index 28095f42366..215be38145e 100644 --- a/plotly/graph_objs/layout/scene/_annotation.py +++ b/plotly/graph_objs/layout/scene/_annotation.py @@ -1333,76 +1333,76 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('align', None) - self.align = align if align is not None else v - v = arg.pop('arrowcolor', None) - self.arrowcolor = arrowcolor if arrowcolor is not None else v - v = arg.pop('arrowhead', None) - self.arrowhead = arrowhead if arrowhead is not None else v - v = arg.pop('arrowside', None) - self.arrowside = arrowside if arrowside is not None else v - v = arg.pop('arrowsize', None) - self.arrowsize = arrowsize if arrowsize is not None else v - v = arg.pop('arrowwidth', None) - self.arrowwidth = arrowwidth if arrowwidth is not None else v - v = arg.pop('ax', None) - self.ax = ax if ax is not None else v - v = arg.pop('ay', None) - self.ay = ay if ay is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderpad', None) - self.borderpad = borderpad if borderpad is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('captureevents', None) - self.captureevents = captureevents if captureevents is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('height', None) - self.height = height if height is not None else v - v = arg.pop('hoverlabel', None) - self.hoverlabel = hoverlabel if hoverlabel is not None else v - v = arg.pop('hovertext', None) - self.hovertext = hovertext if hovertext is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('showarrow', None) - self.showarrow = showarrow if showarrow is not None else v - v = arg.pop('standoff', None) - self.standoff = standoff if standoff is not None else v - v = arg.pop('startarrowhead', None) - self.startarrowhead = startarrowhead if startarrowhead is not None else v - v = arg.pop('startarrowsize', None) - self.startarrowsize = startarrowsize if startarrowsize is not None else v - v = arg.pop('startstandoff', None) - self.startstandoff = startstandoff if startstandoff is not None else v - v = arg.pop('text', None) - self.text = text if text is not None else v - v = arg.pop('textangle', None) - self.textangle = textangle if textangle is not None else v - v = arg.pop('valign', None) - self.valign = valign if valign is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xshift', None) - self.xshift = xshift if xshift is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('yshift', None) - self.yshift = yshift if yshift is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('align', None) + self.align = align if align is not None else _v + _v = arg.pop('arrowcolor', None) + self.arrowcolor = arrowcolor if arrowcolor is not None else _v + _v = arg.pop('arrowhead', None) + self.arrowhead = arrowhead if arrowhead is not None else _v + _v = arg.pop('arrowside', None) + self.arrowside = arrowside if arrowside is not None else _v + _v = arg.pop('arrowsize', None) + self.arrowsize = arrowsize if arrowsize is not None else _v + _v = arg.pop('arrowwidth', None) + self.arrowwidth = arrowwidth if arrowwidth is not None else _v + _v = arg.pop('ax', None) + self.ax = ax if ax is not None else _v + _v = arg.pop('ay', None) + self.ay = ay if ay is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderpad', None) + self.borderpad = borderpad if borderpad is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('captureevents', None) + self.captureevents = captureevents if captureevents is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('height', None) + self.height = height if height is not None else _v + _v = arg.pop('hoverlabel', None) + self.hoverlabel = hoverlabel if hoverlabel is not None else _v + _v = arg.pop('hovertext', None) + self.hovertext = hovertext if hovertext is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('showarrow', None) + self.showarrow = showarrow if showarrow is not None else _v + _v = arg.pop('standoff', None) + self.standoff = standoff if standoff is not None else _v + _v = arg.pop('startarrowhead', None) + self.startarrowhead = startarrowhead if startarrowhead is not None else _v + _v = arg.pop('startarrowsize', None) + self.startarrowsize = startarrowsize if startarrowsize is not None else _v + _v = arg.pop('startstandoff', None) + self.startstandoff = startstandoff if startstandoff is not None else _v + _v = arg.pop('text', None) + self.text = text if text is not None else _v + _v = arg.pop('textangle', None) + self.textangle = textangle if textangle is not None else _v + _v = arg.pop('valign', None) + self.valign = valign if valign is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xshift', None) + self.xshift = xshift if xshift is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('yshift', None) + self.yshift = yshift if yshift is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_aspectratio.py b/plotly/graph_objs/layout/scene/_aspectratio.py index 1c737cd9a01..740bbb35a45 100644 --- a/plotly/graph_objs/layout/scene/_aspectratio.py +++ b/plotly/graph_objs/layout/scene/_aspectratio.py @@ -132,12 +132,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_camera.py b/plotly/graph_objs/layout/scene/_camera.py index b3db7a25220..fcf2ea93ff2 100644 --- a/plotly/graph_objs/layout/scene/_camera.py +++ b/plotly/graph_objs/layout/scene/_camera.py @@ -189,12 +189,12 @@ def __init__(self, arg=None, center=None, eye=None, up=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('center', None) - self.center = center if center is not None else v - v = arg.pop('eye', None) - self.eye = eye if eye is not None else v - v = arg.pop('up', None) - self.up = up if up is not None else v + _v = arg.pop('center', None) + self.center = center if center is not None else _v + _v = arg.pop('eye', None) + self.eye = eye if eye is not None else _v + _v = arg.pop('up', None) + self.up = up if up is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_domain.py b/plotly/graph_objs/layout/scene/_domain.py index 80cc83b50c5..f72c3deb6a6 100644 --- a/plotly/graph_objs/layout/scene/_domain.py +++ b/plotly/graph_objs/layout/scene/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_xaxis.py b/plotly/graph_objs/layout/scene/_xaxis.py index 27df476837a..fb90ce3e9f3 100644 --- a/plotly/graph_objs/layout/scene/_xaxis.py +++ b/plotly/graph_objs/layout/scene/_xaxis.py @@ -2209,114 +2209,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('backgroundcolor', None) - self.backgroundcolor = backgroundcolor if backgroundcolor is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('mirror', None) - self.mirror = mirror if mirror is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showaxeslabels', None) - self.showaxeslabels = showaxeslabels if showaxeslabels is not None else v - v = arg.pop('showbackground', None) - self.showbackground = showbackground if showbackground is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showspikes', None) - self.showspikes = showspikes if showspikes is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('spikecolor', None) - self.spikecolor = spikecolor if spikecolor is not None else v - v = arg.pop('spikesides', None) - self.spikesides = spikesides if spikesides is not None else v - v = arg.pop('spikethickness', None) - self.spikethickness = spikethickness if spikethickness is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('zeroline', None) - self.zeroline = zeroline if zeroline is not None else v - v = arg.pop('zerolinecolor', None) - self.zerolinecolor = zerolinecolor if zerolinecolor is not None else v - v = arg.pop('zerolinewidth', None) - self.zerolinewidth = zerolinewidth if zerolinewidth is not None else v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('backgroundcolor', None) + self.backgroundcolor = backgroundcolor if backgroundcolor is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('mirror', None) + self.mirror = mirror if mirror is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showaxeslabels', None) + self.showaxeslabels = showaxeslabels if showaxeslabels is not None else _v + _v = arg.pop('showbackground', None) + self.showbackground = showbackground if showbackground is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showspikes', None) + self.showspikes = showspikes if showspikes is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('spikecolor', None) + self.spikecolor = spikecolor if spikecolor is not None else _v + _v = arg.pop('spikesides', None) + self.spikesides = spikesides if spikesides is not None else _v + _v = arg.pop('spikethickness', None) + self.spikethickness = spikethickness if spikethickness is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('zeroline', None) + self.zeroline = zeroline if zeroline is not None else _v + _v = arg.pop('zerolinecolor', None) + self.zerolinecolor = zerolinecolor if zerolinecolor is not None else _v + _v = arg.pop('zerolinewidth', None) + self.zerolinewidth = zerolinewidth if zerolinewidth is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_yaxis.py b/plotly/graph_objs/layout/scene/_yaxis.py index 712f1193991..51131231196 100644 --- a/plotly/graph_objs/layout/scene/_yaxis.py +++ b/plotly/graph_objs/layout/scene/_yaxis.py @@ -2209,114 +2209,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('backgroundcolor', None) - self.backgroundcolor = backgroundcolor if backgroundcolor is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('mirror', None) - self.mirror = mirror if mirror is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showaxeslabels', None) - self.showaxeslabels = showaxeslabels if showaxeslabels is not None else v - v = arg.pop('showbackground', None) - self.showbackground = showbackground if showbackground is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showspikes', None) - self.showspikes = showspikes if showspikes is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('spikecolor', None) - self.spikecolor = spikecolor if spikecolor is not None else v - v = arg.pop('spikesides', None) - self.spikesides = spikesides if spikesides is not None else v - v = arg.pop('spikethickness', None) - self.spikethickness = spikethickness if spikethickness is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('zeroline', None) - self.zeroline = zeroline if zeroline is not None else v - v = arg.pop('zerolinecolor', None) - self.zerolinecolor = zerolinecolor if zerolinecolor is not None else v - v = arg.pop('zerolinewidth', None) - self.zerolinewidth = zerolinewidth if zerolinewidth is not None else v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('backgroundcolor', None) + self.backgroundcolor = backgroundcolor if backgroundcolor is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('mirror', None) + self.mirror = mirror if mirror is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showaxeslabels', None) + self.showaxeslabels = showaxeslabels if showaxeslabels is not None else _v + _v = arg.pop('showbackground', None) + self.showbackground = showbackground if showbackground is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showspikes', None) + self.showspikes = showspikes if showspikes is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('spikecolor', None) + self.spikecolor = spikecolor if spikecolor is not None else _v + _v = arg.pop('spikesides', None) + self.spikesides = spikesides if spikesides is not None else _v + _v = arg.pop('spikethickness', None) + self.spikethickness = spikethickness if spikethickness is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('zeroline', None) + self.zeroline = zeroline if zeroline is not None else _v + _v = arg.pop('zerolinecolor', None) + self.zerolinecolor = zerolinecolor if zerolinecolor is not None else _v + _v = arg.pop('zerolinewidth', None) + self.zerolinewidth = zerolinewidth if zerolinewidth is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/_zaxis.py b/plotly/graph_objs/layout/scene/_zaxis.py index 0172c96129b..bd395657a17 100644 --- a/plotly/graph_objs/layout/scene/_zaxis.py +++ b/plotly/graph_objs/layout/scene/_zaxis.py @@ -2209,114 +2209,114 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('backgroundcolor', None) - self.backgroundcolor = backgroundcolor if backgroundcolor is not None else v - v = arg.pop('calendar', None) - self.calendar = calendar if calendar is not None else v - v = arg.pop('categoryarray', None) - self.categoryarray = categoryarray if categoryarray is not None else v - v = arg.pop('categoryarraysrc', None) - self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else v - v = arg.pop('categoryorder', None) - self.categoryorder = categoryorder if categoryorder is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('mirror', None) - self.mirror = mirror if mirror is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showaxeslabels', None) - self.showaxeslabels = showaxeslabels if showaxeslabels is not None else v - v = arg.pop('showbackground', None) - self.showbackground = showbackground if showbackground is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showspikes', None) - self.showspikes = showspikes if showspikes is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('spikecolor', None) - self.spikecolor = spikecolor if spikecolor is not None else v - v = arg.pop('spikesides', None) - self.spikesides = spikesides if spikesides is not None else v - v = arg.pop('spikethickness', None) - self.spikethickness = spikethickness if spikethickness is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('zeroline', None) - self.zeroline = zeroline if zeroline is not None else v - v = arg.pop('zerolinecolor', None) - self.zerolinecolor = zerolinecolor if zerolinecolor is not None else v - v = arg.pop('zerolinewidth', None) - self.zerolinewidth = zerolinewidth if zerolinewidth is not None else v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('backgroundcolor', None) + self.backgroundcolor = backgroundcolor if backgroundcolor is not None else _v + _v = arg.pop('calendar', None) + self.calendar = calendar if calendar is not None else _v + _v = arg.pop('categoryarray', None) + self.categoryarray = categoryarray if categoryarray is not None else _v + _v = arg.pop('categoryarraysrc', None) + self.categoryarraysrc = categoryarraysrc if categoryarraysrc is not None else _v + _v = arg.pop('categoryorder', None) + self.categoryorder = categoryorder if categoryorder is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('mirror', None) + self.mirror = mirror if mirror is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showaxeslabels', None) + self.showaxeslabels = showaxeslabels if showaxeslabels is not None else _v + _v = arg.pop('showbackground', None) + self.showbackground = showbackground if showbackground is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showspikes', None) + self.showspikes = showspikes if showspikes is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('spikecolor', None) + self.spikecolor = spikecolor if spikecolor is not None else _v + _v = arg.pop('spikesides', None) + self.spikesides = spikesides if spikesides is not None else _v + _v = arg.pop('spikethickness', None) + self.spikethickness = spikethickness if spikethickness is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('zeroline', None) + self.zeroline = zeroline if zeroline is not None else _v + _v = arg.pop('zerolinecolor', None) + self.zerolinecolor = zerolinecolor if zerolinecolor is not None else _v + _v = arg.pop('zerolinewidth', None) + self.zerolinewidth = zerolinewidth if zerolinewidth is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/annotation/_font.py b/plotly/graph_objs/layout/scene/annotation/_font.py index fd8e3a52f26..32ae9deae4c 100644 --- a/plotly/graph_objs/layout/scene/annotation/_font.py +++ b/plotly/graph_objs/layout/scene/annotation/_font.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py b/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py index 0069aa2b209..c60aaadf771 100644 --- a/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py +++ b/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py @@ -258,12 +258,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py b/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py index 990d750161f..40de8d30617 100644 --- a/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py @@ -209,12 +209,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/camera/_center.py b/plotly/graph_objs/layout/scene/camera/_center.py index e155b59e385..5824237a702 100644 --- a/plotly/graph_objs/layout/scene/camera/_center.py +++ b/plotly/graph_objs/layout/scene/camera/_center.py @@ -132,12 +132,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/camera/_eye.py b/plotly/graph_objs/layout/scene/camera/_eye.py index d5b119e004e..1aed8eb2918 100644 --- a/plotly/graph_objs/layout/scene/camera/_eye.py +++ b/plotly/graph_objs/layout/scene/camera/_eye.py @@ -132,12 +132,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/camera/_up.py b/plotly/graph_objs/layout/scene/camera/_up.py index 7be83331d56..f76b7ecaf11 100644 --- a/plotly/graph_objs/layout/scene/camera/_up.py +++ b/plotly/graph_objs/layout/scene/camera/_up.py @@ -132,12 +132,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/xaxis/_tickfont.py b/plotly/graph_objs/layout/scene/xaxis/_tickfont.py index 6b93d51983a..5b42ef5d230 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/xaxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py b/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py index 207df65912c..d08a254daf7 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/xaxis/_titlefont.py b/plotly/graph_objs/layout/scene/xaxis/_titlefont.py index 2693cb505b2..ad879d83cf1 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_titlefont.py +++ b/plotly/graph_objs/layout/scene/xaxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/yaxis/_tickfont.py b/plotly/graph_objs/layout/scene/yaxis/_tickfont.py index 2738df812fd..69d94be72d5 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/yaxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py b/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py index 2b45324a33e..eda16c2a85b 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/yaxis/_titlefont.py b/plotly/graph_objs/layout/scene/yaxis/_titlefont.py index bbab19f9274..648a1a3dec1 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_titlefont.py +++ b/plotly/graph_objs/layout/scene/yaxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/zaxis/_tickfont.py b/plotly/graph_objs/layout/scene/zaxis/_tickfont.py index 20943ef126a..6536f2d7297 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/zaxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py b/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py index 423af1fe60f..0ef76bb51b3 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/scene/zaxis/_titlefont.py b/plotly/graph_objs/layout/scene/zaxis/_titlefont.py index 1f79fb3b31e..16039d8145b 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_titlefont.py +++ b/plotly/graph_objs/layout/scene/zaxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/shape/_line.py b/plotly/graph_objs/layout/shape/_line.py index 6ac757dd8ef..c9ca613c120 100644 --- a/plotly/graph_objs/layout/shape/_line.py +++ b/plotly/graph_objs/layout/shape/_line.py @@ -184,12 +184,12 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/slider/_currentvalue.py b/plotly/graph_objs/layout/slider/_currentvalue.py index ba6d226a511..fb8e3414c64 100644 --- a/plotly/graph_objs/layout/slider/_currentvalue.py +++ b/plotly/graph_objs/layout/slider/_currentvalue.py @@ -261,18 +261,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('offset', None) - self.offset = offset if offset is not None else v - v = arg.pop('prefix', None) - self.prefix = prefix if prefix is not None else v - v = arg.pop('suffix', None) - self.suffix = suffix if suffix is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('offset', None) + self.offset = offset if offset is not None else _v + _v = arg.pop('prefix', None) + self.prefix = prefix if prefix is not None else _v + _v = arg.pop('suffix', None) + self.suffix = suffix if suffix is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/slider/_font.py b/plotly/graph_objs/layout/slider/_font.py index 80b544dff31..cd9c3f0e418 100644 --- a/plotly/graph_objs/layout/slider/_font.py +++ b/plotly/graph_objs/layout/slider/_font.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/slider/_pad.py b/plotly/graph_objs/layout/slider/_pad.py index 126f6b56048..30f232cdf2e 100644 --- a/plotly/graph_objs/layout/slider/_pad.py +++ b/plotly/graph_objs/layout/slider/_pad.py @@ -171,14 +171,14 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('l', None) - self.l = l if l is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('t', None) - self.t = t if t is not None else v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('l', None) + self.l = l if l is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('t', None) + self.t = t if t is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/slider/_step.py b/plotly/graph_objs/layout/slider/_step.py index 42c9494aa67..711932d0b21 100644 --- a/plotly/graph_objs/layout/slider/_step.py +++ b/plotly/graph_objs/layout/slider/_step.py @@ -240,16 +240,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('args', None) - self.args = args if args is not None else v - v = arg.pop('execute', None) - self.execute = execute if execute is not None else v - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('method', None) - self.method = method if method is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('args', None) + self.args = args if args is not None else _v + _v = arg.pop('execute', None) + self.execute = execute if execute is not None else _v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('method', None) + self.method = method if method is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/slider/_transition.py b/plotly/graph_objs/layout/slider/_transition.py index 37790bd91af..2528578a427 100644 --- a/plotly/graph_objs/layout/slider/_transition.py +++ b/plotly/graph_objs/layout/slider/_transition.py @@ -120,10 +120,10 @@ def __init__(self, arg=None, duration=None, easing=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('duration', None) - self.duration = duration if duration is not None else v - v = arg.pop('easing', None) - self.easing = easing if easing is not None else v + _v = arg.pop('duration', None) + self.duration = duration if duration is not None else _v + _v = arg.pop('easing', None) + self.easing = easing if easing is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/slider/currentvalue/_font.py b/plotly/graph_objs/layout/slider/currentvalue/_font.py index 8139ad96b17..74d0a67317c 100644 --- a/plotly/graph_objs/layout/slider/currentvalue/_font.py +++ b/plotly/graph_objs/layout/slider/currentvalue/_font.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/_aaxis.py b/plotly/graph_objs/layout/ternary/_aaxis.py index 62d19e7f29a..c737881b0e7 100644 --- a/plotly/graph_objs/layout/ternary/_aaxis.py +++ b/plotly/graph_objs/layout/ternary/_aaxis.py @@ -1497,78 +1497,78 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('min', None) - self.min = min if min is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('min', None) + self.min = min if min is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/_baxis.py b/plotly/graph_objs/layout/ternary/_baxis.py index 2dabcce9326..e4ffcc454b5 100644 --- a/plotly/graph_objs/layout/ternary/_baxis.py +++ b/plotly/graph_objs/layout/ternary/_baxis.py @@ -1497,78 +1497,78 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('min', None) - self.min = min if min is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('min', None) + self.min = min if min is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/_caxis.py b/plotly/graph_objs/layout/ternary/_caxis.py index 58cd65500b3..d3f0bcda2d3 100644 --- a/plotly/graph_objs/layout/ternary/_caxis.py +++ b/plotly/graph_objs/layout/ternary/_caxis.py @@ -1497,78 +1497,78 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('gridcolor', None) - self.gridcolor = gridcolor if gridcolor is not None else v - v = arg.pop('gridwidth', None) - self.gridwidth = gridwidth if gridwidth is not None else v - v = arg.pop('hoverformat', None) - self.hoverformat = hoverformat if hoverformat is not None else v - v = arg.pop('layer', None) - self.layer = layer if layer is not None else v - v = arg.pop('linecolor', None) - self.linecolor = linecolor if linecolor is not None else v - v = arg.pop('linewidth', None) - self.linewidth = linewidth if linewidth is not None else v - v = arg.pop('min', None) - self.min = min if min is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showgrid', None) - self.showgrid = showgrid if showgrid is not None else v - v = arg.pop('showline', None) - self.showline = showline if showline is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('gridcolor', None) + self.gridcolor = gridcolor if gridcolor is not None else _v + _v = arg.pop('gridwidth', None) + self.gridwidth = gridwidth if gridwidth is not None else _v + _v = arg.pop('hoverformat', None) + self.hoverformat = hoverformat if hoverformat is not None else _v + _v = arg.pop('layer', None) + self.layer = layer if layer is not None else _v + _v = arg.pop('linecolor', None) + self.linecolor = linecolor if linecolor is not None else _v + _v = arg.pop('linewidth', None) + self.linewidth = linewidth if linewidth is not None else _v + _v = arg.pop('min', None) + self.min = min if min is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showgrid', None) + self.showgrid = showgrid if showgrid is not None else _v + _v = arg.pop('showline', None) + self.showline = showline if showline is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/_domain.py b/plotly/graph_objs/layout/ternary/_domain.py index dba45230787..8c086f3d04b 100644 --- a/plotly/graph_objs/layout/ternary/_domain.py +++ b/plotly/graph_objs/layout/ternary/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py b/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py index 8b62b9271f5..6eb12e3b7c7 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py b/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py index 9930958de2f..6d56246d204 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/aaxis/_titlefont.py b/plotly/graph_objs/layout/ternary/aaxis/_titlefont.py index db1d34fb8be..d6b146c98d4 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_titlefont.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/baxis/_tickfont.py b/plotly/graph_objs/layout/ternary/baxis/_tickfont.py index 8996a6aaec0..1e886ad9ac6 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/baxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py b/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py index f0dcc4fa2d0..23a794231a4 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/baxis/_titlefont.py b/plotly/graph_objs/layout/ternary/baxis/_titlefont.py index ab654406602..676e276e320 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_titlefont.py +++ b/plotly/graph_objs/layout/ternary/baxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/caxis/_tickfont.py b/plotly/graph_objs/layout/ternary/caxis/_tickfont.py index 5a0116b89bc..2fd05600b39 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/caxis/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py b/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py index 18703805544..fb2c32746d5 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/ternary/caxis/_titlefont.py b/plotly/graph_objs/layout/ternary/caxis/_titlefont.py index e64a74ffb7c..b6d6d4181ef 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_titlefont.py +++ b/plotly/graph_objs/layout/ternary/caxis/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/updatemenu/_button.py b/plotly/graph_objs/layout/updatemenu/_button.py index 48852ae7883..5768732dace 100644 --- a/plotly/graph_objs/layout/updatemenu/_button.py +++ b/plotly/graph_objs/layout/updatemenu/_button.py @@ -210,14 +210,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('args', None) - self.args = args if args is not None else v - v = arg.pop('execute', None) - self.execute = execute if execute is not None else v - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('method', None) - self.method = method if method is not None else v + _v = arg.pop('args', None) + self.args = args if args is not None else _v + _v = arg.pop('execute', None) + self.execute = execute if execute is not None else _v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('method', None) + self.method = method if method is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/updatemenu/_font.py b/plotly/graph_objs/layout/updatemenu/_font.py index df30a50f7e4..56f9e017400 100644 --- a/plotly/graph_objs/layout/updatemenu/_font.py +++ b/plotly/graph_objs/layout/updatemenu/_font.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/updatemenu/_pad.py b/plotly/graph_objs/layout/updatemenu/_pad.py index 2150e9fb2d4..263ee58fc9a 100644 --- a/plotly/graph_objs/layout/updatemenu/_pad.py +++ b/plotly/graph_objs/layout/updatemenu/_pad.py @@ -171,14 +171,14 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('b', None) - self.b = b if b is not None else v - v = arg.pop('l', None) - self.l = l if l is not None else v - v = arg.pop('r', None) - self.r = r if r is not None else v - v = arg.pop('t', None) - self.t = t if t is not None else v + _v = arg.pop('b', None) + self.b = b if b is not None else _v + _v = arg.pop('l', None) + self.l = l if l is not None else _v + _v = arg.pop('r', None) + self.r = r if r is not None else _v + _v = arg.pop('t', None) + self.t = t if t is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/_rangeselector.py b/plotly/graph_objs/layout/xaxis/_rangeselector.py index 72dd0995d7c..5bc5886d80b 100644 --- a/plotly/graph_objs/layout/xaxis/_rangeselector.py +++ b/plotly/graph_objs/layout/xaxis/_rangeselector.py @@ -561,28 +561,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('activecolor', None) - self.activecolor = activecolor if activecolor is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('buttons', None) - self.buttons = buttons if buttons is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v + _v = arg.pop('activecolor', None) + self.activecolor = activecolor if activecolor is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('buttons', None) + self.buttons = buttons if buttons is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/_rangeslider.py b/plotly/graph_objs/layout/xaxis/_rangeslider.py index 0f53e04c7b6..5ee7adea2f1 100644 --- a/plotly/graph_objs/layout/xaxis/_rangeslider.py +++ b/plotly/graph_objs/layout/xaxis/_rangeslider.py @@ -409,22 +409,22 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autorange', None) - self.autorange = autorange if autorange is not None else v - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('yaxis', None) - self.yaxis = yaxis if yaxis is not None else v + _v = arg.pop('autorange', None) + self.autorange = autorange if autorange is not None else _v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('yaxis', None) + self.yaxis = yaxis if yaxis is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/_tickfont.py b/plotly/graph_objs/layout/xaxis/_tickfont.py index 75e37a309af..b72ce708015 100644 --- a/plotly/graph_objs/layout/xaxis/_tickfont.py +++ b/plotly/graph_objs/layout/xaxis/_tickfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/_tickformatstop.py b/plotly/graph_objs/layout/xaxis/_tickformatstop.py index 3a3f1c28503..e2aa24404bb 100644 --- a/plotly/graph_objs/layout/xaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/xaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/_titlefont.py b/plotly/graph_objs/layout/xaxis/_titlefont.py index 728f606eb86..11f2a33ba1e 100644 --- a/plotly/graph_objs/layout/xaxis/_titlefont.py +++ b/plotly/graph_objs/layout/xaxis/_titlefont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/rangeselector/_button.py b/plotly/graph_objs/layout/xaxis/rangeselector/_button.py index 93467465819..2a724c8451a 100644 --- a/plotly/graph_objs/layout/xaxis/rangeselector/_button.py +++ b/plotly/graph_objs/layout/xaxis/rangeselector/_button.py @@ -208,14 +208,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('count', None) - self.count = count if count is not None else v - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('step', None) - self.step = step if step is not None else v - v = arg.pop('stepmode', None) - self.stepmode = stepmode if stepmode is not None else v + _v = arg.pop('count', None) + self.count = count if count is not None else _v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('step', None) + self.step = step if step is not None else _v + _v = arg.pop('stepmode', None) + self.stepmode = stepmode if stepmode is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/rangeselector/_font.py b/plotly/graph_objs/layout/xaxis/rangeselector/_font.py index daf75122b9b..142f790f6b0 100644 --- a/plotly/graph_objs/layout/xaxis/rangeselector/_font.py +++ b/plotly/graph_objs/layout/xaxis/rangeselector/_font.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py b/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py index ce342fa6898..9d4d66f6a74 100644 --- a/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py +++ b/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py @@ -129,10 +129,10 @@ def __init__(self, arg=None, range=None, rangemode=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('rangemode', None) - self.rangemode = rangemode if rangemode is not None else v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('rangemode', None) + self.rangemode = rangemode if rangemode is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/yaxis/_tickfont.py b/plotly/graph_objs/layout/yaxis/_tickfont.py index 51c5facd84d..49edd491081 100644 --- a/plotly/graph_objs/layout/yaxis/_tickfont.py +++ b/plotly/graph_objs/layout/yaxis/_tickfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/yaxis/_tickformatstop.py b/plotly/graph_objs/layout/yaxis/_tickformatstop.py index fd55e0e01ff..b73e126203d 100644 --- a/plotly/graph_objs/layout/yaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/yaxis/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/layout/yaxis/_titlefont.py b/plotly/graph_objs/layout/yaxis/_titlefont.py index 05460b3cc31..48a0d164296 100644 --- a/plotly/graph_objs/layout/yaxis/_titlefont.py +++ b/plotly/graph_objs/layout/yaxis/_titlefont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/_colorbar.py b/plotly/graph_objs/mesh3d/_colorbar.py index 3e306d9b1b8..8ea73df0824 100644 --- a/plotly/graph_objs/mesh3d/_colorbar.py +++ b/plotly/graph_objs/mesh3d/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/_contour.py b/plotly/graph_objs/mesh3d/_contour.py index 035263d3076..35324025951 100644 --- a/plotly/graph_objs/mesh3d/_contour.py +++ b/plotly/graph_objs/mesh3d/_contour.py @@ -172,12 +172,12 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/_hoverlabel.py b/plotly/graph_objs/mesh3d/_hoverlabel.py index 78a2a1ecdfb..564461a40c7 100644 --- a/plotly/graph_objs/mesh3d/_hoverlabel.py +++ b/plotly/graph_objs/mesh3d/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/_lighting.py b/plotly/graph_objs/mesh3d/_lighting.py index 9b44033d673..41e5ef20907 100644 --- a/plotly/graph_objs/mesh3d/_lighting.py +++ b/plotly/graph_objs/mesh3d/_lighting.py @@ -272,20 +272,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('ambient', None) - self.ambient = ambient if ambient is not None else v - v = arg.pop('diffuse', None) - self.diffuse = diffuse if diffuse is not None else v - v = arg.pop('facenormalsepsilon', None) - self.facenormalsepsilon = facenormalsepsilon if facenormalsepsilon is not None else v - v = arg.pop('fresnel', None) - self.fresnel = fresnel if fresnel is not None else v - v = arg.pop('roughness', None) - self.roughness = roughness if roughness is not None else v - v = arg.pop('specular', None) - self.specular = specular if specular is not None else v - v = arg.pop('vertexnormalsepsilon', None) - self.vertexnormalsepsilon = vertexnormalsepsilon if vertexnormalsepsilon is not None else v + _v = arg.pop('ambient', None) + self.ambient = ambient if ambient is not None else _v + _v = arg.pop('diffuse', None) + self.diffuse = diffuse if diffuse is not None else _v + _v = arg.pop('facenormalsepsilon', None) + self.facenormalsepsilon = facenormalsepsilon if facenormalsepsilon is not None else _v + _v = arg.pop('fresnel', None) + self.fresnel = fresnel if fresnel is not None else _v + _v = arg.pop('roughness', None) + self.roughness = roughness if roughness is not None else _v + _v = arg.pop('specular', None) + self.specular = specular if specular is not None else _v + _v = arg.pop('vertexnormalsepsilon', None) + self.vertexnormalsepsilon = vertexnormalsepsilon if vertexnormalsepsilon is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/_lightposition.py b/plotly/graph_objs/mesh3d/_lightposition.py index eb66e3ab455..43c220552b1 100644 --- a/plotly/graph_objs/mesh3d/_lightposition.py +++ b/plotly/graph_objs/mesh3d/_lightposition.py @@ -139,12 +139,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/_stream.py b/plotly/graph_objs/mesh3d/_stream.py index 0997208a3ce..163b6a3347f 100644 --- a/plotly/graph_objs/mesh3d/_stream.py +++ b/plotly/graph_objs/mesh3d/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/colorbar/_tickfont.py b/plotly/graph_objs/mesh3d/colorbar/_tickfont.py index 6ff8a45bbaf..862757aced6 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_tickfont.py +++ b/plotly/graph_objs/mesh3d/colorbar/_tickfont.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py b/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py index bc4b486a4d1..29afbfc0865 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/colorbar/_titlefont.py b/plotly/graph_objs/mesh3d/colorbar/_titlefont.py index ae674bd5bf0..0e727e864d1 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_titlefont.py +++ b/plotly/graph_objs/mesh3d/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/mesh3d/hoverlabel/_font.py b/plotly/graph_objs/mesh3d/hoverlabel/_font.py index 026380109b3..1aae2c9ee9e 100644 --- a/plotly/graph_objs/mesh3d/hoverlabel/_font.py +++ b/plotly/graph_objs/mesh3d/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/_decreasing.py b/plotly/graph_objs/ohlc/_decreasing.py index d96acabc4de..8e1573add87 100644 --- a/plotly/graph_objs/ohlc/_decreasing.py +++ b/plotly/graph_objs/ohlc/_decreasing.py @@ -98,8 +98,8 @@ def __init__(self, arg=None, line=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('line', None) - self.line = line if line is not None else v + _v = arg.pop('line', None) + self.line = line if line is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/_hoverlabel.py b/plotly/graph_objs/ohlc/_hoverlabel.py index edae802ffe6..6ef19cec697 100644 --- a/plotly/graph_objs/ohlc/_hoverlabel.py +++ b/plotly/graph_objs/ohlc/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/_increasing.py b/plotly/graph_objs/ohlc/_increasing.py index 2ff83c99ca1..2d28b880342 100644 --- a/plotly/graph_objs/ohlc/_increasing.py +++ b/plotly/graph_objs/ohlc/_increasing.py @@ -98,8 +98,8 @@ def __init__(self, arg=None, line=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('line', None) - self.line = line if line is not None else v + _v = arg.pop('line', None) + self.line = line if line is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/_line.py b/plotly/graph_objs/ohlc/_line.py index 3fc4d94738c..62a25b33af2 100644 --- a/plotly/graph_objs/ohlc/_line.py +++ b/plotly/graph_objs/ohlc/_line.py @@ -132,10 +132,10 @@ def __init__(self, arg=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/_stream.py b/plotly/graph_objs/ohlc/_stream.py index 09b79c1e136..dda163b60ce 100644 --- a/plotly/graph_objs/ohlc/_stream.py +++ b/plotly/graph_objs/ohlc/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/decreasing/_line.py b/plotly/graph_objs/ohlc/decreasing/_line.py index 69df74ed8e5..6c68f2b5f42 100644 --- a/plotly/graph_objs/ohlc/decreasing/_line.py +++ b/plotly/graph_objs/ohlc/decreasing/_line.py @@ -184,12 +184,12 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/hoverlabel/_font.py b/plotly/graph_objs/ohlc/hoverlabel/_font.py index b197b9e24e8..06603ebe889 100644 --- a/plotly/graph_objs/ohlc/hoverlabel/_font.py +++ b/plotly/graph_objs/ohlc/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/ohlc/increasing/_line.py b/plotly/graph_objs/ohlc/increasing/_line.py index b89a9298121..7e3ee8bb2b0 100644 --- a/plotly/graph_objs/ohlc/increasing/_line.py +++ b/plotly/graph_objs/ohlc/increasing/_line.py @@ -184,12 +184,12 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_dimension.py b/plotly/graph_objs/parcoords/_dimension.py index bd8874c9a1d..8f162854cd4 100644 --- a/plotly/graph_objs/parcoords/_dimension.py +++ b/plotly/graph_objs/parcoords/_dimension.py @@ -447,30 +447,30 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('constraintrange', None) - self.constraintrange = constraintrange if constraintrange is not None else v - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('multiselect', None) - self.multiselect = multiselect if multiselect is not None else v - v = arg.pop('range', None) - self.range = range if range is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('values', None) - self.values = values if values is not None else v - v = arg.pop('valuessrc', None) - self.valuessrc = valuessrc if valuessrc is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('constraintrange', None) + self.constraintrange = constraintrange if constraintrange is not None else _v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('multiselect', None) + self.multiselect = multiselect if multiselect is not None else _v + _v = arg.pop('range', None) + self.range = range if range is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('values', None) + self.values = values if values is not None else _v + _v = arg.pop('valuessrc', None) + self.valuessrc = valuessrc if valuessrc is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_domain.py b/plotly/graph_objs/parcoords/_domain.py index b2a1f904d0f..8590cef66b6 100644 --- a/plotly/graph_objs/parcoords/_domain.py +++ b/plotly/graph_objs/parcoords/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_hoverlabel.py b/plotly/graph_objs/parcoords/_hoverlabel.py index 4f2f38ef8a2..ced21f650d4 100644 --- a/plotly/graph_objs/parcoords/_hoverlabel.py +++ b/plotly/graph_objs/parcoords/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_labelfont.py b/plotly/graph_objs/parcoords/_labelfont.py index 36542ecabac..e5e97255c0e 100644 --- a/plotly/graph_objs/parcoords/_labelfont.py +++ b/plotly/graph_objs/parcoords/_labelfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_line.py b/plotly/graph_objs/parcoords/_line.py index 958164be074..7aa7ed2511f 100644 --- a/plotly/graph_objs/parcoords/_line.py +++ b/plotly/graph_objs/parcoords/_line.py @@ -693,26 +693,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_rangefont.py b/plotly/graph_objs/parcoords/_rangefont.py index 7f69687f284..59f68b11b92 100644 --- a/plotly/graph_objs/parcoords/_rangefont.py +++ b/plotly/graph_objs/parcoords/_rangefont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_stream.py b/plotly/graph_objs/parcoords/_stream.py index 6d357f3b29a..28e03a9dd41 100644 --- a/plotly/graph_objs/parcoords/_stream.py +++ b/plotly/graph_objs/parcoords/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/_tickfont.py b/plotly/graph_objs/parcoords/_tickfont.py index b213dba5ef0..c453ea46d70 100644 --- a/plotly/graph_objs/parcoords/_tickfont.py +++ b/plotly/graph_objs/parcoords/_tickfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/hoverlabel/_font.py b/plotly/graph_objs/parcoords/hoverlabel/_font.py index cd00e140cea..b432a83d615 100644 --- a/plotly/graph_objs/parcoords/hoverlabel/_font.py +++ b/plotly/graph_objs/parcoords/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/line/_colorbar.py b/plotly/graph_objs/parcoords/line/_colorbar.py index 9de09a52f6c..6e5d11dd5eb 100644 --- a/plotly/graph_objs/parcoords/line/_colorbar.py +++ b/plotly/graph_objs/parcoords/line/_colorbar.py @@ -1646,90 +1646,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py b/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py index 7d3d09a9e90..8b3f64af50d 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py b/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py index 59327dfe09a..92289b1a813 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/parcoords/line/colorbar/_titlefont.py b/plotly/graph_objs/parcoords/line/colorbar/_titlefont.py index f5ebe844ada..836f4f30278 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_titlefont.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_domain.py b/plotly/graph_objs/pie/_domain.py index d2d5e42d002..31ac14487d6 100644 --- a/plotly/graph_objs/pie/_domain.py +++ b/plotly/graph_objs/pie/_domain.py @@ -183,14 +183,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_hoverlabel.py b/plotly/graph_objs/pie/_hoverlabel.py index 422f259020b..a6b5e9cf8fb 100644 --- a/plotly/graph_objs/pie/_hoverlabel.py +++ b/plotly/graph_objs/pie/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_insidetextfont.py b/plotly/graph_objs/pie/_insidetextfont.py index ec4ac237456..2b718c4d1a0 100644 --- a/plotly/graph_objs/pie/_insidetextfont.py +++ b/plotly/graph_objs/pie/_insidetextfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_marker.py b/plotly/graph_objs/pie/_marker.py index 36c665260e3..554602f7071 100644 --- a/plotly/graph_objs/pie/_marker.py +++ b/plotly/graph_objs/pie/_marker.py @@ -159,12 +159,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('colors', None) - self.colors = colors if colors is not None else v - v = arg.pop('colorssrc', None) - self.colorssrc = colorssrc if colorssrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v + _v = arg.pop('colors', None) + self.colors = colors if colors is not None else _v + _v = arg.pop('colorssrc', None) + self.colorssrc = colorssrc if colorssrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_outsidetextfont.py b/plotly/graph_objs/pie/_outsidetextfont.py index 11fa096c287..b77c593d85c 100644 --- a/plotly/graph_objs/pie/_outsidetextfont.py +++ b/plotly/graph_objs/pie/_outsidetextfont.py @@ -207,12 +207,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_stream.py b/plotly/graph_objs/pie/_stream.py index 22b025d365a..8422cc4e0da 100644 --- a/plotly/graph_objs/pie/_stream.py +++ b/plotly/graph_objs/pie/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/_textfont.py b/plotly/graph_objs/pie/_textfont.py index f817775159e..0b18fe5a733 100644 --- a/plotly/graph_objs/pie/_textfont.py +++ b/plotly/graph_objs/pie/_textfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/hoverlabel/_font.py b/plotly/graph_objs/pie/hoverlabel/_font.py index 0f7671d1bec..63f658f56f7 100644 --- a/plotly/graph_objs/pie/hoverlabel/_font.py +++ b/plotly/graph_objs/pie/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pie/marker/_line.py b/plotly/graph_objs/pie/marker/_line.py index f08fca406a4..d11ae777ae1 100644 --- a/plotly/graph_objs/pie/marker/_line.py +++ b/plotly/graph_objs/pie/marker/_line.py @@ -209,14 +209,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pointcloud/_hoverlabel.py b/plotly/graph_objs/pointcloud/_hoverlabel.py index 0c5597f722c..6f7c0e0b1af 100644 --- a/plotly/graph_objs/pointcloud/_hoverlabel.py +++ b/plotly/graph_objs/pointcloud/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pointcloud/_marker.py b/plotly/graph_objs/pointcloud/_marker.py index bec3be4cb9e..755fef696b7 100644 --- a/plotly/graph_objs/pointcloud/_marker.py +++ b/plotly/graph_objs/pointcloud/_marker.py @@ -312,18 +312,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('blend', None) - self.blend = blend if blend is not None else v - v = arg.pop('border', None) - self.border = border if border is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('sizemax', None) - self.sizemax = sizemax if sizemax is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v + _v = arg.pop('blend', None) + self.blend = blend if blend is not None else _v + _v = arg.pop('border', None) + self.border = border if border is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('sizemax', None) + self.sizemax = sizemax if sizemax is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pointcloud/_stream.py b/plotly/graph_objs/pointcloud/_stream.py index c1152e229cc..c9e20a5029d 100644 --- a/plotly/graph_objs/pointcloud/_stream.py +++ b/plotly/graph_objs/pointcloud/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pointcloud/hoverlabel/_font.py b/plotly/graph_objs/pointcloud/hoverlabel/_font.py index 0c6dfff8a8d..41bcd69b7c6 100644 --- a/plotly/graph_objs/pointcloud/hoverlabel/_font.py +++ b/plotly/graph_objs/pointcloud/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/pointcloud/marker/_border.py b/plotly/graph_objs/pointcloud/marker/_border.py index 60ad4e01ca8..16e57abd6f2 100644 --- a/plotly/graph_objs/pointcloud/marker/_border.py +++ b/plotly/graph_objs/pointcloud/marker/_border.py @@ -159,10 +159,10 @@ def __init__(self, arg=None, arearatio=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('arearatio', None) - self.arearatio = arearatio if arearatio is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('arearatio', None) + self.arearatio = arearatio if arearatio is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/_domain.py b/plotly/graph_objs/sankey/_domain.py index ffe07123945..3a99f1fc691 100644 --- a/plotly/graph_objs/sankey/_domain.py +++ b/plotly/graph_objs/sankey/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/_hoverlabel.py b/plotly/graph_objs/sankey/_hoverlabel.py index 4cef751b78d..a160bbc9c89 100644 --- a/plotly/graph_objs/sankey/_hoverlabel.py +++ b/plotly/graph_objs/sankey/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/_link.py b/plotly/graph_objs/sankey/_link.py index 3c64543a2b0..836e81a5ff9 100644 --- a/plotly/graph_objs/sankey/_link.py +++ b/plotly/graph_objs/sankey/_link.py @@ -422,28 +422,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('labelsrc', None) - self.labelsrc = labelsrc if labelsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('source', None) - self.source = source if source is not None else v - v = arg.pop('sourcesrc', None) - self.sourcesrc = sourcesrc if sourcesrc is not None else v - v = arg.pop('target', None) - self.target = target if target is not None else v - v = arg.pop('targetsrc', None) - self.targetsrc = targetsrc if targetsrc is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valuesrc', None) - self.valuesrc = valuesrc if valuesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('labelsrc', None) + self.labelsrc = labelsrc if labelsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('source', None) + self.source = source if source is not None else _v + _v = arg.pop('sourcesrc', None) + self.sourcesrc = sourcesrc if sourcesrc is not None else _v + _v = arg.pop('target', None) + self.target = target if target is not None else _v + _v = arg.pop('targetsrc', None) + self.targetsrc = targetsrc if targetsrc is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valuesrc', None) + self.valuesrc = valuesrc if valuesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/_node.py b/plotly/graph_objs/sankey/_node.py index 84f6d9c70ea..7ee3b0c0372 100644 --- a/plotly/graph_objs/sankey/_node.py +++ b/plotly/graph_objs/sankey/_node.py @@ -319,20 +319,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('labelsrc', None) - self.labelsrc = labelsrc if labelsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('pad', None) - self.pad = pad if pad is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('labelsrc', None) + self.labelsrc = labelsrc if labelsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('pad', None) + self.pad = pad if pad is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/_stream.py b/plotly/graph_objs/sankey/_stream.py index 067f239ad6f..84f69924e53 100644 --- a/plotly/graph_objs/sankey/_stream.py +++ b/plotly/graph_objs/sankey/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/_textfont.py b/plotly/graph_objs/sankey/_textfont.py index 2af1aec3347..3e330c66a64 100644 --- a/plotly/graph_objs/sankey/_textfont.py +++ b/plotly/graph_objs/sankey/_textfont.py @@ -205,12 +205,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/hoverlabel/_font.py b/plotly/graph_objs/sankey/hoverlabel/_font.py index 8346992c78b..67e2dc66c49 100644 --- a/plotly/graph_objs/sankey/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/link/_line.py b/plotly/graph_objs/sankey/link/_line.py index 2907cfe61dc..62678032c96 100644 --- a/plotly/graph_objs/sankey/link/_line.py +++ b/plotly/graph_objs/sankey/link/_line.py @@ -209,14 +209,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/sankey/node/_line.py b/plotly/graph_objs/sankey/node/_line.py index d2c5714882e..c8a58cd9b61 100644 --- a/plotly/graph_objs/sankey/node/_line.py +++ b/plotly/graph_objs/sankey/node/_line.py @@ -209,14 +209,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_error_x.py b/plotly/graph_objs/scatter/_error_x.py index 7f59663184d..ded83963047 100644 --- a/plotly/graph_objs/scatter/_error_x.py +++ b/plotly/graph_objs/scatter/_error_x.py @@ -551,36 +551,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('copy_ystyle', None) - self.copy_ystyle = copy_ystyle if copy_ystyle is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('copy_ystyle', None) + self.copy_ystyle = copy_ystyle if copy_ystyle is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_error_y.py b/plotly/graph_objs/scatter/_error_y.py index 9840012a617..d5203d7d633 100644 --- a/plotly/graph_objs/scatter/_error_y.py +++ b/plotly/graph_objs/scatter/_error_y.py @@ -527,34 +527,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_hoverlabel.py b/plotly/graph_objs/scatter/_hoverlabel.py index a8f58955ba5..eae2f5398ea 100644 --- a/plotly/graph_objs/scatter/_hoverlabel.py +++ b/plotly/graph_objs/scatter/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_line.py b/plotly/graph_objs/scatter/_line.py index d6671b27c72..c0ada4e0594 100644 --- a/plotly/graph_objs/scatter/_line.py +++ b/plotly/graph_objs/scatter/_line.py @@ -291,18 +291,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('shape', None) - self.shape = shape if shape is not None else v - v = arg.pop('simplify', None) - self.simplify = simplify if simplify is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('shape', None) + self.shape = shape if shape is not None else _v + _v = arg.pop('simplify', None) + self.simplify = simplify if simplify is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_marker.py b/plotly/graph_objs/scatter/_marker.py index 8498efe367d..c22a0274714 100644 --- a/plotly/graph_objs/scatter/_marker.py +++ b/plotly/graph_objs/scatter/_marker.py @@ -1195,50 +1195,50 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('gradient', None) - self.gradient = gradient if gradient is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('maxdisplayed', None) - self.maxdisplayed = maxdisplayed if maxdisplayed is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('gradient', None) + self.gradient = gradient if gradient is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('maxdisplayed', None) + self.maxdisplayed = maxdisplayed if maxdisplayed is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_selected.py b/plotly/graph_objs/scatter/_selected.py index fffc5bd54c8..b55d4fd751b 100644 --- a/plotly/graph_objs/scatter/_selected.py +++ b/plotly/graph_objs/scatter/_selected.py @@ -128,10 +128,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_stream.py b/plotly/graph_objs/scatter/_stream.py index b93e817c58a..8bc36830a8c 100644 --- a/plotly/graph_objs/scatter/_stream.py +++ b/plotly/graph_objs/scatter/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_textfont.py b/plotly/graph_objs/scatter/_textfont.py index 0c9301a5247..99aa2571109 100644 --- a/plotly/graph_objs/scatter/_textfont.py +++ b/plotly/graph_objs/scatter/_textfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/_unselected.py b/plotly/graph_objs/scatter/_unselected.py index e7db30628d3..29539d3a322 100644 --- a/plotly/graph_objs/scatter/_unselected.py +++ b/plotly/graph_objs/scatter/_unselected.py @@ -132,10 +132,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/hoverlabel/_font.py b/plotly/graph_objs/scatter/hoverlabel/_font.py index d2c2857789c..30622149aa1 100644 --- a/plotly/graph_objs/scatter/hoverlabel/_font.py +++ b/plotly/graph_objs/scatter/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/marker/_colorbar.py b/plotly/graph_objs/scatter/marker/_colorbar.py index e0a34072059..d5b6a58f1e3 100644 --- a/plotly/graph_objs/scatter/marker/_colorbar.py +++ b/plotly/graph_objs/scatter/marker/_colorbar.py @@ -1646,90 +1646,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/marker/_gradient.py b/plotly/graph_objs/scatter/marker/_gradient.py index 2dfd7b600a3..f21eb162842 100644 --- a/plotly/graph_objs/scatter/marker/_gradient.py +++ b/plotly/graph_objs/scatter/marker/_gradient.py @@ -214,14 +214,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('typesrc', None) - self.typesrc = typesrc if typesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('typesrc', None) + self.typesrc = typesrc if typesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/marker/_line.py b/plotly/graph_objs/scatter/marker/_line.py index a4ea83c3d0c..c4951b00f15 100644 --- a/plotly/graph_objs/scatter/marker/_line.py +++ b/plotly/graph_objs/scatter/marker/_line.py @@ -489,26 +489,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py index d4e9172d1c9..27a445b6892 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py index 6b7282b26f5..0ac0a236f3b 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/marker/colorbar/_titlefont.py b/plotly/graph_objs/scatter/marker/colorbar/_titlefont.py index d61181b111c..787477e2024 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/selected/_marker.py b/plotly/graph_objs/scatter/selected/_marker.py index 95b3f3c1d5f..e57288199f0 100644 --- a/plotly/graph_objs/scatter/selected/_marker.py +++ b/plotly/graph_objs/scatter/selected/_marker.py @@ -175,12 +175,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/selected/_textfont.py b/plotly/graph_objs/scatter/selected/_textfont.py index d028e152f9f..e7d3d6b20b9 100644 --- a/plotly/graph_objs/scatter/selected/_textfont.py +++ b/plotly/graph_objs/scatter/selected/_textfont.py @@ -123,8 +123,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/unselected/_marker.py b/plotly/graph_objs/scatter/unselected/_marker.py index 4ef41c8541a..87732517f30 100644 --- a/plotly/graph_objs/scatter/unselected/_marker.py +++ b/plotly/graph_objs/scatter/unselected/_marker.py @@ -184,12 +184,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter/unselected/_textfont.py b/plotly/graph_objs/scatter/unselected/_textfont.py index 64e137e701c..e450c4960c7 100644 --- a/plotly/graph_objs/scatter/unselected/_textfont.py +++ b/plotly/graph_objs/scatter/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_error_x.py b/plotly/graph_objs/scatter3d/_error_x.py index f95916e146c..b86200a2d34 100644 --- a/plotly/graph_objs/scatter3d/_error_x.py +++ b/plotly/graph_objs/scatter3d/_error_x.py @@ -551,36 +551,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('copy_zstyle', None) - self.copy_zstyle = copy_zstyle if copy_zstyle is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('copy_zstyle', None) + self.copy_zstyle = copy_zstyle if copy_zstyle is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_error_y.py b/plotly/graph_objs/scatter3d/_error_y.py index 052ed98d6ba..28c774a0972 100644 --- a/plotly/graph_objs/scatter3d/_error_y.py +++ b/plotly/graph_objs/scatter3d/_error_y.py @@ -551,36 +551,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('copy_zstyle', None) - self.copy_zstyle = copy_zstyle if copy_zstyle is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('copy_zstyle', None) + self.copy_zstyle = copy_zstyle if copy_zstyle is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_error_z.py b/plotly/graph_objs/scatter3d/_error_z.py index f134fcc8e88..584bdc39c37 100644 --- a/plotly/graph_objs/scatter3d/_error_z.py +++ b/plotly/graph_objs/scatter3d/_error_z.py @@ -527,34 +527,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_hoverlabel.py b/plotly/graph_objs/scatter3d/_hoverlabel.py index f862185d192..bbf564d2212 100644 --- a/plotly/graph_objs/scatter3d/_hoverlabel.py +++ b/plotly/graph_objs/scatter3d/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_line.py b/plotly/graph_objs/scatter3d/_line.py index 03ac9102765..f55243091b7 100644 --- a/plotly/graph_objs/scatter3d/_line.py +++ b/plotly/graph_objs/scatter3d/_line.py @@ -517,28 +517,28 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_marker.py b/plotly/graph_objs/scatter3d/_marker.py index d3adcf13372..134544ae6f6 100644 --- a/plotly/graph_objs/scatter3d/_marker.py +++ b/plotly/graph_objs/scatter3d/_marker.py @@ -1033,44 +1033,44 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_projection.py b/plotly/graph_objs/scatter3d/_projection.py index 713e9ab9364..f65fda38160 100644 --- a/plotly/graph_objs/scatter3d/_projection.py +++ b/plotly/graph_objs/scatter3d/_projection.py @@ -175,12 +175,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_stream.py b/plotly/graph_objs/scatter3d/_stream.py index b25604fab02..2005d102c43 100644 --- a/plotly/graph_objs/scatter3d/_stream.py +++ b/plotly/graph_objs/scatter3d/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/_textfont.py b/plotly/graph_objs/scatter3d/_textfont.py index abbf264e48a..b8bfaeefe58 100644 --- a/plotly/graph_objs/scatter3d/_textfont.py +++ b/plotly/graph_objs/scatter3d/_textfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/hoverlabel/_font.py b/plotly/graph_objs/scatter3d/hoverlabel/_font.py index 9a2f23b0097..9f3ad69d07e 100644 --- a/plotly/graph_objs/scatter3d/hoverlabel/_font.py +++ b/plotly/graph_objs/scatter3d/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/marker/_colorbar.py b/plotly/graph_objs/scatter3d/marker/_colorbar.py index f406d736d87..d5ce1a607f0 100644 --- a/plotly/graph_objs/scatter3d/marker/_colorbar.py +++ b/plotly/graph_objs/scatter3d/marker/_colorbar.py @@ -1646,90 +1646,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/marker/_line.py b/plotly/graph_objs/scatter3d/marker/_line.py index e3926071846..adfe3438bdd 100644 --- a/plotly/graph_objs/scatter3d/marker/_line.py +++ b/plotly/graph_objs/scatter3d/marker/_line.py @@ -462,24 +462,24 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py index faefecf3edd..d179e27b307 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py index 7524d51abe6..d35b516ae8a 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_titlefont.py b/plotly/graph_objs/scatter3d/marker/colorbar/_titlefont.py index c19f9312edd..4563ed6f866 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/projection/_x.py b/plotly/graph_objs/scatter3d/projection/_x.py index 6f4191ba4ca..095155d91a6 100644 --- a/plotly/graph_objs/scatter3d/projection/_x.py +++ b/plotly/graph_objs/scatter3d/projection/_x.py @@ -140,12 +140,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('scale', None) - self.scale = scale if scale is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('scale', None) + self.scale = scale if scale is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/projection/_y.py b/plotly/graph_objs/scatter3d/projection/_y.py index f9765df9e94..d79b6102547 100644 --- a/plotly/graph_objs/scatter3d/projection/_y.py +++ b/plotly/graph_objs/scatter3d/projection/_y.py @@ -140,12 +140,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('scale', None) - self.scale = scale if scale is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('scale', None) + self.scale = scale if scale is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatter3d/projection/_z.py b/plotly/graph_objs/scatter3d/projection/_z.py index 54d38cdf33e..b4c92fbc885 100644 --- a/plotly/graph_objs/scatter3d/projection/_z.py +++ b/plotly/graph_objs/scatter3d/projection/_z.py @@ -140,12 +140,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('scale', None) - self.scale = scale if scale is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('scale', None) + self.scale = scale if scale is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_hoverlabel.py b/plotly/graph_objs/scattercarpet/_hoverlabel.py index 24a718bcbbf..202012d5022 100644 --- a/plotly/graph_objs/scattercarpet/_hoverlabel.py +++ b/plotly/graph_objs/scattercarpet/_hoverlabel.py @@ -387,20 +387,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_line.py b/plotly/graph_objs/scattercarpet/_line.py index 934d6c5e5a9..8159b702889 100644 --- a/plotly/graph_objs/scattercarpet/_line.py +++ b/plotly/graph_objs/scattercarpet/_line.py @@ -256,16 +256,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('shape', None) - self.shape = shape if shape is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('shape', None) + self.shape = shape if shape is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_marker.py b/plotly/graph_objs/scattercarpet/_marker.py index 73c5bb44b8a..de8590b4eb1 100644 --- a/plotly/graph_objs/scattercarpet/_marker.py +++ b/plotly/graph_objs/scattercarpet/_marker.py @@ -1194,50 +1194,50 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('gradient', None) - self.gradient = gradient if gradient is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('maxdisplayed', None) - self.maxdisplayed = maxdisplayed if maxdisplayed is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('gradient', None) + self.gradient = gradient if gradient is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('maxdisplayed', None) + self.maxdisplayed = maxdisplayed if maxdisplayed is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_selected.py b/plotly/graph_objs/scattercarpet/_selected.py index 370783350f6..d1936c5eaf2 100644 --- a/plotly/graph_objs/scattercarpet/_selected.py +++ b/plotly/graph_objs/scattercarpet/_selected.py @@ -128,10 +128,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_stream.py b/plotly/graph_objs/scattercarpet/_stream.py index ec5b1f18fb9..adbf048016c 100644 --- a/plotly/graph_objs/scattercarpet/_stream.py +++ b/plotly/graph_objs/scattercarpet/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_textfont.py b/plotly/graph_objs/scattercarpet/_textfont.py index 976f324989c..89401854bca 100644 --- a/plotly/graph_objs/scattercarpet/_textfont.py +++ b/plotly/graph_objs/scattercarpet/_textfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/_unselected.py b/plotly/graph_objs/scattercarpet/_unselected.py index edc49b0ef7e..ca88bed0ccc 100644 --- a/plotly/graph_objs/scattercarpet/_unselected.py +++ b/plotly/graph_objs/scattercarpet/_unselected.py @@ -135,10 +135,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/hoverlabel/_font.py b/plotly/graph_objs/scattercarpet/hoverlabel/_font.py index 254141cf294..ffbc5a2db50 100644 --- a/plotly/graph_objs/scattercarpet/hoverlabel/_font.py +++ b/plotly/graph_objs/scattercarpet/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/marker/_colorbar.py b/plotly/graph_objs/scattercarpet/marker/_colorbar.py index 037264b5fbc..6f95e4a1274 100644 --- a/plotly/graph_objs/scattercarpet/marker/_colorbar.py +++ b/plotly/graph_objs/scattercarpet/marker/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/marker/_gradient.py b/plotly/graph_objs/scattercarpet/marker/_gradient.py index 09af68a044b..630016b4725 100644 --- a/plotly/graph_objs/scattercarpet/marker/_gradient.py +++ b/plotly/graph_objs/scattercarpet/marker/_gradient.py @@ -216,14 +216,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('typesrc', None) - self.typesrc = typesrc if typesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('typesrc', None) + self.typesrc = typesrc if typesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/marker/_line.py b/plotly/graph_objs/scattercarpet/marker/_line.py index cc29dc600b1..f0e28acb2fe 100644 --- a/plotly/graph_objs/scattercarpet/marker/_line.py +++ b/plotly/graph_objs/scattercarpet/marker/_line.py @@ -483,26 +483,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py index 54b5416d9ae..1611f12c4b8 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py index 36be86eafba..718765a5a85 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_titlefont.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_titlefont.py index 8710a2eab83..e1ab25f2f30 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/selected/_marker.py b/plotly/graph_objs/scattercarpet/selected/_marker.py index f3363472a0b..803e6795f3f 100644 --- a/plotly/graph_objs/scattercarpet/selected/_marker.py +++ b/plotly/graph_objs/scattercarpet/selected/_marker.py @@ -177,12 +177,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/selected/_textfont.py b/plotly/graph_objs/scattercarpet/selected/_textfont.py index 0b2b9966672..170b30a089f 100644 --- a/plotly/graph_objs/scattercarpet/selected/_textfont.py +++ b/plotly/graph_objs/scattercarpet/selected/_textfont.py @@ -125,8 +125,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/unselected/_marker.py b/plotly/graph_objs/scattercarpet/unselected/_marker.py index 5eb89f8ab3b..2a8a2ace626 100644 --- a/plotly/graph_objs/scattercarpet/unselected/_marker.py +++ b/plotly/graph_objs/scattercarpet/unselected/_marker.py @@ -186,12 +186,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattercarpet/unselected/_textfont.py b/plotly/graph_objs/scattercarpet/unselected/_textfont.py index 04abdb1db75..273fcd26b87 100644 --- a/plotly/graph_objs/scattercarpet/unselected/_textfont.py +++ b/plotly/graph_objs/scattercarpet/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_hoverlabel.py b/plotly/graph_objs/scattergeo/_hoverlabel.py index 63524a51905..fe23a5562fd 100644 --- a/plotly/graph_objs/scattergeo/_hoverlabel.py +++ b/plotly/graph_objs/scattergeo/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_line.py b/plotly/graph_objs/scattergeo/_line.py index 51f0a8a97fe..d07a15d14ce 100644 --- a/plotly/graph_objs/scattergeo/_line.py +++ b/plotly/graph_objs/scattergeo/_line.py @@ -184,12 +184,12 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_marker.py b/plotly/graph_objs/scattergeo/_marker.py index 275265bff13..d14a6201a4f 100644 --- a/plotly/graph_objs/scattergeo/_marker.py +++ b/plotly/graph_objs/scattergeo/_marker.py @@ -1166,48 +1166,48 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('gradient', None) - self.gradient = gradient if gradient is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('gradient', None) + self.gradient = gradient if gradient is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_selected.py b/plotly/graph_objs/scattergeo/_selected.py index 55d344fd480..10570775b33 100644 --- a/plotly/graph_objs/scattergeo/_selected.py +++ b/plotly/graph_objs/scattergeo/_selected.py @@ -128,10 +128,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_stream.py b/plotly/graph_objs/scattergeo/_stream.py index 19ccdeb9bbc..0c9f8f656a5 100644 --- a/plotly/graph_objs/scattergeo/_stream.py +++ b/plotly/graph_objs/scattergeo/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_textfont.py b/plotly/graph_objs/scattergeo/_textfont.py index a117c1e7624..31c6e9c1651 100644 --- a/plotly/graph_objs/scattergeo/_textfont.py +++ b/plotly/graph_objs/scattergeo/_textfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/_unselected.py b/plotly/graph_objs/scattergeo/_unselected.py index 0d79059a085..cae6c056d60 100644 --- a/plotly/graph_objs/scattergeo/_unselected.py +++ b/plotly/graph_objs/scattergeo/_unselected.py @@ -132,10 +132,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/hoverlabel/_font.py b/plotly/graph_objs/scattergeo/hoverlabel/_font.py index 312ecb39c1c..42cf1b79e3f 100644 --- a/plotly/graph_objs/scattergeo/hoverlabel/_font.py +++ b/plotly/graph_objs/scattergeo/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/marker/_colorbar.py b/plotly/graph_objs/scattergeo/marker/_colorbar.py index 66104ad8e8d..cafa8c8eaf4 100644 --- a/plotly/graph_objs/scattergeo/marker/_colorbar.py +++ b/plotly/graph_objs/scattergeo/marker/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/marker/_gradient.py b/plotly/graph_objs/scattergeo/marker/_gradient.py index b52d83880b4..79b54117773 100644 --- a/plotly/graph_objs/scattergeo/marker/_gradient.py +++ b/plotly/graph_objs/scattergeo/marker/_gradient.py @@ -216,14 +216,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('typesrc', None) - self.typesrc = typesrc if typesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('typesrc', None) + self.typesrc = typesrc if typesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/marker/_line.py b/plotly/graph_objs/scattergeo/marker/_line.py index 7f7065f9a43..e94586a1071 100644 --- a/plotly/graph_objs/scattergeo/marker/_line.py +++ b/plotly/graph_objs/scattergeo/marker/_line.py @@ -489,26 +489,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py index b4a0cd64316..4e77529e13c 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py index c1a21424fd4..c2f462e13b9 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_titlefont.py b/plotly/graph_objs/scattergeo/marker/colorbar/_titlefont.py index 53a09e2def9..68d90da7c52 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/selected/_marker.py b/plotly/graph_objs/scattergeo/selected/_marker.py index 80a0d8cc9a3..18fb8355eb2 100644 --- a/plotly/graph_objs/scattergeo/selected/_marker.py +++ b/plotly/graph_objs/scattergeo/selected/_marker.py @@ -175,12 +175,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/selected/_textfont.py b/plotly/graph_objs/scattergeo/selected/_textfont.py index 29814a92603..7e6ef7a43b4 100644 --- a/plotly/graph_objs/scattergeo/selected/_textfont.py +++ b/plotly/graph_objs/scattergeo/selected/_textfont.py @@ -125,8 +125,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/unselected/_marker.py b/plotly/graph_objs/scattergeo/unselected/_marker.py index b7743f93aa2..aeb42941c31 100644 --- a/plotly/graph_objs/scattergeo/unselected/_marker.py +++ b/plotly/graph_objs/scattergeo/unselected/_marker.py @@ -186,12 +186,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergeo/unselected/_textfont.py b/plotly/graph_objs/scattergeo/unselected/_textfont.py index 8d183911388..4836dc71ba5 100644 --- a/plotly/graph_objs/scattergeo/unselected/_textfont.py +++ b/plotly/graph_objs/scattergeo/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_error_x.py b/plotly/graph_objs/scattergl/_error_x.py index 4c71049d433..0ed5500e928 100644 --- a/plotly/graph_objs/scattergl/_error_x.py +++ b/plotly/graph_objs/scattergl/_error_x.py @@ -551,36 +551,36 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('copy_ystyle', None) - self.copy_ystyle = copy_ystyle if copy_ystyle is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('copy_ystyle', None) + self.copy_ystyle = copy_ystyle if copy_ystyle is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_error_y.py b/plotly/graph_objs/scattergl/_error_y.py index 2a78a5be7c9..57fcdf193b3 100644 --- a/plotly/graph_objs/scattergl/_error_y.py +++ b/plotly/graph_objs/scattergl/_error_y.py @@ -527,34 +527,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('array', None) - self.array = array if array is not None else v - v = arg.pop('arrayminus', None) - self.arrayminus = arrayminus if arrayminus is not None else v - v = arg.pop('arrayminussrc', None) - self.arrayminussrc = arrayminussrc if arrayminussrc is not None else v - v = arg.pop('arraysrc', None) - self.arraysrc = arraysrc if arraysrc is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('symmetric', None) - self.symmetric = symmetric if symmetric is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('traceref', None) - self.traceref = traceref if traceref is not None else v - v = arg.pop('tracerefminus', None) - self.tracerefminus = tracerefminus if tracerefminus is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v - v = arg.pop('valueminus', None) - self.valueminus = valueminus if valueminus is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('array', None) + self.array = array if array is not None else _v + _v = arg.pop('arrayminus', None) + self.arrayminus = arrayminus if arrayminus is not None else _v + _v = arg.pop('arrayminussrc', None) + self.arrayminussrc = arrayminussrc if arrayminussrc is not None else _v + _v = arg.pop('arraysrc', None) + self.arraysrc = arraysrc if arraysrc is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('symmetric', None) + self.symmetric = symmetric if symmetric is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('traceref', None) + self.traceref = traceref if traceref is not None else _v + _v = arg.pop('tracerefminus', None) + self.tracerefminus = tracerefminus if tracerefminus is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v + _v = arg.pop('valueminus', None) + self.valueminus = valueminus if valueminus is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_hoverlabel.py b/plotly/graph_objs/scattergl/_hoverlabel.py index 0541eb84d39..b5b4f1951bd 100644 --- a/plotly/graph_objs/scattergl/_hoverlabel.py +++ b/plotly/graph_objs/scattergl/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_line.py b/plotly/graph_objs/scattergl/_line.py index b1d81fec16f..074ce6df69a 100644 --- a/plotly/graph_objs/scattergl/_line.py +++ b/plotly/graph_objs/scattergl/_line.py @@ -174,12 +174,12 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_marker.py b/plotly/graph_objs/scattergl/_marker.py index ad0ab61b1a8..19f4ed48ed1 100644 --- a/plotly/graph_objs/scattergl/_marker.py +++ b/plotly/graph_objs/scattergl/_marker.py @@ -1121,46 +1121,46 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_selected.py b/plotly/graph_objs/scattergl/_selected.py index cb16f9c6966..9a5a1ccac08 100644 --- a/plotly/graph_objs/scattergl/_selected.py +++ b/plotly/graph_objs/scattergl/_selected.py @@ -95,8 +95,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_stream.py b/plotly/graph_objs/scattergl/_stream.py index 923018f2724..88b33057948 100644 --- a/plotly/graph_objs/scattergl/_stream.py +++ b/plotly/graph_objs/scattergl/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/_unselected.py b/plotly/graph_objs/scattergl/_unselected.py index 6be4536c8fb..65c3b0ba3fa 100644 --- a/plotly/graph_objs/scattergl/_unselected.py +++ b/plotly/graph_objs/scattergl/_unselected.py @@ -98,8 +98,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/hoverlabel/_font.py b/plotly/graph_objs/scattergl/hoverlabel/_font.py index f21f3127083..118b2b67fbb 100644 --- a/plotly/graph_objs/scattergl/hoverlabel/_font.py +++ b/plotly/graph_objs/scattergl/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/marker/_colorbar.py b/plotly/graph_objs/scattergl/marker/_colorbar.py index 6e6dad6d952..cd6e9ff2ebc 100644 --- a/plotly/graph_objs/scattergl/marker/_colorbar.py +++ b/plotly/graph_objs/scattergl/marker/_colorbar.py @@ -1646,90 +1646,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/marker/_line.py b/plotly/graph_objs/scattergl/marker/_line.py index b74ce0d8045..9b299a10cd7 100644 --- a/plotly/graph_objs/scattergl/marker/_line.py +++ b/plotly/graph_objs/scattergl/marker/_line.py @@ -489,26 +489,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py index 7d07c7ca9b1..223cc196eef 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py index b80f5db7061..f701c1c0a2b 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_titlefont.py b/plotly/graph_objs/scattergl/marker/colorbar/_titlefont.py index ffe2306403f..a31cec23c8a 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/selected/_marker.py b/plotly/graph_objs/scattergl/selected/_marker.py index 67cdfa8a388..34b9c36adc0 100644 --- a/plotly/graph_objs/scattergl/selected/_marker.py +++ b/plotly/graph_objs/scattergl/selected/_marker.py @@ -175,12 +175,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattergl/unselected/_marker.py b/plotly/graph_objs/scattergl/unselected/_marker.py index e8437d81423..a94c9b79c3f 100644 --- a/plotly/graph_objs/scattergl/unselected/_marker.py +++ b/plotly/graph_objs/scattergl/unselected/_marker.py @@ -184,12 +184,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_hoverlabel.py b/plotly/graph_objs/scattermapbox/_hoverlabel.py index 99b23d69b6e..5ef8aa21338 100644 --- a/plotly/graph_objs/scattermapbox/_hoverlabel.py +++ b/plotly/graph_objs/scattermapbox/_hoverlabel.py @@ -387,20 +387,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_line.py b/plotly/graph_objs/scattermapbox/_line.py index 8c279adb129..d987ca03895 100644 --- a/plotly/graph_objs/scattermapbox/_line.py +++ b/plotly/graph_objs/scattermapbox/_line.py @@ -147,10 +147,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_marker.py b/plotly/graph_objs/scattermapbox/_marker.py index ad68c8af947..8755ae31960 100644 --- a/plotly/graph_objs/scattermapbox/_marker.py +++ b/plotly/graph_objs/scattermapbox/_marker.py @@ -957,44 +957,44 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_selected.py b/plotly/graph_objs/scattermapbox/_selected.py index c3b63d82beb..3f8799bd6e2 100644 --- a/plotly/graph_objs/scattermapbox/_selected.py +++ b/plotly/graph_objs/scattermapbox/_selected.py @@ -95,8 +95,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_stream.py b/plotly/graph_objs/scattermapbox/_stream.py index 30d1f206f90..76de810fd80 100644 --- a/plotly/graph_objs/scattermapbox/_stream.py +++ b/plotly/graph_objs/scattermapbox/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_textfont.py b/plotly/graph_objs/scattermapbox/_textfont.py index a0ea92466be..c9f9a467096 100644 --- a/plotly/graph_objs/scattermapbox/_textfont.py +++ b/plotly/graph_objs/scattermapbox/_textfont.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/_unselected.py b/plotly/graph_objs/scattermapbox/_unselected.py index 8b8266ad47f..6add633468c 100644 --- a/plotly/graph_objs/scattermapbox/_unselected.py +++ b/plotly/graph_objs/scattermapbox/_unselected.py @@ -101,8 +101,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/hoverlabel/_font.py b/plotly/graph_objs/scattermapbox/hoverlabel/_font.py index 542d32dc569..8c32d4f5fc3 100644 --- a/plotly/graph_objs/scattermapbox/hoverlabel/_font.py +++ b/plotly/graph_objs/scattermapbox/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/marker/_colorbar.py b/plotly/graph_objs/scattermapbox/marker/_colorbar.py index fadc9d0ea87..d2ce51f96b3 100644 --- a/plotly/graph_objs/scattermapbox/marker/_colorbar.py +++ b/plotly/graph_objs/scattermapbox/marker/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py index b69242c62c2..ab15b01f0df 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py index 77460cca88f..7a0a7873cb8 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/_titlefont.py b/plotly/graph_objs/scattermapbox/marker/colorbar/_titlefont.py index 22d8b60fff4..b94adbf8e11 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/selected/_marker.py b/plotly/graph_objs/scattermapbox/selected/_marker.py index 490987f4294..183d95f4a2b 100644 --- a/plotly/graph_objs/scattermapbox/selected/_marker.py +++ b/plotly/graph_objs/scattermapbox/selected/_marker.py @@ -177,12 +177,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scattermapbox/unselected/_marker.py b/plotly/graph_objs/scattermapbox/unselected/_marker.py index cc0513a72fc..1951b4e7169 100644 --- a/plotly/graph_objs/scattermapbox/unselected/_marker.py +++ b/plotly/graph_objs/scattermapbox/unselected/_marker.py @@ -186,12 +186,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_hoverlabel.py b/plotly/graph_objs/scatterpolar/_hoverlabel.py index 8ffb93364bf..d0eaef45a65 100644 --- a/plotly/graph_objs/scatterpolar/_hoverlabel.py +++ b/plotly/graph_objs/scatterpolar/_hoverlabel.py @@ -385,20 +385,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_line.py b/plotly/graph_objs/scatterpolar/_line.py index 24524e72a7f..b07914c4819 100644 --- a/plotly/graph_objs/scatterpolar/_line.py +++ b/plotly/graph_objs/scatterpolar/_line.py @@ -256,16 +256,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('shape', None) - self.shape = shape if shape is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('shape', None) + self.shape = shape if shape is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_marker.py b/plotly/graph_objs/scatterpolar/_marker.py index e4ae0e903c6..aa25b755bf0 100644 --- a/plotly/graph_objs/scatterpolar/_marker.py +++ b/plotly/graph_objs/scatterpolar/_marker.py @@ -1195,50 +1195,50 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('gradient', None) - self.gradient = gradient if gradient is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('maxdisplayed', None) - self.maxdisplayed = maxdisplayed if maxdisplayed is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('gradient', None) + self.gradient = gradient if gradient is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('maxdisplayed', None) + self.maxdisplayed = maxdisplayed if maxdisplayed is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_selected.py b/plotly/graph_objs/scatterpolar/_selected.py index d3214a71af9..cb7eefd19a6 100644 --- a/plotly/graph_objs/scatterpolar/_selected.py +++ b/plotly/graph_objs/scatterpolar/_selected.py @@ -128,10 +128,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_stream.py b/plotly/graph_objs/scatterpolar/_stream.py index d74b21c792c..6f00aa37d10 100644 --- a/plotly/graph_objs/scatterpolar/_stream.py +++ b/plotly/graph_objs/scatterpolar/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_textfont.py b/plotly/graph_objs/scatterpolar/_textfont.py index 09aa08f9dae..aed0478150d 100644 --- a/plotly/graph_objs/scatterpolar/_textfont.py +++ b/plotly/graph_objs/scatterpolar/_textfont.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/_unselected.py b/plotly/graph_objs/scatterpolar/_unselected.py index ca626971451..13a1b10f08d 100644 --- a/plotly/graph_objs/scatterpolar/_unselected.py +++ b/plotly/graph_objs/scatterpolar/_unselected.py @@ -133,10 +133,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/hoverlabel/_font.py b/plotly/graph_objs/scatterpolar/hoverlabel/_font.py index 8df5ffe31d0..a239b6203fd 100644 --- a/plotly/graph_objs/scatterpolar/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterpolar/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/marker/_colorbar.py b/plotly/graph_objs/scatterpolar/marker/_colorbar.py index 7855f49331e..63874832de1 100644 --- a/plotly/graph_objs/scatterpolar/marker/_colorbar.py +++ b/plotly/graph_objs/scatterpolar/marker/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/marker/_gradient.py b/plotly/graph_objs/scatterpolar/marker/_gradient.py index d94efb02a7b..ebf32a0a413 100644 --- a/plotly/graph_objs/scatterpolar/marker/_gradient.py +++ b/plotly/graph_objs/scatterpolar/marker/_gradient.py @@ -216,14 +216,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('typesrc', None) - self.typesrc = typesrc if typesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('typesrc', None) + self.typesrc = typesrc if typesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/marker/_line.py b/plotly/graph_objs/scatterpolar/marker/_line.py index 4c6aaafd6f6..adb71a12055 100644 --- a/plotly/graph_objs/scatterpolar/marker/_line.py +++ b/plotly/graph_objs/scatterpolar/marker/_line.py @@ -490,26 +490,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py index fab2a2f8889..ee79e12ce54 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py index df730ecf905..825e7294d92 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_titlefont.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_titlefont.py index fa4725e3b17..b129c508e93 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/selected/_marker.py b/plotly/graph_objs/scatterpolar/selected/_marker.py index 56c6933bacb..e20d41b3674 100644 --- a/plotly/graph_objs/scatterpolar/selected/_marker.py +++ b/plotly/graph_objs/scatterpolar/selected/_marker.py @@ -177,12 +177,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/selected/_textfont.py b/plotly/graph_objs/scatterpolar/selected/_textfont.py index d104c93108f..4f06470f175 100644 --- a/plotly/graph_objs/scatterpolar/selected/_textfont.py +++ b/plotly/graph_objs/scatterpolar/selected/_textfont.py @@ -125,8 +125,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/unselected/_marker.py b/plotly/graph_objs/scatterpolar/unselected/_marker.py index 01663897655..f17720191f4 100644 --- a/plotly/graph_objs/scatterpolar/unselected/_marker.py +++ b/plotly/graph_objs/scatterpolar/unselected/_marker.py @@ -186,12 +186,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolar/unselected/_textfont.py b/plotly/graph_objs/scatterpolar/unselected/_textfont.py index 3f907f2c5c4..59c0fea1962 100644 --- a/plotly/graph_objs/scatterpolar/unselected/_textfont.py +++ b/plotly/graph_objs/scatterpolar/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/_hoverlabel.py b/plotly/graph_objs/scatterpolargl/_hoverlabel.py index 9cc495681e3..a8ba7e51c3e 100644 --- a/plotly/graph_objs/scatterpolargl/_hoverlabel.py +++ b/plotly/graph_objs/scatterpolargl/_hoverlabel.py @@ -387,20 +387,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/_line.py b/plotly/graph_objs/scatterpolargl/_line.py index 6df33114f8b..d3776dd9cbf 100644 --- a/plotly/graph_objs/scatterpolargl/_line.py +++ b/plotly/graph_objs/scatterpolargl/_line.py @@ -174,12 +174,12 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/_marker.py b/plotly/graph_objs/scatterpolargl/_marker.py index 149154e2633..e9042456f9f 100644 --- a/plotly/graph_objs/scatterpolargl/_marker.py +++ b/plotly/graph_objs/scatterpolargl/_marker.py @@ -1121,46 +1121,46 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/_selected.py b/plotly/graph_objs/scatterpolargl/_selected.py index d8da644aa82..5eaa140d5c2 100644 --- a/plotly/graph_objs/scatterpolargl/_selected.py +++ b/plotly/graph_objs/scatterpolargl/_selected.py @@ -129,10 +129,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/_stream.py b/plotly/graph_objs/scatterpolargl/_stream.py index d136d99292a..779486e6a5e 100644 --- a/plotly/graph_objs/scatterpolargl/_stream.py +++ b/plotly/graph_objs/scatterpolargl/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/_unselected.py b/plotly/graph_objs/scatterpolargl/_unselected.py index 2f9854898bb..2fa013b6f48 100644 --- a/plotly/graph_objs/scatterpolargl/_unselected.py +++ b/plotly/graph_objs/scatterpolargl/_unselected.py @@ -135,10 +135,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py b/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py index 6e2f4deafd7..d0a9db74cfc 100644 --- a/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py @@ -296,18 +296,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/marker/_colorbar.py b/plotly/graph_objs/scatterpolargl/marker/_colorbar.py index e896c70f805..27610551fa1 100644 --- a/plotly/graph_objs/scatterpolargl/marker/_colorbar.py +++ b/plotly/graph_objs/scatterpolargl/marker/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/marker/_line.py b/plotly/graph_objs/scatterpolargl/marker/_line.py index bbb4f16ffeb..d904c773982 100644 --- a/plotly/graph_objs/scatterpolargl/marker/_line.py +++ b/plotly/graph_objs/scatterpolargl/marker/_line.py @@ -490,26 +490,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py index 0aac5353e6d..8da5bf215ea 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py index 6d9405b7c32..5b832bbcd59 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_titlefont.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_titlefont.py index 5d3d3cf88aa..8ada8058372 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/selected/_marker.py b/plotly/graph_objs/scatterpolargl/selected/_marker.py index f2ee941920e..e43669336a3 100644 --- a/plotly/graph_objs/scatterpolargl/selected/_marker.py +++ b/plotly/graph_objs/scatterpolargl/selected/_marker.py @@ -177,12 +177,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/selected/_textfont.py b/plotly/graph_objs/scatterpolargl/selected/_textfont.py index 1eee948fb0c..cea15081e44 100644 --- a/plotly/graph_objs/scatterpolargl/selected/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/selected/_textfont.py @@ -125,8 +125,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/unselected/_marker.py b/plotly/graph_objs/scatterpolargl/unselected/_marker.py index 58e25772297..e17fefb4761 100644 --- a/plotly/graph_objs/scatterpolargl/unselected/_marker.py +++ b/plotly/graph_objs/scatterpolargl/unselected/_marker.py @@ -186,12 +186,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterpolargl/unselected/_textfont.py b/plotly/graph_objs/scatterpolargl/unselected/_textfont.py index a332d499a16..e2d84a61aee 100644 --- a/plotly/graph_objs/scatterpolargl/unselected/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_hoverlabel.py b/plotly/graph_objs/scatterternary/_hoverlabel.py index 6b4dba4190c..5b43993fc01 100644 --- a/plotly/graph_objs/scatterternary/_hoverlabel.py +++ b/plotly/graph_objs/scatterternary/_hoverlabel.py @@ -387,20 +387,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_line.py b/plotly/graph_objs/scatterternary/_line.py index 50e6bba7a16..2b6828b130f 100644 --- a/plotly/graph_objs/scatterternary/_line.py +++ b/plotly/graph_objs/scatterternary/_line.py @@ -256,16 +256,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('dash', None) - self.dash = dash if dash is not None else v - v = arg.pop('shape', None) - self.shape = shape if shape is not None else v - v = arg.pop('smoothing', None) - self.smoothing = smoothing if smoothing is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('dash', None) + self.dash = dash if dash is not None else _v + _v = arg.pop('shape', None) + self.shape = shape if shape is not None else _v + _v = arg.pop('smoothing', None) + self.smoothing = smoothing if smoothing is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_marker.py b/plotly/graph_objs/scatterternary/_marker.py index 3be6374e7b6..dfdafe18b6d 100644 --- a/plotly/graph_objs/scatterternary/_marker.py +++ b/plotly/graph_objs/scatterternary/_marker.py @@ -1195,50 +1195,50 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('gradient', None) - self.gradient = gradient if gradient is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('maxdisplayed', None) - self.maxdisplayed = maxdisplayed if maxdisplayed is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('gradient', None) + self.gradient = gradient if gradient is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('maxdisplayed', None) + self.maxdisplayed = maxdisplayed if maxdisplayed is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_selected.py b/plotly/graph_objs/scatterternary/_selected.py index b0bda690414..b24a710e35f 100644 --- a/plotly/graph_objs/scatterternary/_selected.py +++ b/plotly/graph_objs/scatterternary/_selected.py @@ -129,10 +129,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_stream.py b/plotly/graph_objs/scatterternary/_stream.py index 170bc9ef711..43a0a490f04 100644 --- a/plotly/graph_objs/scatterternary/_stream.py +++ b/plotly/graph_objs/scatterternary/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_textfont.py b/plotly/graph_objs/scatterternary/_textfont.py index aa8435853cb..fa5dae74488 100644 --- a/plotly/graph_objs/scatterternary/_textfont.py +++ b/plotly/graph_objs/scatterternary/_textfont.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/_unselected.py b/plotly/graph_objs/scatterternary/_unselected.py index 324312a4e6c..31f750a60c8 100644 --- a/plotly/graph_objs/scatterternary/_unselected.py +++ b/plotly/graph_objs/scatterternary/_unselected.py @@ -135,10 +135,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v - v = arg.pop('textfont', None) - self.textfont = textfont if textfont is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v + _v = arg.pop('textfont', None) + self.textfont = textfont if textfont is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/hoverlabel/_font.py b/plotly/graph_objs/scatterternary/hoverlabel/_font.py index ba8de92401a..c666afc678e 100644 --- a/plotly/graph_objs/scatterternary/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterternary/hoverlabel/_font.py @@ -296,18 +296,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/marker/_colorbar.py b/plotly/graph_objs/scatterternary/marker/_colorbar.py index 0adbd9c3453..385285938a8 100644 --- a/plotly/graph_objs/scatterternary/marker/_colorbar.py +++ b/plotly/graph_objs/scatterternary/marker/_colorbar.py @@ -1648,90 +1648,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/marker/_gradient.py b/plotly/graph_objs/scatterternary/marker/_gradient.py index 322c9af4581..418336a18ed 100644 --- a/plotly/graph_objs/scatterternary/marker/_gradient.py +++ b/plotly/graph_objs/scatterternary/marker/_gradient.py @@ -216,14 +216,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('type', None) - self.type = type if type is not None else v - v = arg.pop('typesrc', None) - self.typesrc = typesrc if typesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('type', None) + self.type = type if type is not None else _v + _v = arg.pop('typesrc', None) + self.typesrc = typesrc if typesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/marker/_line.py b/plotly/graph_objs/scatterternary/marker/_line.py index 20108fc6305..e2e58f624a9 100644 --- a/plotly/graph_objs/scatterternary/marker/_line.py +++ b/plotly/graph_objs/scatterternary/marker/_line.py @@ -490,26 +490,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py index 021ab255499..72b3bd786dd 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py index dfce0ebf03c..5e32545956b 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_titlefont.py b/plotly/graph_objs/scatterternary/marker/colorbar/_titlefont.py index 697cc202514..ec2d3c0bef6 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/selected/_marker.py b/plotly/graph_objs/scatterternary/selected/_marker.py index d88a004a2f0..aef567bc6b7 100644 --- a/plotly/graph_objs/scatterternary/selected/_marker.py +++ b/plotly/graph_objs/scatterternary/selected/_marker.py @@ -177,12 +177,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/selected/_textfont.py b/plotly/graph_objs/scatterternary/selected/_textfont.py index 7851878fb28..f3d1eb16158 100644 --- a/plotly/graph_objs/scatterternary/selected/_textfont.py +++ b/plotly/graph_objs/scatterternary/selected/_textfont.py @@ -125,8 +125,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/unselected/_marker.py b/plotly/graph_objs/scatterternary/unselected/_marker.py index 1d399fb91eb..4891eea59af 100644 --- a/plotly/graph_objs/scatterternary/unselected/_marker.py +++ b/plotly/graph_objs/scatterternary/unselected/_marker.py @@ -186,12 +186,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/scatterternary/unselected/_textfont.py b/plotly/graph_objs/scatterternary/unselected/_textfont.py index f199e48ae4c..7db78a5cfde 100644 --- a/plotly/graph_objs/scatterternary/unselected/_textfont.py +++ b/plotly/graph_objs/scatterternary/unselected/_textfont.py @@ -128,8 +128,8 @@ def __init__(self, arg=None, color=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_diagonal.py b/plotly/graph_objs/splom/_diagonal.py index 84325311e33..e8b6c276a58 100644 --- a/plotly/graph_objs/splom/_diagonal.py +++ b/plotly/graph_objs/splom/_diagonal.py @@ -86,8 +86,8 @@ def __init__(self, arg=None, visible=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_dimension.py b/plotly/graph_objs/splom/_dimension.py index 7774b4af09c..2c5f8ad7fe8 100644 --- a/plotly/graph_objs/splom/_dimension.py +++ b/plotly/graph_objs/splom/_dimension.py @@ -175,14 +175,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('label', None) - self.label = label if label is not None else v - v = arg.pop('values', None) - self.values = values if values is not None else v - v = arg.pop('valuessrc', None) - self.valuessrc = valuessrc if valuessrc is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v + _v = arg.pop('label', None) + self.label = label if label is not None else _v + _v = arg.pop('values', None) + self.values = values if values is not None else _v + _v = arg.pop('valuessrc', None) + self.valuessrc = valuessrc if valuessrc is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_hoverlabel.py b/plotly/graph_objs/splom/_hoverlabel.py index ac8cd2e981a..e0a6d2598a5 100644 --- a/plotly/graph_objs/splom/_hoverlabel.py +++ b/plotly/graph_objs/splom/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_marker.py b/plotly/graph_objs/splom/_marker.py index 6764e5f7853..e14af89098d 100644 --- a/plotly/graph_objs/splom/_marker.py +++ b/plotly/graph_objs/splom/_marker.py @@ -1121,46 +1121,46 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorbar', None) - self.colorbar = colorbar if colorbar is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('opacitysrc', None) - self.opacitysrc = opacitysrc if opacitysrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('showscale', None) - self.showscale = showscale if showscale is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizemin', None) - self.sizemin = sizemin if sizemin is not None else v - v = arg.pop('sizemode', None) - self.sizemode = sizemode if sizemode is not None else v - v = arg.pop('sizeref', None) - self.sizeref = sizeref if sizeref is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v - v = arg.pop('symbolsrc', None) - self.symbolsrc = symbolsrc if symbolsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorbar', None) + self.colorbar = colorbar if colorbar is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('opacitysrc', None) + self.opacitysrc = opacitysrc if opacitysrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('showscale', None) + self.showscale = showscale if showscale is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizemin', None) + self.sizemin = sizemin if sizemin is not None else _v + _v = arg.pop('sizemode', None) + self.sizemode = sizemode if sizemode is not None else _v + _v = arg.pop('sizeref', None) + self.sizeref = sizeref if sizeref is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v + _v = arg.pop('symbolsrc', None) + self.symbolsrc = symbolsrc if symbolsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_selected.py b/plotly/graph_objs/splom/_selected.py index b052d994725..a1e7f502145 100644 --- a/plotly/graph_objs/splom/_selected.py +++ b/plotly/graph_objs/splom/_selected.py @@ -95,8 +95,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_stream.py b/plotly/graph_objs/splom/_stream.py index ea8366f829c..0fbacc01008 100644 --- a/plotly/graph_objs/splom/_stream.py +++ b/plotly/graph_objs/splom/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/_unselected.py b/plotly/graph_objs/splom/_unselected.py index c9dd126cf69..f51e29a3d1a 100644 --- a/plotly/graph_objs/splom/_unselected.py +++ b/plotly/graph_objs/splom/_unselected.py @@ -98,8 +98,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/hoverlabel/_font.py b/plotly/graph_objs/splom/hoverlabel/_font.py index f1feda49195..f32d0a4bc54 100644 --- a/plotly/graph_objs/splom/hoverlabel/_font.py +++ b/plotly/graph_objs/splom/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/marker/_colorbar.py b/plotly/graph_objs/splom/marker/_colorbar.py index 5fb711b162c..23c8da45803 100644 --- a/plotly/graph_objs/splom/marker/_colorbar.py +++ b/plotly/graph_objs/splom/marker/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/marker/_line.py b/plotly/graph_objs/splom/marker/_line.py index b12ee857afc..c9744acd43e 100644 --- a/plotly/graph_objs/splom/marker/_line.py +++ b/plotly/graph_objs/splom/marker/_line.py @@ -489,26 +489,26 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('autocolorscale', None) - self.autocolorscale = autocolorscale if autocolorscale is not None else v - v = arg.pop('cauto', None) - self.cauto = cauto if cauto is not None else v - v = arg.pop('cmax', None) - self.cmax = cmax if cmax is not None else v - v = arg.pop('cmin', None) - self.cmin = cmin if cmin is not None else v - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorscale', None) - self.colorscale = colorscale if colorscale is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('reversescale', None) - self.reversescale = reversescale if reversescale is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('autocolorscale', None) + self.autocolorscale = autocolorscale if autocolorscale is not None else _v + _v = arg.pop('cauto', None) + self.cauto = cauto if cauto is not None else _v + _v = arg.pop('cmax', None) + self.cmax = cmax if cmax is not None else _v + _v = arg.pop('cmin', None) + self.cmin = cmin if cmin is not None else _v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorscale', None) + self.colorscale = colorscale if colorscale is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('reversescale', None) + self.reversescale = reversescale if reversescale is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/marker/colorbar/_tickfont.py b/plotly/graph_objs/splom/marker/colorbar/_tickfont.py index f4ecf3501f3..cceeb2e687a 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/splom/marker/colorbar/_tickfont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py index 0b515e20c49..02be1f9e7d5 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/marker/colorbar/_titlefont.py b/plotly/graph_objs/splom/marker/colorbar/_titlefont.py index 1a56d23b6fd..b159fef5074 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_titlefont.py +++ b/plotly/graph_objs/splom/marker/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/selected/_marker.py b/plotly/graph_objs/splom/selected/_marker.py index 85cce23c183..7d01ae845a5 100644 --- a/plotly/graph_objs/splom/selected/_marker.py +++ b/plotly/graph_objs/splom/selected/_marker.py @@ -174,12 +174,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/splom/unselected/_marker.py b/plotly/graph_objs/splom/unselected/_marker.py index b1ead051600..a51f65281f2 100644 --- a/plotly/graph_objs/splom/unselected/_marker.py +++ b/plotly/graph_objs/splom/unselected/_marker.py @@ -184,12 +184,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/_colorbar.py b/plotly/graph_objs/surface/_colorbar.py index 38e129538b6..3623722eea9 100644 --- a/plotly/graph_objs/surface/_colorbar.py +++ b/plotly/graph_objs/surface/_colorbar.py @@ -1645,90 +1645,90 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('borderwidth', None) - self.borderwidth = borderwidth if borderwidth is not None else v - v = arg.pop('dtick', None) - self.dtick = dtick if dtick is not None else v - v = arg.pop('exponentformat', None) - self.exponentformat = exponentformat if exponentformat is not None else v - v = arg.pop('len', None) - self.len = len if len is not None else v - v = arg.pop('lenmode', None) - self.lenmode = lenmode if lenmode is not None else v - v = arg.pop('nticks', None) - self.nticks = nticks if nticks is not None else v - v = arg.pop('outlinecolor', None) - self.outlinecolor = outlinecolor if outlinecolor is not None else v - v = arg.pop('outlinewidth', None) - self.outlinewidth = outlinewidth if outlinewidth is not None else v - v = arg.pop('separatethousands', None) - self.separatethousands = separatethousands if separatethousands is not None else v - v = arg.pop('showexponent', None) - self.showexponent = showexponent if showexponent is not None else v - v = arg.pop('showticklabels', None) - self.showticklabels = showticklabels if showticklabels is not None else v - v = arg.pop('showtickprefix', None) - self.showtickprefix = showtickprefix if showtickprefix is not None else v - v = arg.pop('showticksuffix', None) - self.showticksuffix = showticksuffix if showticksuffix is not None else v - v = arg.pop('thickness', None) - self.thickness = thickness if thickness is not None else v - v = arg.pop('thicknessmode', None) - self.thicknessmode = thicknessmode if thicknessmode is not None else v - v = arg.pop('tick0', None) - self.tick0 = tick0 if tick0 is not None else v - v = arg.pop('tickangle', None) - self.tickangle = tickangle if tickangle is not None else v - v = arg.pop('tickcolor', None) - self.tickcolor = tickcolor if tickcolor is not None else v - v = arg.pop('tickfont', None) - self.tickfont = tickfont if tickfont is not None else v - v = arg.pop('tickformat', None) - self.tickformat = tickformat if tickformat is not None else v - v = arg.pop('tickformatstops', None) - self.tickformatstops = tickformatstops if tickformatstops is not None else v - v = arg.pop('ticklen', None) - self.ticklen = ticklen if ticklen is not None else v - v = arg.pop('tickmode', None) - self.tickmode = tickmode if tickmode is not None else v - v = arg.pop('tickprefix', None) - self.tickprefix = tickprefix if tickprefix is not None else v - v = arg.pop('ticks', None) - self.ticks = ticks if ticks is not None else v - v = arg.pop('ticksuffix', None) - self.ticksuffix = ticksuffix if ticksuffix is not None else v - v = arg.pop('ticktext', None) - self.ticktext = ticktext if ticktext is not None else v - v = arg.pop('ticktextsrc', None) - self.ticktextsrc = ticktextsrc if ticktextsrc is not None else v - v = arg.pop('tickvals', None) - self.tickvals = tickvals if tickvals is not None else v - v = arg.pop('tickvalssrc', None) - self.tickvalssrc = tickvalssrc if tickvalssrc is not None else v - v = arg.pop('tickwidth', None) - self.tickwidth = tickwidth if tickwidth is not None else v - v = arg.pop('title', None) - self.title = title if title is not None else v - v = arg.pop('titlefont', None) - self.titlefont = titlefont if titlefont is not None else v - v = arg.pop('titleside', None) - self.titleside = titleside if titleside is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('xanchor', None) - self.xanchor = xanchor if xanchor is not None else v - v = arg.pop('xpad', None) - self.xpad = xpad if xpad is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('yanchor', None) - self.yanchor = yanchor if yanchor is not None else v - v = arg.pop('ypad', None) - self.ypad = ypad if ypad is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('borderwidth', None) + self.borderwidth = borderwidth if borderwidth is not None else _v + _v = arg.pop('dtick', None) + self.dtick = dtick if dtick is not None else _v + _v = arg.pop('exponentformat', None) + self.exponentformat = exponentformat if exponentformat is not None else _v + _v = arg.pop('len', None) + self.len = len if len is not None else _v + _v = arg.pop('lenmode', None) + self.lenmode = lenmode if lenmode is not None else _v + _v = arg.pop('nticks', None) + self.nticks = nticks if nticks is not None else _v + _v = arg.pop('outlinecolor', None) + self.outlinecolor = outlinecolor if outlinecolor is not None else _v + _v = arg.pop('outlinewidth', None) + self.outlinewidth = outlinewidth if outlinewidth is not None else _v + _v = arg.pop('separatethousands', None) + self.separatethousands = separatethousands if separatethousands is not None else _v + _v = arg.pop('showexponent', None) + self.showexponent = showexponent if showexponent is not None else _v + _v = arg.pop('showticklabels', None) + self.showticklabels = showticklabels if showticklabels is not None else _v + _v = arg.pop('showtickprefix', None) + self.showtickprefix = showtickprefix if showtickprefix is not None else _v + _v = arg.pop('showticksuffix', None) + self.showticksuffix = showticksuffix if showticksuffix is not None else _v + _v = arg.pop('thickness', None) + self.thickness = thickness if thickness is not None else _v + _v = arg.pop('thicknessmode', None) + self.thicknessmode = thicknessmode if thicknessmode is not None else _v + _v = arg.pop('tick0', None) + self.tick0 = tick0 if tick0 is not None else _v + _v = arg.pop('tickangle', None) + self.tickangle = tickangle if tickangle is not None else _v + _v = arg.pop('tickcolor', None) + self.tickcolor = tickcolor if tickcolor is not None else _v + _v = arg.pop('tickfont', None) + self.tickfont = tickfont if tickfont is not None else _v + _v = arg.pop('tickformat', None) + self.tickformat = tickformat if tickformat is not None else _v + _v = arg.pop('tickformatstops', None) + self.tickformatstops = tickformatstops if tickformatstops is not None else _v + _v = arg.pop('ticklen', None) + self.ticklen = ticklen if ticklen is not None else _v + _v = arg.pop('tickmode', None) + self.tickmode = tickmode if tickmode is not None else _v + _v = arg.pop('tickprefix', None) + self.tickprefix = tickprefix if tickprefix is not None else _v + _v = arg.pop('ticks', None) + self.ticks = ticks if ticks is not None else _v + _v = arg.pop('ticksuffix', None) + self.ticksuffix = ticksuffix if ticksuffix is not None else _v + _v = arg.pop('ticktext', None) + self.ticktext = ticktext if ticktext is not None else _v + _v = arg.pop('ticktextsrc', None) + self.ticktextsrc = ticktextsrc if ticktextsrc is not None else _v + _v = arg.pop('tickvals', None) + self.tickvals = tickvals if tickvals is not None else _v + _v = arg.pop('tickvalssrc', None) + self.tickvalssrc = tickvalssrc if tickvalssrc is not None else _v + _v = arg.pop('tickwidth', None) + self.tickwidth = tickwidth if tickwidth is not None else _v + _v = arg.pop('title', None) + self.title = title if title is not None else _v + _v = arg.pop('titlefont', None) + self.titlefont = titlefont if titlefont is not None else _v + _v = arg.pop('titleside', None) + self.titleside = titleside if titleside is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('xanchor', None) + self.xanchor = xanchor if xanchor is not None else _v + _v = arg.pop('xpad', None) + self.xpad = xpad if xpad is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('yanchor', None) + self.yanchor = yanchor if yanchor is not None else _v + _v = arg.pop('ypad', None) + self.ypad = ypad if ypad is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/_contours.py b/plotly/graph_objs/surface/_contours.py index 0903139e668..576175d1a49 100644 --- a/plotly/graph_objs/surface/_contours.py +++ b/plotly/graph_objs/surface/_contours.py @@ -220,12 +220,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/_hoverlabel.py b/plotly/graph_objs/surface/_hoverlabel.py index 311e8ca3687..e23f92077c1 100644 --- a/plotly/graph_objs/surface/_hoverlabel.py +++ b/plotly/graph_objs/surface/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/_lighting.py b/plotly/graph_objs/surface/_lighting.py index f4f27a771ce..15a6fd8c240 100644 --- a/plotly/graph_objs/surface/_lighting.py +++ b/plotly/graph_objs/surface/_lighting.py @@ -212,16 +212,16 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('ambient', None) - self.ambient = ambient if ambient is not None else v - v = arg.pop('diffuse', None) - self.diffuse = diffuse if diffuse is not None else v - v = arg.pop('fresnel', None) - self.fresnel = fresnel if fresnel is not None else v - v = arg.pop('roughness', None) - self.roughness = roughness if roughness is not None else v - v = arg.pop('specular', None) - self.specular = specular if specular is not None else v + _v = arg.pop('ambient', None) + self.ambient = ambient if ambient is not None else _v + _v = arg.pop('diffuse', None) + self.diffuse = diffuse if diffuse is not None else _v + _v = arg.pop('fresnel', None) + self.fresnel = fresnel if fresnel is not None else _v + _v = arg.pop('roughness', None) + self.roughness = roughness if roughness is not None else _v + _v = arg.pop('specular', None) + self.specular = specular if specular is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/_lightposition.py b/plotly/graph_objs/surface/_lightposition.py index 6c9d225b7e3..5a255f38d59 100644 --- a/plotly/graph_objs/surface/_lightposition.py +++ b/plotly/graph_objs/surface/_lightposition.py @@ -141,12 +141,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/_stream.py b/plotly/graph_objs/surface/_stream.py index b06b4c9cd45..ed34d47e5d6 100644 --- a/plotly/graph_objs/surface/_stream.py +++ b/plotly/graph_objs/surface/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/colorbar/_tickfont.py b/plotly/graph_objs/surface/colorbar/_tickfont.py index 28f5510f765..740a4183819 100644 --- a/plotly/graph_objs/surface/colorbar/_tickfont.py +++ b/plotly/graph_objs/surface/colorbar/_tickfont.py @@ -206,12 +206,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/colorbar/_tickformatstop.py b/plotly/graph_objs/surface/colorbar/_tickformatstop.py index 045e2887f33..acf9a5eef2e 100644 --- a/plotly/graph_objs/surface/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/surface/colorbar/_tickformatstop.py @@ -124,10 +124,10 @@ def __init__(self, arg=None, dtickrange=None, value=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('dtickrange', None) - self.dtickrange = dtickrange if dtickrange is not None else v - v = arg.pop('value', None) - self.value = value if value is not None else v + _v = arg.pop('dtickrange', None) + self.dtickrange = dtickrange if dtickrange is not None else _v + _v = arg.pop('value', None) + self.value = value if value is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/colorbar/_titlefont.py b/plotly/graph_objs/surface/colorbar/_titlefont.py index 6aa62dfcfdb..5c834b0b39a 100644 --- a/plotly/graph_objs/surface/colorbar/_titlefont.py +++ b/plotly/graph_objs/surface/colorbar/_titlefont.py @@ -208,12 +208,12 @@ def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/contours/_x.py b/plotly/graph_objs/surface/contours/_x.py index 61fd6edf698..a1606559ded 100644 --- a/plotly/graph_objs/surface/contours/_x.py +++ b/plotly/graph_objs/surface/contours/_x.py @@ -384,22 +384,22 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('highlight', None) - self.highlight = highlight if highlight is not None else v - v = arg.pop('highlightcolor', None) - self.highlightcolor = highlightcolor if highlightcolor is not None else v - v = arg.pop('highlightwidth', None) - self.highlightwidth = highlightwidth if highlightwidth is not None else v - v = arg.pop('project', None) - self.project = project if project is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v - v = arg.pop('usecolormap', None) - self.usecolormap = usecolormap if usecolormap is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('highlight', None) + self.highlight = highlight if highlight is not None else _v + _v = arg.pop('highlightcolor', None) + self.highlightcolor = highlightcolor if highlightcolor is not None else _v + _v = arg.pop('highlightwidth', None) + self.highlightwidth = highlightwidth if highlightwidth is not None else _v + _v = arg.pop('project', None) + self.project = project if project is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v + _v = arg.pop('usecolormap', None) + self.usecolormap = usecolormap if usecolormap is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/contours/_y.py b/plotly/graph_objs/surface/contours/_y.py index 319373a3d34..594d661c7db 100644 --- a/plotly/graph_objs/surface/contours/_y.py +++ b/plotly/graph_objs/surface/contours/_y.py @@ -384,22 +384,22 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('highlight', None) - self.highlight = highlight if highlight is not None else v - v = arg.pop('highlightcolor', None) - self.highlightcolor = highlightcolor if highlightcolor is not None else v - v = arg.pop('highlightwidth', None) - self.highlightwidth = highlightwidth if highlightwidth is not None else v - v = arg.pop('project', None) - self.project = project if project is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v - v = arg.pop('usecolormap', None) - self.usecolormap = usecolormap if usecolormap is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('highlight', None) + self.highlight = highlight if highlight is not None else _v + _v = arg.pop('highlightcolor', None) + self.highlightcolor = highlightcolor if highlightcolor is not None else _v + _v = arg.pop('highlightwidth', None) + self.highlightwidth = highlightwidth if highlightwidth is not None else _v + _v = arg.pop('project', None) + self.project = project if project is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v + _v = arg.pop('usecolormap', None) + self.usecolormap = usecolormap if usecolormap is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/contours/_z.py b/plotly/graph_objs/surface/contours/_z.py index b648716c3b7..14f7855b636 100644 --- a/plotly/graph_objs/surface/contours/_z.py +++ b/plotly/graph_objs/surface/contours/_z.py @@ -384,22 +384,22 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('highlight', None) - self.highlight = highlight if highlight is not None else v - v = arg.pop('highlightcolor', None) - self.highlightcolor = highlightcolor if highlightcolor is not None else v - v = arg.pop('highlightwidth', None) - self.highlightwidth = highlightwidth if highlightwidth is not None else v - v = arg.pop('project', None) - self.project = project if project is not None else v - v = arg.pop('show', None) - self.show = show if show is not None else v - v = arg.pop('usecolormap', None) - self.usecolormap = usecolormap if usecolormap is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('highlight', None) + self.highlight = highlight if highlight is not None else _v + _v = arg.pop('highlightcolor', None) + self.highlightcolor = highlightcolor if highlightcolor is not None else _v + _v = arg.pop('highlightwidth', None) + self.highlightwidth = highlightwidth if highlightwidth is not None else _v + _v = arg.pop('project', None) + self.project = project if project is not None else _v + _v = arg.pop('show', None) + self.show = show if show is not None else _v + _v = arg.pop('usecolormap', None) + self.usecolormap = usecolormap if usecolormap is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/contours/x/_project.py b/plotly/graph_objs/surface/contours/x/_project.py index b9eaf86cc0c..1c31ef0bec9 100644 --- a/plotly/graph_objs/surface/contours/x/_project.py +++ b/plotly/graph_objs/surface/contours/x/_project.py @@ -167,12 +167,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/contours/y/_project.py b/plotly/graph_objs/surface/contours/y/_project.py index 87c269342c3..ccae4954a21 100644 --- a/plotly/graph_objs/surface/contours/y/_project.py +++ b/plotly/graph_objs/surface/contours/y/_project.py @@ -167,12 +167,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/contours/z/_project.py b/plotly/graph_objs/surface/contours/z/_project.py index 750c24c67e9..b2440ddb342 100644 --- a/plotly/graph_objs/surface/contours/z/_project.py +++ b/plotly/graph_objs/surface/contours/z/_project.py @@ -167,12 +167,12 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v - v = arg.pop('z', None) - self.z = z if z is not None else v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v + _v = arg.pop('z', None) + self.z = z if z is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/surface/hoverlabel/_font.py b/plotly/graph_objs/surface/hoverlabel/_font.py index 2276a1f4ffd..e97965e1230 100644 --- a/plotly/graph_objs/surface/hoverlabel/_font.py +++ b/plotly/graph_objs/surface/hoverlabel/_font.py @@ -294,18 +294,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/_cells.py b/plotly/graph_objs/table/_cells.py index 5578d40610b..78a85ecb554 100644 --- a/plotly/graph_objs/table/_cells.py +++ b/plotly/graph_objs/table/_cells.py @@ -525,34 +525,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('align', None) - self.align = align if align is not None else v - v = arg.pop('alignsrc', None) - self.alignsrc = alignsrc if alignsrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('format', None) - self.format = format if format is not None else v - v = arg.pop('formatsrc', None) - self.formatsrc = formatsrc if formatsrc is not None else v - v = arg.pop('height', None) - self.height = height if height is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('prefix', None) - self.prefix = prefix if prefix is not None else v - v = arg.pop('prefixsrc', None) - self.prefixsrc = prefixsrc if prefixsrc is not None else v - v = arg.pop('suffix', None) - self.suffix = suffix if suffix is not None else v - v = arg.pop('suffixsrc', None) - self.suffixsrc = suffixsrc if suffixsrc is not None else v - v = arg.pop('values', None) - self.values = values if values is not None else v - v = arg.pop('valuessrc', None) - self.valuessrc = valuessrc if valuessrc is not None else v + _v = arg.pop('align', None) + self.align = align if align is not None else _v + _v = arg.pop('alignsrc', None) + self.alignsrc = alignsrc if alignsrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('format', None) + self.format = format if format is not None else _v + _v = arg.pop('formatsrc', None) + self.formatsrc = formatsrc if formatsrc is not None else _v + _v = arg.pop('height', None) + self.height = height if height is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('prefix', None) + self.prefix = prefix if prefix is not None else _v + _v = arg.pop('prefixsrc', None) + self.prefixsrc = prefixsrc if prefixsrc is not None else _v + _v = arg.pop('suffix', None) + self.suffix = suffix if suffix is not None else _v + _v = arg.pop('suffixsrc', None) + self.suffixsrc = suffixsrc if suffixsrc is not None else _v + _v = arg.pop('values', None) + self.values = values if values is not None else _v + _v = arg.pop('valuessrc', None) + self.valuessrc = valuessrc if valuessrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/_domain.py b/plotly/graph_objs/table/_domain.py index e8d28c52bbf..68a3c00868f 100644 --- a/plotly/graph_objs/table/_domain.py +++ b/plotly/graph_objs/table/_domain.py @@ -184,14 +184,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('column', None) - self.column = column if column is not None else v - v = arg.pop('row', None) - self.row = row if row is not None else v - v = arg.pop('x', None) - self.x = x if x is not None else v - v = arg.pop('y', None) - self.y = y if y is not None else v + _v = arg.pop('column', None) + self.column = column if column is not None else _v + _v = arg.pop('row', None) + self.row = row if row is not None else _v + _v = arg.pop('x', None) + self.x = x if x is not None else _v + _v = arg.pop('y', None) + self.y = y if y is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/_header.py b/plotly/graph_objs/table/_header.py index 5400c49e7de..82e23d3138d 100644 --- a/plotly/graph_objs/table/_header.py +++ b/plotly/graph_objs/table/_header.py @@ -525,34 +525,34 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('align', None) - self.align = align if align is not None else v - v = arg.pop('alignsrc', None) - self.alignsrc = alignsrc if alignsrc is not None else v - v = arg.pop('fill', None) - self.fill = fill if fill is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('format', None) - self.format = format if format is not None else v - v = arg.pop('formatsrc', None) - self.formatsrc = formatsrc if formatsrc is not None else v - v = arg.pop('height', None) - self.height = height if height is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('prefix', None) - self.prefix = prefix if prefix is not None else v - v = arg.pop('prefixsrc', None) - self.prefixsrc = prefixsrc if prefixsrc is not None else v - v = arg.pop('suffix', None) - self.suffix = suffix if suffix is not None else v - v = arg.pop('suffixsrc', None) - self.suffixsrc = suffixsrc if suffixsrc is not None else v - v = arg.pop('values', None) - self.values = values if values is not None else v - v = arg.pop('valuessrc', None) - self.valuessrc = valuessrc if valuessrc is not None else v + _v = arg.pop('align', None) + self.align = align if align is not None else _v + _v = arg.pop('alignsrc', None) + self.alignsrc = alignsrc if alignsrc is not None else _v + _v = arg.pop('fill', None) + self.fill = fill if fill is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('format', None) + self.format = format if format is not None else _v + _v = arg.pop('formatsrc', None) + self.formatsrc = formatsrc if formatsrc is not None else _v + _v = arg.pop('height', None) + self.height = height if height is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('prefix', None) + self.prefix = prefix if prefix is not None else _v + _v = arg.pop('prefixsrc', None) + self.prefixsrc = prefixsrc if prefixsrc is not None else _v + _v = arg.pop('suffix', None) + self.suffix = suffix if suffix is not None else _v + _v = arg.pop('suffixsrc', None) + self.suffixsrc = suffixsrc if suffixsrc is not None else _v + _v = arg.pop('values', None) + self.values = values if values is not None else _v + _v = arg.pop('valuessrc', None) + self.valuessrc = valuessrc if valuessrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/_hoverlabel.py b/plotly/graph_objs/table/_hoverlabel.py index 4e33804de34..bcc160cf792 100644 --- a/plotly/graph_objs/table/_hoverlabel.py +++ b/plotly/graph_objs/table/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/_stream.py b/plotly/graph_objs/table/_stream.py index a288ece0762..bfead87d175 100644 --- a/plotly/graph_objs/table/_stream.py +++ b/plotly/graph_objs/table/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/cells/_fill.py b/plotly/graph_objs/table/cells/_fill.py index f66a63d5967..7ace0b6a9a2 100644 --- a/plotly/graph_objs/table/cells/_fill.py +++ b/plotly/graph_objs/table/cells/_fill.py @@ -151,10 +151,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/cells/_font.py b/plotly/graph_objs/table/cells/_font.py index 7d4d0f09452..3a60d557fa6 100644 --- a/plotly/graph_objs/table/cells/_font.py +++ b/plotly/graph_objs/table/cells/_font.py @@ -291,18 +291,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/cells/_line.py b/plotly/graph_objs/table/cells/_line.py index 6daf022c7f1..0167448d47a 100644 --- a/plotly/graph_objs/table/cells/_line.py +++ b/plotly/graph_objs/table/cells/_line.py @@ -203,14 +203,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/header/_fill.py b/plotly/graph_objs/table/header/_fill.py index 519d7c71fea..b9d49be2312 100644 --- a/plotly/graph_objs/table/header/_fill.py +++ b/plotly/graph_objs/table/header/_fill.py @@ -151,10 +151,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/header/_font.py b/plotly/graph_objs/table/header/_font.py index ac82c3df6b9..674e511546a 100644 --- a/plotly/graph_objs/table/header/_font.py +++ b/plotly/graph_objs/table/header/_font.py @@ -291,18 +291,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/header/_line.py b/plotly/graph_objs/table/header/_line.py index 31093e69bb1..02c7e1adbb3 100644 --- a/plotly/graph_objs/table/header/_line.py +++ b/plotly/graph_objs/table/header/_line.py @@ -203,14 +203,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v - v = arg.pop('widthsrc', None) - self.widthsrc = widthsrc if widthsrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v + _v = arg.pop('widthsrc', None) + self.widthsrc = widthsrc if widthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/table/hoverlabel/_font.py b/plotly/graph_objs/table/hoverlabel/_font.py index 6bee921e410..aa6abb95744 100644 --- a/plotly/graph_objs/table/hoverlabel/_font.py +++ b/plotly/graph_objs/table/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_box.py b/plotly/graph_objs/violin/_box.py index eea1e38f12c..80ca23c66a1 100644 --- a/plotly/graph_objs/violin/_box.py +++ b/plotly/graph_objs/violin/_box.py @@ -224,14 +224,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('fillcolor', None) - self.fillcolor = fillcolor if fillcolor is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('fillcolor', None) + self.fillcolor = fillcolor if fillcolor is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_hoverlabel.py b/plotly/graph_objs/violin/_hoverlabel.py index 98b4f2598a1..46ff0a7bb0b 100644 --- a/plotly/graph_objs/violin/_hoverlabel.py +++ b/plotly/graph_objs/violin/_hoverlabel.py @@ -384,20 +384,20 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('bgcolor', None) - self.bgcolor = bgcolor if bgcolor is not None else v - v = arg.pop('bgcolorsrc', None) - self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else v - v = arg.pop('bordercolor', None) - self.bordercolor = bordercolor if bordercolor is not None else v - v = arg.pop('bordercolorsrc', None) - self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else v - v = arg.pop('font', None) - self.font = font if font is not None else v - v = arg.pop('namelength', None) - self.namelength = namelength if namelength is not None else v - v = arg.pop('namelengthsrc', None) - self.namelengthsrc = namelengthsrc if namelengthsrc is not None else v + _v = arg.pop('bgcolor', None) + self.bgcolor = bgcolor if bgcolor is not None else _v + _v = arg.pop('bgcolorsrc', None) + self.bgcolorsrc = bgcolorsrc if bgcolorsrc is not None else _v + _v = arg.pop('bordercolor', None) + self.bordercolor = bordercolor if bordercolor is not None else _v + _v = arg.pop('bordercolorsrc', None) + self.bordercolorsrc = bordercolorsrc if bordercolorsrc is not None else _v + _v = arg.pop('font', None) + self.font = font if font is not None else _v + _v = arg.pop('namelength', None) + self.namelength = namelength if namelength is not None else _v + _v = arg.pop('namelengthsrc', None) + self.namelengthsrc = namelengthsrc if namelengthsrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_line.py b/plotly/graph_objs/violin/_line.py index 759a741d348..9f97978d7ab 100644 --- a/plotly/graph_objs/violin/_line.py +++ b/plotly/graph_objs/violin/_line.py @@ -147,10 +147,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_marker.py b/plotly/graph_objs/violin/_marker.py index bb2bc1c474c..a1eadc3f9a9 100644 --- a/plotly/graph_objs/violin/_marker.py +++ b/plotly/graph_objs/violin/_marker.py @@ -398,18 +398,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('line', None) - self.line = line if line is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('outliercolor', None) - self.outliercolor = outliercolor if outliercolor is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('symbol', None) - self.symbol = symbol if symbol is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('line', None) + self.line = line if line is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('outliercolor', None) + self.outliercolor = outliercolor if outliercolor is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('symbol', None) + self.symbol = symbol if symbol is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_meanline.py b/plotly/graph_objs/violin/_meanline.py index 2e21613c9bc..3e466c945ed 100644 --- a/plotly/graph_objs/violin/_meanline.py +++ b/plotly/graph_objs/violin/_meanline.py @@ -185,12 +185,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('visible', None) - self.visible = visible if visible is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('visible', None) + self.visible = visible if visible is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_selected.py b/plotly/graph_objs/violin/_selected.py index 3f545f49490..cda456644f6 100644 --- a/plotly/graph_objs/violin/_selected.py +++ b/plotly/graph_objs/violin/_selected.py @@ -95,8 +95,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_stream.py b/plotly/graph_objs/violin/_stream.py index cfc7e085cd5..f8d6b82efaf 100644 --- a/plotly/graph_objs/violin/_stream.py +++ b/plotly/graph_objs/violin/_stream.py @@ -121,10 +121,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('maxpoints', None) - self.maxpoints = maxpoints if maxpoints is not None else v - v = arg.pop('token', None) - self.token = token if token is not None else v + _v = arg.pop('maxpoints', None) + self.maxpoints = maxpoints if maxpoints is not None else _v + _v = arg.pop('token', None) + self.token = token if token is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/_unselected.py b/plotly/graph_objs/violin/_unselected.py index ed6cda1d242..177b7ff26e9 100644 --- a/plotly/graph_objs/violin/_unselected.py +++ b/plotly/graph_objs/violin/_unselected.py @@ -98,8 +98,8 @@ def __init__(self, arg=None, marker=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('marker', None) - self.marker = marker if marker is not None else v + _v = arg.pop('marker', None) + self.marker = marker if marker is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/box/_line.py b/plotly/graph_objs/violin/box/_line.py index e4ad25c073f..34c0c61b5ab 100644 --- a/plotly/graph_objs/violin/box/_line.py +++ b/plotly/graph_objs/violin/box/_line.py @@ -147,10 +147,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/hoverlabel/_font.py b/plotly/graph_objs/violin/hoverlabel/_font.py index c9f5d4aaa57..e71e9b60c53 100644 --- a/plotly/graph_objs/violin/hoverlabel/_font.py +++ b/plotly/graph_objs/violin/hoverlabel/_font.py @@ -293,18 +293,18 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('colorsrc', None) - self.colorsrc = colorsrc if colorsrc is not None else v - v = arg.pop('family', None) - self.family = family if family is not None else v - v = arg.pop('familysrc', None) - self.familysrc = familysrc if familysrc is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v - v = arg.pop('sizesrc', None) - self.sizesrc = sizesrc if sizesrc is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('colorsrc', None) + self.colorsrc = colorsrc if colorsrc is not None else _v + _v = arg.pop('family', None) + self.family = family if family is not None else _v + _v = arg.pop('familysrc', None) + self.familysrc = familysrc if familysrc is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v + _v = arg.pop('sizesrc', None) + self.sizesrc = sizesrc if sizesrc is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/marker/_line.py b/plotly/graph_objs/violin/marker/_line.py index c4884ba4b52..87c48630313 100644 --- a/plotly/graph_objs/violin/marker/_line.py +++ b/plotly/graph_objs/violin/marker/_line.py @@ -261,14 +261,14 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('outliercolor', None) - self.outliercolor = outliercolor if outliercolor is not None else v - v = arg.pop('outlierwidth', None) - self.outlierwidth = outlierwidth if outlierwidth is not None else v - v = arg.pop('width', None) - self.width = width if width is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('outliercolor', None) + self.outliercolor = outliercolor if outliercolor is not None else _v + _v = arg.pop('outlierwidth', None) + self.outlierwidth = outlierwidth if outlierwidth is not None else _v + _v = arg.pop('width', None) + self.width = width if width is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/selected/_marker.py b/plotly/graph_objs/violin/selected/_marker.py index d0fe44d4425..2db88fd723f 100644 --- a/plotly/graph_objs/violin/selected/_marker.py +++ b/plotly/graph_objs/violin/selected/_marker.py @@ -174,12 +174,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ---------------------- diff --git a/plotly/graph_objs/violin/unselected/_marker.py b/plotly/graph_objs/violin/unselected/_marker.py index 18f4e37c4f6..98262cd1ba9 100644 --- a/plotly/graph_objs/violin/unselected/_marker.py +++ b/plotly/graph_objs/violin/unselected/_marker.py @@ -184,12 +184,12 @@ def __init__( # Populate data dict with properties # ---------------------------------- - v = arg.pop('color', None) - self.color = color if color is not None else v - v = arg.pop('opacity', None) - self.opacity = opacity if opacity is not None else v - v = arg.pop('size', None) - self.size = size if size is not None else v + _v = arg.pop('color', None) + self.color = color if color is not None else _v + _v = arg.pop('opacity', None) + self.opacity = opacity if opacity is not None else _v + _v = arg.pop('size', None) + self.size = size if size is not None else _v # Process unknown kwargs # ----------------------