diff --git a/_plotly_utils/basevalidators.py b/_plotly_utils/basevalidators.py index c3f143e0704..b79627936d7 100644 --- a/_plotly_utils/basevalidators.py +++ b/_plotly_utils/basevalidators.py @@ -3,6 +3,7 @@ import textwrap import uuid from importlib import import_module +import copy import io from copy import deepcopy @@ -373,6 +374,7 @@ def __init__(self, self.array_ok = array_ok # coerce_number is rarely used and not implemented self.coerce_number = coerce_number + self.kwargs = kwargs # Handle regular expressions # -------------------------- @@ -398,6 +400,17 @@ def __init__(self, self.val_regexs.append(None) self.regex_replacements.append(None) + def __deepcopy__(self, memodict={}): + """ + A custom deepcopy method is needed here because compiled regex + objects don't support deepcopy + """ + cls = self.__class__ + return cls( + self.plotly_name, + self.parent_name, + values=self.values) + @staticmethod def build_regex_replacement(regex_str): # Example: regex_str == r"^y([2-9]|[1-9][0-9]+)?$" diff --git a/codegen/validators.py b/codegen/validators.py index 4bb17442e24..0208ae2a510 100644 --- a/codegen/validators.py +++ b/codegen/validators.py @@ -63,7 +63,7 @@ def __init__(self, plotly_name={params['plotly_name']}, continue buffer.write(f""", - {attr_name}={attr_val}""") + {attr_name}=kwargs.pop('{attr_name}', {attr_val})""") buffer.write(f""", **kwargs""") diff --git a/plotly/animation.py b/plotly/animation.py index dabbc387a82..4be5ee21699 100644 --- a/plotly/animation.py +++ b/plotly/animation.py @@ -3,9 +3,10 @@ class EasingValidator(EnumeratedValidator): - def __init__(self, plotly_name='easing'): - super(EasingValidator, self).__init__(plotly_name=plotly_name, - parent_name='batch_animate', + def __init__(self, plotly_name='easing', parent_name='batch_animate', **_): + super(EasingValidator, self).__init__( + plotly_name=plotly_name, + parent_name=parent_name, values=[ "linear", "quad", diff --git a/plotly/basedatatypes.py b/plotly/basedatatypes.py index 3061632efa1..ed331290305 100644 --- a/plotly/basedatatypes.py +++ b/plotly/basedatatypes.py @@ -99,8 +99,9 @@ class is a subclass of both BaseFigure and widgets.DOMWidget. # ------------------ # These properties are used by the tools.make_subplots logic. # We initialize them to None here, before checking if the input data - # object is a BaseFigure, in which case we bring over the _grid* - # properties of the input BaseFigure + # object is a BaseFigure, or a dict with _grid_str and _grid_ref + # properties, in which case we bring over the _grid* properties of + # the input self._grid_str = None self._grid_ref = None @@ -116,6 +117,12 @@ class is a subclass of both BaseFigure and widgets.DOMWidget. elif (isinstance(data, dict) and ('data' in data or 'layout' in data or 'frames' in data)): + + # Bring over subplot fields + self._grid_str = data.get('_grid_str', None) + self._grid_ref = data.get('_grid_ref', None) + + # Extract data, layout, and frames data, layout, frames = (data.get('data', None), data.get('layout', None), data.get('frames', None)) @@ -230,6 +237,17 @@ class is a subclass of both BaseFigure and widgets.DOMWidget. # Magic Methods # ------------- + def __reduce__(self): + """ + Custom implementation of reduce is used to support deep copying + and pickling + """ + props = self.to_dict() + props['_grid_str'] = self._grid_str + props['_grid_ref'] = self._grid_ref + return (self.__class__, + (props,)) + def __setitem__(self, prop, value): # Normalize prop @@ -2594,6 +2612,15 @@ def figure(self): # Magic Methods # ------------- + def __reduce__(self): + """ + Custom implementation of reduce is used to support deep copying + and pickling + """ + props = self.to_plotly_json() + return (self.__class__, + (props,)) + def __getitem__(self, prop): """ Get item or nested item from object @@ -3623,7 +3650,7 @@ def __getattr__(self, prop): Custom __getattr__ that handles dynamic subplot properties """ prop = self._strip_subplot_suffix_of_1(prop) - if prop in self._subplotid_props: + if prop != '_subplotid_props' and prop in self._subplotid_props: validator = self._validators[prop] return validator.present(self._compound_props[prop]) else: diff --git a/plotly/tests/test_io/test_deepcopy_pickle.py b/plotly/tests/test_io/test_deepcopy_pickle.py new file mode 100644 index 00000000000..63ad5a92476 --- /dev/null +++ b/plotly/tests/test_io/test_deepcopy_pickle.py @@ -0,0 +1,120 @@ +import pytest +import copy +import pickle + +from plotly.tools import make_subplots +import plotly.graph_objs as go +import plotly.io as pio + + +# fixtures +# -------- +@pytest.fixture +def fig1(request): + return go.Figure(data=[{'type': 'scattergl', + 'marker': {'color': 'green'}}, + {'type': 'parcoords', + 'dimensions': [{'values': [1, 2, 3]}, + {'values': [3, 2, 1]}], + 'line': {'color': 'blue'}}], + layout={'title': 'Figure title'}) + + +@pytest.fixture +def fig_subplots(request): + fig = make_subplots(3, 2) + fig.add_scatter(y=[2, 1, 3], row=1, col=1) + fig.add_scatter(y=[1, 3, 3], row=2, col=2) + return fig + + +# Deep copy +# --------- +def test_deepcopy_figure(fig1): + fig_copied = copy.deepcopy(fig1) + + # Contents should be equal + assert pio.to_json(fig_copied) == pio.to_json(fig1) + + # Identities should be distinct + assert fig_copied is not fig1 + assert fig_copied.layout is not fig1.layout + assert fig_copied.data is not fig1.data + + +def test_deepcopy_figure_subplots(fig_subplots): + fig_copied = copy.deepcopy(fig_subplots) + + # Contents should be equal + assert pio.to_json(fig_copied) == pio.to_json(fig_subplots) + + # Subplot metadata should be equal + assert fig_subplots._grid_ref == fig_copied._grid_ref + assert fig_subplots._grid_str == fig_copied._grid_str + + # Identities should be distinct + assert fig_copied is not fig_subplots + assert fig_copied.layout is not fig_subplots.layout + assert fig_copied.data is not fig_subplots.data + + # Should be possible to add new trace to subplot location + fig_subplots.add_bar(y=[0, 0, 1], row=1, col=2) + fig_copied.add_bar(y=[0, 0, 1], row=1, col=2) + + # And contents should be still equal + assert pio.to_json(fig_copied) == pio.to_json(fig_subplots) + + +def test_deepcopy_layout(fig1): + copied_layout = copy.deepcopy(fig1.layout) + + # Contents should be equal + assert copied_layout == fig1.layout + + # Identities should not + assert copied_layout is not fig1.layout + + # Original layout should still have fig1 as parent + assert fig1.layout.parent is fig1 + + # Copied layout should have no parent + assert copied_layout.parent is None + + +# Pickling +# -------- +def test_pickle_figure_round_trip(fig1): + fig_copied = pickle.loads(pickle.dumps(fig1)) + + # Contents should be equal + assert pio.to_json(fig_copied) == pio.to_json(fig1) + + +def test_pickle_figure_subplots_round_trip(fig_subplots): + fig_copied = pickle.loads(pickle.dumps(fig_subplots)) + + # Contents should be equal + assert pio.to_json(fig_copied) == pio.to_json(fig_subplots) + + # Should be possible to add new trace to subplot location + fig_subplots.add_bar(y=[0, 0, 1], row=1, col=2) + fig_copied.add_bar(y=[0, 0, 1], row=1, col=2) + + # And contents should be still equal + assert pio.to_json(fig_copied) == pio.to_json(fig_subplots) + + +def test_pickle_layout(fig1): + copied_layout = pickle.loads(pickle.dumps(fig1.layout)) + + # Contents should be equal + assert copied_layout == fig1.layout + + # Identities should not + assert copied_layout is not fig1.layout + + # Original layout should still have fig1 as parent + assert fig1.layout.parent is fig1 + + # Copied layout should have no parent + assert copied_layout.parent is None diff --git a/plotly/validators/_area.py b/plotly/validators/_area.py index 1eb62e944b8..7aa27670022 100644 --- a/plotly/validators/_area.py +++ b/plotly/validators/_area.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='area', parent_name='', **kwargs): super(AreaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Area', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Area'), + data_docs=kwargs.pop( + 'data_docs', """ customdata Assigns extra data each datum. This may be useful when listening to hover, click and @@ -83,6 +84,7 @@ def __init__(self, plotly_name='area', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_bar.py b/plotly/validators/_bar.py index 35b100eca6c..97b645aed55 100644 --- a/plotly/validators/_bar.py +++ b/plotly/validators/_bar.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='bar', parent_name='', **kwargs): super(BarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Bar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Bar'), + data_docs=kwargs.pop( + 'data_docs', """ base Sets where the bar base is drawn (in position axis units). In "stack" or "relative" barmode, @@ -210,6 +211,7 @@ def __init__(self, plotly_name='bar', parent_name='', **kwargs): data. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_box.py b/plotly/validators/_box.py index 05b8a68138e..2ca2e5c57fd 100644 --- a/plotly/validators/_box.py +++ b/plotly/validators/_box.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='box', parent_name='', **kwargs): super(BoxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Box', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Box'), + data_docs=kwargs.pop( + 'data_docs', """ boxmean If True, the mean of the box(es)' underlying distribution is drawn as a dashed line inside @@ -179,6 +180,7 @@ def __init__(self, plotly_name='box', parent_name='', **kwargs): data. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_candlestick.py b/plotly/validators/_candlestick.py index 19bafb5784b..d82084fe8ca 100644 --- a/plotly/validators/_candlestick.py +++ b/plotly/validators/_candlestick.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='candlestick', parent_name='', **kwargs): super(CandlestickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Candlestick', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Candlestick'), + data_docs=kwargs.pop( + 'data_docs', """ close Sets the close values. closesrc @@ -129,6 +130,7 @@ def __init__(self, plotly_name='candlestick', parent_name='', **kwargs): (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_carpet.py b/plotly/validators/_carpet.py index 75323fffd56..75351731663 100644 --- a/plotly/validators/_carpet.py +++ b/plotly/validators/_carpet.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='carpet', parent_name='', **kwargs): super(CarpetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Carpet', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Carpet'), + data_docs=kwargs.pop( + 'data_docs', """ a An array containing values of the first parameter value @@ -139,6 +140,7 @@ def __init__(self, plotly_name='carpet', parent_name='', **kwargs): refer to `layout.yaxis2`, and so on. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_choropleth.py b/plotly/validators/_choropleth.py index ee80325f72b..f7aee436503 100644 --- a/plotly/validators/_choropleth.py +++ b/plotly/validators/_choropleth.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='choropleth', parent_name='', **kwargs): super(ChoroplethValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Choropleth', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Choropleth'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -150,6 +151,7 @@ def __init__(self, plotly_name='choropleth', parent_name='', **kwargs): set, `zmax` must be set as well. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_cone.py b/plotly/validators/_cone.py index 3136310c970..84fe14557f4 100644 --- a/plotly/validators/_cone.py +++ b/plotly/validators/_cone.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='cone', parent_name='', **kwargs): super(ConeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Cone', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Cone'), + data_docs=kwargs.pop( + 'data_docs', """ anchor Sets the cones' anchor with respect to their x/y/z positions. Note that "cm" denote the @@ -189,6 +190,7 @@ def __init__(self, plotly_name='cone', parent_name='', **kwargs): of the displayed cones. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_contour.py b/plotly/validators/_contour.py index 0c91d074f4c..276d3b85db7 100644 --- a/plotly/validators/_contour.py +++ b/plotly/validators/_contour.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='contour', parent_name='', **kwargs): super(ContourValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contour', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contour'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -212,6 +213,7 @@ def __init__(self, plotly_name='contour', parent_name='', **kwargs): set, `zmax` must be set as well. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_contourcarpet.py b/plotly/validators/_contourcarpet.py index f9190d0c947..e6a7d81e216 100644 --- a/plotly/validators/_contourcarpet.py +++ b/plotly/validators/_contourcarpet.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='contourcarpet', parent_name='', **kwargs): super(ContourcarpetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contourcarpet', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contourcarpet'), + data_docs=kwargs.pop( + 'data_docs', """ a Sets the x coordinates. a0 @@ -200,6 +201,7 @@ def __init__(self, plotly_name='contourcarpet', parent_name='', **kwargs): set, `zmax` must be set as well. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_frames.py b/plotly/validators/_frames.py index 2975ee8dea3..d20358b13e3 100644 --- a/plotly/validators/_frames.py +++ b/plotly/validators/_frames.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='frames', parent_name='', **kwargs): super(FramesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Frame', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Frame'), + data_docs=kwargs.pop( + 'data_docs', """ baseframe The name of the frame into which this frame's properties are merged before applying. This is @@ -32,6 +33,7 @@ def __init__(self, plotly_name='frames', parent_name='', **kwargs): traces A list of trace indices that identify the respective traces in the data attribute -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_heatmap.py b/plotly/validators/_heatmap.py index d892f83dd6f..9dc5394221a 100644 --- a/plotly/validators/_heatmap.py +++ b/plotly/validators/_heatmap.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='heatmap', parent_name='', **kwargs): super(HeatmapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Heatmap', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Heatmap'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -197,6 +198,7 @@ def __init__(self, plotly_name='heatmap', parent_name='', **kwargs): data. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_heatmapgl.py b/plotly/validators/_heatmapgl.py index d143c8c282c..d7da52bfaf5 100644 --- a/plotly/validators/_heatmapgl.py +++ b/plotly/validators/_heatmapgl.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='heatmapgl', parent_name='', **kwargs): super(HeatmapglValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Heatmapgl', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Heatmapgl'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -173,6 +174,7 @@ def __init__(self, plotly_name='heatmapgl', parent_name='', **kwargs): set, `zmax` must be set as well. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_histogram.py b/plotly/validators/_histogram.py index feb9b907707..c5bd3914c02 100644 --- a/plotly/validators/_histogram.py +++ b/plotly/validators/_histogram.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='histogram', parent_name='', **kwargs): super(HistogramValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Histogram', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Histogram'), + data_docs=kwargs.pop( + 'data_docs', """ autobinx Determines whether or not the x axis bin attributes are picked by an algorithm. Note @@ -187,6 +188,7 @@ def __init__(self, plotly_name='histogram', parent_name='', **kwargs): data. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_histogram2d.py b/plotly/validators/_histogram2d.py index 2afc47362b8..99c26426f1a 100644 --- a/plotly/validators/_histogram2d.py +++ b/plotly/validators/_histogram2d.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='histogram2d', parent_name='', **kwargs): super(Histogram2dValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Histogram2d', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Histogram2d'), + data_docs=kwargs.pop( + 'data_docs', """ autobinx Determines whether or not the x axis bin attributes are picked by an algorithm. Note @@ -222,6 +223,7 @@ def __init__(self, plotly_name='histogram2d', parent_name='', **kwargs): data. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_histogram2dcontour.py b/plotly/validators/_histogram2dcontour.py index 1b423ac1714..9ff6f3dd430 100644 --- a/plotly/validators/_histogram2dcontour.py +++ b/plotly/validators/_histogram2dcontour.py @@ -11,8 +11,9 @@ def __init__( super(Histogram2dContourValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Histogram2dContour', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Histogram2dContour'), + data_docs=kwargs.pop( + 'data_docs', """ autobinx Determines whether or not the x axis bin attributes are picked by an algorithm. Note @@ -236,6 +237,7 @@ def __init__( set, `zmax` must be set as well. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_layout.py b/plotly/validators/_layout.py index efd71999fb6..e845636a2fb 100644 --- a/plotly/validators/_layout.py +++ b/plotly/validators/_layout.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='layout', parent_name='', **kwargs): super(LayoutValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Layout', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Layout'), + data_docs=kwargs.pop( + 'data_docs', """ angularaxis plotly.graph_objs.layout.AngularAxis instance or dict with compatible properties @@ -260,6 +261,7 @@ def __init__(self, plotly_name='layout', parent_name='', **kwargs): yaxis plotly.graph_objs.layout.YAxis instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_mesh3d.py b/plotly/validators/_mesh3d.py index 31054e3011d..23f5dcac9a9 100644 --- a/plotly/validators/_mesh3d.py +++ b/plotly/validators/_mesh3d.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='mesh3d', parent_name='', **kwargs): super(Mesh3dValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Mesh3d', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Mesh3d'), + data_docs=kwargs.pop( + 'data_docs', """ alphahull Determines how the mesh surface triangles are derived from the set of vertices (points) @@ -258,6 +259,7 @@ def __init__(self, plotly_name='mesh3d', parent_name='', **kwargs): data. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_ohlc.py b/plotly/validators/_ohlc.py index 03e3261b3b6..bfda1623a4a 100644 --- a/plotly/validators/_ohlc.py +++ b/plotly/validators/_ohlc.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='ohlc', parent_name='', **kwargs): super(OhlcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Ohlc', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Ohlc'), + data_docs=kwargs.pop( + 'data_docs', """ close Sets the close values. closesrc @@ -128,6 +129,7 @@ def __init__(self, plotly_name='ohlc', parent_name='', **kwargs): (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_parcoords.py b/plotly/validators/_parcoords.py index ed1b1907545..0bfbd94e4aa 100644 --- a/plotly/validators/_parcoords.py +++ b/plotly/validators/_parcoords.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='parcoords', parent_name='', **kwargs): super(ParcoordsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Parcoords', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Parcoords'), + data_docs=kwargs.pop( + 'data_docs', """ customdata Assigns extra data each datum. This may be useful when listening to hover, click and @@ -84,6 +85,7 @@ def __init__(self, plotly_name='parcoords', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_pie.py b/plotly/validators/_pie.py index 876e75e7d39..14f32ec68ce 100644 --- a/plotly/validators/_pie.py +++ b/plotly/validators/_pie.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='pie', parent_name='', **kwargs): super(PieValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Pie', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Pie'), + data_docs=kwargs.pop( + 'data_docs', """ customdata Assigns extra data each datum. This may be useful when listening to hover, click and @@ -160,6 +161,7 @@ def __init__(self, plotly_name='pie', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_pointcloud.py b/plotly/validators/_pointcloud.py index 77a2ee1ba4b..8a29c764952 100644 --- a/plotly/validators/_pointcloud.py +++ b/plotly/validators/_pointcloud.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='pointcloud', parent_name='', **kwargs): super(PointcloudValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Pointcloud', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Pointcloud'), + data_docs=kwargs.pop( + 'data_docs', """ customdata Assigns extra data each datum. This may be useful when listening to hover, click and @@ -141,6 +142,7 @@ def __init__(self, plotly_name='pointcloud', parent_name='', **kwargs): ybounds . ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_sankey.py b/plotly/validators/_sankey.py index e3453758c07..3b827da3dc9 100644 --- a/plotly/validators/_sankey.py +++ b/plotly/validators/_sankey.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='sankey', parent_name='', **kwargs): super(SankeyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Sankey', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Sankey'), + data_docs=kwargs.pop( + 'data_docs', """ arrangement If value is `snap` (the default), the node arrangement is assisted by automatic snapping @@ -98,6 +99,7 @@ def __init__(self, plotly_name='sankey', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scatter.py b/plotly/validators/_scatter.py index 198a2926a15..09813d1d086 100644 --- a/plotly/validators/_scatter.py +++ b/plotly/validators/_scatter.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scatter', parent_name='', **kwargs): super(ScatterValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scatter', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scatter'), + data_docs=kwargs.pop( + 'data_docs', """ cliponaxis Determines whether or not markers and text nodes are clipped about the subplot axes. To @@ -216,6 +217,7 @@ def __init__(self, plotly_name='scatter', parent_name='', **kwargs): data. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scatter3d.py b/plotly/validators/_scatter3d.py index 6070fe3d5ca..31c10251c38 100644 --- a/plotly/validators/_scatter3d.py +++ b/plotly/validators/_scatter3d.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scatter3d', parent_name='', **kwargs): super(Scatter3dValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scatter3d', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scatter3d'), + data_docs=kwargs.pop( + 'data_docs', """ connectgaps Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are @@ -161,6 +162,7 @@ def __init__(self, plotly_name='scatter3d', parent_name='', **kwargs): data. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scattercarpet.py b/plotly/validators/_scattercarpet.py index 17ac1ded060..6eaa4f33f73 100644 --- a/plotly/validators/_scattercarpet.py +++ b/plotly/validators/_scattercarpet.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scattercarpet', parent_name='', **kwargs): super(ScattercarpetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scattercarpet', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scattercarpet'), + data_docs=kwargs.pop( + 'data_docs', """ a Sets the quantity of component `a` in each data point. If `a`, `b`, and `c` are all provided, @@ -167,6 +168,7 @@ def __init__(self, plotly_name='scattercarpet', parent_name='', **kwargs): (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scattergeo.py b/plotly/validators/_scattergeo.py index e0a5ffb5d76..fae53dc7b19 100644 --- a/plotly/validators/_scattergeo.py +++ b/plotly/validators/_scattergeo.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scattergeo', parent_name='', **kwargs): super(ScattergeoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scattergeo', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scattergeo'), + data_docs=kwargs.pop( + 'data_docs', """ connectgaps Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are @@ -164,6 +165,7 @@ def __init__(self, plotly_name='scattergeo', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scattergl.py b/plotly/validators/_scattergl.py index 176a0c588ac..5959b1c722d 100644 --- a/plotly/validators/_scattergl.py +++ b/plotly/validators/_scattergl.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scattergl', parent_name='', **kwargs): super(ScatterglValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scattergl', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scattergl'), + data_docs=kwargs.pop( + 'data_docs', """ connectgaps Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are @@ -184,6 +185,7 @@ def __init__(self, plotly_name='scattergl', parent_name='', **kwargs): data. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scattermapbox.py b/plotly/validators/_scattermapbox.py index c59088505f4..7809bac76c8 100644 --- a/plotly/validators/_scattermapbox.py +++ b/plotly/validators/_scattermapbox.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scattermapbox', parent_name='', **kwargs): super(ScattermapboxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scattermapbox', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scattermapbox'), + data_docs=kwargs.pop( + 'data_docs', """ connectgaps Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are @@ -146,6 +147,7 @@ def __init__(self, plotly_name='scattermapbox', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scatterpolar.py b/plotly/validators/_scatterpolar.py index f8f1039447b..f4f63b30314 100644 --- a/plotly/validators/_scatterpolar.py +++ b/plotly/validators/_scatterpolar.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scatterpolar', parent_name='', **kwargs): super(ScatterpolarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scatterpolar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scatterpolar'), + data_docs=kwargs.pop( + 'data_docs', """ cliponaxis Determines whether or not markers and text nodes are clipped about the subplot axes. To @@ -185,6 +186,7 @@ def __init__(self, plotly_name='scatterpolar', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scatterpolargl.py b/plotly/validators/_scatterpolargl.py index 65bd68bfaa9..ff1ff58dd19 100644 --- a/plotly/validators/_scatterpolargl.py +++ b/plotly/validators/_scatterpolargl.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scatterpolargl', parent_name='', **kwargs): super(ScatterpolarglValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scatterpolargl', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scatterpolargl'), + data_docs=kwargs.pop( + 'data_docs', """ connectgaps Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are @@ -178,6 +179,7 @@ def __init__(self, plotly_name='scatterpolargl', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_scatterternary.py b/plotly/validators/_scatterternary.py index 726b303a1ae..a6fbe856f5b 100644 --- a/plotly/validators/_scatterternary.py +++ b/plotly/validators/_scatterternary.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scatterternary', parent_name='', **kwargs): super(ScatterternaryValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scatterternary', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scatterternary'), + data_docs=kwargs.pop( + 'data_docs', """ a Sets the quantity of component `a` in each data point. If `a`, `b`, and `c` are all provided, @@ -192,6 +193,7 @@ def __init__(self, plotly_name='scatterternary', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_splom.py b/plotly/validators/_splom.py index ae108d63cb9..02d400304f4 100644 --- a/plotly/validators/_splom.py +++ b/plotly/validators/_splom.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='splom', parent_name='', **kwargs): super(SplomValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Splom', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Splom'), + data_docs=kwargs.pop( + 'data_docs', """ customdata Assigns extra data each datum. This may be useful when listening to hover, click and @@ -109,6 +110,7 @@ def __init__(self, plotly_name='splom', parent_name='', **kwargs): splom trace. By default, a splom will match the first N yaxes where N is the number of input dimensions. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_streamtube.py b/plotly/validators/_streamtube.py index 834ce4181fe..84d57a14e7c 100644 --- a/plotly/validators/_streamtube.py +++ b/plotly/validators/_streamtube.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='streamtube', parent_name='', **kwargs): super(StreamtubeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Streamtube', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Streamtube'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -169,6 +170,7 @@ def __init__(self, plotly_name='streamtube', parent_name='', **kwargs): Sets the z coordinates of the vector field. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_surface.py b/plotly/validators/_surface.py index 8370ad0f5a0..add9ba6c1fb 100644 --- a/plotly/validators/_surface.py +++ b/plotly/validators/_surface.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='surface', parent_name='', **kwargs): super(SurfaceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Surface', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Surface'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -171,6 +172,7 @@ def __init__(self, plotly_name='surface', parent_name='', **kwargs): data. zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_table.py b/plotly/validators/_table.py index 276a91e0a2a..37725b4f653 100644 --- a/plotly/validators/_table.py +++ b/plotly/validators/_table.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='table', parent_name='', **kwargs): super(TableValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Table', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Table'), + data_docs=kwargs.pop( + 'data_docs', """ cells plotly.graph_objs.table.Cells instance or dict with compatible properties @@ -93,6 +94,7 @@ def __init__(self, plotly_name='table', parent_name='', **kwargs): visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/_violin.py b/plotly/validators/_violin.py index a49b962302a..9726e6634f9 100644 --- a/plotly/validators/_violin.py +++ b/plotly/validators/_violin.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='violin', parent_name='', **kwargs): super(ViolinValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Violin', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Violin'), + data_docs=kwargs.pop( + 'data_docs', """ bandwidth Sets the bandwidth used to compute the kernel density estimate. By default, the bandwidth is @@ -202,6 +203,7 @@ def __init__(self, plotly_name='violin', parent_name='', **kwargs): refer to `layout.yaxis2`, and so on. ysrc Sets the source reference on plot.ly for y . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/area/_customdata.py b/plotly/validators/area/_customdata.py index 5e8972d2f16..8ef7d23d1a5 100644 --- a/plotly/validators/area/_customdata.py +++ b/plotly/validators/area/_customdata.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='customdata', parent_name='area', **kwargs): super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/area/_customdatasrc.py b/plotly/validators/area/_customdatasrc.py index b832d9c887c..06aedd9d77b 100644 --- a/plotly/validators/area/_customdatasrc.py +++ b/plotly/validators/area/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_hoverinfo.py b/plotly/validators/area/_hoverinfo.py index 7b882971b3e..611949972dd 100644 --- a/plotly/validators/area/_hoverinfo.py +++ b/plotly/validators/area/_hoverinfo.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='hoverinfo', parent_name='area', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_hoverinfosrc.py b/plotly/validators/area/_hoverinfosrc.py index b89b4b44bb9..e5542043c08 100644 --- a/plotly/validators/area/_hoverinfosrc.py +++ b/plotly/validators/area/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_hoverlabel.py b/plotly/validators/area/_hoverlabel.py index 320e13ede5c..172f051d453 100644 --- a/plotly/validators/area/_hoverlabel.py +++ b/plotly/validators/area/_hoverlabel.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='hoverlabel', parent_name='area', **kwargs): super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -35,6 +36,7 @@ def __init__(self, plotly_name='hoverlabel', parent_name='area', **kwargs): namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/area/_ids.py b/plotly/validators/area/_ids.py index 1f7a640b8c4..24c47748406 100644 --- a/plotly/validators/area/_ids.py +++ b/plotly/validators/area/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='area', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/area/_idssrc.py b/plotly/validators/area/_idssrc.py index 97de1af55f0..8472cc86bd8 100644 --- a/plotly/validators/area/_idssrc.py +++ b/plotly/validators/area/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='area', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_legendgroup.py b/plotly/validators/area/_legendgroup.py index f5993361f07..37999092c5c 100644 --- a/plotly/validators/area/_legendgroup.py +++ b/plotly/validators/area/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_marker.py b/plotly/validators/area/_marker.py index 88620b381bf..0732470d65f 100644 --- a/plotly/validators/area/_marker.py +++ b/plotly/validators/area/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='area', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets themarkercolor. It accepts either a specific color or an array of numbers that are @@ -38,6 +39,7 @@ def __init__(self, plotly_name='marker', parent_name='area', **kwargs): symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/area/_name.py b/plotly/validators/area/_name.py index 0eda172d6e4..e67634857bb 100644 --- a/plotly/validators/area/_name.py +++ b/plotly/validators/area/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='area', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_opacity.py b/plotly/validators/area/_opacity.py index 783e5661809..c3ada0d73c2 100644 --- a/plotly/validators/area/_opacity.py +++ b/plotly/validators/area/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='area', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/_r.py b/plotly/validators/area/_r.py index d19421ecfaf..d40aa040b25 100644 --- a/plotly/validators/area/_r.py +++ b/plotly/validators/area/_r.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='r', parent_name='area', **kwargs): super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/area/_rsrc.py b/plotly/validators/area/_rsrc.py index c7f848e651b..82e94d1dedc 100644 --- a/plotly/validators/area/_rsrc.py +++ b/plotly/validators/area/_rsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='rsrc', parent_name='area', **kwargs): super(RsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_selectedpoints.py b/plotly/validators/area/_selectedpoints.py index e9b3008fa4b..b39b7d2ca7c 100644 --- a/plotly/validators/area/_selectedpoints.py +++ b/plotly/validators/area/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_showlegend.py b/plotly/validators/area/_showlegend.py index ef351b799eb..63fcea51344 100644 --- a/plotly/validators/area/_showlegend.py +++ b/plotly/validators/area/_showlegend.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showlegend', parent_name='area', **kwargs): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_stream.py b/plotly/validators/area/_stream.py index 78cbee8ad7b..a2116015228 100644 --- a/plotly/validators/area/_stream.py +++ b/plotly/validators/area/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='area', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='area', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/area/_t.py b/plotly/validators/area/_t.py index 7c771406294..11e5181936a 100644 --- a/plotly/validators/area/_t.py +++ b/plotly/validators/area/_t.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='t', parent_name='area', **kwargs): super(TValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/area/_tsrc.py b/plotly/validators/area/_tsrc.py index d08082d6abb..4a8f768f7a2 100644 --- a/plotly/validators/area/_tsrc.py +++ b/plotly/validators/area/_tsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='tsrc', parent_name='area', **kwargs): super(TsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_uid.py b/plotly/validators/area/_uid.py index 15bee612a06..c1af2a5fd8d 100644 --- a/plotly/validators/area/_uid.py +++ b/plotly/validators/area/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='area', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/_visible.py b/plotly/validators/area/_visible.py index 075ad108a86..fe3cfb451d6 100644 --- a/plotly/validators/area/_visible.py +++ b/plotly/validators/area/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='area', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_bgcolor.py b/plotly/validators/area/hoverlabel/_bgcolor.py index 124d4abb8f7..18e2f5bdc15 100644 --- a/plotly/validators/area/hoverlabel/_bgcolor.py +++ b/plotly/validators/area/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_bgcolorsrc.py b/plotly/validators/area/hoverlabel/_bgcolorsrc.py index 3e1ec8eaf77..fd084d708eb 100644 --- a/plotly/validators/area/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/area/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_bordercolor.py b/plotly/validators/area/hoverlabel/_bordercolor.py index c8c3f5967d4..f7a27f14a64 100644 --- a/plotly/validators/area/hoverlabel/_bordercolor.py +++ b/plotly/validators/area/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_bordercolorsrc.py b/plotly/validators/area/hoverlabel/_bordercolorsrc.py index ce28a781d87..ce124809940 100644 --- a/plotly/validators/area/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/area/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_font.py b/plotly/validators/area/hoverlabel/_font.py index fad4fee4c4d..bb1411279a8 100644 --- a/plotly/validators/area/hoverlabel/_font.py +++ b/plotly/validators/area/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_namelength.py b/plotly/validators/area/hoverlabel/_namelength.py index f50642a0066..521410e3895 100644 --- a/plotly/validators/area/hoverlabel/_namelength.py +++ b/plotly/validators/area/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/_namelengthsrc.py b/plotly/validators/area/hoverlabel/_namelengthsrc.py index 6ba755a0f25..7e5c5e058f2 100644 --- a/plotly/validators/area/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/area/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/font/_color.py b/plotly/validators/area/hoverlabel/font/_color.py index 3bd05ecf4f0..5f81bc58689 100644 --- a/plotly/validators/area/hoverlabel/font/_color.py +++ b/plotly/validators/area/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/font/_colorsrc.py b/plotly/validators/area/hoverlabel/font/_colorsrc.py index 33c85f52daa..82a0ce25063 100644 --- a/plotly/validators/area/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/area/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/font/_family.py b/plotly/validators/area/hoverlabel/font/_family.py index 2aa18f18951..017a8120f5f 100644 --- a/plotly/validators/area/hoverlabel/font/_family.py +++ b/plotly/validators/area/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/font/_familysrc.py b/plotly/validators/area/hoverlabel/font/_familysrc.py index ff37566ad70..addbd9a1e4a 100644 --- a/plotly/validators/area/hoverlabel/font/_familysrc.py +++ b/plotly/validators/area/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/font/_size.py b/plotly/validators/area/hoverlabel/font/_size.py index 6ea4488170d..61ae161a43b 100644 --- a/plotly/validators/area/hoverlabel/font/_size.py +++ b/plotly/validators/area/hoverlabel/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/hoverlabel/font/_sizesrc.py b/plotly/validators/area/hoverlabel/font/_sizesrc.py index 43e8e4a5d7d..0920b96eeca 100644 --- a/plotly/validators/area/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/area/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/marker/_color.py b/plotly/validators/area/marker/_color.py index 2ecf294d871..9cf066d0bb4 100644 --- a/plotly/validators/area/marker/_color.py +++ b/plotly/validators/area/marker/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/marker/_colorsrc.py b/plotly/validators/area/marker/_colorsrc.py index e1389e4673b..836ade6910c 100644 --- a/plotly/validators/area/marker/_colorsrc.py +++ b/plotly/validators/area/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/marker/_opacity.py b/plotly/validators/area/marker/_opacity.py index 24b9fdbb550..0454929a1cc 100644 --- a/plotly/validators/area/marker/_opacity.py +++ b/plotly/validators/area/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/marker/_opacitysrc.py b/plotly/validators/area/marker/_opacitysrc.py index 343bdc882aa..8aa9bca9186 100644 --- a/plotly/validators/area/marker/_opacitysrc.py +++ b/plotly/validators/area/marker/_opacitysrc.py @@ -9,7 +9,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/marker/_size.py b/plotly/validators/area/marker/_size.py index 71b0d1b5ad4..908e3d58d14 100644 --- a/plotly/validators/area/marker/_size.py +++ b/plotly/validators/area/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/area/marker/_sizesrc.py b/plotly/validators/area/marker/_sizesrc.py index 3eedb560870..08dfcdb86a7 100644 --- a/plotly/validators/area/marker/_sizesrc.py +++ b/plotly/validators/area/marker/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/marker/_symbol.py b/plotly/validators/area/marker/_symbol.py index 8510a36a9a9..43b9cb0e84e 100644 --- a/plotly/validators/area/marker/_symbol.py +++ b/plotly/validators/area/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/area/marker/_symbolsrc.py b/plotly/validators/area/marker/_symbolsrc.py index 14d7cb23b1e..6666fef4f71 100644 --- a/plotly/validators/area/marker/_symbolsrc.py +++ b/plotly/validators/area/marker/_symbolsrc.py @@ -9,7 +9,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/stream/_maxpoints.py b/plotly/validators/area/stream/_maxpoints.py index 82921c0ca2d..557a2ed2fc1 100644 --- a/plotly/validators/area/stream/_maxpoints.py +++ b/plotly/validators/area/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/area/stream/_token.py b/plotly/validators/area/stream/_token.py index 862a27ccede..612e12462d8 100644 --- a/plotly/validators/area/stream/_token.py +++ b/plotly/validators/area/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/_base.py b/plotly/validators/bar/_base.py index f783c1846ec..03427de3cd7 100644 --- a/plotly/validators/bar/_base.py +++ b/plotly/validators/bar/_base.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='base', parent_name='bar', **kwargs): super(BaseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_basesrc.py b/plotly/validators/bar/_basesrc.py index 8c9ca246364..0bac3750906 100644 --- a/plotly/validators/bar/_basesrc.py +++ b/plotly/validators/bar/_basesrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='basesrc', parent_name='bar', **kwargs): super(BasesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_cliponaxis.py b/plotly/validators/bar/_cliponaxis.py index 18d7b8f2f05..d852393015b 100644 --- a/plotly/validators/bar/_cliponaxis.py +++ b/plotly/validators/bar/_cliponaxis.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='cliponaxis', parent_name='bar', **kwargs): super(CliponaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_constraintext.py b/plotly/validators/bar/_constraintext.py index 930b959ee4b..27b85796c54 100644 --- a/plotly/validators/bar/_constraintext.py +++ b/plotly/validators/bar/_constraintext.py @@ -9,8 +9,8 @@ def __init__( super(ConstraintextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['inside', 'outside', 'both', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['inside', 'outside', 'both', 'none']), **kwargs ) diff --git a/plotly/validators/bar/_customdata.py b/plotly/validators/bar/_customdata.py index 0fb892c1544..24a2b118b4f 100644 --- a/plotly/validators/bar/_customdata.py +++ b/plotly/validators/bar/_customdata.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='customdata', parent_name='bar', **kwargs): super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/_customdatasrc.py b/plotly/validators/bar/_customdatasrc.py index c41896a5d99..4730408a72c 100644 --- a/plotly/validators/bar/_customdatasrc.py +++ b/plotly/validators/bar/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_dx.py b/plotly/validators/bar/_dx.py index b5179d06de3..8d73c09783d 100644 --- a/plotly/validators/bar/_dx.py +++ b/plotly/validators/bar/_dx.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dx', parent_name='bar', **kwargs): super(DxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_dy.py b/plotly/validators/bar/_dy.py index 758ef355697..c98abfa5779 100644 --- a/plotly/validators/bar/_dy.py +++ b/plotly/validators/bar/_dy.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dy', parent_name='bar', **kwargs): super(DyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_error_x.py b/plotly/validators/bar/_error_x.py index 6b41bfffb01..f0d29825538 100644 --- a/plotly/validators/bar/_error_x.py +++ b/plotly/validators/bar/_error_x.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='error_x', parent_name='bar', **kwargs): super(ErrorXValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorX', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorX'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -66,6 +67,7 @@ def __init__(self, plotly_name='error_x', parent_name='bar', **kwargs): width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_error_y.py b/plotly/validators/bar/_error_y.py index 8ea15a6dd4e..f718673d1ce 100644 --- a/plotly/validators/bar/_error_y.py +++ b/plotly/validators/bar/_error_y.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='error_y', parent_name='bar', **kwargs): super(ErrorYValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorY', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorY'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -64,6 +65,7 @@ def __init__(self, plotly_name='error_y', parent_name='bar', **kwargs): width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_hoverinfo.py b/plotly/validators/bar/_hoverinfo.py index db2a85fac06..f4cb579653f 100644 --- a/plotly/validators/bar/_hoverinfo.py +++ b/plotly/validators/bar/_hoverinfo.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='hoverinfo', parent_name='bar', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_hoverinfosrc.py b/plotly/validators/bar/_hoverinfosrc.py index d231b03bc19..a51d1cf95b8 100644 --- a/plotly/validators/bar/_hoverinfosrc.py +++ b/plotly/validators/bar/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_hoverlabel.py b/plotly/validators/bar/_hoverlabel.py index 5c2b8518537..b8c70dc74d3 100644 --- a/plotly/validators/bar/_hoverlabel.py +++ b/plotly/validators/bar/_hoverlabel.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='hoverlabel', parent_name='bar', **kwargs): super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -35,6 +36,7 @@ def __init__(self, plotly_name='hoverlabel', parent_name='bar', **kwargs): namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_hovertext.py b/plotly/validators/bar/_hovertext.py index 8c2c119a499..79efca7203b 100644 --- a/plotly/validators/bar/_hovertext.py +++ b/plotly/validators/bar/_hovertext.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='hovertext', parent_name='bar', **kwargs): super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_hovertextsrc.py b/plotly/validators/bar/_hovertextsrc.py index 0e279634ad2..1169a9126d7 100644 --- a/plotly/validators/bar/_hovertextsrc.py +++ b/plotly/validators/bar/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_ids.py b/plotly/validators/bar/_ids.py index 3d298ab04f7..3b2ba408c99 100644 --- a/plotly/validators/bar/_ids.py +++ b/plotly/validators/bar/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='bar', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/_idssrc.py b/plotly/validators/bar/_idssrc.py index d3b34d0e5b7..ac3e2fc7231 100644 --- a/plotly/validators/bar/_idssrc.py +++ b/plotly/validators/bar/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='bar', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_insidetextfont.py b/plotly/validators/bar/_insidetextfont.py index 0873ba533a2..b4e05adf299 100644 --- a/plotly/validators/bar/_insidetextfont.py +++ b/plotly/validators/bar/_insidetextfont.py @@ -9,8 +9,9 @@ def __init__( super(InsidetextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Insidetextfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Insidetextfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_legendgroup.py b/plotly/validators/bar/_legendgroup.py index 2566939cf15..39bf8869925 100644 --- a/plotly/validators/bar/_legendgroup.py +++ b/plotly/validators/bar/_legendgroup.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='legendgroup', parent_name='bar', **kwargs): super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_marker.py b/plotly/validators/bar/_marker.py index e4f0339e398..b3648355c09 100644 --- a/plotly/validators/bar/_marker.py +++ b/plotly/validators/bar/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='bar', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -86,6 +87,7 @@ def __init__(self, plotly_name='marker', parent_name='bar', **kwargs): Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_name.py b/plotly/validators/bar/_name.py index ac59d7998ea..ad72b14e586 100644 --- a/plotly/validators/bar/_name.py +++ b/plotly/validators/bar/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='bar', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_offset.py b/plotly/validators/bar/_offset.py index 200ea76728f..c8e24da0aa2 100644 --- a/plotly/validators/bar/_offset.py +++ b/plotly/validators/bar/_offset.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='offset', parent_name='bar', **kwargs): super(OffsetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_offsetsrc.py b/plotly/validators/bar/_offsetsrc.py index d0e6729f26a..f2128cdc34d 100644 --- a/plotly/validators/bar/_offsetsrc.py +++ b/plotly/validators/bar/_offsetsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='offsetsrc', parent_name='bar', **kwargs): super(OffsetsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_opacity.py b/plotly/validators/bar/_opacity.py index 696a2aecf72..a372138c41b 100644 --- a/plotly/validators/bar/_opacity.py +++ b/plotly/validators/bar/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='bar', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/_orientation.py b/plotly/validators/bar/_orientation.py index dc86eb5ff5b..224f6b12e17 100644 --- a/plotly/validators/bar/_orientation.py +++ b/plotly/validators/bar/_orientation.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='orientation', parent_name='bar', **kwargs): super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['v', 'h'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['v', 'h']), **kwargs ) diff --git a/plotly/validators/bar/_outsidetextfont.py b/plotly/validators/bar/_outsidetextfont.py index 76a2aa051be..4a3674dcd7b 100644 --- a/plotly/validators/bar/_outsidetextfont.py +++ b/plotly/validators/bar/_outsidetextfont.py @@ -9,8 +9,9 @@ def __init__( super(OutsidetextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Outsidetextfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Outsidetextfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_r.py b/plotly/validators/bar/_r.py index ff7da345e23..3b83e7be1c7 100644 --- a/plotly/validators/bar/_r.py +++ b/plotly/validators/bar/_r.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='r', parent_name='bar', **kwargs): super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/_rsrc.py b/plotly/validators/bar/_rsrc.py index 70c8a2a8443..7d5ed2a6df8 100644 --- a/plotly/validators/bar/_rsrc.py +++ b/plotly/validators/bar/_rsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='rsrc', parent_name='bar', **kwargs): super(RsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_selected.py b/plotly/validators/bar/_selected.py index dc91a6cee25..806e2a31128 100644 --- a/plotly/validators/bar/_selected.py +++ b/plotly/validators/bar/_selected.py @@ -7,14 +7,16 @@ def __init__(self, plotly_name='selected', parent_name='bar', **kwargs): super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.bar.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.bar.selected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_selectedpoints.py b/plotly/validators/bar/_selectedpoints.py index 024a7d61040..f10ec0fa3b0 100644 --- a/plotly/validators/bar/_selectedpoints.py +++ b/plotly/validators/bar/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_showlegend.py b/plotly/validators/bar/_showlegend.py index cc2f94a3f73..636187fd882 100644 --- a/plotly/validators/bar/_showlegend.py +++ b/plotly/validators/bar/_showlegend.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showlegend', parent_name='bar', **kwargs): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_stream.py b/plotly/validators/bar/_stream.py index 01d324b956e..52085dc1f09 100644 --- a/plotly/validators/bar/_stream.py +++ b/plotly/validators/bar/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='bar', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='bar', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_t.py b/plotly/validators/bar/_t.py index 65d14cdfeab..4bb9fb004f6 100644 --- a/plotly/validators/bar/_t.py +++ b/plotly/validators/bar/_t.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='t', parent_name='bar', **kwargs): super(TValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/_text.py b/plotly/validators/bar/_text.py index 5a1515d411f..c9ce9ae07b4 100644 --- a/plotly/validators/bar/_text.py +++ b/plotly/validators/bar/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='bar', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_textfont.py b/plotly/validators/bar/_textfont.py index f805f1202ca..98990221d49 100644 --- a/plotly/validators/bar/_textfont.py +++ b/plotly/validators/bar/_textfont.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='textfont', parent_name='bar', **kwargs): super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -38,6 +39,7 @@ def __init__(self, plotly_name='textfont', parent_name='bar', **kwargs): sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_textposition.py b/plotly/validators/bar/_textposition.py index 2bccc608f52..a0229f1a8d1 100644 --- a/plotly/validators/bar/_textposition.py +++ b/plotly/validators/bar/_textposition.py @@ -9,9 +9,9 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', - values=['inside', 'outside', 'auto', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['inside', 'outside', 'auto', 'none']), **kwargs ) diff --git a/plotly/validators/bar/_textpositionsrc.py b/plotly/validators/bar/_textpositionsrc.py index 7fb28c599f8..1540380864b 100644 --- a/plotly/validators/bar/_textpositionsrc.py +++ b/plotly/validators/bar/_textpositionsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_textsrc.py b/plotly/validators/bar/_textsrc.py index 85a692f26bc..1f918f4cff3 100644 --- a/plotly/validators/bar/_textsrc.py +++ b/plotly/validators/bar/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='bar', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_tsrc.py b/plotly/validators/bar/_tsrc.py index 61247903da2..6ea7bfad839 100644 --- a/plotly/validators/bar/_tsrc.py +++ b/plotly/validators/bar/_tsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='tsrc', parent_name='bar', **kwargs): super(TsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_uid.py b/plotly/validators/bar/_uid.py index 214c2ad8094..6a92e9eabef 100644 --- a/plotly/validators/bar/_uid.py +++ b/plotly/validators/bar/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='bar', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_unselected.py b/plotly/validators/bar/_unselected.py index 463182224bd..3fbc96dec58 100644 --- a/plotly/validators/bar/_unselected.py +++ b/plotly/validators/bar/_unselected.py @@ -7,14 +7,16 @@ def __init__(self, plotly_name='unselected', parent_name='bar', **kwargs): super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.bar.unselected.Marker instance or dict with compatible properties textfont plotly.graph_objs.bar.unselected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/_visible.py b/plotly/validators/bar/_visible.py index 92896ed2eac..b0816afb9fb 100644 --- a/plotly/validators/bar/_visible.py +++ b/plotly/validators/bar/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='bar', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/bar/_width.py b/plotly/validators/bar/_width.py index 4906d07eac0..12b4b3bca17 100644 --- a/plotly/validators/bar/_width.py +++ b/plotly/validators/bar/_width.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='width', parent_name='bar', **kwargs): super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_widthsrc.py b/plotly/validators/bar/_widthsrc.py index 19d0bcd7829..e8d05346619 100644 --- a/plotly/validators/bar/_widthsrc.py +++ b/plotly/validators/bar/_widthsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='widthsrc', parent_name='bar', **kwargs): super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_x.py b/plotly/validators/bar/_x.py index a027b458e76..9a233b79f1b 100644 --- a/plotly/validators/bar/_x.py +++ b/plotly/validators/bar/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='bar', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/_x0.py b/plotly/validators/bar/_x0.py index b3ecdb288ae..3de37b8a348 100644 --- a/plotly/validators/bar/_x0.py +++ b/plotly/validators/bar/_x0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x0', parent_name='bar', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_xaxis.py b/plotly/validators/bar/_xaxis.py index 91f468c92a2..2bba159f8ff 100644 --- a/plotly/validators/bar/_xaxis.py +++ b/plotly/validators/bar/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='bar', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_xcalendar.py b/plotly/validators/bar/_xcalendar.py index 2afbdf96c02..e006b42113d 100644 --- a/plotly/validators/bar/_xcalendar.py +++ b/plotly/validators/bar/_xcalendar.py @@ -7,12 +7,15 @@ def __init__(self, plotly_name='xcalendar', parent_name='bar', **kwargs): super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/bar/_xsrc.py b/plotly/validators/bar/_xsrc.py index b77e021e18e..9ad552d197b 100644 --- a/plotly/validators/bar/_xsrc.py +++ b/plotly/validators/bar/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='bar', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_y.py b/plotly/validators/bar/_y.py index 182022fd650..cd971d41123 100644 --- a/plotly/validators/bar/_y.py +++ b/plotly/validators/bar/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='bar', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/_y0.py b/plotly/validators/bar/_y0.py index 6f44e088a00..21d628a3c70 100644 --- a/plotly/validators/bar/_y0.py +++ b/plotly/validators/bar/_y0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y0', parent_name='bar', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_yaxis.py b/plotly/validators/bar/_yaxis.py index 5657aa8f5de..e6cdf225df3 100644 --- a/plotly/validators/bar/_yaxis.py +++ b/plotly/validators/bar/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='bar', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/_ycalendar.py b/plotly/validators/bar/_ycalendar.py index e224d6098b3..2422b6cd750 100644 --- a/plotly/validators/bar/_ycalendar.py +++ b/plotly/validators/bar/_ycalendar.py @@ -7,12 +7,15 @@ def __init__(self, plotly_name='ycalendar', parent_name='bar', **kwargs): super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/bar/_ysrc.py b/plotly/validators/bar/_ysrc.py index 367125fc227..6bb431cdd64 100644 --- a/plotly/validators/bar/_ysrc.py +++ b/plotly/validators/bar/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='bar', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_array.py b/plotly/validators/bar/error_x/_array.py index a979f5358ba..8f9cd8cd914 100644 --- a/plotly/validators/bar/error_x/_array.py +++ b/plotly/validators/bar/error_x/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_arrayminus.py b/plotly/validators/bar/error_x/_arrayminus.py index b55027890b7..22bbc3c25b9 100644 --- a/plotly/validators/bar/error_x/_arrayminus.py +++ b/plotly/validators/bar/error_x/_arrayminus.py @@ -9,7 +9,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_arrayminussrc.py b/plotly/validators/bar/error_x/_arrayminussrc.py index b3976716f1b..1282d87f651 100644 --- a/plotly/validators/bar/error_x/_arrayminussrc.py +++ b/plotly/validators/bar/error_x/_arrayminussrc.py @@ -9,7 +9,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_arraysrc.py b/plotly/validators/bar/error_x/_arraysrc.py index 0e1e00b75cc..e6bcd9ec511 100644 --- a/plotly/validators/bar/error_x/_arraysrc.py +++ b/plotly/validators/bar/error_x/_arraysrc.py @@ -9,7 +9,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_color.py b/plotly/validators/bar/error_x/_color.py index 91b9a6de086..675a72bd78c 100644 --- a/plotly/validators/bar/error_x/_color.py +++ b/plotly/validators/bar/error_x/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_copy_ystyle.py b/plotly/validators/bar/error_x/_copy_ystyle.py index 42fae2c5c2f..7d778dccaf7 100644 --- a/plotly/validators/bar/error_x/_copy_ystyle.py +++ b/plotly/validators/bar/error_x/_copy_ystyle.py @@ -9,7 +9,7 @@ def __init__( super(CopyYstyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_symmetric.py b/plotly/validators/bar/error_x/_symmetric.py index a54eaf9d20e..2b4efda3576 100644 --- a/plotly/validators/bar/error_x/_symmetric.py +++ b/plotly/validators/bar/error_x/_symmetric.py @@ -9,7 +9,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_thickness.py b/plotly/validators/bar/error_x/_thickness.py index f5296e55911..11faa86f4a6 100644 --- a/plotly/validators/bar/error_x/_thickness.py +++ b/plotly/validators/bar/error_x/_thickness.py @@ -9,8 +9,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_traceref.py b/plotly/validators/bar/error_x/_traceref.py index 7cbf56512ec..b7ef0da1919 100644 --- a/plotly/validators/bar/error_x/_traceref.py +++ b/plotly/validators/bar/error_x/_traceref.py @@ -9,8 +9,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_tracerefminus.py b/plotly/validators/bar/error_x/_tracerefminus.py index a642b70f72f..386caddafe6 100644 --- a/plotly/validators/bar/error_x/_tracerefminus.py +++ b/plotly/validators/bar/error_x/_tracerefminus.py @@ -9,8 +9,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_type.py b/plotly/validators/bar/error_x/_type.py index cd6ad2be037..07aa02875ee 100644 --- a/plotly/validators/bar/error_x/_type.py +++ b/plotly/validators/bar/error_x/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/bar/error_x/_value.py b/plotly/validators/bar/error_x/_value.py index 5cc86a436cd..7850d040075 100644 --- a/plotly/validators/bar/error_x/_value.py +++ b/plotly/validators/bar/error_x/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_valueminus.py b/plotly/validators/bar/error_x/_valueminus.py index d6f9b413047..2df80f5ba9a 100644 --- a/plotly/validators/bar/error_x/_valueminus.py +++ b/plotly/validators/bar/error_x/_valueminus.py @@ -9,8 +9,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_visible.py b/plotly/validators/bar/error_x/_visible.py index 76e68be178f..44725d80a8e 100644 --- a/plotly/validators/bar/error_x/_visible.py +++ b/plotly/validators/bar/error_x/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_x/_width.py b/plotly/validators/bar/error_x/_width.py index 04180aeceb9..a559a0166a6 100644 --- a/plotly/validators/bar/error_x/_width.py +++ b/plotly/validators/bar/error_x/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_array.py b/plotly/validators/bar/error_y/_array.py index c6ec4c5fd17..a3d714a7cc3 100644 --- a/plotly/validators/bar/error_y/_array.py +++ b/plotly/validators/bar/error_y/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_arrayminus.py b/plotly/validators/bar/error_y/_arrayminus.py index d4b0d32e99f..ad450f4f852 100644 --- a/plotly/validators/bar/error_y/_arrayminus.py +++ b/plotly/validators/bar/error_y/_arrayminus.py @@ -9,7 +9,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_arrayminussrc.py b/plotly/validators/bar/error_y/_arrayminussrc.py index 99dfe22eba0..af708f91e7c 100644 --- a/plotly/validators/bar/error_y/_arrayminussrc.py +++ b/plotly/validators/bar/error_y/_arrayminussrc.py @@ -9,7 +9,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_arraysrc.py b/plotly/validators/bar/error_y/_arraysrc.py index b77dadeb68d..5c3f0cde97d 100644 --- a/plotly/validators/bar/error_y/_arraysrc.py +++ b/plotly/validators/bar/error_y/_arraysrc.py @@ -9,7 +9,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_color.py b/plotly/validators/bar/error_y/_color.py index 86f892139b5..ece35d6b286 100644 --- a/plotly/validators/bar/error_y/_color.py +++ b/plotly/validators/bar/error_y/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_symmetric.py b/plotly/validators/bar/error_y/_symmetric.py index 854d5fb2486..167149995b0 100644 --- a/plotly/validators/bar/error_y/_symmetric.py +++ b/plotly/validators/bar/error_y/_symmetric.py @@ -9,7 +9,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_thickness.py b/plotly/validators/bar/error_y/_thickness.py index 14a6ca39f9b..c0f2ccd074a 100644 --- a/plotly/validators/bar/error_y/_thickness.py +++ b/plotly/validators/bar/error_y/_thickness.py @@ -9,8 +9,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_traceref.py b/plotly/validators/bar/error_y/_traceref.py index 2fd631d6125..a14e849e618 100644 --- a/plotly/validators/bar/error_y/_traceref.py +++ b/plotly/validators/bar/error_y/_traceref.py @@ -9,8 +9,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_tracerefminus.py b/plotly/validators/bar/error_y/_tracerefminus.py index 8648eb037aa..713a3ff5655 100644 --- a/plotly/validators/bar/error_y/_tracerefminus.py +++ b/plotly/validators/bar/error_y/_tracerefminus.py @@ -9,8 +9,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_type.py b/plotly/validators/bar/error_y/_type.py index a2e34f43864..cd463b694e8 100644 --- a/plotly/validators/bar/error_y/_type.py +++ b/plotly/validators/bar/error_y/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/bar/error_y/_value.py b/plotly/validators/bar/error_y/_value.py index 8a8a7c359e0..e580f2afc19 100644 --- a/plotly/validators/bar/error_y/_value.py +++ b/plotly/validators/bar/error_y/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_valueminus.py b/plotly/validators/bar/error_y/_valueminus.py index af2eb769cc3..6e046181755 100644 --- a/plotly/validators/bar/error_y/_valueminus.py +++ b/plotly/validators/bar/error_y/_valueminus.py @@ -9,8 +9,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_visible.py b/plotly/validators/bar/error_y/_visible.py index af25da4052d..c068f3855e0 100644 --- a/plotly/validators/bar/error_y/_visible.py +++ b/plotly/validators/bar/error_y/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/error_y/_width.py b/plotly/validators/bar/error_y/_width.py index a3300917a7a..8054d40430c 100644 --- a/plotly/validators/bar/error_y/_width.py +++ b/plotly/validators/bar/error_y/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_bgcolor.py b/plotly/validators/bar/hoverlabel/_bgcolor.py index c5cce60a2a9..d8a4760e13b 100644 --- a/plotly/validators/bar/hoverlabel/_bgcolor.py +++ b/plotly/validators/bar/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_bgcolorsrc.py b/plotly/validators/bar/hoverlabel/_bgcolorsrc.py index 2291c02db65..6fec65bd023 100644 --- a/plotly/validators/bar/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/bar/hoverlabel/_bgcolorsrc.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_bordercolor.py b/plotly/validators/bar/hoverlabel/_bordercolor.py index 3c8a320fb80..d6f802c808a 100644 --- a/plotly/validators/bar/hoverlabel/_bordercolor.py +++ b/plotly/validators/bar/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_bordercolorsrc.py b/plotly/validators/bar/hoverlabel/_bordercolorsrc.py index 692d5cefa36..c3ee19cae74 100644 --- a/plotly/validators/bar/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/bar/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_font.py b/plotly/validators/bar/hoverlabel/_font.py index b12d23173d1..eb5c462bc2f 100644 --- a/plotly/validators/bar/hoverlabel/_font.py +++ b/plotly/validators/bar/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_namelength.py b/plotly/validators/bar/hoverlabel/_namelength.py index bdad8005739..2f3b92340e7 100644 --- a/plotly/validators/bar/hoverlabel/_namelength.py +++ b/plotly/validators/bar/hoverlabel/_namelength.py @@ -9,9 +9,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/_namelengthsrc.py b/plotly/validators/bar/hoverlabel/_namelengthsrc.py index c87977f2413..f705f652c38 100644 --- a/plotly/validators/bar/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/bar/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/font/_color.py b/plotly/validators/bar/hoverlabel/font/_color.py index 3f5f0905e67..5b03c2417a8 100644 --- a/plotly/validators/bar/hoverlabel/font/_color.py +++ b/plotly/validators/bar/hoverlabel/font/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/font/_colorsrc.py b/plotly/validators/bar/hoverlabel/font/_colorsrc.py index 4d8da085504..2c54ac5088b 100644 --- a/plotly/validators/bar/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/bar/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/font/_family.py b/plotly/validators/bar/hoverlabel/font/_family.py index f643ec55f3f..f655eccc0c1 100644 --- a/plotly/validators/bar/hoverlabel/font/_family.py +++ b/plotly/validators/bar/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/font/_familysrc.py b/plotly/validators/bar/hoverlabel/font/_familysrc.py index d8d9e3eb825..7dbd56f9d8e 100644 --- a/plotly/validators/bar/hoverlabel/font/_familysrc.py +++ b/plotly/validators/bar/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/font/_size.py b/plotly/validators/bar/hoverlabel/font/_size.py index e0ba39ba83c..52df88543c1 100644 --- a/plotly/validators/bar/hoverlabel/font/_size.py +++ b/plotly/validators/bar/hoverlabel/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/hoverlabel/font/_sizesrc.py b/plotly/validators/bar/hoverlabel/font/_sizesrc.py index dc06f22e899..b935c523574 100644 --- a/plotly/validators/bar/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/bar/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/insidetextfont/_color.py b/plotly/validators/bar/insidetextfont/_color.py index d3785746970..265ab12298d 100644 --- a/plotly/validators/bar/insidetextfont/_color.py +++ b/plotly/validators/bar/insidetextfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/insidetextfont/_colorsrc.py b/plotly/validators/bar/insidetextfont/_colorsrc.py index f483f9c255f..c199b2e1065 100644 --- a/plotly/validators/bar/insidetextfont/_colorsrc.py +++ b/plotly/validators/bar/insidetextfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/insidetextfont/_family.py b/plotly/validators/bar/insidetextfont/_family.py index c158deaf65c..a914a61a0f8 100644 --- a/plotly/validators/bar/insidetextfont/_family.py +++ b/plotly/validators/bar/insidetextfont/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/insidetextfont/_familysrc.py b/plotly/validators/bar/insidetextfont/_familysrc.py index fc984f550fe..afc6c69c42e 100644 --- a/plotly/validators/bar/insidetextfont/_familysrc.py +++ b/plotly/validators/bar/insidetextfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/insidetextfont/_size.py b/plotly/validators/bar/insidetextfont/_size.py index d42a4095fcd..a8d3add2785 100644 --- a/plotly/validators/bar/insidetextfont/_size.py +++ b/plotly/validators/bar/insidetextfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/insidetextfont/_sizesrc.py b/plotly/validators/bar/insidetextfont/_sizesrc.py index db7823751d3..9c78f2a7355 100644 --- a/plotly/validators/bar/insidetextfont/_sizesrc.py +++ b/plotly/validators/bar/insidetextfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/_autocolorscale.py b/plotly/validators/bar/marker/_autocolorscale.py index d5d4a45d5ae..5ccb030dabf 100644 --- a/plotly/validators/bar/marker/_autocolorscale.py +++ b/plotly/validators/bar/marker/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/_cauto.py b/plotly/validators/bar/marker/_cauto.py index 5fb092ff07f..ad6c9ccdcd7 100644 --- a/plotly/validators/bar/marker/_cauto.py +++ b/plotly/validators/bar/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/_cmax.py b/plotly/validators/bar/marker/_cmax.py index c457ec37f5c..100b2be3be9 100644 --- a/plotly/validators/bar/marker/_cmax.py +++ b/plotly/validators/bar/marker/_cmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmax', parent_name='bar.marker', **kwargs): super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/_cmin.py b/plotly/validators/bar/marker/_cmin.py index 44d9cf34dc1..b43b6a2ffae 100644 --- a/plotly/validators/bar/marker/_cmin.py +++ b/plotly/validators/bar/marker/_cmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmin', parent_name='bar.marker', **kwargs): super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/_color.py b/plotly/validators/bar/marker/_color.py index 93e77e91e4a..2c14f6a81ea 100644 --- a/plotly/validators/bar/marker/_color.py +++ b/plotly/validators/bar/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='bar.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'bar.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/bar/marker/_colorbar.py b/plotly/validators/bar/marker/_colorbar.py index 507eefaa5a6..561631e4fdf 100644 --- a/plotly/validators/bar/marker/_colorbar.py +++ b/plotly/validators/bar/marker/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/marker/_colorscale.py b/plotly/validators/bar/marker/_colorscale.py index 3ac2f7f7731..7262814b5ec 100644 --- a/plotly/validators/bar/marker/_colorscale.py +++ b/plotly/validators/bar/marker/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/_colorsrc.py b/plotly/validators/bar/marker/_colorsrc.py index 5b67090073d..30351957a5a 100644 --- a/plotly/validators/bar/marker/_colorsrc.py +++ b/plotly/validators/bar/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/_line.py b/plotly/validators/bar/marker/_line.py index d980fb5e57b..bd22cbe8b24 100644 --- a/plotly/validators/bar/marker/_line.py +++ b/plotly/validators/bar/marker/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='bar.marker', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -79,6 +80,7 @@ def __init__(self, plotly_name='line', parent_name='bar.marker', **kwargs): widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/marker/_opacity.py b/plotly/validators/bar/marker/_opacity.py index 18093c4f5a6..5af14d18e0b 100644 --- a/plotly/validators/bar/marker/_opacity.py +++ b/plotly/validators/bar/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/_opacitysrc.py b/plotly/validators/bar/marker/_opacitysrc.py index 86aa04c5015..f988910db61 100644 --- a/plotly/validators/bar/marker/_opacitysrc.py +++ b/plotly/validators/bar/marker/_opacitysrc.py @@ -9,7 +9,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/_reversescale.py b/plotly/validators/bar/marker/_reversescale.py index cf376335e78..f62e694433b 100644 --- a/plotly/validators/bar/marker/_reversescale.py +++ b/plotly/validators/bar/marker/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/_showscale.py b/plotly/validators/bar/marker/_showscale.py index a94b0ea9d18..8441e1d5c9a 100644 --- a/plotly/validators/bar/marker/_showscale.py +++ b/plotly/validators/bar/marker/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_bgcolor.py b/plotly/validators/bar/marker/colorbar/_bgcolor.py index f4ce761277e..fd961a95c1f 100644 --- a/plotly/validators/bar/marker/colorbar/_bgcolor.py +++ b/plotly/validators/bar/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_bordercolor.py b/plotly/validators/bar/marker/colorbar/_bordercolor.py index 8747a151d2b..0171ed7ee4c 100644 --- a/plotly/validators/bar/marker/colorbar/_bordercolor.py +++ b/plotly/validators/bar/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_borderwidth.py b/plotly/validators/bar/marker/colorbar/_borderwidth.py index 959447bd4e0..d6d08eca96c 100644 --- a/plotly/validators/bar/marker/colorbar/_borderwidth.py +++ b/plotly/validators/bar/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_dtick.py b/plotly/validators/bar/marker/colorbar/_dtick.py index 23abec85939..24964dadfc7 100644 --- a/plotly/validators/bar/marker/colorbar/_dtick.py +++ b/plotly/validators/bar/marker/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_exponentformat.py b/plotly/validators/bar/marker/colorbar/_exponentformat.py index 6737870148f..a7687189cb8 100644 --- a/plotly/validators/bar/marker/colorbar/_exponentformat.py +++ b/plotly/validators/bar/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_len.py b/plotly/validators/bar/marker/colorbar/_len.py index 3ff42ad9110..bdf536b3eb2 100644 --- a/plotly/validators/bar/marker/colorbar/_len.py +++ b/plotly/validators/bar/marker/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_lenmode.py b/plotly/validators/bar/marker/colorbar/_lenmode.py index 482acefb381..e3bad15e639 100644 --- a/plotly/validators/bar/marker/colorbar/_lenmode.py +++ b/plotly/validators/bar/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_nticks.py b/plotly/validators/bar/marker/colorbar/_nticks.py index c8b18a7e061..b6d16ebf8aa 100644 --- a/plotly/validators/bar/marker/colorbar/_nticks.py +++ b/plotly/validators/bar/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_outlinecolor.py b/plotly/validators/bar/marker/colorbar/_outlinecolor.py index 1e0f5b2f6c2..6497ae21ac1 100644 --- a/plotly/validators/bar/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/bar/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_outlinewidth.py b/plotly/validators/bar/marker/colorbar/_outlinewidth.py index 5fe7b407cef..281def9461c 100644 --- a/plotly/validators/bar/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/bar/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_separatethousands.py b/plotly/validators/bar/marker/colorbar/_separatethousands.py index c6d071ff38a..5660b7c5d4a 100644 --- a/plotly/validators/bar/marker/colorbar/_separatethousands.py +++ b/plotly/validators/bar/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_showexponent.py b/plotly/validators/bar/marker/colorbar/_showexponent.py index da266205c63..0f17a610ae5 100644 --- a/plotly/validators/bar/marker/colorbar/_showexponent.py +++ b/plotly/validators/bar/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_showticklabels.py b/plotly/validators/bar/marker/colorbar/_showticklabels.py index 223ef56658f..e8ebccff16e 100644 --- a/plotly/validators/bar/marker/colorbar/_showticklabels.py +++ b/plotly/validators/bar/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_showtickprefix.py b/plotly/validators/bar/marker/colorbar/_showtickprefix.py index 52f0e5e26d3..35783e5bcf8 100644 --- a/plotly/validators/bar/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/bar/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_showticksuffix.py b/plotly/validators/bar/marker/colorbar/_showticksuffix.py index 2f652aed72f..3c746efabbc 100644 --- a/plotly/validators/bar/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/bar/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_thickness.py b/plotly/validators/bar/marker/colorbar/_thickness.py index 80373b8f793..385d1ec56eb 100644 --- a/plotly/validators/bar/marker/colorbar/_thickness.py +++ b/plotly/validators/bar/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_thicknessmode.py b/plotly/validators/bar/marker/colorbar/_thicknessmode.py index bf43dc4cffc..7b369fcc875 100644 --- a/plotly/validators/bar/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/bar/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tick0.py b/plotly/validators/bar/marker/colorbar/_tick0.py index 9533f009b50..e1622451dc3 100644 --- a/plotly/validators/bar/marker/colorbar/_tick0.py +++ b/plotly/validators/bar/marker/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickangle.py b/plotly/validators/bar/marker/colorbar/_tickangle.py index 172222655b6..90235c004b8 100644 --- a/plotly/validators/bar/marker/colorbar/_tickangle.py +++ b/plotly/validators/bar/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickcolor.py b/plotly/validators/bar/marker/colorbar/_tickcolor.py index 3cf345e29ee..b41bd11ee33 100644 --- a/plotly/validators/bar/marker/colorbar/_tickcolor.py +++ b/plotly/validators/bar/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickfont.py b/plotly/validators/bar/marker/colorbar/_tickfont.py index 724c86af6ce..0708618d9ff 100644 --- a/plotly/validators/bar/marker/colorbar/_tickfont.py +++ b/plotly/validators/bar/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickformat.py b/plotly/validators/bar/marker/colorbar/_tickformat.py index 1e83654a2b4..b7c6ae5a05c 100644 --- a/plotly/validators/bar/marker/colorbar/_tickformat.py +++ b/plotly/validators/bar/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickformatstops.py b/plotly/validators/bar/marker/colorbar/_tickformatstops.py index 2d0bb8a97c5..f014742f8a5 100644 --- a/plotly/validators/bar/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/bar/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_ticklen.py b/plotly/validators/bar/marker/colorbar/_ticklen.py index 2789de83e22..7ad48ea206c 100644 --- a/plotly/validators/bar/marker/colorbar/_ticklen.py +++ b/plotly/validators/bar/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickmode.py b/plotly/validators/bar/marker/colorbar/_tickmode.py index 517991eaeea..b12f0437566 100644 --- a/plotly/validators/bar/marker/colorbar/_tickmode.py +++ b/plotly/validators/bar/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickprefix.py b/plotly/validators/bar/marker/colorbar/_tickprefix.py index 48460f8f7f4..f67243d97ea 100644 --- a/plotly/validators/bar/marker/colorbar/_tickprefix.py +++ b/plotly/validators/bar/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_ticks.py b/plotly/validators/bar/marker/colorbar/_ticks.py index cb1c0269f17..9f99d9b5171 100644 --- a/plotly/validators/bar/marker/colorbar/_ticks.py +++ b/plotly/validators/bar/marker/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_ticksuffix.py b/plotly/validators/bar/marker/colorbar/_ticksuffix.py index 6211342df51..83c075caf27 100644 --- a/plotly/validators/bar/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/bar/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_ticktext.py b/plotly/validators/bar/marker/colorbar/_ticktext.py index 525d9b89e82..ad5d06943d2 100644 --- a/plotly/validators/bar/marker/colorbar/_ticktext.py +++ b/plotly/validators/bar/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_ticktextsrc.py b/plotly/validators/bar/marker/colorbar/_ticktextsrc.py index d014fdea236..6d4eb3376e5 100644 --- a/plotly/validators/bar/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/bar/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickvals.py b/plotly/validators/bar/marker/colorbar/_tickvals.py index c409829947b..bac0e3c1ea3 100644 --- a/plotly/validators/bar/marker/colorbar/_tickvals.py +++ b/plotly/validators/bar/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickvalssrc.py b/plotly/validators/bar/marker/colorbar/_tickvalssrc.py index 2ae346940e2..5bb75ef0bf1 100644 --- a/plotly/validators/bar/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/bar/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_tickwidth.py b/plotly/validators/bar/marker/colorbar/_tickwidth.py index 23972e5c2aa..83c5731d47b 100644 --- a/plotly/validators/bar/marker/colorbar/_tickwidth.py +++ b/plotly/validators/bar/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_title.py b/plotly/validators/bar/marker/colorbar/_title.py index 5c2c2db0796..c6b270fb99c 100644 --- a/plotly/validators/bar/marker/colorbar/_title.py +++ b/plotly/validators/bar/marker/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_titlefont.py b/plotly/validators/bar/marker/colorbar/_titlefont.py index 6067738def4..59f05d7240f 100644 --- a/plotly/validators/bar/marker/colorbar/_titlefont.py +++ b/plotly/validators/bar/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_titleside.py b/plotly/validators/bar/marker/colorbar/_titleside.py index 5c23d84d698..35d41914c45 100644 --- a/plotly/validators/bar/marker/colorbar/_titleside.py +++ b/plotly/validators/bar/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_x.py b/plotly/validators/bar/marker/colorbar/_x.py index 62387573cad..b5032969912 100644 --- a/plotly/validators/bar/marker/colorbar/_x.py +++ b/plotly/validators/bar/marker/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_xanchor.py b/plotly/validators/bar/marker/colorbar/_xanchor.py index 3aa56ad36d8..934012fcacd 100644 --- a/plotly/validators/bar/marker/colorbar/_xanchor.py +++ b/plotly/validators/bar/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_xpad.py b/plotly/validators/bar/marker/colorbar/_xpad.py index 99ea6f79b30..57f85901979 100644 --- a/plotly/validators/bar/marker/colorbar/_xpad.py +++ b/plotly/validators/bar/marker/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_y.py b/plotly/validators/bar/marker/colorbar/_y.py index b80524d8efc..e8826f0e2a5 100644 --- a/plotly/validators/bar/marker/colorbar/_y.py +++ b/plotly/validators/bar/marker/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_yanchor.py b/plotly/validators/bar/marker/colorbar/_yanchor.py index 4401406b5b1..d24a606a7e5 100644 --- a/plotly/validators/bar/marker/colorbar/_yanchor.py +++ b/plotly/validators/bar/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/_ypad.py b/plotly/validators/bar/marker/colorbar/_ypad.py index eb088c576c2..6a5268e6ca5 100644 --- a/plotly/validators/bar/marker/colorbar/_ypad.py +++ b/plotly/validators/bar/marker/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickfont/_color.py b/plotly/validators/bar/marker/colorbar/tickfont/_color.py index b603db16c33..9a2079be65f 100644 --- a/plotly/validators/bar/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/bar/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickfont/_family.py b/plotly/validators/bar/marker/colorbar/tickfont/_family.py index c3bc19d8260..bfd28089ce7 100644 --- a/plotly/validators/bar/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/bar/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickfont/_size.py b/plotly/validators/bar/marker/colorbar/tickfont/_size.py index 9cb9d479bc9..6fa44429974 100644 --- a/plotly/validators/bar/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/bar/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/bar/marker/colorbar/tickformatstop/_dtickrange.py index b3893806537..a09f7c303e2 100644 --- a/plotly/validators/bar/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/bar/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/bar/marker/colorbar/tickformatstop/_enabled.py index 733d0a86cba..410fde2d0ee 100644 --- a/plotly/validators/bar/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/bar/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickformatstop/_name.py b/plotly/validators/bar/marker/colorbar/tickformatstop/_name.py index 7fa4184a70d..b707a70bc70 100644 --- a/plotly/validators/bar/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/bar/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/bar/marker/colorbar/tickformatstop/_templateitemname.py index 883c8647a51..37e0a312d03 100644 --- a/plotly/validators/bar/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/bar/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/tickformatstop/_value.py b/plotly/validators/bar/marker/colorbar/tickformatstop/_value.py index 1ecb3ab6f73..e2b5ecb4798 100644 --- a/plotly/validators/bar/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/bar/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/titlefont/_color.py b/plotly/validators/bar/marker/colorbar/titlefont/_color.py index 6c2a941e178..ceec2f68dda 100644 --- a/plotly/validators/bar/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/bar/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/titlefont/_family.py b/plotly/validators/bar/marker/colorbar/titlefont/_family.py index c500bc81a4c..f7cae5ddab9 100644 --- a/plotly/validators/bar/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/bar/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/marker/colorbar/titlefont/_size.py b/plotly/validators/bar/marker/colorbar/titlefont/_size.py index 6c026e0f44f..1ac92b508f3 100644 --- a/plotly/validators/bar/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/bar/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_autocolorscale.py b/plotly/validators/bar/marker/line/_autocolorscale.py index 3bd538290cc..353901c7040 100644 --- a/plotly/validators/bar/marker/line/_autocolorscale.py +++ b/plotly/validators/bar/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_cauto.py b/plotly/validators/bar/marker/line/_cauto.py index e8679c85ecf..2f97de095c8 100644 --- a/plotly/validators/bar/marker/line/_cauto.py +++ b/plotly/validators/bar/marker/line/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_cmax.py b/plotly/validators/bar/marker/line/_cmax.py index e6c7703cf31..052421a536d 100644 --- a/plotly/validators/bar/marker/line/_cmax.py +++ b/plotly/validators/bar/marker/line/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_cmin.py b/plotly/validators/bar/marker/line/_cmin.py index fdf33d5dae6..bb246512ffc 100644 --- a/plotly/validators/bar/marker/line/_cmin.py +++ b/plotly/validators/bar/marker/line/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_color.py b/plotly/validators/bar/marker/line/_color.py index 49ae36dc8c7..f06d1226f8a 100644 --- a/plotly/validators/bar/marker/line/_color.py +++ b/plotly/validators/bar/marker/line/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='bar.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'bar.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_colorscale.py b/plotly/validators/bar/marker/line/_colorscale.py index 9c976e34924..53905706cc5 100644 --- a/plotly/validators/bar/marker/line/_colorscale.py +++ b/plotly/validators/bar/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_colorsrc.py b/plotly/validators/bar/marker/line/_colorsrc.py index 63b038cb560..72b61ce59dd 100644 --- a/plotly/validators/bar/marker/line/_colorsrc.py +++ b/plotly/validators/bar/marker/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_reversescale.py b/plotly/validators/bar/marker/line/_reversescale.py index cd67b3f8c06..c13c948c1e1 100644 --- a/plotly/validators/bar/marker/line/_reversescale.py +++ b/plotly/validators/bar/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_width.py b/plotly/validators/bar/marker/line/_width.py index 39949f7be26..878d1ebd667 100644 --- a/plotly/validators/bar/marker/line/_width.py +++ b/plotly/validators/bar/marker/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/marker/line/_widthsrc.py b/plotly/validators/bar/marker/line/_widthsrc.py index 32c1cf1628e..47cc1864b92 100644 --- a/plotly/validators/bar/marker/line/_widthsrc.py +++ b/plotly/validators/bar/marker/line/_widthsrc.py @@ -9,7 +9,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/outsidetextfont/_color.py b/plotly/validators/bar/outsidetextfont/_color.py index 8175fa91ade..67935337d97 100644 --- a/plotly/validators/bar/outsidetextfont/_color.py +++ b/plotly/validators/bar/outsidetextfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/outsidetextfont/_colorsrc.py b/plotly/validators/bar/outsidetextfont/_colorsrc.py index dda59a31eb5..f18e92b2bf6 100644 --- a/plotly/validators/bar/outsidetextfont/_colorsrc.py +++ b/plotly/validators/bar/outsidetextfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/outsidetextfont/_family.py b/plotly/validators/bar/outsidetextfont/_family.py index a94480f21db..4a4d311c1f9 100644 --- a/plotly/validators/bar/outsidetextfont/_family.py +++ b/plotly/validators/bar/outsidetextfont/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/outsidetextfont/_familysrc.py b/plotly/validators/bar/outsidetextfont/_familysrc.py index 020b77d31c3..a4aa1245f41 100644 --- a/plotly/validators/bar/outsidetextfont/_familysrc.py +++ b/plotly/validators/bar/outsidetextfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/outsidetextfont/_size.py b/plotly/validators/bar/outsidetextfont/_size.py index 6cc8f9e3323..d42c37dd12f 100644 --- a/plotly/validators/bar/outsidetextfont/_size.py +++ b/plotly/validators/bar/outsidetextfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/outsidetextfont/_sizesrc.py b/plotly/validators/bar/outsidetextfont/_sizesrc.py index 6d7a5f51ece..ee7c6dc528b 100644 --- a/plotly/validators/bar/outsidetextfont/_sizesrc.py +++ b/plotly/validators/bar/outsidetextfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/selected/_marker.py b/plotly/validators/bar/selected/_marker.py index bd9f42146f2..28955c7e6f1 100644 --- a/plotly/validators/bar/selected/_marker.py +++ b/plotly/validators/bar/selected/_marker.py @@ -9,12 +9,14 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/selected/_textfont.py b/plotly/validators/bar/selected/_textfont.py index 9bcb6e3d05c..744cc46f6f9 100644 --- a/plotly/validators/bar/selected/_textfont.py +++ b/plotly/validators/bar/selected/_textfont.py @@ -9,10 +9,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/selected/marker/_color.py b/plotly/validators/bar/selected/marker/_color.py index 805962e4d42..e5799b11ec9 100644 --- a/plotly/validators/bar/selected/marker/_color.py +++ b/plotly/validators/bar/selected/marker/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/selected/marker/_opacity.py b/plotly/validators/bar/selected/marker/_opacity.py index 12bc4c19729..59394bfb8d0 100644 --- a/plotly/validators/bar/selected/marker/_opacity.py +++ b/plotly/validators/bar/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/selected/textfont/_color.py b/plotly/validators/bar/selected/textfont/_color.py index df58201c679..782b1ce2a43 100644 --- a/plotly/validators/bar/selected/textfont/_color.py +++ b/plotly/validators/bar/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/stream/_maxpoints.py b/plotly/validators/bar/stream/_maxpoints.py index d9f29a957ed..12690939775 100644 --- a/plotly/validators/bar/stream/_maxpoints.py +++ b/plotly/validators/bar/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/stream/_token.py b/plotly/validators/bar/stream/_token.py index 497e8a31b3f..7effdbeba5e 100644 --- a/plotly/validators/bar/stream/_token.py +++ b/plotly/validators/bar/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/textfont/_color.py b/plotly/validators/bar/textfont/_color.py index 44de3179e12..d17eb0c0716 100644 --- a/plotly/validators/bar/textfont/_color.py +++ b/plotly/validators/bar/textfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/textfont/_colorsrc.py b/plotly/validators/bar/textfont/_colorsrc.py index 4e9ed3eb9f0..c6523d237cb 100644 --- a/plotly/validators/bar/textfont/_colorsrc.py +++ b/plotly/validators/bar/textfont/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/textfont/_family.py b/plotly/validators/bar/textfont/_family.py index d93ee082883..550598b0e3b 100644 --- a/plotly/validators/bar/textfont/_family.py +++ b/plotly/validators/bar/textfont/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/bar/textfont/_familysrc.py b/plotly/validators/bar/textfont/_familysrc.py index cbf6cc2cae3..becf5437aad 100644 --- a/plotly/validators/bar/textfont/_familysrc.py +++ b/plotly/validators/bar/textfont/_familysrc.py @@ -9,7 +9,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/textfont/_size.py b/plotly/validators/bar/textfont/_size.py index 5c061ffc999..593e5f5652e 100644 --- a/plotly/validators/bar/textfont/_size.py +++ b/plotly/validators/bar/textfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/textfont/_sizesrc.py b/plotly/validators/bar/textfont/_sizesrc.py index 2d97c4506ad..72f7aca0aae 100644 --- a/plotly/validators/bar/textfont/_sizesrc.py +++ b/plotly/validators/bar/textfont/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/bar/unselected/_marker.py b/plotly/validators/bar/unselected/_marker.py index c85c44be449..d0ad2bd4a53 100644 --- a/plotly/validators/bar/unselected/_marker.py +++ b/plotly/validators/bar/unselected/_marker.py @@ -9,14 +9,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. opacity Sets the marker opacity of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/unselected/_textfont.py b/plotly/validators/bar/unselected/_textfont.py index d634bf163f9..f18f29493a8 100644 --- a/plotly/validators/bar/unselected/_textfont.py +++ b/plotly/validators/bar/unselected/_textfont.py @@ -9,11 +9,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/bar/unselected/marker/_color.py b/plotly/validators/bar/unselected/marker/_color.py index 9962e56fdfb..40e42dc029f 100644 --- a/plotly/validators/bar/unselected/marker/_color.py +++ b/plotly/validators/bar/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/unselected/marker/_opacity.py b/plotly/validators/bar/unselected/marker/_opacity.py index f1213c1aa9e..ed658a5799a 100644 --- a/plotly/validators/bar/unselected/marker/_opacity.py +++ b/plotly/validators/bar/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/bar/unselected/textfont/_color.py b/plotly/validators/bar/unselected/textfont/_color.py index 88c9b0d76e1..09dd861a99f 100644 --- a/plotly/validators/bar/unselected/textfont/_color.py +++ b/plotly/validators/bar/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_boxmean.py b/plotly/validators/box/_boxmean.py index a12355b01fc..3ab8faa3de0 100644 --- a/plotly/validators/box/_boxmean.py +++ b/plotly/validators/box/_boxmean.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='boxmean', parent_name='box', **kwargs): super(BoxmeanValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[True, 'sd', False], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', [True, 'sd', False]), **kwargs ) diff --git a/plotly/validators/box/_boxpoints.py b/plotly/validators/box/_boxpoints.py index 87e124a986a..ce83a1865e1 100644 --- a/plotly/validators/box/_boxpoints.py +++ b/plotly/validators/box/_boxpoints.py @@ -7,8 +7,10 @@ def __init__(self, plotly_name='boxpoints', parent_name='box', **kwargs): super(BoxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'outliers', 'suspectedoutliers', False], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['all', 'outliers', 'suspectedoutliers', False] + ), **kwargs ) diff --git a/plotly/validators/box/_customdata.py b/plotly/validators/box/_customdata.py index 9bec5359aed..061c077efb5 100644 --- a/plotly/validators/box/_customdata.py +++ b/plotly/validators/box/_customdata.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='customdata', parent_name='box', **kwargs): super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/box/_customdatasrc.py b/plotly/validators/box/_customdatasrc.py index ca6238e7ebe..ab7bff5d778 100644 --- a/plotly/validators/box/_customdatasrc.py +++ b/plotly/validators/box/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_fillcolor.py b/plotly/validators/box/_fillcolor.py index e617291bff2..4a626993602 100644 --- a/plotly/validators/box/_fillcolor.py +++ b/plotly/validators/box/_fillcolor.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='fillcolor', parent_name='box', **kwargs): super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_hoverinfo.py b/plotly/validators/box/_hoverinfo.py index 2239f47f010..f1d710b1936 100644 --- a/plotly/validators/box/_hoverinfo.py +++ b/plotly/validators/box/_hoverinfo.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='hoverinfo', parent_name='box', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_hoverinfosrc.py b/plotly/validators/box/_hoverinfosrc.py index d006d9763d6..82f455e6939 100644 --- a/plotly/validators/box/_hoverinfosrc.py +++ b/plotly/validators/box/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_hoverlabel.py b/plotly/validators/box/_hoverlabel.py index 6f533bbb29a..3d0878a0865 100644 --- a/plotly/validators/box/_hoverlabel.py +++ b/plotly/validators/box/_hoverlabel.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='hoverlabel', parent_name='box', **kwargs): super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -35,6 +36,7 @@ def __init__(self, plotly_name='hoverlabel', parent_name='box', **kwargs): namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/_hoveron.py b/plotly/validators/box/_hoveron.py index b387c22d007..00dd59e1b95 100644 --- a/plotly/validators/box/_hoveron.py +++ b/plotly/validators/box/_hoveron.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='hoveron', parent_name='box', **kwargs): super(HoveronValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - flags=['boxes', 'points'], - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + flags=kwargs.pop('flags', ['boxes', 'points']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_ids.py b/plotly/validators/box/_ids.py index 1d1d4e3993d..55b10b5859e 100644 --- a/plotly/validators/box/_ids.py +++ b/plotly/validators/box/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='box', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/box/_idssrc.py b/plotly/validators/box/_idssrc.py index 698cf2a19d1..37130a05a2b 100644 --- a/plotly/validators/box/_idssrc.py +++ b/plotly/validators/box/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='box', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_jitter.py b/plotly/validators/box/_jitter.py index da644e18edd..04a72cfb0fd 100644 --- a/plotly/validators/box/_jitter.py +++ b/plotly/validators/box/_jitter.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='jitter', parent_name='box', **kwargs): super(JitterValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_legendgroup.py b/plotly/validators/box/_legendgroup.py index 0e15dc4a47e..546b6f22e1e 100644 --- a/plotly/validators/box/_legendgroup.py +++ b/plotly/validators/box/_legendgroup.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='legendgroup', parent_name='box', **kwargs): super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_line.py b/plotly/validators/box/_line.py index ca1cb1ba9f6..fac93edce6e 100644 --- a/plotly/validators/box/_line.py +++ b/plotly/validators/box/_line.py @@ -7,13 +7,15 @@ def __init__(self, plotly_name='line', parent_name='box', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of line bounding the box(es). width Sets the width (in px) of line bounding the box(es). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/_marker.py b/plotly/validators/box/_marker.py index 8881ec58d28..aa5fb367748 100644 --- a/plotly/validators/box/_marker.py +++ b/plotly/validators/box/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='box', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets themarkercolor. It accepts either a specific color or an array of numbers that are @@ -31,6 +32,7 @@ def __init__(self, plotly_name='marker', parent_name='box', **kwargs): "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot- open" to a symbol name. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/_name.py b/plotly/validators/box/_name.py index 074d9d1ff84..148fe156585 100644 --- a/plotly/validators/box/_name.py +++ b/plotly/validators/box/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='box', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_notched.py b/plotly/validators/box/_notched.py index 027018d7768..07a7ba10b92 100644 --- a/plotly/validators/box/_notched.py +++ b/plotly/validators/box/_notched.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='notched', parent_name='box', **kwargs): super(NotchedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_notchwidth.py b/plotly/validators/box/_notchwidth.py index 21f532e773f..f0d0239aba5 100644 --- a/plotly/validators/box/_notchwidth.py +++ b/plotly/validators/box/_notchwidth.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='notchwidth', parent_name='box', **kwargs): super(NotchwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=0.5, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 0.5), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_opacity.py b/plotly/validators/box/_opacity.py index a0746a67b65..f1c9f6d05a7 100644 --- a/plotly/validators/box/_opacity.py +++ b/plotly/validators/box/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='box', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_orientation.py b/plotly/validators/box/_orientation.py index 4269f972255..c38ada9dd64 100644 --- a/plotly/validators/box/_orientation.py +++ b/plotly/validators/box/_orientation.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='orientation', parent_name='box', **kwargs): super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='style', - values=['v', 'h'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['v', 'h']), **kwargs ) diff --git a/plotly/validators/box/_pointpos.py b/plotly/validators/box/_pointpos.py index 5abc0260316..0b8a8fb5834 100644 --- a/plotly/validators/box/_pointpos.py +++ b/plotly/validators/box/_pointpos.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='pointpos', parent_name='box', **kwargs): super(PointposValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_selected.py b/plotly/validators/box/_selected.py index 389b7df9887..85257bd41c0 100644 --- a/plotly/validators/box/_selected.py +++ b/plotly/validators/box/_selected.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='selected', parent_name='box', **kwargs): super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.box.selected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/_selectedpoints.py b/plotly/validators/box/_selectedpoints.py index 6fa3fa7f95c..397945168e0 100644 --- a/plotly/validators/box/_selectedpoints.py +++ b/plotly/validators/box/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_showlegend.py b/plotly/validators/box/_showlegend.py index f5487edf37e..174600170e9 100644 --- a/plotly/validators/box/_showlegend.py +++ b/plotly/validators/box/_showlegend.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showlegend', parent_name='box', **kwargs): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_stream.py b/plotly/validators/box/_stream.py index 44f6407d413..d904e87e21b 100644 --- a/plotly/validators/box/_stream.py +++ b/plotly/validators/box/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='box', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='box', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/_text.py b/plotly/validators/box/_text.py index 88966f44ef3..ab049bbe162 100644 --- a/plotly/validators/box/_text.py +++ b/plotly/validators/box/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='box', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_textsrc.py b/plotly/validators/box/_textsrc.py index 49b54e29f4f..fbb11c39499 100644 --- a/plotly/validators/box/_textsrc.py +++ b/plotly/validators/box/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='box', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_uid.py b/plotly/validators/box/_uid.py index 32ea1b9aeff..7029c6ac100 100644 --- a/plotly/validators/box/_uid.py +++ b/plotly/validators/box/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='box', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_unselected.py b/plotly/validators/box/_unselected.py index 91b4b0d7366..072e83616cb 100644 --- a/plotly/validators/box/_unselected.py +++ b/plotly/validators/box/_unselected.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='unselected', parent_name='box', **kwargs): super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.box.unselected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/_visible.py b/plotly/validators/box/_visible.py index 5a364d908c1..ade0321c6d2 100644 --- a/plotly/validators/box/_visible.py +++ b/plotly/validators/box/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='box', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/box/_whiskerwidth.py b/plotly/validators/box/_whiskerwidth.py index 60dea781ca7..d29fc4fbfca 100644 --- a/plotly/validators/box/_whiskerwidth.py +++ b/plotly/validators/box/_whiskerwidth.py @@ -9,9 +9,9 @@ def __init__( super(WhiskerwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/_x.py b/plotly/validators/box/_x.py index 62cbe0f4c24..75a60862b35 100644 --- a/plotly/validators/box/_x.py +++ b/plotly/validators/box/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='box', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/box/_x0.py b/plotly/validators/box/_x0.py index d5dc4bc50fd..21677d92261 100644 --- a/plotly/validators/box/_x0.py +++ b/plotly/validators/box/_x0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x0', parent_name='box', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_xaxis.py b/plotly/validators/box/_xaxis.py index 08bdb0392bd..f62535d48ff 100644 --- a/plotly/validators/box/_xaxis.py +++ b/plotly/validators/box/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='box', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_xcalendar.py b/plotly/validators/box/_xcalendar.py index 783b563d4d5..738ae9969ca 100644 --- a/plotly/validators/box/_xcalendar.py +++ b/plotly/validators/box/_xcalendar.py @@ -7,12 +7,15 @@ def __init__(self, plotly_name='xcalendar', parent_name='box', **kwargs): super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/box/_xsrc.py b/plotly/validators/box/_xsrc.py index c4e80d5e43d..2abf9b9af98 100644 --- a/plotly/validators/box/_xsrc.py +++ b/plotly/validators/box/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='box', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_y.py b/plotly/validators/box/_y.py index 4eb20d9dc54..ebda5904e07 100644 --- a/plotly/validators/box/_y.py +++ b/plotly/validators/box/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='box', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/box/_y0.py b/plotly/validators/box/_y0.py index 9a151bab5b5..dcc972ab65f 100644 --- a/plotly/validators/box/_y0.py +++ b/plotly/validators/box/_y0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y0', parent_name='box', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_yaxis.py b/plotly/validators/box/_yaxis.py index 1e7be1f02ce..6aced78fff3 100644 --- a/plotly/validators/box/_yaxis.py +++ b/plotly/validators/box/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='box', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/_ycalendar.py b/plotly/validators/box/_ycalendar.py index f5e91a2d109..f2b297eeee2 100644 --- a/plotly/validators/box/_ycalendar.py +++ b/plotly/validators/box/_ycalendar.py @@ -7,12 +7,15 @@ def __init__(self, plotly_name='ycalendar', parent_name='box', **kwargs): super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/box/_ysrc.py b/plotly/validators/box/_ysrc.py index b09bf31f710..a036062171b 100644 --- a/plotly/validators/box/_ysrc.py +++ b/plotly/validators/box/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='box', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_bgcolor.py b/plotly/validators/box/hoverlabel/_bgcolor.py index 4951f56bd41..7bab1c6679f 100644 --- a/plotly/validators/box/hoverlabel/_bgcolor.py +++ b/plotly/validators/box/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_bgcolorsrc.py b/plotly/validators/box/hoverlabel/_bgcolorsrc.py index 24f4d1a10de..e4b9312d380 100644 --- a/plotly/validators/box/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/box/hoverlabel/_bgcolorsrc.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_bordercolor.py b/plotly/validators/box/hoverlabel/_bordercolor.py index af8a63edb9a..edbf57e0003 100644 --- a/plotly/validators/box/hoverlabel/_bordercolor.py +++ b/plotly/validators/box/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_bordercolorsrc.py b/plotly/validators/box/hoverlabel/_bordercolorsrc.py index b8f076c6fb9..aedbc2374bb 100644 --- a/plotly/validators/box/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/box/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_font.py b/plotly/validators/box/hoverlabel/_font.py index d393c48ac6a..d0d86444afa 100644 --- a/plotly/validators/box/hoverlabel/_font.py +++ b/plotly/validators/box/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_namelength.py b/plotly/validators/box/hoverlabel/_namelength.py index 6936d18ac12..abe7713624e 100644 --- a/plotly/validators/box/hoverlabel/_namelength.py +++ b/plotly/validators/box/hoverlabel/_namelength.py @@ -9,9 +9,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/_namelengthsrc.py b/plotly/validators/box/hoverlabel/_namelengthsrc.py index 01341dc8a5e..b3dfe48cd86 100644 --- a/plotly/validators/box/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/box/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/font/_color.py b/plotly/validators/box/hoverlabel/font/_color.py index db25d04d846..10897542ae2 100644 --- a/plotly/validators/box/hoverlabel/font/_color.py +++ b/plotly/validators/box/hoverlabel/font/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/font/_colorsrc.py b/plotly/validators/box/hoverlabel/font/_colorsrc.py index 4da59ff28a9..f4a444bc429 100644 --- a/plotly/validators/box/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/box/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/font/_family.py b/plotly/validators/box/hoverlabel/font/_family.py index ea9a374326f..9a313ff76da 100644 --- a/plotly/validators/box/hoverlabel/font/_family.py +++ b/plotly/validators/box/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/font/_familysrc.py b/plotly/validators/box/hoverlabel/font/_familysrc.py index 87c7718339a..034e716de6a 100644 --- a/plotly/validators/box/hoverlabel/font/_familysrc.py +++ b/plotly/validators/box/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/font/_size.py b/plotly/validators/box/hoverlabel/font/_size.py index c1fe0b10dbb..69210c2f933 100644 --- a/plotly/validators/box/hoverlabel/font/_size.py +++ b/plotly/validators/box/hoverlabel/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/hoverlabel/font/_sizesrc.py b/plotly/validators/box/hoverlabel/font/_sizesrc.py index 09b89d36650..f439940af20 100644 --- a/plotly/validators/box/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/box/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/line/_color.py b/plotly/validators/box/line/_color.py index cec57ab1c78..6a2ae38d630 100644 --- a/plotly/validators/box/line/_color.py +++ b/plotly/validators/box/line/_color.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='color', parent_name='box.line', **kwargs): super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/line/_width.py b/plotly/validators/box/line/_width.py index 56f39390b76..d2408f9582c 100644 --- a/plotly/validators/box/line/_width.py +++ b/plotly/validators/box/line/_width.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='width', parent_name='box.line', **kwargs): super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/_color.py b/plotly/validators/box/marker/_color.py index 52479dc23d8..bdd04e128ce 100644 --- a/plotly/validators/box/marker/_color.py +++ b/plotly/validators/box/marker/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/_line.py b/plotly/validators/box/marker/_line.py index 92054378256..7b38d0d1d06 100644 --- a/plotly/validators/box/marker/_line.py +++ b/plotly/validators/box/marker/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='box.marker', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are @@ -25,6 +26,7 @@ def __init__(self, plotly_name='line', parent_name='box.marker', **kwargs): width Sets the width (in px) of the lines bounding the marker points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/marker/_opacity.py b/plotly/validators/box/marker/_opacity.py index 06703719504..e7085590d9b 100644 --- a/plotly/validators/box/marker/_opacity.py +++ b/plotly/validators/box/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/_outliercolor.py b/plotly/validators/box/marker/_outliercolor.py index a26ceeb9e91..f7c0de3f3ed 100644 --- a/plotly/validators/box/marker/_outliercolor.py +++ b/plotly/validators/box/marker/_outliercolor.py @@ -9,7 +9,7 @@ def __init__( super(OutliercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/_size.py b/plotly/validators/box/marker/_size.py index 04f37b4ff26..7db7a211134 100644 --- a/plotly/validators/box/marker/_size.py +++ b/plotly/validators/box/marker/_size.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='size', parent_name='box.marker', **kwargs): super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/_symbol.py b/plotly/validators/box/marker/_symbol.py index 287e98cc754..460621b089c 100644 --- a/plotly/validators/box/marker/_symbol.py +++ b/plotly/validators/box/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='plot', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/box/marker/line/_color.py b/plotly/validators/box/marker/line/_color.py index 5e9b302f5a8..052c99589bd 100644 --- a/plotly/validators/box/marker/line/_color.py +++ b/plotly/validators/box/marker/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/line/_outliercolor.py b/plotly/validators/box/marker/line/_outliercolor.py index 35964f9dbcd..764e4d62d45 100644 --- a/plotly/validators/box/marker/line/_outliercolor.py +++ b/plotly/validators/box/marker/line/_outliercolor.py @@ -12,7 +12,7 @@ def __init__( super(OutliercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/line/_outlierwidth.py b/plotly/validators/box/marker/line/_outlierwidth.py index d4a7db702ac..5c891cfd147 100644 --- a/plotly/validators/box/marker/line/_outlierwidth.py +++ b/plotly/validators/box/marker/line/_outlierwidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlierwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/marker/line/_width.py b/plotly/validators/box/marker/line/_width.py index 4c799f606cc..5993e4b78c4 100644 --- a/plotly/validators/box/marker/line/_width.py +++ b/plotly/validators/box/marker/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/selected/_marker.py b/plotly/validators/box/selected/_marker.py index bb76b4b5df5..e5df0b61710 100644 --- a/plotly/validators/box/selected/_marker.py +++ b/plotly/validators/box/selected/_marker.py @@ -9,14 +9,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/selected/marker/_color.py b/plotly/validators/box/selected/marker/_color.py index 3b1688f01de..fd4bb6ecc2c 100644 --- a/plotly/validators/box/selected/marker/_color.py +++ b/plotly/validators/box/selected/marker/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/selected/marker/_opacity.py b/plotly/validators/box/selected/marker/_opacity.py index 8e9f6841718..cd86f43ab8a 100644 --- a/plotly/validators/box/selected/marker/_opacity.py +++ b/plotly/validators/box/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/selected/marker/_size.py b/plotly/validators/box/selected/marker/_size.py index 9395117fe29..3318ec65a4e 100644 --- a/plotly/validators/box/selected/marker/_size.py +++ b/plotly/validators/box/selected/marker/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/stream/_maxpoints.py b/plotly/validators/box/stream/_maxpoints.py index fa07e9cc4b5..7766d330c9a 100644 --- a/plotly/validators/box/stream/_maxpoints.py +++ b/plotly/validators/box/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/box/stream/_token.py b/plotly/validators/box/stream/_token.py index 765c476330c..15df10590e9 100644 --- a/plotly/validators/box/stream/_token.py +++ b/plotly/validators/box/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/box/unselected/_marker.py b/plotly/validators/box/unselected/_marker.py index 6fcf881c01e..9eed6f7f361 100644 --- a/plotly/validators/box/unselected/_marker.py +++ b/plotly/validators/box/unselected/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -20,6 +21,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/box/unselected/marker/_color.py b/plotly/validators/box/unselected/marker/_color.py index de0475c8c39..053d542ba57 100644 --- a/plotly/validators/box/unselected/marker/_color.py +++ b/plotly/validators/box/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/unselected/marker/_opacity.py b/plotly/validators/box/unselected/marker/_opacity.py index daf012ecd97..9f944df16d2 100644 --- a/plotly/validators/box/unselected/marker/_opacity.py +++ b/plotly/validators/box/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/box/unselected/marker/_size.py b/plotly/validators/box/unselected/marker/_size.py index 8d95d0cbf3b..11dc4fb6868 100644 --- a/plotly/validators/box/unselected/marker/_size.py +++ b/plotly/validators/box/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/_close.py b/plotly/validators/candlestick/_close.py index fbd1118b0b2..6211bf708cb 100644 --- a/plotly/validators/candlestick/_close.py +++ b/plotly/validators/candlestick/_close.py @@ -9,7 +9,7 @@ def __init__( super(CloseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_closesrc.py b/plotly/validators/candlestick/_closesrc.py index 0b27f3cda51..54bead089f5 100644 --- a/plotly/validators/candlestick/_closesrc.py +++ b/plotly/validators/candlestick/_closesrc.py @@ -9,7 +9,7 @@ def __init__( super(ClosesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_customdata.py b/plotly/validators/candlestick/_customdata.py index ec55cb0fdb9..d37b652a0ff 100644 --- a/plotly/validators/candlestick/_customdata.py +++ b/plotly/validators/candlestick/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_customdatasrc.py b/plotly/validators/candlestick/_customdatasrc.py index 1cd5f4fe0c3..658c63d0510 100644 --- a/plotly/validators/candlestick/_customdatasrc.py +++ b/plotly/validators/candlestick/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_decreasing.py b/plotly/validators/candlestick/_decreasing.py index 86788973084..39ce9d34df5 100644 --- a/plotly/validators/candlestick/_decreasing.py +++ b/plotly/validators/candlestick/_decreasing.py @@ -9,8 +9,9 @@ def __init__( super(DecreasingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Decreasing', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Decreasing'), + data_docs=kwargs.pop( + 'data_docs', """ fillcolor Sets the fill color. Defaults to a half- transparent variant of the line color, marker @@ -19,6 +20,7 @@ def __init__( line plotly.graph_objs.candlestick.decreasing.Line instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/_high.py b/plotly/validators/candlestick/_high.py index c5c7f81d50e..2c5c15e1724 100644 --- a/plotly/validators/candlestick/_high.py +++ b/plotly/validators/candlestick/_high.py @@ -9,7 +9,7 @@ def __init__( super(HighValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_highsrc.py b/plotly/validators/candlestick/_highsrc.py index 5b8dc62cc1f..8e3af99b633 100644 --- a/plotly/validators/candlestick/_highsrc.py +++ b/plotly/validators/candlestick/_highsrc.py @@ -9,7 +9,7 @@ def __init__( super(HighsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_hoverinfo.py b/plotly/validators/candlestick/_hoverinfo.py index d54b0fc84d6..337722c68c7 100644 --- a/plotly/validators/candlestick/_hoverinfo.py +++ b/plotly/validators/candlestick/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_hoverinfosrc.py b/plotly/validators/candlestick/_hoverinfosrc.py index 321e5064f43..c2f89455025 100644 --- a/plotly/validators/candlestick/_hoverinfosrc.py +++ b/plotly/validators/candlestick/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_hoverlabel.py b/plotly/validators/candlestick/_hoverlabel.py index 977a24b17e0..6feb3cabec0 100644 --- a/plotly/validators/candlestick/_hoverlabel.py +++ b/plotly/validators/candlestick/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/_ids.py b/plotly/validators/candlestick/_ids.py index ad82d9e256b..a8ee40434e1 100644 --- a/plotly/validators/candlestick/_ids.py +++ b/plotly/validators/candlestick/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='candlestick', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_idssrc.py b/plotly/validators/candlestick/_idssrc.py index dcd94009896..e53272ff870 100644 --- a/plotly/validators/candlestick/_idssrc.py +++ b/plotly/validators/candlestick/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_increasing.py b/plotly/validators/candlestick/_increasing.py index 256015d4b87..6ba06a35e7c 100644 --- a/plotly/validators/candlestick/_increasing.py +++ b/plotly/validators/candlestick/_increasing.py @@ -9,8 +9,9 @@ def __init__( super(IncreasingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Increasing', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Increasing'), + data_docs=kwargs.pop( + 'data_docs', """ fillcolor Sets the fill color. Defaults to a half- transparent variant of the line color, marker @@ -19,6 +20,7 @@ def __init__( line plotly.graph_objs.candlestick.increasing.Line instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/_legendgroup.py b/plotly/validators/candlestick/_legendgroup.py index 7932c9b96ed..de1eb7a86f1 100644 --- a/plotly/validators/candlestick/_legendgroup.py +++ b/plotly/validators/candlestick/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_line.py b/plotly/validators/candlestick/_line.py index a7bb0c94d2f..399ddd7648f 100644 --- a/plotly/validators/candlestick/_line.py +++ b/plotly/validators/candlestick/_line.py @@ -9,14 +9,16 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ width Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/_low.py b/plotly/validators/candlestick/_low.py index 4ab4c940eda..f4e00edd78f 100644 --- a/plotly/validators/candlestick/_low.py +++ b/plotly/validators/candlestick/_low.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='low', parent_name='candlestick', **kwargs): super(LowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_lowsrc.py b/plotly/validators/candlestick/_lowsrc.py index e266959018f..a8e1f7fa08f 100644 --- a/plotly/validators/candlestick/_lowsrc.py +++ b/plotly/validators/candlestick/_lowsrc.py @@ -9,7 +9,7 @@ def __init__( super(LowsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_name.py b/plotly/validators/candlestick/_name.py index c492184aecd..6d717707264 100644 --- a/plotly/validators/candlestick/_name.py +++ b/plotly/validators/candlestick/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_opacity.py b/plotly/validators/candlestick/_opacity.py index 0ae7261ce98..127f22372b0 100644 --- a/plotly/validators/candlestick/_opacity.py +++ b/plotly/validators/candlestick/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/_open.py b/plotly/validators/candlestick/_open.py index e16fa63c360..477c9f537ea 100644 --- a/plotly/validators/candlestick/_open.py +++ b/plotly/validators/candlestick/_open.py @@ -9,7 +9,7 @@ def __init__( super(OpenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_opensrc.py b/plotly/validators/candlestick/_opensrc.py index fdd520f5ebf..b41e86ba0bf 100644 --- a/plotly/validators/candlestick/_opensrc.py +++ b/plotly/validators/candlestick/_opensrc.py @@ -9,7 +9,7 @@ def __init__( super(OpensrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_selectedpoints.py b/plotly/validators/candlestick/_selectedpoints.py index f8d44e4b769..5a0dbbd27d8 100644 --- a/plotly/validators/candlestick/_selectedpoints.py +++ b/plotly/validators/candlestick/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_showlegend.py b/plotly/validators/candlestick/_showlegend.py index 9914ea36889..264a8e27a43 100644 --- a/plotly/validators/candlestick/_showlegend.py +++ b/plotly/validators/candlestick/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_stream.py b/plotly/validators/candlestick/_stream.py index 8372d11161a..ddbefcc9330 100644 --- a/plotly/validators/candlestick/_stream.py +++ b/plotly/validators/candlestick/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/_text.py b/plotly/validators/candlestick/_text.py index 9ba672bd050..5a14d2eb426 100644 --- a/plotly/validators/candlestick/_text.py +++ b/plotly/validators/candlestick/_text.py @@ -9,8 +9,8 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_textsrc.py b/plotly/validators/candlestick/_textsrc.py index 801e2018cf7..59224b2d5b9 100644 --- a/plotly/validators/candlestick/_textsrc.py +++ b/plotly/validators/candlestick/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_uid.py b/plotly/validators/candlestick/_uid.py index ae1107a9380..0ac519b1759 100644 --- a/plotly/validators/candlestick/_uid.py +++ b/plotly/validators/candlestick/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='candlestick', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_visible.py b/plotly/validators/candlestick/_visible.py index 6ce08c48e4d..3c188f738d4 100644 --- a/plotly/validators/candlestick/_visible.py +++ b/plotly/validators/candlestick/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/candlestick/_whiskerwidth.py b/plotly/validators/candlestick/_whiskerwidth.py index 9c9c3d04e26..9642939857e 100644 --- a/plotly/validators/candlestick/_whiskerwidth.py +++ b/plotly/validators/candlestick/_whiskerwidth.py @@ -9,9 +9,9 @@ def __init__( super(WhiskerwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/_x.py b/plotly/validators/candlestick/_x.py index 3dba53b41af..27356434a80 100644 --- a/plotly/validators/candlestick/_x.py +++ b/plotly/validators/candlestick/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='candlestick', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/candlestick/_xaxis.py b/plotly/validators/candlestick/_xaxis.py index 8bcb71ce7d8..caa0212e795 100644 --- a/plotly/validators/candlestick/_xaxis.py +++ b/plotly/validators/candlestick/_xaxis.py @@ -9,8 +9,8 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_xcalendar.py b/plotly/validators/candlestick/_xcalendar.py index e96d64f258e..173cd446f86 100644 --- a/plotly/validators/candlestick/_xcalendar.py +++ b/plotly/validators/candlestick/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/candlestick/_xsrc.py b/plotly/validators/candlestick/_xsrc.py index ff4590c3cab..9d1d48cd28b 100644 --- a/plotly/validators/candlestick/_xsrc.py +++ b/plotly/validators/candlestick/_xsrc.py @@ -9,7 +9,7 @@ def __init__( super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/_yaxis.py b/plotly/validators/candlestick/_yaxis.py index fdec0b0b1f5..06c49297090 100644 --- a/plotly/validators/candlestick/_yaxis.py +++ b/plotly/validators/candlestick/_yaxis.py @@ -9,8 +9,8 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/decreasing/_fillcolor.py b/plotly/validators/candlestick/decreasing/_fillcolor.py index d03151fbf13..9a1280e8b6f 100644 --- a/plotly/validators/candlestick/decreasing/_fillcolor.py +++ b/plotly/validators/candlestick/decreasing/_fillcolor.py @@ -12,7 +12,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/decreasing/_line.py b/plotly/validators/candlestick/decreasing/_line.py index b10a636ad2d..c45386726c6 100644 --- a/plotly/validators/candlestick/decreasing/_line.py +++ b/plotly/validators/candlestick/decreasing/_line.py @@ -12,13 +12,15 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of line bounding the box(es). width Sets the width (in px) of line bounding the box(es). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/decreasing/line/_color.py b/plotly/validators/candlestick/decreasing/line/_color.py index bba5d37d881..0a049286e86 100644 --- a/plotly/validators/candlestick/decreasing/line/_color.py +++ b/plotly/validators/candlestick/decreasing/line/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/decreasing/line/_width.py b/plotly/validators/candlestick/decreasing/line/_width.py index 911965f4092..19e67b8e9d2 100644 --- a/plotly/validators/candlestick/decreasing/line/_width.py +++ b/plotly/validators/candlestick/decreasing/line/_width.py @@ -12,8 +12,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_bgcolor.py b/plotly/validators/candlestick/hoverlabel/_bgcolor.py index b2ef334d952..2cf23bad62e 100644 --- a/plotly/validators/candlestick/hoverlabel/_bgcolor.py +++ b/plotly/validators/candlestick/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_bgcolorsrc.py b/plotly/validators/candlestick/hoverlabel/_bgcolorsrc.py index 766487e0668..2a4cba047e4 100644 --- a/plotly/validators/candlestick/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/candlestick/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_bordercolor.py b/plotly/validators/candlestick/hoverlabel/_bordercolor.py index f62fcb70e09..0101bfa050f 100644 --- a/plotly/validators/candlestick/hoverlabel/_bordercolor.py +++ b/plotly/validators/candlestick/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_bordercolorsrc.py b/plotly/validators/candlestick/hoverlabel/_bordercolorsrc.py index ceb9a0d2a61..1b5cfdf2df8 100644 --- a/plotly/validators/candlestick/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/candlestick/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_font.py b/plotly/validators/candlestick/hoverlabel/_font.py index d201c51658b..73053e09e94 100644 --- a/plotly/validators/candlestick/hoverlabel/_font.py +++ b/plotly/validators/candlestick/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_namelength.py b/plotly/validators/candlestick/hoverlabel/_namelength.py index a8cf3474275..e0db69fb88d 100644 --- a/plotly/validators/candlestick/hoverlabel/_namelength.py +++ b/plotly/validators/candlestick/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/_namelengthsrc.py b/plotly/validators/candlestick/hoverlabel/_namelengthsrc.py index 3f7fe2a26e4..52a59f9d0f7 100644 --- a/plotly/validators/candlestick/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/candlestick/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/font/_color.py b/plotly/validators/candlestick/hoverlabel/font/_color.py index 86c428423c4..73181e3ab24 100644 --- a/plotly/validators/candlestick/hoverlabel/font/_color.py +++ b/plotly/validators/candlestick/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/font/_colorsrc.py b/plotly/validators/candlestick/hoverlabel/font/_colorsrc.py index 34fee35aa4a..e2dc7be15b9 100644 --- a/plotly/validators/candlestick/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/candlestick/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/font/_family.py b/plotly/validators/candlestick/hoverlabel/font/_family.py index 44edd062dc3..842dd5df491 100644 --- a/plotly/validators/candlestick/hoverlabel/font/_family.py +++ b/plotly/validators/candlestick/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/font/_familysrc.py b/plotly/validators/candlestick/hoverlabel/font/_familysrc.py index ebacc9cab0b..945b810eb9e 100644 --- a/plotly/validators/candlestick/hoverlabel/font/_familysrc.py +++ b/plotly/validators/candlestick/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/font/_size.py b/plotly/validators/candlestick/hoverlabel/font/_size.py index a7d33fe6a71..100f3c386fd 100644 --- a/plotly/validators/candlestick/hoverlabel/font/_size.py +++ b/plotly/validators/candlestick/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/hoverlabel/font/_sizesrc.py b/plotly/validators/candlestick/hoverlabel/font/_sizesrc.py index 42981595d8e..60c7aafbc58 100644 --- a/plotly/validators/candlestick/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/candlestick/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/increasing/_fillcolor.py b/plotly/validators/candlestick/increasing/_fillcolor.py index 12fd2500205..c616a5fca7b 100644 --- a/plotly/validators/candlestick/increasing/_fillcolor.py +++ b/plotly/validators/candlestick/increasing/_fillcolor.py @@ -12,7 +12,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/increasing/_line.py b/plotly/validators/candlestick/increasing/_line.py index 9c34539eea3..6fed8e1cc7a 100644 --- a/plotly/validators/candlestick/increasing/_line.py +++ b/plotly/validators/candlestick/increasing/_line.py @@ -12,13 +12,15 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of line bounding the box(es). width Sets the width (in px) of line bounding the box(es). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/candlestick/increasing/line/_color.py b/plotly/validators/candlestick/increasing/line/_color.py index 47f1c346b65..240c6552810 100644 --- a/plotly/validators/candlestick/increasing/line/_color.py +++ b/plotly/validators/candlestick/increasing/line/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/increasing/line/_width.py b/plotly/validators/candlestick/increasing/line/_width.py index d5ccb266ef0..38a3ce1a961 100644 --- a/plotly/validators/candlestick/increasing/line/_width.py +++ b/plotly/validators/candlestick/increasing/line/_width.py @@ -12,8 +12,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/line/_width.py b/plotly/validators/candlestick/line/_width.py index 8bd6364df3c..1ab319de75b 100644 --- a/plotly/validators/candlestick/line/_width.py +++ b/plotly/validators/candlestick/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/candlestick/stream/_maxpoints.py b/plotly/validators/candlestick/stream/_maxpoints.py index 55685ee2468..08da37a9486 100644 --- a/plotly/validators/candlestick/stream/_maxpoints.py +++ b/plotly/validators/candlestick/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/candlestick/stream/_token.py b/plotly/validators/candlestick/stream/_token.py index f0f1eae7dd2..9d5c7a04692 100644 --- a/plotly/validators/candlestick/stream/_token.py +++ b/plotly/validators/candlestick/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/_a.py b/plotly/validators/carpet/_a.py index 62529a67b8c..03d4ca2ceaa 100644 --- a/plotly/validators/carpet/_a.py +++ b/plotly/validators/carpet/_a.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='a', parent_name='carpet', **kwargs): super(AValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/_a0.py b/plotly/validators/carpet/_a0.py index 963e4c19c50..60e77d90190 100644 --- a/plotly/validators/carpet/_a0.py +++ b/plotly/validators/carpet/_a0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='a0', parent_name='carpet', **kwargs): super(A0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_aaxis.py b/plotly/validators/carpet/_aaxis.py index 9a0109605bb..6a9d2647ed8 100644 --- a/plotly/validators/carpet/_aaxis.py +++ b/plotly/validators/carpet/_aaxis.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='aaxis', parent_name='carpet', **kwargs): super(AaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Aaxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Aaxis'), + data_docs=kwargs.pop( + 'data_docs', """ arraydtick The stride between grid lines along the axis arraytick0 @@ -208,6 +209,7 @@ def __init__(self, plotly_name='aaxis', parent_name='carpet', **kwargs): to determined the axis type by looking into the data of the traces that referenced the axis in question. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/_asrc.py b/plotly/validators/carpet/_asrc.py index a907120732b..87a9831ff53 100644 --- a/plotly/validators/carpet/_asrc.py +++ b/plotly/validators/carpet/_asrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='asrc', parent_name='carpet', **kwargs): super(AsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_b.py b/plotly/validators/carpet/_b.py index 38a9b8b0c84..2bf26322614 100644 --- a/plotly/validators/carpet/_b.py +++ b/plotly/validators/carpet/_b.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='b', parent_name='carpet', **kwargs): super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/_b0.py b/plotly/validators/carpet/_b0.py index 81a4947edc0..558ed848834 100644 --- a/plotly/validators/carpet/_b0.py +++ b/plotly/validators/carpet/_b0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='b0', parent_name='carpet', **kwargs): super(B0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_baxis.py b/plotly/validators/carpet/_baxis.py index 5464c956a97..798e611e1be 100644 --- a/plotly/validators/carpet/_baxis.py +++ b/plotly/validators/carpet/_baxis.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='baxis', parent_name='carpet', **kwargs): super(BaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Baxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Baxis'), + data_docs=kwargs.pop( + 'data_docs', """ arraydtick The stride between grid lines along the axis arraytick0 @@ -208,6 +209,7 @@ def __init__(self, plotly_name='baxis', parent_name='carpet', **kwargs): to determined the axis type by looking into the data of the traces that referenced the axis in question. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/_bsrc.py b/plotly/validators/carpet/_bsrc.py index e419d8ab84f..12b5129600c 100644 --- a/plotly/validators/carpet/_bsrc.py +++ b/plotly/validators/carpet/_bsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='bsrc', parent_name='carpet', **kwargs): super(BsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_carpet.py b/plotly/validators/carpet/_carpet.py index 84c9817809c..09a89cef202 100644 --- a/plotly/validators/carpet/_carpet.py +++ b/plotly/validators/carpet/_carpet.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='carpet', parent_name='carpet', **kwargs): super(CarpetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_cheaterslope.py b/plotly/validators/carpet/_cheaterslope.py index 83c625647e8..f585570c148 100644 --- a/plotly/validators/carpet/_cheaterslope.py +++ b/plotly/validators/carpet/_cheaterslope.py @@ -9,7 +9,7 @@ def __init__( super(CheaterslopeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_color.py b/plotly/validators/carpet/_color.py index 9ac0de6c93e..f6518e26911 100644 --- a/plotly/validators/carpet/_color.py +++ b/plotly/validators/carpet/_color.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='color', parent_name='carpet', **kwargs): super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/_customdata.py b/plotly/validators/carpet/_customdata.py index 25c2552c327..a3458ecf3f8 100644 --- a/plotly/validators/carpet/_customdata.py +++ b/plotly/validators/carpet/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/_customdatasrc.py b/plotly/validators/carpet/_customdatasrc.py index ff09a043f93..503b12f314f 100644 --- a/plotly/validators/carpet/_customdatasrc.py +++ b/plotly/validators/carpet/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_da.py b/plotly/validators/carpet/_da.py index 9854ad73543..69e43ae64d2 100644 --- a/plotly/validators/carpet/_da.py +++ b/plotly/validators/carpet/_da.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='da', parent_name='carpet', **kwargs): super(DaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_db.py b/plotly/validators/carpet/_db.py index 185f8084aba..808baef8769 100644 --- a/plotly/validators/carpet/_db.py +++ b/plotly/validators/carpet/_db.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='db', parent_name='carpet', **kwargs): super(DbValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_font.py b/plotly/validators/carpet/_font.py index e227a5d4da1..13152b2e696 100644 --- a/plotly/validators/carpet/_font.py +++ b/plotly/validators/carpet/_font.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='font', parent_name='carpet', **kwargs): super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -29,6 +30,7 @@ def __init__(self, plotly_name='font', parent_name='carpet', **kwargs): Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/_hoverinfo.py b/plotly/validators/carpet/_hoverinfo.py index 22a63c85bea..9036769a53f 100644 --- a/plotly/validators/carpet/_hoverinfo.py +++ b/plotly/validators/carpet/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_hoverinfosrc.py b/plotly/validators/carpet/_hoverinfosrc.py index f22b7892045..bf232776932 100644 --- a/plotly/validators/carpet/_hoverinfosrc.py +++ b/plotly/validators/carpet/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_hoverlabel.py b/plotly/validators/carpet/_hoverlabel.py index 67ed5d4ec24..a7d0f56de46 100644 --- a/plotly/validators/carpet/_hoverlabel.py +++ b/plotly/validators/carpet/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/_ids.py b/plotly/validators/carpet/_ids.py index 20868e444ba..997fba59585 100644 --- a/plotly/validators/carpet/_ids.py +++ b/plotly/validators/carpet/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='carpet', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/_idssrc.py b/plotly/validators/carpet/_idssrc.py index ad00803160e..ec768b1341e 100644 --- a/plotly/validators/carpet/_idssrc.py +++ b/plotly/validators/carpet/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='carpet', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_legendgroup.py b/plotly/validators/carpet/_legendgroup.py index 9326ada429e..c90e22bc64e 100644 --- a/plotly/validators/carpet/_legendgroup.py +++ b/plotly/validators/carpet/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_name.py b/plotly/validators/carpet/_name.py index 9224019517b..0a770a53bd8 100644 --- a/plotly/validators/carpet/_name.py +++ b/plotly/validators/carpet/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='carpet', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_opacity.py b/plotly/validators/carpet/_opacity.py index 59e9b036976..f6a518a25bd 100644 --- a/plotly/validators/carpet/_opacity.py +++ b/plotly/validators/carpet/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='carpet', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/_selectedpoints.py b/plotly/validators/carpet/_selectedpoints.py index 57c496ffab4..ebf9347fdf8 100644 --- a/plotly/validators/carpet/_selectedpoints.py +++ b/plotly/validators/carpet/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_showlegend.py b/plotly/validators/carpet/_showlegend.py index 00e98567710..5021dac1625 100644 --- a/plotly/validators/carpet/_showlegend.py +++ b/plotly/validators/carpet/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_stream.py b/plotly/validators/carpet/_stream.py index 679b75c1382..4aefefb003a 100644 --- a/plotly/validators/carpet/_stream.py +++ b/plotly/validators/carpet/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='carpet', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='carpet', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/_uid.py b/plotly/validators/carpet/_uid.py index 9463239df28..8fd9c488842 100644 --- a/plotly/validators/carpet/_uid.py +++ b/plotly/validators/carpet/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='carpet', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_visible.py b/plotly/validators/carpet/_visible.py index 2f6b4181ec4..80bcb1892db 100644 --- a/plotly/validators/carpet/_visible.py +++ b/plotly/validators/carpet/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='carpet', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/carpet/_x.py b/plotly/validators/carpet/_x.py index 5872cc7e05f..1773e03e762 100644 --- a/plotly/validators/carpet/_x.py +++ b/plotly/validators/carpet/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='carpet', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/_xaxis.py b/plotly/validators/carpet/_xaxis.py index c7220b91b2e..86261bc834e 100644 --- a/plotly/validators/carpet/_xaxis.py +++ b/plotly/validators/carpet/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='carpet', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_xsrc.py b/plotly/validators/carpet/_xsrc.py index f2c0f762a75..0e67cafea88 100644 --- a/plotly/validators/carpet/_xsrc.py +++ b/plotly/validators/carpet/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='carpet', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_y.py b/plotly/validators/carpet/_y.py index 6b1791ff759..a15d3a8e3ee 100644 --- a/plotly/validators/carpet/_y.py +++ b/plotly/validators/carpet/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='carpet', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/_yaxis.py b/plotly/validators/carpet/_yaxis.py index 6f8694b47d6..8b299d53177 100644 --- a/plotly/validators/carpet/_yaxis.py +++ b/plotly/validators/carpet/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='carpet', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/_ysrc.py b/plotly/validators/carpet/_ysrc.py index e80d4df95b9..0197488ee9a 100644 --- a/plotly/validators/carpet/_ysrc.py +++ b/plotly/validators/carpet/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='carpet', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_arraydtick.py b/plotly/validators/carpet/aaxis/_arraydtick.py index 61d8d68560e..02aede0cd7f 100644 --- a/plotly/validators/carpet/aaxis/_arraydtick.py +++ b/plotly/validators/carpet/aaxis/_arraydtick.py @@ -9,8 +9,8 @@ def __init__( super(ArraydtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_arraytick0.py b/plotly/validators/carpet/aaxis/_arraytick0.py index 6609e19a864..1fdc5b09120 100644 --- a/plotly/validators/carpet/aaxis/_arraytick0.py +++ b/plotly/validators/carpet/aaxis/_arraytick0.py @@ -9,8 +9,8 @@ def __init__( super(Arraytick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_autorange.py b/plotly/validators/carpet/aaxis/_autorange.py index 722b29b271d..290bbb0dee5 100644 --- a/plotly/validators/carpet/aaxis/_autorange.py +++ b/plotly/validators/carpet/aaxis/_autorange.py @@ -9,8 +9,8 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_categoryarray.py b/plotly/validators/carpet/aaxis/_categoryarray.py index f4edd3764a2..e0ffe746034 100644 --- a/plotly/validators/carpet/aaxis/_categoryarray.py +++ b/plotly/validators/carpet/aaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_categoryarraysrc.py b/plotly/validators/carpet/aaxis/_categoryarraysrc.py index 141ff215b23..d02d5b26780 100644 --- a/plotly/validators/carpet/aaxis/_categoryarraysrc.py +++ b/plotly/validators/carpet/aaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_categoryorder.py b/plotly/validators/carpet/aaxis/_categoryorder.py index f30c4d8d8ad..ec4cd0ede41 100644 --- a/plotly/validators/carpet/aaxis/_categoryorder.py +++ b/plotly/validators/carpet/aaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_cheatertype.py b/plotly/validators/carpet/aaxis/_cheatertype.py index f834b3252d6..b74dfad9812 100644 --- a/plotly/validators/carpet/aaxis/_cheatertype.py +++ b/plotly/validators/carpet/aaxis/_cheatertype.py @@ -9,8 +9,8 @@ def __init__( super(CheatertypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['index', 'value'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['index', 'value']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_color.py b/plotly/validators/carpet/aaxis/_color.py index 0cd4e08b0c3..414e2995f8f 100644 --- a/plotly/validators/carpet/aaxis/_color.py +++ b/plotly/validators/carpet/aaxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_dtick.py b/plotly/validators/carpet/aaxis/_dtick.py index 4e20a58b96d..93c0f65eb9b 100644 --- a/plotly/validators/carpet/aaxis/_dtick.py +++ b/plotly/validators/carpet/aaxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_endline.py b/plotly/validators/carpet/aaxis/_endline.py index 9a11a5a320f..be506f966d4 100644 --- a/plotly/validators/carpet/aaxis/_endline.py +++ b/plotly/validators/carpet/aaxis/_endline.py @@ -9,7 +9,7 @@ def __init__( super(EndlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_endlinecolor.py b/plotly/validators/carpet/aaxis/_endlinecolor.py index d11fae4f3d7..d6b45422f50 100644 --- a/plotly/validators/carpet/aaxis/_endlinecolor.py +++ b/plotly/validators/carpet/aaxis/_endlinecolor.py @@ -9,7 +9,7 @@ def __init__( super(EndlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_endlinewidth.py b/plotly/validators/carpet/aaxis/_endlinewidth.py index d7475a8ed0e..571236f6170 100644 --- a/plotly/validators/carpet/aaxis/_endlinewidth.py +++ b/plotly/validators/carpet/aaxis/_endlinewidth.py @@ -9,7 +9,7 @@ def __init__( super(EndlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_exponentformat.py b/plotly/validators/carpet/aaxis/_exponentformat.py index 062a6d9eee7..6254fa3ab05 100644 --- a/plotly/validators/carpet/aaxis/_exponentformat.py +++ b/plotly/validators/carpet/aaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_fixedrange.py b/plotly/validators/carpet/aaxis/_fixedrange.py index 4eda6083386..1fdaff8fa6e 100644 --- a/plotly/validators/carpet/aaxis/_fixedrange.py +++ b/plotly/validators/carpet/aaxis/_fixedrange.py @@ -9,7 +9,7 @@ def __init__( super(FixedrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_gridcolor.py b/plotly/validators/carpet/aaxis/_gridcolor.py index 43340808b7d..41a2cde2d94 100644 --- a/plotly/validators/carpet/aaxis/_gridcolor.py +++ b/plotly/validators/carpet/aaxis/_gridcolor.py @@ -9,7 +9,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_gridwidth.py b/plotly/validators/carpet/aaxis/_gridwidth.py index 692d8edab43..05ba20cdb76 100644 --- a/plotly/validators/carpet/aaxis/_gridwidth.py +++ b/plotly/validators/carpet/aaxis/_gridwidth.py @@ -9,8 +9,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_labelpadding.py b/plotly/validators/carpet/aaxis/_labelpadding.py index a14997fbe1a..6e2853be334 100644 --- a/plotly/validators/carpet/aaxis/_labelpadding.py +++ b/plotly/validators/carpet/aaxis/_labelpadding.py @@ -9,7 +9,7 @@ def __init__( super(LabelpaddingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_labelprefix.py b/plotly/validators/carpet/aaxis/_labelprefix.py index 1de9524a985..43df9af2c07 100644 --- a/plotly/validators/carpet/aaxis/_labelprefix.py +++ b/plotly/validators/carpet/aaxis/_labelprefix.py @@ -9,7 +9,7 @@ def __init__( super(LabelprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_labelsuffix.py b/plotly/validators/carpet/aaxis/_labelsuffix.py index 0a916d4b92d..d9b38329895 100644 --- a/plotly/validators/carpet/aaxis/_labelsuffix.py +++ b/plotly/validators/carpet/aaxis/_labelsuffix.py @@ -9,7 +9,7 @@ def __init__( super(LabelsuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_linecolor.py b/plotly/validators/carpet/aaxis/_linecolor.py index 7ef9907aef2..533866a87c3 100644 --- a/plotly/validators/carpet/aaxis/_linecolor.py +++ b/plotly/validators/carpet/aaxis/_linecolor.py @@ -9,7 +9,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_linewidth.py b/plotly/validators/carpet/aaxis/_linewidth.py index d62f654f45c..8d4dda4783b 100644 --- a/plotly/validators/carpet/aaxis/_linewidth.py +++ b/plotly/validators/carpet/aaxis/_linewidth.py @@ -9,8 +9,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_minorgridcolor.py b/plotly/validators/carpet/aaxis/_minorgridcolor.py index d4f1f06b8f6..23e8f15103f 100644 --- a/plotly/validators/carpet/aaxis/_minorgridcolor.py +++ b/plotly/validators/carpet/aaxis/_minorgridcolor.py @@ -12,7 +12,7 @@ def __init__( super(MinorgridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_minorgridcount.py b/plotly/validators/carpet/aaxis/_minorgridcount.py index 6be0ffe7d30..ed4b5d7a22b 100644 --- a/plotly/validators/carpet/aaxis/_minorgridcount.py +++ b/plotly/validators/carpet/aaxis/_minorgridcount.py @@ -12,8 +12,8 @@ def __init__( super(MinorgridcountValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_minorgridwidth.py b/plotly/validators/carpet/aaxis/_minorgridwidth.py index cddff88a00d..2ee9c008ed1 100644 --- a/plotly/validators/carpet/aaxis/_minorgridwidth.py +++ b/plotly/validators/carpet/aaxis/_minorgridwidth.py @@ -12,8 +12,8 @@ def __init__( super(MinorgridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_nticks.py b/plotly/validators/carpet/aaxis/_nticks.py index 9b6efbf94cd..05536b2c869 100644 --- a/plotly/validators/carpet/aaxis/_nticks.py +++ b/plotly/validators/carpet/aaxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_range.py b/plotly/validators/carpet/aaxis/_range.py index f8210157168..242d40acba9 100644 --- a/plotly/validators/carpet/aaxis/_range.py +++ b/plotly/validators/carpet/aaxis/_range.py @@ -9,16 +9,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_rangemode.py b/plotly/validators/carpet/aaxis/_rangemode.py index 623a08d31ac..94af67c1b58 100644 --- a/plotly/validators/carpet/aaxis/_rangemode.py +++ b/plotly/validators/carpet/aaxis/_rangemode.py @@ -9,8 +9,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_separatethousands.py b/plotly/validators/carpet/aaxis/_separatethousands.py index 550a39ac1f7..005be9c6149 100644 --- a/plotly/validators/carpet/aaxis/_separatethousands.py +++ b/plotly/validators/carpet/aaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_showexponent.py b/plotly/validators/carpet/aaxis/_showexponent.py index efebcaf843e..cca675a72b7 100644 --- a/plotly/validators/carpet/aaxis/_showexponent.py +++ b/plotly/validators/carpet/aaxis/_showexponent.py @@ -9,8 +9,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_showgrid.py b/plotly/validators/carpet/aaxis/_showgrid.py index a51db462046..eb091fe9f40 100644 --- a/plotly/validators/carpet/aaxis/_showgrid.py +++ b/plotly/validators/carpet/aaxis/_showgrid.py @@ -9,7 +9,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_showline.py b/plotly/validators/carpet/aaxis/_showline.py index 12dd523d6d7..44d9e681948 100644 --- a/plotly/validators/carpet/aaxis/_showline.py +++ b/plotly/validators/carpet/aaxis/_showline.py @@ -9,7 +9,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_showticklabels.py b/plotly/validators/carpet/aaxis/_showticklabels.py index bfd990b0286..f2690b8ba7d 100644 --- a/plotly/validators/carpet/aaxis/_showticklabels.py +++ b/plotly/validators/carpet/aaxis/_showticklabels.py @@ -14,8 +14,8 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['start', 'end', 'both', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['start', 'end', 'both', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_showtickprefix.py b/plotly/validators/carpet/aaxis/_showtickprefix.py index 673c7dbb7a4..7411cedb77d 100644 --- a/plotly/validators/carpet/aaxis/_showtickprefix.py +++ b/plotly/validators/carpet/aaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_showticksuffix.py b/plotly/validators/carpet/aaxis/_showticksuffix.py index 6d6eadaee66..0ee74c2db60 100644 --- a/plotly/validators/carpet/aaxis/_showticksuffix.py +++ b/plotly/validators/carpet/aaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_smoothing.py b/plotly/validators/carpet/aaxis/_smoothing.py index 70ea99728e3..9b251cbdc29 100644 --- a/plotly/validators/carpet/aaxis/_smoothing.py +++ b/plotly/validators/carpet/aaxis/_smoothing.py @@ -9,9 +9,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1.3, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_startline.py b/plotly/validators/carpet/aaxis/_startline.py index 8ce64d93710..ad3e88b9ed7 100644 --- a/plotly/validators/carpet/aaxis/_startline.py +++ b/plotly/validators/carpet/aaxis/_startline.py @@ -9,7 +9,7 @@ def __init__( super(StartlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_startlinecolor.py b/plotly/validators/carpet/aaxis/_startlinecolor.py index fb46bf1ff77..27f44fec7b8 100644 --- a/plotly/validators/carpet/aaxis/_startlinecolor.py +++ b/plotly/validators/carpet/aaxis/_startlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(StartlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_startlinewidth.py b/plotly/validators/carpet/aaxis/_startlinewidth.py index c1fc7498bcc..3c8e870c3f1 100644 --- a/plotly/validators/carpet/aaxis/_startlinewidth.py +++ b/plotly/validators/carpet/aaxis/_startlinewidth.py @@ -12,7 +12,7 @@ def __init__( super(StartlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tick0.py b/plotly/validators/carpet/aaxis/_tick0.py index 9fb01110d25..7a5d312055b 100644 --- a/plotly/validators/carpet/aaxis/_tick0.py +++ b/plotly/validators/carpet/aaxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickangle.py b/plotly/validators/carpet/aaxis/_tickangle.py index ecb1e3a7b73..22730a479f3 100644 --- a/plotly/validators/carpet/aaxis/_tickangle.py +++ b/plotly/validators/carpet/aaxis/_tickangle.py @@ -9,7 +9,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickfont.py b/plotly/validators/carpet/aaxis/_tickfont.py index 9909c51dc3d..b78b9a5f750 100644 --- a/plotly/validators/carpet/aaxis/_tickfont.py +++ b/plotly/validators/carpet/aaxis/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickformat.py b/plotly/validators/carpet/aaxis/_tickformat.py index ae04ebaea92..6f36347bb71 100644 --- a/plotly/validators/carpet/aaxis/_tickformat.py +++ b/plotly/validators/carpet/aaxis/_tickformat.py @@ -9,7 +9,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickformatstops.py b/plotly/validators/carpet/aaxis/_tickformatstops.py index 2e0b569e33c..128d913a7e4 100644 --- a/plotly/validators/carpet/aaxis/_tickformatstops.py +++ b/plotly/validators/carpet/aaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickmode.py b/plotly/validators/carpet/aaxis/_tickmode.py index 3b6e84652b3..819c3fc97a6 100644 --- a/plotly/validators/carpet/aaxis/_tickmode.py +++ b/plotly/validators/carpet/aaxis/_tickmode.py @@ -9,8 +9,8 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['linear', 'array']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickprefix.py b/plotly/validators/carpet/aaxis/_tickprefix.py index 193f0f7e265..44d39a0ffdf 100644 --- a/plotly/validators/carpet/aaxis/_tickprefix.py +++ b/plotly/validators/carpet/aaxis/_tickprefix.py @@ -9,7 +9,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_ticksuffix.py b/plotly/validators/carpet/aaxis/_ticksuffix.py index 706f255f3cf..05a3a075fbf 100644 --- a/plotly/validators/carpet/aaxis/_ticksuffix.py +++ b/plotly/validators/carpet/aaxis/_ticksuffix.py @@ -9,7 +9,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_ticktext.py b/plotly/validators/carpet/aaxis/_ticktext.py index 15a6266db28..4a7c59573b4 100644 --- a/plotly/validators/carpet/aaxis/_ticktext.py +++ b/plotly/validators/carpet/aaxis/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_ticktextsrc.py b/plotly/validators/carpet/aaxis/_ticktextsrc.py index a631bc4e80d..33f44c4f24c 100644 --- a/plotly/validators/carpet/aaxis/_ticktextsrc.py +++ b/plotly/validators/carpet/aaxis/_ticktextsrc.py @@ -9,7 +9,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickvals.py b/plotly/validators/carpet/aaxis/_tickvals.py index d662833232a..d3d605db468 100644 --- a/plotly/validators/carpet/aaxis/_tickvals.py +++ b/plotly/validators/carpet/aaxis/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_tickvalssrc.py b/plotly/validators/carpet/aaxis/_tickvalssrc.py index 5341c82a1b5..1ce4ba339ef 100644 --- a/plotly/validators/carpet/aaxis/_tickvalssrc.py +++ b/plotly/validators/carpet/aaxis/_tickvalssrc.py @@ -9,7 +9,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_title.py b/plotly/validators/carpet/aaxis/_title.py index ce625fb6b5d..e40f8832fe2 100644 --- a/plotly/validators/carpet/aaxis/_title.py +++ b/plotly/validators/carpet/aaxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_titlefont.py b/plotly/validators/carpet/aaxis/_titlefont.py index 8108c88c84c..9ce130ef556 100644 --- a/plotly/validators/carpet/aaxis/_titlefont.py +++ b/plotly/validators/carpet/aaxis/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_titleoffset.py b/plotly/validators/carpet/aaxis/_titleoffset.py index 07a336edd90..a66e0903c7e 100644 --- a/plotly/validators/carpet/aaxis/_titleoffset.py +++ b/plotly/validators/carpet/aaxis/_titleoffset.py @@ -9,7 +9,7 @@ def __init__( super(TitleoffsetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/_type.py b/plotly/validators/carpet/aaxis/_type.py index 6cbfa902377..9220f13b0ea 100644 --- a/plotly/validators/carpet/aaxis/_type.py +++ b/plotly/validators/carpet/aaxis/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['-', 'linear', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['-', 'linear', 'date', 'category']), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickfont/_color.py b/plotly/validators/carpet/aaxis/tickfont/_color.py index 97ba9e96b46..c9d97a0ace1 100644 --- a/plotly/validators/carpet/aaxis/tickfont/_color.py +++ b/plotly/validators/carpet/aaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickfont/_family.py b/plotly/validators/carpet/aaxis/tickfont/_family.py index 9eaed0fdf32..d34ff2859af 100644 --- a/plotly/validators/carpet/aaxis/tickfont/_family.py +++ b/plotly/validators/carpet/aaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickfont/_size.py b/plotly/validators/carpet/aaxis/tickfont/_size.py index 7ca5fac8c9a..38e50462f12 100644 --- a/plotly/validators/carpet/aaxis/tickfont/_size.py +++ b/plotly/validators/carpet/aaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickformatstop/_dtickrange.py b/plotly/validators/carpet/aaxis/tickformatstop/_dtickrange.py index 9b945447b4d..b5885d15778 100644 --- a/plotly/validators/carpet/aaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/carpet/aaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickformatstop/_enabled.py b/plotly/validators/carpet/aaxis/tickformatstop/_enabled.py index fda34f6ba1e..9ded6f43313 100644 --- a/plotly/validators/carpet/aaxis/tickformatstop/_enabled.py +++ b/plotly/validators/carpet/aaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickformatstop/_name.py b/plotly/validators/carpet/aaxis/tickformatstop/_name.py index 96ce905880e..c2ace208241 100644 --- a/plotly/validators/carpet/aaxis/tickformatstop/_name.py +++ b/plotly/validators/carpet/aaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickformatstop/_templateitemname.py b/plotly/validators/carpet/aaxis/tickformatstop/_templateitemname.py index f9710cca351..092ee9ae232 100644 --- a/plotly/validators/carpet/aaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/carpet/aaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/tickformatstop/_value.py b/plotly/validators/carpet/aaxis/tickformatstop/_value.py index a0fbe693f31..d78e652c9b2 100644 --- a/plotly/validators/carpet/aaxis/tickformatstop/_value.py +++ b/plotly/validators/carpet/aaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/titlefont/_color.py b/plotly/validators/carpet/aaxis/titlefont/_color.py index 2ce38debc05..ad58db838eb 100644 --- a/plotly/validators/carpet/aaxis/titlefont/_color.py +++ b/plotly/validators/carpet/aaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/titlefont/_family.py b/plotly/validators/carpet/aaxis/titlefont/_family.py index 94a82597732..7d158f4b2c4 100644 --- a/plotly/validators/carpet/aaxis/titlefont/_family.py +++ b/plotly/validators/carpet/aaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/aaxis/titlefont/_size.py b/plotly/validators/carpet/aaxis/titlefont/_size.py index 86e5381a6a2..259521ae1a7 100644 --- a/plotly/validators/carpet/aaxis/titlefont/_size.py +++ b/plotly/validators/carpet/aaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_arraydtick.py b/plotly/validators/carpet/baxis/_arraydtick.py index 21f10774310..e20e2f26ca0 100644 --- a/plotly/validators/carpet/baxis/_arraydtick.py +++ b/plotly/validators/carpet/baxis/_arraydtick.py @@ -9,8 +9,8 @@ def __init__( super(ArraydtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_arraytick0.py b/plotly/validators/carpet/baxis/_arraytick0.py index 16126a3aed7..44ab89867b4 100644 --- a/plotly/validators/carpet/baxis/_arraytick0.py +++ b/plotly/validators/carpet/baxis/_arraytick0.py @@ -9,8 +9,8 @@ def __init__( super(Arraytick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_autorange.py b/plotly/validators/carpet/baxis/_autorange.py index b9aeefa9a51..c375b2ada1d 100644 --- a/plotly/validators/carpet/baxis/_autorange.py +++ b/plotly/validators/carpet/baxis/_autorange.py @@ -9,8 +9,8 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_categoryarray.py b/plotly/validators/carpet/baxis/_categoryarray.py index 07f504c9b99..5ddc7a03e48 100644 --- a/plotly/validators/carpet/baxis/_categoryarray.py +++ b/plotly/validators/carpet/baxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_categoryarraysrc.py b/plotly/validators/carpet/baxis/_categoryarraysrc.py index e482d43a6bb..2215bebb7f8 100644 --- a/plotly/validators/carpet/baxis/_categoryarraysrc.py +++ b/plotly/validators/carpet/baxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_categoryorder.py b/plotly/validators/carpet/baxis/_categoryorder.py index 164fb966a37..6c2c2fe5fa2 100644 --- a/plotly/validators/carpet/baxis/_categoryorder.py +++ b/plotly/validators/carpet/baxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_cheatertype.py b/plotly/validators/carpet/baxis/_cheatertype.py index 171924e7150..a3c4839adc7 100644 --- a/plotly/validators/carpet/baxis/_cheatertype.py +++ b/plotly/validators/carpet/baxis/_cheatertype.py @@ -9,8 +9,8 @@ def __init__( super(CheatertypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['index', 'value'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['index', 'value']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_color.py b/plotly/validators/carpet/baxis/_color.py index 7f3c41d85b3..a2f5ba28fa3 100644 --- a/plotly/validators/carpet/baxis/_color.py +++ b/plotly/validators/carpet/baxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_dtick.py b/plotly/validators/carpet/baxis/_dtick.py index 0ab39050d80..fb20bfe77d9 100644 --- a/plotly/validators/carpet/baxis/_dtick.py +++ b/plotly/validators/carpet/baxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_endline.py b/plotly/validators/carpet/baxis/_endline.py index 3578140059d..3fff318f7bd 100644 --- a/plotly/validators/carpet/baxis/_endline.py +++ b/plotly/validators/carpet/baxis/_endline.py @@ -9,7 +9,7 @@ def __init__( super(EndlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_endlinecolor.py b/plotly/validators/carpet/baxis/_endlinecolor.py index 50c66787dd0..6060743986d 100644 --- a/plotly/validators/carpet/baxis/_endlinecolor.py +++ b/plotly/validators/carpet/baxis/_endlinecolor.py @@ -9,7 +9,7 @@ def __init__( super(EndlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_endlinewidth.py b/plotly/validators/carpet/baxis/_endlinewidth.py index 5c52d15b52b..30b598e47eb 100644 --- a/plotly/validators/carpet/baxis/_endlinewidth.py +++ b/plotly/validators/carpet/baxis/_endlinewidth.py @@ -9,7 +9,7 @@ def __init__( super(EndlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_exponentformat.py b/plotly/validators/carpet/baxis/_exponentformat.py index ed687f0beac..dc37f342f3c 100644 --- a/plotly/validators/carpet/baxis/_exponentformat.py +++ b/plotly/validators/carpet/baxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_fixedrange.py b/plotly/validators/carpet/baxis/_fixedrange.py index 371c19dc388..8b114b052c3 100644 --- a/plotly/validators/carpet/baxis/_fixedrange.py +++ b/plotly/validators/carpet/baxis/_fixedrange.py @@ -9,7 +9,7 @@ def __init__( super(FixedrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_gridcolor.py b/plotly/validators/carpet/baxis/_gridcolor.py index 9b0a1b7511e..f33422258a5 100644 --- a/plotly/validators/carpet/baxis/_gridcolor.py +++ b/plotly/validators/carpet/baxis/_gridcolor.py @@ -9,7 +9,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_gridwidth.py b/plotly/validators/carpet/baxis/_gridwidth.py index 1aecddaaa96..2eaed5db9f5 100644 --- a/plotly/validators/carpet/baxis/_gridwidth.py +++ b/plotly/validators/carpet/baxis/_gridwidth.py @@ -9,8 +9,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_labelpadding.py b/plotly/validators/carpet/baxis/_labelpadding.py index 552202dd4df..73e4c68ac9f 100644 --- a/plotly/validators/carpet/baxis/_labelpadding.py +++ b/plotly/validators/carpet/baxis/_labelpadding.py @@ -9,7 +9,7 @@ def __init__( super(LabelpaddingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_labelprefix.py b/plotly/validators/carpet/baxis/_labelprefix.py index 7ff62cfa669..94b74a0f8ce 100644 --- a/plotly/validators/carpet/baxis/_labelprefix.py +++ b/plotly/validators/carpet/baxis/_labelprefix.py @@ -9,7 +9,7 @@ def __init__( super(LabelprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_labelsuffix.py b/plotly/validators/carpet/baxis/_labelsuffix.py index 2df118641ca..b7f3f30faf9 100644 --- a/plotly/validators/carpet/baxis/_labelsuffix.py +++ b/plotly/validators/carpet/baxis/_labelsuffix.py @@ -9,7 +9,7 @@ def __init__( super(LabelsuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_linecolor.py b/plotly/validators/carpet/baxis/_linecolor.py index a51b9ddcac1..8f6f0472090 100644 --- a/plotly/validators/carpet/baxis/_linecolor.py +++ b/plotly/validators/carpet/baxis/_linecolor.py @@ -9,7 +9,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_linewidth.py b/plotly/validators/carpet/baxis/_linewidth.py index f4549108d43..600e7fb6cf8 100644 --- a/plotly/validators/carpet/baxis/_linewidth.py +++ b/plotly/validators/carpet/baxis/_linewidth.py @@ -9,8 +9,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_minorgridcolor.py b/plotly/validators/carpet/baxis/_minorgridcolor.py index 4edf69f10c8..4555646559c 100644 --- a/plotly/validators/carpet/baxis/_minorgridcolor.py +++ b/plotly/validators/carpet/baxis/_minorgridcolor.py @@ -12,7 +12,7 @@ def __init__( super(MinorgridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_minorgridcount.py b/plotly/validators/carpet/baxis/_minorgridcount.py index 509f7129c04..02ab2e154a6 100644 --- a/plotly/validators/carpet/baxis/_minorgridcount.py +++ b/plotly/validators/carpet/baxis/_minorgridcount.py @@ -12,8 +12,8 @@ def __init__( super(MinorgridcountValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_minorgridwidth.py b/plotly/validators/carpet/baxis/_minorgridwidth.py index 42aed71bb2a..b470f2628a3 100644 --- a/plotly/validators/carpet/baxis/_minorgridwidth.py +++ b/plotly/validators/carpet/baxis/_minorgridwidth.py @@ -12,8 +12,8 @@ def __init__( super(MinorgridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_nticks.py b/plotly/validators/carpet/baxis/_nticks.py index 83c46728606..4589173c36c 100644 --- a/plotly/validators/carpet/baxis/_nticks.py +++ b/plotly/validators/carpet/baxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_range.py b/plotly/validators/carpet/baxis/_range.py index fc78c187a24..4a7c914d507 100644 --- a/plotly/validators/carpet/baxis/_range.py +++ b/plotly/validators/carpet/baxis/_range.py @@ -9,16 +9,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_rangemode.py b/plotly/validators/carpet/baxis/_rangemode.py index 2485768ea71..341f3567c0d 100644 --- a/plotly/validators/carpet/baxis/_rangemode.py +++ b/plotly/validators/carpet/baxis/_rangemode.py @@ -9,8 +9,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_separatethousands.py b/plotly/validators/carpet/baxis/_separatethousands.py index af7025eb028..c7d121aadcc 100644 --- a/plotly/validators/carpet/baxis/_separatethousands.py +++ b/plotly/validators/carpet/baxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_showexponent.py b/plotly/validators/carpet/baxis/_showexponent.py index 9adc6a42ef8..b9ff2042ee0 100644 --- a/plotly/validators/carpet/baxis/_showexponent.py +++ b/plotly/validators/carpet/baxis/_showexponent.py @@ -9,8 +9,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_showgrid.py b/plotly/validators/carpet/baxis/_showgrid.py index 79aa7213ced..a22dc5182f2 100644 --- a/plotly/validators/carpet/baxis/_showgrid.py +++ b/plotly/validators/carpet/baxis/_showgrid.py @@ -9,7 +9,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_showline.py b/plotly/validators/carpet/baxis/_showline.py index 6a533978c38..d90fc1ea147 100644 --- a/plotly/validators/carpet/baxis/_showline.py +++ b/plotly/validators/carpet/baxis/_showline.py @@ -9,7 +9,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_showticklabels.py b/plotly/validators/carpet/baxis/_showticklabels.py index c57a1aee8c4..06b5b8d7db3 100644 --- a/plotly/validators/carpet/baxis/_showticklabels.py +++ b/plotly/validators/carpet/baxis/_showticklabels.py @@ -14,8 +14,8 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['start', 'end', 'both', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['start', 'end', 'both', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_showtickprefix.py b/plotly/validators/carpet/baxis/_showtickprefix.py index d122f31a5e8..12b56492ef6 100644 --- a/plotly/validators/carpet/baxis/_showtickprefix.py +++ b/plotly/validators/carpet/baxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_showticksuffix.py b/plotly/validators/carpet/baxis/_showticksuffix.py index 74240a0ad8f..17aca731900 100644 --- a/plotly/validators/carpet/baxis/_showticksuffix.py +++ b/plotly/validators/carpet/baxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_smoothing.py b/plotly/validators/carpet/baxis/_smoothing.py index e95975b02dd..e18878415aa 100644 --- a/plotly/validators/carpet/baxis/_smoothing.py +++ b/plotly/validators/carpet/baxis/_smoothing.py @@ -9,9 +9,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1.3, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_startline.py b/plotly/validators/carpet/baxis/_startline.py index cc560eec1ae..2b5b553c135 100644 --- a/plotly/validators/carpet/baxis/_startline.py +++ b/plotly/validators/carpet/baxis/_startline.py @@ -9,7 +9,7 @@ def __init__( super(StartlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_startlinecolor.py b/plotly/validators/carpet/baxis/_startlinecolor.py index 514d73baa16..63675b5ab84 100644 --- a/plotly/validators/carpet/baxis/_startlinecolor.py +++ b/plotly/validators/carpet/baxis/_startlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(StartlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_startlinewidth.py b/plotly/validators/carpet/baxis/_startlinewidth.py index 13f950cd136..b24a6a63e57 100644 --- a/plotly/validators/carpet/baxis/_startlinewidth.py +++ b/plotly/validators/carpet/baxis/_startlinewidth.py @@ -12,7 +12,7 @@ def __init__( super(StartlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tick0.py b/plotly/validators/carpet/baxis/_tick0.py index 5534a3ee48e..94ed4a8ab8a 100644 --- a/plotly/validators/carpet/baxis/_tick0.py +++ b/plotly/validators/carpet/baxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickangle.py b/plotly/validators/carpet/baxis/_tickangle.py index f5ae8773367..fba5e788946 100644 --- a/plotly/validators/carpet/baxis/_tickangle.py +++ b/plotly/validators/carpet/baxis/_tickangle.py @@ -9,7 +9,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickfont.py b/plotly/validators/carpet/baxis/_tickfont.py index 281183ddbb0..98f8ffc227d 100644 --- a/plotly/validators/carpet/baxis/_tickfont.py +++ b/plotly/validators/carpet/baxis/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickformat.py b/plotly/validators/carpet/baxis/_tickformat.py index f9f0067cb3f..eece9484805 100644 --- a/plotly/validators/carpet/baxis/_tickformat.py +++ b/plotly/validators/carpet/baxis/_tickformat.py @@ -9,7 +9,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickformatstops.py b/plotly/validators/carpet/baxis/_tickformatstops.py index 93f9f6f8030..c831fe775d3 100644 --- a/plotly/validators/carpet/baxis/_tickformatstops.py +++ b/plotly/validators/carpet/baxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickmode.py b/plotly/validators/carpet/baxis/_tickmode.py index 0f7361b1e32..a1dcd733a19 100644 --- a/plotly/validators/carpet/baxis/_tickmode.py +++ b/plotly/validators/carpet/baxis/_tickmode.py @@ -9,8 +9,8 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['linear', 'array']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickprefix.py b/plotly/validators/carpet/baxis/_tickprefix.py index 9257d0bed27..a2991b4d8b5 100644 --- a/plotly/validators/carpet/baxis/_tickprefix.py +++ b/plotly/validators/carpet/baxis/_tickprefix.py @@ -9,7 +9,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_ticksuffix.py b/plotly/validators/carpet/baxis/_ticksuffix.py index 5414004f22f..dbfc66b49bc 100644 --- a/plotly/validators/carpet/baxis/_ticksuffix.py +++ b/plotly/validators/carpet/baxis/_ticksuffix.py @@ -9,7 +9,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_ticktext.py b/plotly/validators/carpet/baxis/_ticktext.py index 2eb2fda0ca7..9fbdcee495d 100644 --- a/plotly/validators/carpet/baxis/_ticktext.py +++ b/plotly/validators/carpet/baxis/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_ticktextsrc.py b/plotly/validators/carpet/baxis/_ticktextsrc.py index b2cf8e17199..bc402e5c864 100644 --- a/plotly/validators/carpet/baxis/_ticktextsrc.py +++ b/plotly/validators/carpet/baxis/_ticktextsrc.py @@ -9,7 +9,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickvals.py b/plotly/validators/carpet/baxis/_tickvals.py index 3acf73af9c9..da67273e64f 100644 --- a/plotly/validators/carpet/baxis/_tickvals.py +++ b/plotly/validators/carpet/baxis/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_tickvalssrc.py b/plotly/validators/carpet/baxis/_tickvalssrc.py index 4535ea900bc..e9ffdfb5d9d 100644 --- a/plotly/validators/carpet/baxis/_tickvalssrc.py +++ b/plotly/validators/carpet/baxis/_tickvalssrc.py @@ -9,7 +9,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_title.py b/plotly/validators/carpet/baxis/_title.py index eb67934c253..8d18f35a609 100644 --- a/plotly/validators/carpet/baxis/_title.py +++ b/plotly/validators/carpet/baxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_titlefont.py b/plotly/validators/carpet/baxis/_titlefont.py index 375a5993f80..bbf6636d449 100644 --- a/plotly/validators/carpet/baxis/_titlefont.py +++ b/plotly/validators/carpet/baxis/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_titleoffset.py b/plotly/validators/carpet/baxis/_titleoffset.py index c0e316070ba..be814b1aef5 100644 --- a/plotly/validators/carpet/baxis/_titleoffset.py +++ b/plotly/validators/carpet/baxis/_titleoffset.py @@ -9,7 +9,7 @@ def __init__( super(TitleoffsetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/_type.py b/plotly/validators/carpet/baxis/_type.py index 260b81c0a29..b5d1d99b019 100644 --- a/plotly/validators/carpet/baxis/_type.py +++ b/plotly/validators/carpet/baxis/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['-', 'linear', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['-', 'linear', 'date', 'category']), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickfont/_color.py b/plotly/validators/carpet/baxis/tickfont/_color.py index f5e497777ee..b9e025c173d 100644 --- a/plotly/validators/carpet/baxis/tickfont/_color.py +++ b/plotly/validators/carpet/baxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickfont/_family.py b/plotly/validators/carpet/baxis/tickfont/_family.py index 7f465a113d5..b310438a5d5 100644 --- a/plotly/validators/carpet/baxis/tickfont/_family.py +++ b/plotly/validators/carpet/baxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickfont/_size.py b/plotly/validators/carpet/baxis/tickfont/_size.py index 6c49558be2f..d472d8dd499 100644 --- a/plotly/validators/carpet/baxis/tickfont/_size.py +++ b/plotly/validators/carpet/baxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickformatstop/_dtickrange.py b/plotly/validators/carpet/baxis/tickformatstop/_dtickrange.py index 4273fd456e8..5c1e87d1e41 100644 --- a/plotly/validators/carpet/baxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/carpet/baxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickformatstop/_enabled.py b/plotly/validators/carpet/baxis/tickformatstop/_enabled.py index 912d46d6bc0..f461663b3fe 100644 --- a/plotly/validators/carpet/baxis/tickformatstop/_enabled.py +++ b/plotly/validators/carpet/baxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickformatstop/_name.py b/plotly/validators/carpet/baxis/tickformatstop/_name.py index 664ea71ec77..8ff0b7a47aa 100644 --- a/plotly/validators/carpet/baxis/tickformatstop/_name.py +++ b/plotly/validators/carpet/baxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickformatstop/_templateitemname.py b/plotly/validators/carpet/baxis/tickformatstop/_templateitemname.py index f17879b2177..6d90c4c258b 100644 --- a/plotly/validators/carpet/baxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/carpet/baxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/tickformatstop/_value.py b/plotly/validators/carpet/baxis/tickformatstop/_value.py index a0615bd105d..fe304d4596f 100644 --- a/plotly/validators/carpet/baxis/tickformatstop/_value.py +++ b/plotly/validators/carpet/baxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/titlefont/_color.py b/plotly/validators/carpet/baxis/titlefont/_color.py index 3c2a77991da..07bd7c00221 100644 --- a/plotly/validators/carpet/baxis/titlefont/_color.py +++ b/plotly/validators/carpet/baxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/baxis/titlefont/_family.py b/plotly/validators/carpet/baxis/titlefont/_family.py index e781d1e8db1..d07757896f2 100644 --- a/plotly/validators/carpet/baxis/titlefont/_family.py +++ b/plotly/validators/carpet/baxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/baxis/titlefont/_size.py b/plotly/validators/carpet/baxis/titlefont/_size.py index c94c1b8542b..9c643d6f0c9 100644 --- a/plotly/validators/carpet/baxis/titlefont/_size.py +++ b/plotly/validators/carpet/baxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/font/_color.py b/plotly/validators/carpet/font/_color.py index 318fc059ab0..e90cc443b4d 100644 --- a/plotly/validators/carpet/font/_color.py +++ b/plotly/validators/carpet/font/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/font/_family.py b/plotly/validators/carpet/font/_family.py index 6e5d6207214..673c9b120f9 100644 --- a/plotly/validators/carpet/font/_family.py +++ b/plotly/validators/carpet/font/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/font/_size.py b/plotly/validators/carpet/font/_size.py index 28caefec203..e2dd19e8926 100644 --- a/plotly/validators/carpet/font/_size.py +++ b/plotly/validators/carpet/font/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_bgcolor.py b/plotly/validators/carpet/hoverlabel/_bgcolor.py index 029ea64eda0..6969b4a267a 100644 --- a/plotly/validators/carpet/hoverlabel/_bgcolor.py +++ b/plotly/validators/carpet/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_bgcolorsrc.py b/plotly/validators/carpet/hoverlabel/_bgcolorsrc.py index 5ecf3bc60a2..c5e8cfed2e0 100644 --- a/plotly/validators/carpet/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/carpet/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_bordercolor.py b/plotly/validators/carpet/hoverlabel/_bordercolor.py index b54c3c64d24..919ca49e884 100644 --- a/plotly/validators/carpet/hoverlabel/_bordercolor.py +++ b/plotly/validators/carpet/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_bordercolorsrc.py b/plotly/validators/carpet/hoverlabel/_bordercolorsrc.py index 2f993215898..42d04face07 100644 --- a/plotly/validators/carpet/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/carpet/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_font.py b/plotly/validators/carpet/hoverlabel/_font.py index d676d2c54ee..efb800e4bb7 100644 --- a/plotly/validators/carpet/hoverlabel/_font.py +++ b/plotly/validators/carpet/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_namelength.py b/plotly/validators/carpet/hoverlabel/_namelength.py index 5454b5800d8..51e52d76edb 100644 --- a/plotly/validators/carpet/hoverlabel/_namelength.py +++ b/plotly/validators/carpet/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/_namelengthsrc.py b/plotly/validators/carpet/hoverlabel/_namelengthsrc.py index 382a3449c92..731d6b7344f 100644 --- a/plotly/validators/carpet/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/carpet/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/font/_color.py b/plotly/validators/carpet/hoverlabel/font/_color.py index ac93108a6e4..502c436084f 100644 --- a/plotly/validators/carpet/hoverlabel/font/_color.py +++ b/plotly/validators/carpet/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/font/_colorsrc.py b/plotly/validators/carpet/hoverlabel/font/_colorsrc.py index 32b55093f46..03fe3652ed6 100644 --- a/plotly/validators/carpet/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/carpet/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/font/_family.py b/plotly/validators/carpet/hoverlabel/font/_family.py index 1fc93e98ba3..4cbf40a8690 100644 --- a/plotly/validators/carpet/hoverlabel/font/_family.py +++ b/plotly/validators/carpet/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/font/_familysrc.py b/plotly/validators/carpet/hoverlabel/font/_familysrc.py index a510cd2dc92..b3b71b32ccf 100644 --- a/plotly/validators/carpet/hoverlabel/font/_familysrc.py +++ b/plotly/validators/carpet/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/font/_size.py b/plotly/validators/carpet/hoverlabel/font/_size.py index a2e01ae07f8..169c7590df5 100644 --- a/plotly/validators/carpet/hoverlabel/font/_size.py +++ b/plotly/validators/carpet/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/carpet/hoverlabel/font/_sizesrc.py b/plotly/validators/carpet/hoverlabel/font/_sizesrc.py index 9d10f1b56c9..c4cdaa1c85e 100644 --- a/plotly/validators/carpet/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/carpet/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/stream/_maxpoints.py b/plotly/validators/carpet/stream/_maxpoints.py index 8373e11071e..5e244bbde5a 100644 --- a/plotly/validators/carpet/stream/_maxpoints.py +++ b/plotly/validators/carpet/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/carpet/stream/_token.py b/plotly/validators/carpet/stream/_token.py index b7ee73d06a3..b725acbf196 100644 --- a/plotly/validators/carpet/stream/_token.py +++ b/plotly/validators/carpet/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/choropleth/_autocolorscale.py b/plotly/validators/choropleth/_autocolorscale.py index 4d489312f6a..a25b4774f42 100644 --- a/plotly/validators/choropleth/_autocolorscale.py +++ b/plotly/validators/choropleth/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/_colorbar.py b/plotly/validators/choropleth/_colorbar.py index 31a15a736b4..56dae5c1176 100644 --- a/plotly/validators/choropleth/_colorbar.py +++ b/plotly/validators/choropleth/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/_colorscale.py b/plotly/validators/choropleth/_colorscale.py index 98ce138aead..612609c0705 100644 --- a/plotly/validators/choropleth/_colorscale.py +++ b/plotly/validators/choropleth/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/_customdata.py b/plotly/validators/choropleth/_customdata.py index 60bb0c3d4bc..3c94edb304d 100644 --- a/plotly/validators/choropleth/_customdata.py +++ b/plotly/validators/choropleth/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/choropleth/_customdatasrc.py b/plotly/validators/choropleth/_customdatasrc.py index 20f6df094e8..2cb0c13d2b0 100644 --- a/plotly/validators/choropleth/_customdatasrc.py +++ b/plotly/validators/choropleth/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_geo.py b/plotly/validators/choropleth/_geo.py index 6c8dbb3b1d9..51ec69d2671 100644 --- a/plotly/validators/choropleth/_geo.py +++ b/plotly/validators/choropleth/_geo.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='geo', parent_name='choropleth', **kwargs): super(GeoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='geo', - edit_type='calc', - role='info', + dflt=kwargs.pop('dflt', 'geo'), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_hoverinfo.py b/plotly/validators/choropleth/_hoverinfo.py index 68d79e6cfe0..26aca215546 100644 --- a/plotly/validators/choropleth/_hoverinfo.py +++ b/plotly/validators/choropleth/_hoverinfo.py @@ -9,10 +9,12 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['location', 'z', 'text', 'name', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop( + 'flags', ['location', 'z', 'text', 'name', 'name'] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_hoverinfosrc.py b/plotly/validators/choropleth/_hoverinfosrc.py index 9c8558ae861..71db9cef811 100644 --- a/plotly/validators/choropleth/_hoverinfosrc.py +++ b/plotly/validators/choropleth/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_hoverlabel.py b/plotly/validators/choropleth/_hoverlabel.py index 5afe1429625..f9de2dbaea8 100644 --- a/plotly/validators/choropleth/_hoverlabel.py +++ b/plotly/validators/choropleth/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/_ids.py b/plotly/validators/choropleth/_ids.py index fdef90c974a..f048293a2b4 100644 --- a/plotly/validators/choropleth/_ids.py +++ b/plotly/validators/choropleth/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='choropleth', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/choropleth/_idssrc.py b/plotly/validators/choropleth/_idssrc.py index ca66cd858b5..34ff8ea6cb4 100644 --- a/plotly/validators/choropleth/_idssrc.py +++ b/plotly/validators/choropleth/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_legendgroup.py b/plotly/validators/choropleth/_legendgroup.py index fab333d2032..16438ebd236 100644 --- a/plotly/validators/choropleth/_legendgroup.py +++ b/plotly/validators/choropleth/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_locationmode.py b/plotly/validators/choropleth/_locationmode.py index 140b9b0b97e..36fe2fa5176 100644 --- a/plotly/validators/choropleth/_locationmode.py +++ b/plotly/validators/choropleth/_locationmode.py @@ -9,8 +9,10 @@ def __init__( super(LocationmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['ISO-3', 'USA-states', 'country names'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['ISO-3', 'USA-states', 'country names'] + ), **kwargs ) diff --git a/plotly/validators/choropleth/_locations.py b/plotly/validators/choropleth/_locations.py index 8ace9908581..a7f2d1c463c 100644 --- a/plotly/validators/choropleth/_locations.py +++ b/plotly/validators/choropleth/_locations.py @@ -9,7 +9,7 @@ def __init__( super(LocationsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/choropleth/_locationssrc.py b/plotly/validators/choropleth/_locationssrc.py index 0e18aadfdbe..5a6d6a3c560 100644 --- a/plotly/validators/choropleth/_locationssrc.py +++ b/plotly/validators/choropleth/_locationssrc.py @@ -9,7 +9,7 @@ def __init__( super(LocationssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_marker.py b/plotly/validators/choropleth/_marker.py index f17cdb17115..997f511ffea 100644 --- a/plotly/validators/choropleth/_marker.py +++ b/plotly/validators/choropleth/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ line plotly.graph_objs.choropleth.marker.Line instance or dict with compatible properties @@ -19,6 +20,7 @@ def __init__( opacitysrc Sets the source reference on plot.ly for opacity . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/_name.py b/plotly/validators/choropleth/_name.py index 19da61e59e7..bf07764472b 100644 --- a/plotly/validators/choropleth/_name.py +++ b/plotly/validators/choropleth/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='choropleth', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_opacity.py b/plotly/validators/choropleth/_opacity.py index f0b1532099c..6efea140e99 100644 --- a/plotly/validators/choropleth/_opacity.py +++ b/plotly/validators/choropleth/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/_reversescale.py b/plotly/validators/choropleth/_reversescale.py index 8af580fb674..a98e081889e 100644 --- a/plotly/validators/choropleth/_reversescale.py +++ b/plotly/validators/choropleth/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/_selected.py b/plotly/validators/choropleth/_selected.py index 6a32d3792a7..fdb8c88120b 100644 --- a/plotly/validators/choropleth/_selected.py +++ b/plotly/validators/choropleth/_selected.py @@ -9,11 +9,13 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.choropleth.selected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/_selectedpoints.py b/plotly/validators/choropleth/_selectedpoints.py index 9fd8b8284c0..5b128a658e8 100644 --- a/plotly/validators/choropleth/_selectedpoints.py +++ b/plotly/validators/choropleth/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_showlegend.py b/plotly/validators/choropleth/_showlegend.py index 28f8fcaec0c..6a0a4263609 100644 --- a/plotly/validators/choropleth/_showlegend.py +++ b/plotly/validators/choropleth/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_showscale.py b/plotly/validators/choropleth/_showscale.py index ed85961f7d5..540544eff99 100644 --- a/plotly/validators/choropleth/_showscale.py +++ b/plotly/validators/choropleth/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_stream.py b/plotly/validators/choropleth/_stream.py index dc27403bae7..5cc3fba029b 100644 --- a/plotly/validators/choropleth/_stream.py +++ b/plotly/validators/choropleth/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/_text.py b/plotly/validators/choropleth/_text.py index ecf206f89b1..2c07fdf6f9d 100644 --- a/plotly/validators/choropleth/_text.py +++ b/plotly/validators/choropleth/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='choropleth', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_textsrc.py b/plotly/validators/choropleth/_textsrc.py index c2925c4c4c5..6ff4c29ee54 100644 --- a/plotly/validators/choropleth/_textsrc.py +++ b/plotly/validators/choropleth/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_uid.py b/plotly/validators/choropleth/_uid.py index 4459f432a0b..40044fd8e17 100644 --- a/plotly/validators/choropleth/_uid.py +++ b/plotly/validators/choropleth/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='choropleth', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_unselected.py b/plotly/validators/choropleth/_unselected.py index b3d0d40fbe5..7197d1124ff 100644 --- a/plotly/validators/choropleth/_unselected.py +++ b/plotly/validators/choropleth/_unselected.py @@ -9,11 +9,13 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.choropleth.unselected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/_visible.py b/plotly/validators/choropleth/_visible.py index 236452626e8..6b4b89f7033 100644 --- a/plotly/validators/choropleth/_visible.py +++ b/plotly/validators/choropleth/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/choropleth/_z.py b/plotly/validators/choropleth/_z.py index 4b8515679cd..9f7e44e52b8 100644 --- a/plotly/validators/choropleth/_z.py +++ b/plotly/validators/choropleth/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='choropleth', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/choropleth/_zauto.py b/plotly/validators/choropleth/_zauto.py index 63b423a9dac..0dd4271a864 100644 --- a/plotly/validators/choropleth/_zauto.py +++ b/plotly/validators/choropleth/_zauto.py @@ -9,8 +9,8 @@ def __init__( super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_zmax.py b/plotly/validators/choropleth/_zmax.py index 4062aa97953..f3aca74cc08 100644 --- a/plotly/validators/choropleth/_zmax.py +++ b/plotly/validators/choropleth/_zmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmax', parent_name='choropleth', **kwargs): super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_zmin.py b/plotly/validators/choropleth/_zmin.py index b48e16c2e0e..69585443f1e 100644 --- a/plotly/validators/choropleth/_zmin.py +++ b/plotly/validators/choropleth/_zmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmin', parent_name='choropleth', **kwargs): super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/_zsrc.py b/plotly/validators/choropleth/_zsrc.py index 013f1e73a4b..dd30482fe4e 100644 --- a/plotly/validators/choropleth/_zsrc.py +++ b/plotly/validators/choropleth/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='choropleth', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_bgcolor.py b/plotly/validators/choropleth/colorbar/_bgcolor.py index aa5410ac395..1e35221e35b 100644 --- a/plotly/validators/choropleth/colorbar/_bgcolor.py +++ b/plotly/validators/choropleth/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_bordercolor.py b/plotly/validators/choropleth/colorbar/_bordercolor.py index d757731af2c..60473dc51e6 100644 --- a/plotly/validators/choropleth/colorbar/_bordercolor.py +++ b/plotly/validators/choropleth/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_borderwidth.py b/plotly/validators/choropleth/colorbar/_borderwidth.py index 77d413c51af..52c772860c5 100644 --- a/plotly/validators/choropleth/colorbar/_borderwidth.py +++ b/plotly/validators/choropleth/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_dtick.py b/plotly/validators/choropleth/colorbar/_dtick.py index 1d91d339188..c110a02f4a4 100644 --- a/plotly/validators/choropleth/colorbar/_dtick.py +++ b/plotly/validators/choropleth/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_exponentformat.py b/plotly/validators/choropleth/colorbar/_exponentformat.py index c4e0635908f..a295e94f137 100644 --- a/plotly/validators/choropleth/colorbar/_exponentformat.py +++ b/plotly/validators/choropleth/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_len.py b/plotly/validators/choropleth/colorbar/_len.py index f9f9ef9cfe7..81272a1a911 100644 --- a/plotly/validators/choropleth/colorbar/_len.py +++ b/plotly/validators/choropleth/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_lenmode.py b/plotly/validators/choropleth/colorbar/_lenmode.py index b9199d37e56..e581ef8142a 100644 --- a/plotly/validators/choropleth/colorbar/_lenmode.py +++ b/plotly/validators/choropleth/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_nticks.py b/plotly/validators/choropleth/colorbar/_nticks.py index 378f79a5a2a..07bbba44a1d 100644 --- a/plotly/validators/choropleth/colorbar/_nticks.py +++ b/plotly/validators/choropleth/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_outlinecolor.py b/plotly/validators/choropleth/colorbar/_outlinecolor.py index 4b525db6926..4476205d6c2 100644 --- a/plotly/validators/choropleth/colorbar/_outlinecolor.py +++ b/plotly/validators/choropleth/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_outlinewidth.py b/plotly/validators/choropleth/colorbar/_outlinewidth.py index bd66fc3fdbc..29e67be783b 100644 --- a/plotly/validators/choropleth/colorbar/_outlinewidth.py +++ b/plotly/validators/choropleth/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_separatethousands.py b/plotly/validators/choropleth/colorbar/_separatethousands.py index 5b0102f8820..d2e506969af 100644 --- a/plotly/validators/choropleth/colorbar/_separatethousands.py +++ b/plotly/validators/choropleth/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_showexponent.py b/plotly/validators/choropleth/colorbar/_showexponent.py index 23d6f98dbb8..1ec91c2f3b2 100644 --- a/plotly/validators/choropleth/colorbar/_showexponent.py +++ b/plotly/validators/choropleth/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_showticklabels.py b/plotly/validators/choropleth/colorbar/_showticklabels.py index ed0e8b11a78..1a3423de816 100644 --- a/plotly/validators/choropleth/colorbar/_showticklabels.py +++ b/plotly/validators/choropleth/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_showtickprefix.py b/plotly/validators/choropleth/colorbar/_showtickprefix.py index 389d8773eb3..759d27719c9 100644 --- a/plotly/validators/choropleth/colorbar/_showtickprefix.py +++ b/plotly/validators/choropleth/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_showticksuffix.py b/plotly/validators/choropleth/colorbar/_showticksuffix.py index 60d2723540e..27e8f1610b1 100644 --- a/plotly/validators/choropleth/colorbar/_showticksuffix.py +++ b/plotly/validators/choropleth/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_thickness.py b/plotly/validators/choropleth/colorbar/_thickness.py index 2cb01d47757..97814d3c39a 100644 --- a/plotly/validators/choropleth/colorbar/_thickness.py +++ b/plotly/validators/choropleth/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_thicknessmode.py b/plotly/validators/choropleth/colorbar/_thicknessmode.py index ffa53175d20..51e624cb553 100644 --- a/plotly/validators/choropleth/colorbar/_thicknessmode.py +++ b/plotly/validators/choropleth/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tick0.py b/plotly/validators/choropleth/colorbar/_tick0.py index ff96deef0a7..147eb81689e 100644 --- a/plotly/validators/choropleth/colorbar/_tick0.py +++ b/plotly/validators/choropleth/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickangle.py b/plotly/validators/choropleth/colorbar/_tickangle.py index 5a0ecae6845..68f985414bb 100644 --- a/plotly/validators/choropleth/colorbar/_tickangle.py +++ b/plotly/validators/choropleth/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickcolor.py b/plotly/validators/choropleth/colorbar/_tickcolor.py index cf23df6a5c8..4cab595e307 100644 --- a/plotly/validators/choropleth/colorbar/_tickcolor.py +++ b/plotly/validators/choropleth/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickfont.py b/plotly/validators/choropleth/colorbar/_tickfont.py index f2ec26d2484..ce2a5340238 100644 --- a/plotly/validators/choropleth/colorbar/_tickfont.py +++ b/plotly/validators/choropleth/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickformat.py b/plotly/validators/choropleth/colorbar/_tickformat.py index 64b0c19fb83..5eb019bccd5 100644 --- a/plotly/validators/choropleth/colorbar/_tickformat.py +++ b/plotly/validators/choropleth/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickformatstops.py b/plotly/validators/choropleth/colorbar/_tickformatstops.py index 97f58f78aa9..18d102f958d 100644 --- a/plotly/validators/choropleth/colorbar/_tickformatstops.py +++ b/plotly/validators/choropleth/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_ticklen.py b/plotly/validators/choropleth/colorbar/_ticklen.py index ef088386848..e916f6f7693 100644 --- a/plotly/validators/choropleth/colorbar/_ticklen.py +++ b/plotly/validators/choropleth/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickmode.py b/plotly/validators/choropleth/colorbar/_tickmode.py index 5522c036a84..1c8a111f563 100644 --- a/plotly/validators/choropleth/colorbar/_tickmode.py +++ b/plotly/validators/choropleth/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickprefix.py b/plotly/validators/choropleth/colorbar/_tickprefix.py index f41222f0fcd..7222b15b137 100644 --- a/plotly/validators/choropleth/colorbar/_tickprefix.py +++ b/plotly/validators/choropleth/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_ticks.py b/plotly/validators/choropleth/colorbar/_ticks.py index 3c01b0eb8f4..386b0e7883a 100644 --- a/plotly/validators/choropleth/colorbar/_ticks.py +++ b/plotly/validators/choropleth/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_ticksuffix.py b/plotly/validators/choropleth/colorbar/_ticksuffix.py index bb39f622da9..916c423790d 100644 --- a/plotly/validators/choropleth/colorbar/_ticksuffix.py +++ b/plotly/validators/choropleth/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_ticktext.py b/plotly/validators/choropleth/colorbar/_ticktext.py index 52598aae5de..908ab7b6e1d 100644 --- a/plotly/validators/choropleth/colorbar/_ticktext.py +++ b/plotly/validators/choropleth/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_ticktextsrc.py b/plotly/validators/choropleth/colorbar/_ticktextsrc.py index 50c156abb5e..59d785f2824 100644 --- a/plotly/validators/choropleth/colorbar/_ticktextsrc.py +++ b/plotly/validators/choropleth/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickvals.py b/plotly/validators/choropleth/colorbar/_tickvals.py index 33b542e4754..bd175029bab 100644 --- a/plotly/validators/choropleth/colorbar/_tickvals.py +++ b/plotly/validators/choropleth/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickvalssrc.py b/plotly/validators/choropleth/colorbar/_tickvalssrc.py index 391c53ee529..4dee7fe858b 100644 --- a/plotly/validators/choropleth/colorbar/_tickvalssrc.py +++ b/plotly/validators/choropleth/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_tickwidth.py b/plotly/validators/choropleth/colorbar/_tickwidth.py index 877359e875b..f3052deb2aa 100644 --- a/plotly/validators/choropleth/colorbar/_tickwidth.py +++ b/plotly/validators/choropleth/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_title.py b/plotly/validators/choropleth/colorbar/_title.py index 89ad5b044de..183493f38e1 100644 --- a/plotly/validators/choropleth/colorbar/_title.py +++ b/plotly/validators/choropleth/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_titlefont.py b/plotly/validators/choropleth/colorbar/_titlefont.py index 97c68fe547b..227cbc0a6c3 100644 --- a/plotly/validators/choropleth/colorbar/_titlefont.py +++ b/plotly/validators/choropleth/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_titleside.py b/plotly/validators/choropleth/colorbar/_titleside.py index 3de81a3fa56..1b67e4501c6 100644 --- a/plotly/validators/choropleth/colorbar/_titleside.py +++ b/plotly/validators/choropleth/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_x.py b/plotly/validators/choropleth/colorbar/_x.py index e4e9e21ed8c..ae19ab5c658 100644 --- a/plotly/validators/choropleth/colorbar/_x.py +++ b/plotly/validators/choropleth/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_xanchor.py b/plotly/validators/choropleth/colorbar/_xanchor.py index 75bf9c16b1d..21886875da3 100644 --- a/plotly/validators/choropleth/colorbar/_xanchor.py +++ b/plotly/validators/choropleth/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_xpad.py b/plotly/validators/choropleth/colorbar/_xpad.py index 180282c01ff..11314c7f653 100644 --- a/plotly/validators/choropleth/colorbar/_xpad.py +++ b/plotly/validators/choropleth/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_y.py b/plotly/validators/choropleth/colorbar/_y.py index 89d1809a668..81f424b1c8e 100644 --- a/plotly/validators/choropleth/colorbar/_y.py +++ b/plotly/validators/choropleth/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_yanchor.py b/plotly/validators/choropleth/colorbar/_yanchor.py index f980f59f48e..ed88f81475c 100644 --- a/plotly/validators/choropleth/colorbar/_yanchor.py +++ b/plotly/validators/choropleth/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/_ypad.py b/plotly/validators/choropleth/colorbar/_ypad.py index aaafc236f74..7bb642fdedd 100644 --- a/plotly/validators/choropleth/colorbar/_ypad.py +++ b/plotly/validators/choropleth/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickfont/_color.py b/plotly/validators/choropleth/colorbar/tickfont/_color.py index bb5086664a0..743ce4d72c0 100644 --- a/plotly/validators/choropleth/colorbar/tickfont/_color.py +++ b/plotly/validators/choropleth/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickfont/_family.py b/plotly/validators/choropleth/colorbar/tickfont/_family.py index 841d80969ec..229472ff3c7 100644 --- a/plotly/validators/choropleth/colorbar/tickfont/_family.py +++ b/plotly/validators/choropleth/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickfont/_size.py b/plotly/validators/choropleth/colorbar/tickfont/_size.py index e0ae24535cd..eb762550c20 100644 --- a/plotly/validators/choropleth/colorbar/tickfont/_size.py +++ b/plotly/validators/choropleth/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/choropleth/colorbar/tickformatstop/_dtickrange.py index a563745d5f4..4100dbb91c2 100644 --- a/plotly/validators/choropleth/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/choropleth/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickformatstop/_enabled.py b/plotly/validators/choropleth/colorbar/tickformatstop/_enabled.py index 898c30fe32d..5935496fcc6 100644 --- a/plotly/validators/choropleth/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/choropleth/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickformatstop/_name.py b/plotly/validators/choropleth/colorbar/tickformatstop/_name.py index 49de8e288db..4d2334750cc 100644 --- a/plotly/validators/choropleth/colorbar/tickformatstop/_name.py +++ b/plotly/validators/choropleth/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/choropleth/colorbar/tickformatstop/_templateitemname.py index b1a79214cd5..1fa3b5fded5 100644 --- a/plotly/validators/choropleth/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/choropleth/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/tickformatstop/_value.py b/plotly/validators/choropleth/colorbar/tickformatstop/_value.py index b4e92318fcf..9f3c9c99b47 100644 --- a/plotly/validators/choropleth/colorbar/tickformatstop/_value.py +++ b/plotly/validators/choropleth/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/titlefont/_color.py b/plotly/validators/choropleth/colorbar/titlefont/_color.py index bd9dc134527..9cf88480765 100644 --- a/plotly/validators/choropleth/colorbar/titlefont/_color.py +++ b/plotly/validators/choropleth/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/titlefont/_family.py b/plotly/validators/choropleth/colorbar/titlefont/_family.py index 1a772a370b6..127bd59497a 100644 --- a/plotly/validators/choropleth/colorbar/titlefont/_family.py +++ b/plotly/validators/choropleth/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/choropleth/colorbar/titlefont/_size.py b/plotly/validators/choropleth/colorbar/titlefont/_size.py index 8417a6af04d..14aa0bd9711 100644 --- a/plotly/validators/choropleth/colorbar/titlefont/_size.py +++ b/plotly/validators/choropleth/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_bgcolor.py b/plotly/validators/choropleth/hoverlabel/_bgcolor.py index 8799039208b..ba0d7210b27 100644 --- a/plotly/validators/choropleth/hoverlabel/_bgcolor.py +++ b/plotly/validators/choropleth/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_bgcolorsrc.py b/plotly/validators/choropleth/hoverlabel/_bgcolorsrc.py index 61e6d6dbed6..c807538759c 100644 --- a/plotly/validators/choropleth/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/choropleth/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_bordercolor.py b/plotly/validators/choropleth/hoverlabel/_bordercolor.py index c929a1b8834..72fd301e887 100644 --- a/plotly/validators/choropleth/hoverlabel/_bordercolor.py +++ b/plotly/validators/choropleth/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_bordercolorsrc.py b/plotly/validators/choropleth/hoverlabel/_bordercolorsrc.py index 15f61462c92..85640ce7bc8 100644 --- a/plotly/validators/choropleth/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/choropleth/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_font.py b/plotly/validators/choropleth/hoverlabel/_font.py index 32866fbcceb..9909ab936f4 100644 --- a/plotly/validators/choropleth/hoverlabel/_font.py +++ b/plotly/validators/choropleth/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_namelength.py b/plotly/validators/choropleth/hoverlabel/_namelength.py index ae0a9fd40d7..1ba7c65d49b 100644 --- a/plotly/validators/choropleth/hoverlabel/_namelength.py +++ b/plotly/validators/choropleth/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/_namelengthsrc.py b/plotly/validators/choropleth/hoverlabel/_namelengthsrc.py index 35d150c7db6..3f3e3c81668 100644 --- a/plotly/validators/choropleth/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/choropleth/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/font/_color.py b/plotly/validators/choropleth/hoverlabel/font/_color.py index 44c8a2172a6..0036da813c5 100644 --- a/plotly/validators/choropleth/hoverlabel/font/_color.py +++ b/plotly/validators/choropleth/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/font/_colorsrc.py b/plotly/validators/choropleth/hoverlabel/font/_colorsrc.py index a19419e3984..2c4cf2ed70a 100644 --- a/plotly/validators/choropleth/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/choropleth/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/font/_family.py b/plotly/validators/choropleth/hoverlabel/font/_family.py index af4d4b9fb45..8fa5be8a7e9 100644 --- a/plotly/validators/choropleth/hoverlabel/font/_family.py +++ b/plotly/validators/choropleth/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/font/_familysrc.py b/plotly/validators/choropleth/hoverlabel/font/_familysrc.py index 7734a404fda..b10d01930c9 100644 --- a/plotly/validators/choropleth/hoverlabel/font/_familysrc.py +++ b/plotly/validators/choropleth/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/font/_size.py b/plotly/validators/choropleth/hoverlabel/font/_size.py index 80513079aa6..d4c72ca69aa 100644 --- a/plotly/validators/choropleth/hoverlabel/font/_size.py +++ b/plotly/validators/choropleth/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/hoverlabel/font/_sizesrc.py b/plotly/validators/choropleth/hoverlabel/font/_sizesrc.py index bc0e3adf177..cb613d36bd7 100644 --- a/plotly/validators/choropleth/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/choropleth/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/marker/_line.py b/plotly/validators/choropleth/marker/_line.py index 04cc864bf60..803de1f8550 100644 --- a/plotly/validators/choropleth/marker/_line.py +++ b/plotly/validators/choropleth/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are @@ -27,6 +28,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/marker/_opacity.py b/plotly/validators/choropleth/marker/_opacity.py index 743daa9c4e5..7be0af49cbb 100644 --- a/plotly/validators/choropleth/marker/_opacity.py +++ b/plotly/validators/choropleth/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/marker/_opacitysrc.py b/plotly/validators/choropleth/marker/_opacitysrc.py index 4a9af9131b5..74b259d5518 100644 --- a/plotly/validators/choropleth/marker/_opacitysrc.py +++ b/plotly/validators/choropleth/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/marker/line/_color.py b/plotly/validators/choropleth/marker/line/_color.py index 217b43f5a6b..d2c7ad3c01d 100644 --- a/plotly/validators/choropleth/marker/line/_color.py +++ b/plotly/validators/choropleth/marker/line/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/marker/line/_colorsrc.py b/plotly/validators/choropleth/marker/line/_colorsrc.py index da224abace2..870f0dce654 100644 --- a/plotly/validators/choropleth/marker/line/_colorsrc.py +++ b/plotly/validators/choropleth/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/marker/line/_width.py b/plotly/validators/choropleth/marker/line/_width.py index 6cb601bf5ee..d211a67b164 100644 --- a/plotly/validators/choropleth/marker/line/_width.py +++ b/plotly/validators/choropleth/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/marker/line/_widthsrc.py b/plotly/validators/choropleth/marker/line/_widthsrc.py index 2024cad349c..56a9a5fcc15 100644 --- a/plotly/validators/choropleth/marker/line/_widthsrc.py +++ b/plotly/validators/choropleth/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/selected/_marker.py b/plotly/validators/choropleth/selected/_marker.py index c27dc8206e2..43c39baa147 100644 --- a/plotly/validators/choropleth/selected/_marker.py +++ b/plotly/validators/choropleth/selected/_marker.py @@ -12,10 +12,12 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ opacity Sets the marker opacity of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/selected/marker/_opacity.py b/plotly/validators/choropleth/selected/marker/_opacity.py index a33cf6e0a65..084b033ab76 100644 --- a/plotly/validators/choropleth/selected/marker/_opacity.py +++ b/plotly/validators/choropleth/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/choropleth/stream/_maxpoints.py b/plotly/validators/choropleth/stream/_maxpoints.py index 1c9339741e7..91295026ee1 100644 --- a/plotly/validators/choropleth/stream/_maxpoints.py +++ b/plotly/validators/choropleth/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/choropleth/stream/_token.py b/plotly/validators/choropleth/stream/_token.py index 14ab42b62bb..b9db08335c4 100644 --- a/plotly/validators/choropleth/stream/_token.py +++ b/plotly/validators/choropleth/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/choropleth/unselected/_marker.py b/plotly/validators/choropleth/unselected/_marker.py index 361e767dc04..fa151f47187 100644 --- a/plotly/validators/choropleth/unselected/_marker.py +++ b/plotly/validators/choropleth/unselected/_marker.py @@ -12,11 +12,13 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ opacity Sets the marker opacity of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/choropleth/unselected/marker/_opacity.py b/plotly/validators/choropleth/unselected/marker/_opacity.py index 9ca58667596..cf322b5fcc1 100644 --- a/plotly/validators/choropleth/unselected/marker/_opacity.py +++ b/plotly/validators/choropleth/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/_anchor.py b/plotly/validators/cone/_anchor.py index c49abe44ee2..8e4cf0f40f6 100644 --- a/plotly/validators/cone/_anchor.py +++ b/plotly/validators/cone/_anchor.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='anchor', parent_name='cone', **kwargs): super(AnchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['tip', 'tail', 'cm', 'center'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['tip', 'tail', 'cm', 'center']), **kwargs ) diff --git a/plotly/validators/cone/_autocolorscale.py b/plotly/validators/cone/_autocolorscale.py index ecde99205c2..57efc9d02bb 100644 --- a/plotly/validators/cone/_autocolorscale.py +++ b/plotly/validators/cone/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/_cauto.py b/plotly/validators/cone/_cauto.py index 10519be4197..2c1cc1b9c91 100644 --- a/plotly/validators/cone/_cauto.py +++ b/plotly/validators/cone/_cauto.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cauto', parent_name='cone', **kwargs): super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_cmax.py b/plotly/validators/cone/_cmax.py index b7643c80457..88dbc74ee78 100644 --- a/plotly/validators/cone/_cmax.py +++ b/plotly/validators/cone/_cmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmax', parent_name='cone', **kwargs): super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_cmin.py b/plotly/validators/cone/_cmin.py index d886c706071..9ade97157a8 100644 --- a/plotly/validators/cone/_cmin.py +++ b/plotly/validators/cone/_cmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmin', parent_name='cone', **kwargs): super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_colorbar.py b/plotly/validators/cone/_colorbar.py index bea11dc24a6..38b33db2894 100644 --- a/plotly/validators/cone/_colorbar.py +++ b/plotly/validators/cone/_colorbar.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='colorbar', parent_name='cone', **kwargs): super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -203,6 +204,7 @@ def __init__(self, plotly_name='colorbar', parent_name='cone', **kwargs): ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/_colorscale.py b/plotly/validators/cone/_colorscale.py index cf57b9babc3..e0ea521b925 100644 --- a/plotly/validators/cone/_colorscale.py +++ b/plotly/validators/cone/_colorscale.py @@ -7,8 +7,10 @@ def __init__(self, plotly_name='colorscale', parent_name='cone', **kwargs): super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/_customdata.py b/plotly/validators/cone/_customdata.py index 4c14750e412..9ddfe5b1792 100644 --- a/plotly/validators/cone/_customdata.py +++ b/plotly/validators/cone/_customdata.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='customdata', parent_name='cone', **kwargs): super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_customdatasrc.py b/plotly/validators/cone/_customdatasrc.py index c96fbad2902..e738de7846a 100644 --- a/plotly/validators/cone/_customdatasrc.py +++ b/plotly/validators/cone/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_hoverinfo.py b/plotly/validators/cone/_hoverinfo.py index fbd5cfc2d14..f473accc373 100644 --- a/plotly/validators/cone/_hoverinfo.py +++ b/plotly/validators/cone/_hoverinfo.py @@ -7,10 +7,13 @@ def __init__(self, plotly_name='hoverinfo', parent_name='cone', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'u', 'v', 'w', 'norm', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop( + 'flags', + ['x', 'y', 'z', 'u', 'v', 'w', 'norm', 'text', 'name'] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_hoverinfosrc.py b/plotly/validators/cone/_hoverinfosrc.py index f7a120281ec..db3b7e832a9 100644 --- a/plotly/validators/cone/_hoverinfosrc.py +++ b/plotly/validators/cone/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_hoverlabel.py b/plotly/validators/cone/_hoverlabel.py index d0b53d63c5a..8f9350cc44f 100644 --- a/plotly/validators/cone/_hoverlabel.py +++ b/plotly/validators/cone/_hoverlabel.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='hoverlabel', parent_name='cone', **kwargs): super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -35,6 +36,7 @@ def __init__(self, plotly_name='hoverlabel', parent_name='cone', **kwargs): namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/_ids.py b/plotly/validators/cone/_ids.py index 3b8e466384b..18c2b0b0ad2 100644 --- a/plotly/validators/cone/_ids.py +++ b/plotly/validators/cone/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='cone', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_idssrc.py b/plotly/validators/cone/_idssrc.py index e5917de0377..8d1f93d810b 100644 --- a/plotly/validators/cone/_idssrc.py +++ b/plotly/validators/cone/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='cone', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_legendgroup.py b/plotly/validators/cone/_legendgroup.py index 27f35534efb..31fcfc6ab7c 100644 --- a/plotly/validators/cone/_legendgroup.py +++ b/plotly/validators/cone/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_lighting.py b/plotly/validators/cone/_lighting.py index f7f339557c5..c6e9d4b609e 100644 --- a/plotly/validators/cone/_lighting.py +++ b/plotly/validators/cone/_lighting.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='lighting', parent_name='cone', **kwargs): super(LightingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lighting', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lighting'), + data_docs=kwargs.pop( + 'data_docs', """ ambient Ambient light increases overall color visibility but can wash out the image. @@ -33,6 +34,7 @@ def __init__(self, plotly_name='lighting', parent_name='cone', **kwargs): vertexnormalsepsilon Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/_lightposition.py b/plotly/validators/cone/_lightposition.py index 53b1c7aee95..8c867b6dfab 100644 --- a/plotly/validators/cone/_lightposition.py +++ b/plotly/validators/cone/_lightposition.py @@ -9,8 +9,9 @@ def __init__( super(LightpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lightposition', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lightposition'), + data_docs=kwargs.pop( + 'data_docs', """ x Numeric vector, representing the X coordinate for each vertex. @@ -20,6 +21,7 @@ def __init__( z Numeric vector, representing the Z coordinate for each vertex. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/_name.py b/plotly/validators/cone/_name.py index f828d334f6b..6a0d714a7be 100644 --- a/plotly/validators/cone/_name.py +++ b/plotly/validators/cone/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='cone', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_opacity.py b/plotly/validators/cone/_opacity.py index 78303e7cd10..06bb8a9cd79 100644 --- a/plotly/validators/cone/_opacity.py +++ b/plotly/validators/cone/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='cone', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/_reversescale.py b/plotly/validators/cone/_reversescale.py index 307ce6f6ff3..ee23a8974de 100644 --- a/plotly/validators/cone/_reversescale.py +++ b/plotly/validators/cone/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/_scene.py b/plotly/validators/cone/_scene.py index 10ee2dcc9f5..4a7e9b56591 100644 --- a/plotly/validators/cone/_scene.py +++ b/plotly/validators/cone/_scene.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='scene', parent_name='cone', **kwargs): super(SceneValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='scene', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'scene'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_selectedpoints.py b/plotly/validators/cone/_selectedpoints.py index cc84b9f5b68..0e14e0d4f8b 100644 --- a/plotly/validators/cone/_selectedpoints.py +++ b/plotly/validators/cone/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_showlegend.py b/plotly/validators/cone/_showlegend.py index f8b3c960a9c..3a337b40332 100644 --- a/plotly/validators/cone/_showlegend.py +++ b/plotly/validators/cone/_showlegend.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showlegend', parent_name='cone', **kwargs): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_showscale.py b/plotly/validators/cone/_showscale.py index c4a941ac59f..11b0fa66a4f 100644 --- a/plotly/validators/cone/_showscale.py +++ b/plotly/validators/cone/_showscale.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showscale', parent_name='cone', **kwargs): super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_sizemode.py b/plotly/validators/cone/_sizemode.py index 01fb2b3e518..2c3b6a304a6 100644 --- a/plotly/validators/cone/_sizemode.py +++ b/plotly/validators/cone/_sizemode.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='sizemode', parent_name='cone', **kwargs): super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['scaled', 'absolute'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['scaled', 'absolute']), **kwargs ) diff --git a/plotly/validators/cone/_sizeref.py b/plotly/validators/cone/_sizeref.py index 54fe57a5ad7..9161b8ab350 100644 --- a/plotly/validators/cone/_sizeref.py +++ b/plotly/validators/cone/_sizeref.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='sizeref', parent_name='cone', **kwargs): super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_stream.py b/plotly/validators/cone/_stream.py index f71720a0ecc..93c48be4bfb 100644 --- a/plotly/validators/cone/_stream.py +++ b/plotly/validators/cone/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='cone', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='cone', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/_text.py b/plotly/validators/cone/_text.py index aede439b482..38c59690bc2 100644 --- a/plotly/validators/cone/_text.py +++ b/plotly/validators/cone/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='cone', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_textsrc.py b/plotly/validators/cone/_textsrc.py index bf3a55e60df..0f651ed95f8 100644 --- a/plotly/validators/cone/_textsrc.py +++ b/plotly/validators/cone/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='cone', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_u.py b/plotly/validators/cone/_u.py index 190f1217c9f..1ffc4ef38e8 100644 --- a/plotly/validators/cone/_u.py +++ b/plotly/validators/cone/_u.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='u', parent_name='cone', **kwargs): super(UValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_uid.py b/plotly/validators/cone/_uid.py index 2d8a49e5d9b..ecbb8795851 100644 --- a/plotly/validators/cone/_uid.py +++ b/plotly/validators/cone/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='cone', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_usrc.py b/plotly/validators/cone/_usrc.py index 3e1855c4acc..7adb8df439c 100644 --- a/plotly/validators/cone/_usrc.py +++ b/plotly/validators/cone/_usrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='usrc', parent_name='cone', **kwargs): super(UsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_v.py b/plotly/validators/cone/_v.py index dc855fa7104..c05e01def46 100644 --- a/plotly/validators/cone/_v.py +++ b/plotly/validators/cone/_v.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='v', parent_name='cone', **kwargs): super(VValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_visible.py b/plotly/validators/cone/_visible.py index c5d09fdb332..c6f4a0c9600 100644 --- a/plotly/validators/cone/_visible.py +++ b/plotly/validators/cone/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='cone', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/cone/_vsrc.py b/plotly/validators/cone/_vsrc.py index 0cbc59ea6dd..125282bd449 100644 --- a/plotly/validators/cone/_vsrc.py +++ b/plotly/validators/cone/_vsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='vsrc', parent_name='cone', **kwargs): super(VsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_w.py b/plotly/validators/cone/_w.py index 8162412b36c..1079e58f301 100644 --- a/plotly/validators/cone/_w.py +++ b/plotly/validators/cone/_w.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='w', parent_name='cone', **kwargs): super(WValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_wsrc.py b/plotly/validators/cone/_wsrc.py index 6e4442dd71e..7244ef292b0 100644 --- a/plotly/validators/cone/_wsrc.py +++ b/plotly/validators/cone/_wsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='wsrc', parent_name='cone', **kwargs): super(WsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_x.py b/plotly/validators/cone/_x.py index f664796b716..f344d8328ee 100644 --- a/plotly/validators/cone/_x.py +++ b/plotly/validators/cone/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='cone', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_xsrc.py b/plotly/validators/cone/_xsrc.py index 5a88304594f..7cec0d709e2 100644 --- a/plotly/validators/cone/_xsrc.py +++ b/plotly/validators/cone/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='cone', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_y.py b/plotly/validators/cone/_y.py index 48589f55e28..a2f228466fb 100644 --- a/plotly/validators/cone/_y.py +++ b/plotly/validators/cone/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='cone', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_ysrc.py b/plotly/validators/cone/_ysrc.py index 00e7aa39f66..7a573fe17f3 100644 --- a/plotly/validators/cone/_ysrc.py +++ b/plotly/validators/cone/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='cone', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/_z.py b/plotly/validators/cone/_z.py index 63a090f44b3..c47c0e78a1f 100644 --- a/plotly/validators/cone/_z.py +++ b/plotly/validators/cone/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='cone', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/_zsrc.py b/plotly/validators/cone/_zsrc.py index 364d01c5c88..7bdad3df808 100644 --- a/plotly/validators/cone/_zsrc.py +++ b/plotly/validators/cone/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='cone', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_bgcolor.py b/plotly/validators/cone/colorbar/_bgcolor.py index 9596b64e346..c1caa47db74 100644 --- a/plotly/validators/cone/colorbar/_bgcolor.py +++ b/plotly/validators/cone/colorbar/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_bordercolor.py b/plotly/validators/cone/colorbar/_bordercolor.py index 9f525f6ba9d..42acc4161c0 100644 --- a/plotly/validators/cone/colorbar/_bordercolor.py +++ b/plotly/validators/cone/colorbar/_bordercolor.py @@ -9,7 +9,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_borderwidth.py b/plotly/validators/cone/colorbar/_borderwidth.py index b0ea0cb4d15..14537ea0942 100644 --- a/plotly/validators/cone/colorbar/_borderwidth.py +++ b/plotly/validators/cone/colorbar/_borderwidth.py @@ -9,8 +9,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_dtick.py b/plotly/validators/cone/colorbar/_dtick.py index 343dab6c0fe..c8f4b6fee16 100644 --- a/plotly/validators/cone/colorbar/_dtick.py +++ b/plotly/validators/cone/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_exponentformat.py b/plotly/validators/cone/colorbar/_exponentformat.py index 389d8257245..d6dcd0d0dc4 100644 --- a/plotly/validators/cone/colorbar/_exponentformat.py +++ b/plotly/validators/cone/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_len.py b/plotly/validators/cone/colorbar/_len.py index e1cf504f2e4..5aee25c7012 100644 --- a/plotly/validators/cone/colorbar/_len.py +++ b/plotly/validators/cone/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_lenmode.py b/plotly/validators/cone/colorbar/_lenmode.py index b4d96489e56..5d9f11f88ea 100644 --- a/plotly/validators/cone/colorbar/_lenmode.py +++ b/plotly/validators/cone/colorbar/_lenmode.py @@ -9,8 +9,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_nticks.py b/plotly/validators/cone/colorbar/_nticks.py index f237a5b316a..8e38485baf8 100644 --- a/plotly/validators/cone/colorbar/_nticks.py +++ b/plotly/validators/cone/colorbar/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_outlinecolor.py b/plotly/validators/cone/colorbar/_outlinecolor.py index db08b2f0341..10995a73e3b 100644 --- a/plotly/validators/cone/colorbar/_outlinecolor.py +++ b/plotly/validators/cone/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_outlinewidth.py b/plotly/validators/cone/colorbar/_outlinewidth.py index 4549e5e7b75..d76cc46880e 100644 --- a/plotly/validators/cone/colorbar/_outlinewidth.py +++ b/plotly/validators/cone/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_separatethousands.py b/plotly/validators/cone/colorbar/_separatethousands.py index 91abcc65044..ef0166b485d 100644 --- a/plotly/validators/cone/colorbar/_separatethousands.py +++ b/plotly/validators/cone/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_showexponent.py b/plotly/validators/cone/colorbar/_showexponent.py index 357398d1eb2..4ec47748ec9 100644 --- a/plotly/validators/cone/colorbar/_showexponent.py +++ b/plotly/validators/cone/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_showticklabels.py b/plotly/validators/cone/colorbar/_showticklabels.py index 4cf171f0271..53d5db30b76 100644 --- a/plotly/validators/cone/colorbar/_showticklabels.py +++ b/plotly/validators/cone/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_showtickprefix.py b/plotly/validators/cone/colorbar/_showtickprefix.py index 520593846f7..ab070219aaf 100644 --- a/plotly/validators/cone/colorbar/_showtickprefix.py +++ b/plotly/validators/cone/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_showticksuffix.py b/plotly/validators/cone/colorbar/_showticksuffix.py index 206c6d163f8..56fe021ae93 100644 --- a/plotly/validators/cone/colorbar/_showticksuffix.py +++ b/plotly/validators/cone/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_thickness.py b/plotly/validators/cone/colorbar/_thickness.py index eabc0a34829..1eb43bab849 100644 --- a/plotly/validators/cone/colorbar/_thickness.py +++ b/plotly/validators/cone/colorbar/_thickness.py @@ -9,8 +9,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_thicknessmode.py b/plotly/validators/cone/colorbar/_thicknessmode.py index 567e13d0cbd..379cf9f4d53 100644 --- a/plotly/validators/cone/colorbar/_thicknessmode.py +++ b/plotly/validators/cone/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tick0.py b/plotly/validators/cone/colorbar/_tick0.py index 6e1b0920b3e..20088fc2744 100644 --- a/plotly/validators/cone/colorbar/_tick0.py +++ b/plotly/validators/cone/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickangle.py b/plotly/validators/cone/colorbar/_tickangle.py index 47ccbb7bd1e..b545d61ff96 100644 --- a/plotly/validators/cone/colorbar/_tickangle.py +++ b/plotly/validators/cone/colorbar/_tickangle.py @@ -9,7 +9,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickcolor.py b/plotly/validators/cone/colorbar/_tickcolor.py index 6ed8cde164f..bfb99736684 100644 --- a/plotly/validators/cone/colorbar/_tickcolor.py +++ b/plotly/validators/cone/colorbar/_tickcolor.py @@ -9,7 +9,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickfont.py b/plotly/validators/cone/colorbar/_tickfont.py index c6a681e714b..5feae6a2279 100644 --- a/plotly/validators/cone/colorbar/_tickfont.py +++ b/plotly/validators/cone/colorbar/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickformat.py b/plotly/validators/cone/colorbar/_tickformat.py index 2cfa8dbb588..0faf27de3c1 100644 --- a/plotly/validators/cone/colorbar/_tickformat.py +++ b/plotly/validators/cone/colorbar/_tickformat.py @@ -9,7 +9,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickformatstops.py b/plotly/validators/cone/colorbar/_tickformatstops.py index 7163f2b6bdd..fd27bb9a461 100644 --- a/plotly/validators/cone/colorbar/_tickformatstops.py +++ b/plotly/validators/cone/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_ticklen.py b/plotly/validators/cone/colorbar/_ticklen.py index 0331e408800..494df60234f 100644 --- a/plotly/validators/cone/colorbar/_ticklen.py +++ b/plotly/validators/cone/colorbar/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickmode.py b/plotly/validators/cone/colorbar/_tickmode.py index 745700afcc0..438aca5bf34 100644 --- a/plotly/validators/cone/colorbar/_tickmode.py +++ b/plotly/validators/cone/colorbar/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickprefix.py b/plotly/validators/cone/colorbar/_tickprefix.py index 145b08f23d1..63f3cd7ba56 100644 --- a/plotly/validators/cone/colorbar/_tickprefix.py +++ b/plotly/validators/cone/colorbar/_tickprefix.py @@ -9,7 +9,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_ticks.py b/plotly/validators/cone/colorbar/_ticks.py index da2f3255bb9..69be3c54873 100644 --- a/plotly/validators/cone/colorbar/_ticks.py +++ b/plotly/validators/cone/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_ticksuffix.py b/plotly/validators/cone/colorbar/_ticksuffix.py index d1302877e70..1cfeb8bb28c 100644 --- a/plotly/validators/cone/colorbar/_ticksuffix.py +++ b/plotly/validators/cone/colorbar/_ticksuffix.py @@ -9,7 +9,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_ticktext.py b/plotly/validators/cone/colorbar/_ticktext.py index 6b63ad6cc81..50e24a8318c 100644 --- a/plotly/validators/cone/colorbar/_ticktext.py +++ b/plotly/validators/cone/colorbar/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_ticktextsrc.py b/plotly/validators/cone/colorbar/_ticktextsrc.py index 6f64a10f25b..9c3ea4c8871 100644 --- a/plotly/validators/cone/colorbar/_ticktextsrc.py +++ b/plotly/validators/cone/colorbar/_ticktextsrc.py @@ -9,7 +9,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickvals.py b/plotly/validators/cone/colorbar/_tickvals.py index b7fbdd523b3..9ffcc90c07a 100644 --- a/plotly/validators/cone/colorbar/_tickvals.py +++ b/plotly/validators/cone/colorbar/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickvalssrc.py b/plotly/validators/cone/colorbar/_tickvalssrc.py index d4721454c56..80b27d8c1fb 100644 --- a/plotly/validators/cone/colorbar/_tickvalssrc.py +++ b/plotly/validators/cone/colorbar/_tickvalssrc.py @@ -9,7 +9,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_tickwidth.py b/plotly/validators/cone/colorbar/_tickwidth.py index 9b039a6f8ae..109ad5fd0df 100644 --- a/plotly/validators/cone/colorbar/_tickwidth.py +++ b/plotly/validators/cone/colorbar/_tickwidth.py @@ -9,8 +9,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_title.py b/plotly/validators/cone/colorbar/_title.py index 904301ea8c3..771648490de 100644 --- a/plotly/validators/cone/colorbar/_title.py +++ b/plotly/validators/cone/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_titlefont.py b/plotly/validators/cone/colorbar/_titlefont.py index e36af128d66..cc78ae01f34 100644 --- a/plotly/validators/cone/colorbar/_titlefont.py +++ b/plotly/validators/cone/colorbar/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_titleside.py b/plotly/validators/cone/colorbar/_titleside.py index 9db0a0ac7ee..d2b2ec85d28 100644 --- a/plotly/validators/cone/colorbar/_titleside.py +++ b/plotly/validators/cone/colorbar/_titleside.py @@ -9,8 +9,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_x.py b/plotly/validators/cone/colorbar/_x.py index 2af7b8cf167..9299cae4074 100644 --- a/plotly/validators/cone/colorbar/_x.py +++ b/plotly/validators/cone/colorbar/_x.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='x', parent_name='cone.colorbar', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_xanchor.py b/plotly/validators/cone/colorbar/_xanchor.py index 8666aa0b22c..c65d5c967ef 100644 --- a/plotly/validators/cone/colorbar/_xanchor.py +++ b/plotly/validators/cone/colorbar/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_xpad.py b/plotly/validators/cone/colorbar/_xpad.py index 130e8c7b52f..ecd112498ab 100644 --- a/plotly/validators/cone/colorbar/_xpad.py +++ b/plotly/validators/cone/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_y.py b/plotly/validators/cone/colorbar/_y.py index 7ce4ef3bcc4..8e1e86b6294 100644 --- a/plotly/validators/cone/colorbar/_y.py +++ b/plotly/validators/cone/colorbar/_y.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='y', parent_name='cone.colorbar', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_yanchor.py b/plotly/validators/cone/colorbar/_yanchor.py index b59eae42030..ed002fb0ac9 100644 --- a/plotly/validators/cone/colorbar/_yanchor.py +++ b/plotly/validators/cone/colorbar/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/cone/colorbar/_ypad.py b/plotly/validators/cone/colorbar/_ypad.py index bfb780ac84f..82948169624 100644 --- a/plotly/validators/cone/colorbar/_ypad.py +++ b/plotly/validators/cone/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickfont/_color.py b/plotly/validators/cone/colorbar/tickfont/_color.py index 9d15a159ece..0a4273b22c5 100644 --- a/plotly/validators/cone/colorbar/tickfont/_color.py +++ b/plotly/validators/cone/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickfont/_family.py b/plotly/validators/cone/colorbar/tickfont/_family.py index 76d8f6549ca..f160db2f5b3 100644 --- a/plotly/validators/cone/colorbar/tickfont/_family.py +++ b/plotly/validators/cone/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickfont/_size.py b/plotly/validators/cone/colorbar/tickfont/_size.py index 3643ecf6ca9..fdbc6447882 100644 --- a/plotly/validators/cone/colorbar/tickfont/_size.py +++ b/plotly/validators/cone/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/cone/colorbar/tickformatstop/_dtickrange.py index 0d4bb43682c..c0cd280404f 100644 --- a/plotly/validators/cone/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/cone/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickformatstop/_enabled.py b/plotly/validators/cone/colorbar/tickformatstop/_enabled.py index 2b6145371dd..1a80fc86af8 100644 --- a/plotly/validators/cone/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/cone/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickformatstop/_name.py b/plotly/validators/cone/colorbar/tickformatstop/_name.py index 5fd6e8a0f59..0352bae3c29 100644 --- a/plotly/validators/cone/colorbar/tickformatstop/_name.py +++ b/plotly/validators/cone/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/cone/colorbar/tickformatstop/_templateitemname.py index e6858946fab..a6e19eaac16 100644 --- a/plotly/validators/cone/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/cone/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/tickformatstop/_value.py b/plotly/validators/cone/colorbar/tickformatstop/_value.py index 4edb5cde181..5922957c83f 100644 --- a/plotly/validators/cone/colorbar/tickformatstop/_value.py +++ b/plotly/validators/cone/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/titlefont/_color.py b/plotly/validators/cone/colorbar/titlefont/_color.py index 7db851d0b50..17afa7112a2 100644 --- a/plotly/validators/cone/colorbar/titlefont/_color.py +++ b/plotly/validators/cone/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/colorbar/titlefont/_family.py b/plotly/validators/cone/colorbar/titlefont/_family.py index cf1b396978a..eee19b22b5e 100644 --- a/plotly/validators/cone/colorbar/titlefont/_family.py +++ b/plotly/validators/cone/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/cone/colorbar/titlefont/_size.py b/plotly/validators/cone/colorbar/titlefont/_size.py index ab18ad80267..5bc8ced6d2f 100644 --- a/plotly/validators/cone/colorbar/titlefont/_size.py +++ b/plotly/validators/cone/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_bgcolor.py b/plotly/validators/cone/hoverlabel/_bgcolor.py index 53cc4e5d74d..4923565a4b4 100644 --- a/plotly/validators/cone/hoverlabel/_bgcolor.py +++ b/plotly/validators/cone/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_bgcolorsrc.py b/plotly/validators/cone/hoverlabel/_bgcolorsrc.py index 73608e4917e..87d1d75ace2 100644 --- a/plotly/validators/cone/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/cone/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_bordercolor.py b/plotly/validators/cone/hoverlabel/_bordercolor.py index fdc6109af01..52c7185bf65 100644 --- a/plotly/validators/cone/hoverlabel/_bordercolor.py +++ b/plotly/validators/cone/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_bordercolorsrc.py b/plotly/validators/cone/hoverlabel/_bordercolorsrc.py index 749e4d52bdd..bffa4968690 100644 --- a/plotly/validators/cone/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/cone/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_font.py b/plotly/validators/cone/hoverlabel/_font.py index 1ef9633470a..d741d700058 100644 --- a/plotly/validators/cone/hoverlabel/_font.py +++ b/plotly/validators/cone/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_namelength.py b/plotly/validators/cone/hoverlabel/_namelength.py index ea3bd1ee480..d6bfa820e7b 100644 --- a/plotly/validators/cone/hoverlabel/_namelength.py +++ b/plotly/validators/cone/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/_namelengthsrc.py b/plotly/validators/cone/hoverlabel/_namelengthsrc.py index 98534e4dedb..bc90fcb611f 100644 --- a/plotly/validators/cone/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/cone/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/font/_color.py b/plotly/validators/cone/hoverlabel/font/_color.py index 246afae6c35..35f9ac577b3 100644 --- a/plotly/validators/cone/hoverlabel/font/_color.py +++ b/plotly/validators/cone/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/font/_colorsrc.py b/plotly/validators/cone/hoverlabel/font/_colorsrc.py index 67467b41904..3283a21ed95 100644 --- a/plotly/validators/cone/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/cone/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/font/_family.py b/plotly/validators/cone/hoverlabel/font/_family.py index e43d5a3ddca..294ea594744 100644 --- a/plotly/validators/cone/hoverlabel/font/_family.py +++ b/plotly/validators/cone/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/font/_familysrc.py b/plotly/validators/cone/hoverlabel/font/_familysrc.py index ee31906c8d6..ed362fd99d7 100644 --- a/plotly/validators/cone/hoverlabel/font/_familysrc.py +++ b/plotly/validators/cone/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/font/_size.py b/plotly/validators/cone/hoverlabel/font/_size.py index e07c6dba272..1aabffa5ee6 100644 --- a/plotly/validators/cone/hoverlabel/font/_size.py +++ b/plotly/validators/cone/hoverlabel/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/hoverlabel/font/_sizesrc.py b/plotly/validators/cone/hoverlabel/font/_sizesrc.py index ad8b441f00a..edfb08dab02 100644 --- a/plotly/validators/cone/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/cone/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_ambient.py b/plotly/validators/cone/lighting/_ambient.py index ee50f3cf38a..0008e331216 100644 --- a/plotly/validators/cone/lighting/_ambient.py +++ b/plotly/validators/cone/lighting/_ambient.py @@ -9,9 +9,9 @@ def __init__( super(AmbientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_diffuse.py b/plotly/validators/cone/lighting/_diffuse.py index 8af55aebfc9..dd4a1e791b5 100644 --- a/plotly/validators/cone/lighting/_diffuse.py +++ b/plotly/validators/cone/lighting/_diffuse.py @@ -9,9 +9,9 @@ def __init__( super(DiffuseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_facenormalsepsilon.py b/plotly/validators/cone/lighting/_facenormalsepsilon.py index e39f6e4789f..84d6154791d 100644 --- a/plotly/validators/cone/lighting/_facenormalsepsilon.py +++ b/plotly/validators/cone/lighting/_facenormalsepsilon.py @@ -14,9 +14,9 @@ def __init__( super(FacenormalsepsilonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_fresnel.py b/plotly/validators/cone/lighting/_fresnel.py index fe3d354342b..d9bdb28330e 100644 --- a/plotly/validators/cone/lighting/_fresnel.py +++ b/plotly/validators/cone/lighting/_fresnel.py @@ -9,9 +9,9 @@ def __init__( super(FresnelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=5, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 5), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_roughness.py b/plotly/validators/cone/lighting/_roughness.py index 3a984db10bb..8d83d6bb232 100644 --- a/plotly/validators/cone/lighting/_roughness.py +++ b/plotly/validators/cone/lighting/_roughness.py @@ -9,9 +9,9 @@ def __init__( super(RoughnessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_specular.py b/plotly/validators/cone/lighting/_specular.py index 21c5cc2697d..539089f33d3 100644 --- a/plotly/validators/cone/lighting/_specular.py +++ b/plotly/validators/cone/lighting/_specular.py @@ -9,9 +9,9 @@ def __init__( super(SpecularValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lighting/_vertexnormalsepsilon.py b/plotly/validators/cone/lighting/_vertexnormalsepsilon.py index 73632ab042b..ce64cdd5b8e 100644 --- a/plotly/validators/cone/lighting/_vertexnormalsepsilon.py +++ b/plotly/validators/cone/lighting/_vertexnormalsepsilon.py @@ -14,9 +14,9 @@ def __init__( super(VertexnormalsepsilonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lightposition/_x.py b/plotly/validators/cone/lightposition/_x.py index afdf3356c38..718d4677f65 100644 --- a/plotly/validators/cone/lightposition/_x.py +++ b/plotly/validators/cone/lightposition/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lightposition/_y.py b/plotly/validators/cone/lightposition/_y.py index a1432fcacea..244a74ce262 100644 --- a/plotly/validators/cone/lightposition/_y.py +++ b/plotly/validators/cone/lightposition/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/lightposition/_z.py b/plotly/validators/cone/lightposition/_z.py index 6c0ffe776c5..653cb7f7466 100644 --- a/plotly/validators/cone/lightposition/_z.py +++ b/plotly/validators/cone/lightposition/_z.py @@ -9,9 +9,9 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/cone/stream/_maxpoints.py b/plotly/validators/cone/stream/_maxpoints.py index 081b573bf17..c02fca2dfe4 100644 --- a/plotly/validators/cone/stream/_maxpoints.py +++ b/plotly/validators/cone/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/cone/stream/_token.py b/plotly/validators/cone/stream/_token.py index ca576354881..d9d5733c7b3 100644 --- a/plotly/validators/cone/stream/_token.py +++ b/plotly/validators/cone/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contour/_autocolorscale.py b/plotly/validators/contour/_autocolorscale.py index db2616ecfc8..43490eff041 100644 --- a/plotly/validators/contour/_autocolorscale.py +++ b/plotly/validators/contour/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_autocontour.py b/plotly/validators/contour/_autocontour.py index a99907f49d5..ee9d68a141a 100644 --- a/plotly/validators/contour/_autocontour.py +++ b/plotly/validators/contour/_autocontour.py @@ -9,8 +9,8 @@ def __init__( super(AutocontourValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_colorbar.py b/plotly/validators/contour/_colorbar.py index 86ff8730c63..f362222836b 100644 --- a/plotly/validators/contour/_colorbar.py +++ b/plotly/validators/contour/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -205,6 +206,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/_colorscale.py b/plotly/validators/contour/_colorscale.py index b5d1c157b35..c6e0cea698c 100644 --- a/plotly/validators/contour/_colorscale.py +++ b/plotly/validators/contour/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_connectgaps.py b/plotly/validators/contour/_connectgaps.py index 843a1b23b4b..9fd4453ba2a 100644 --- a/plotly/validators/contour/_connectgaps.py +++ b/plotly/validators/contour/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_contours.py b/plotly/validators/contour/_contours.py index 4c2da487d8f..4706fb5a5b0 100644 --- a/plotly/validators/contour/_contours.py +++ b/plotly/validators/contour/_contours.py @@ -9,8 +9,9 @@ def __init__( super(ContoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contours', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contours'), + data_docs=kwargs.pop( + 'data_docs', """ coloring Determines the coloring method showing the contour values. If "fill", coloring is done @@ -73,6 +74,7 @@ def __init__( to be an array of two numbers where the first is the lower bound and the second is the upper bound. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/_customdata.py b/plotly/validators/contour/_customdata.py index 1d0079fdf0d..80e5a56cb65 100644 --- a/plotly/validators/contour/_customdata.py +++ b/plotly/validators/contour/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/_customdatasrc.py b/plotly/validators/contour/_customdatasrc.py index a8bb4f4aba6..6325328698f 100644 --- a/plotly/validators/contour/_customdatasrc.py +++ b/plotly/validators/contour/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_dx.py b/plotly/validators/contour/_dx.py index 8fd201ba3c4..799007ba959 100644 --- a/plotly/validators/contour/_dx.py +++ b/plotly/validators/contour/_dx.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='dx', parent_name='contour', **kwargs): super(DxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_dy.py b/plotly/validators/contour/_dy.py index 2ed54827685..aa059e0ee44 100644 --- a/plotly/validators/contour/_dy.py +++ b/plotly/validators/contour/_dy.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='dy', parent_name='contour', **kwargs): super(DyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_fillcolor.py b/plotly/validators/contour/_fillcolor.py index 37ebd2a7d90..6a5f3245fee 100644 --- a/plotly/validators/contour/_fillcolor.py +++ b/plotly/validators/contour/_fillcolor.py @@ -9,8 +9,10 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - colorscale_path='contour.colorscale', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'contour.colorscale' + ), **kwargs ) diff --git a/plotly/validators/contour/_hoverinfo.py b/plotly/validators/contour/_hoverinfo.py index dccdd19964c..4119d4bd4af 100644 --- a/plotly/validators/contour/_hoverinfo.py +++ b/plotly/validators/contour/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_hoverinfosrc.py b/plotly/validators/contour/_hoverinfosrc.py index fa22563bc61..9c49c4e3f1f 100644 --- a/plotly/validators/contour/_hoverinfosrc.py +++ b/plotly/validators/contour/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_hoverlabel.py b/plotly/validators/contour/_hoverlabel.py index 8b490d5169b..452dc4be307 100644 --- a/plotly/validators/contour/_hoverlabel.py +++ b/plotly/validators/contour/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/_ids.py b/plotly/validators/contour/_ids.py index 59dbdbeaa32..9c144afba4f 100644 --- a/plotly/validators/contour/_ids.py +++ b/plotly/validators/contour/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='contour', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/_idssrc.py b/plotly/validators/contour/_idssrc.py index 50a9c0c0e3d..ca05ad793fc 100644 --- a/plotly/validators/contour/_idssrc.py +++ b/plotly/validators/contour/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='contour', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_legendgroup.py b/plotly/validators/contour/_legendgroup.py index 0becbfbf191..51c60c5759c 100644 --- a/plotly/validators/contour/_legendgroup.py +++ b/plotly/validators/contour/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_line.py b/plotly/validators/contour/_line.py index fd032b69b4a..631d0f94878 100644 --- a/plotly/validators/contour/_line.py +++ b/plotly/validators/contour/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='contour', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour level. Has no effect if `contours.coloring` is set to @@ -23,6 +24,7 @@ def __init__(self, plotly_name='line', parent_name='contour', **kwargs): lines, where 0 corresponds to no smoothing. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/_name.py b/plotly/validators/contour/_name.py index a0aeed16bd1..afab98b39d1 100644 --- a/plotly/validators/contour/_name.py +++ b/plotly/validators/contour/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='contour', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_ncontours.py b/plotly/validators/contour/_ncontours.py index 1c4527ebc8a..b566c2b1d3c 100644 --- a/plotly/validators/contour/_ncontours.py +++ b/plotly/validators/contour/_ncontours.py @@ -9,8 +9,8 @@ def __init__( super(NcontoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_opacity.py b/plotly/validators/contour/_opacity.py index a1f45c2d525..d55fa17557a 100644 --- a/plotly/validators/contour/_opacity.py +++ b/plotly/validators/contour/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='contour', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_reversescale.py b/plotly/validators/contour/_reversescale.py index 5ea24c712fd..6d554614eea 100644 --- a/plotly/validators/contour/_reversescale.py +++ b/plotly/validators/contour/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_selectedpoints.py b/plotly/validators/contour/_selectedpoints.py index 0c87a70b6bc..bfe52ac1046 100644 --- a/plotly/validators/contour/_selectedpoints.py +++ b/plotly/validators/contour/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_showlegend.py b/plotly/validators/contour/_showlegend.py index ee8ecb60a0e..26d759935f2 100644 --- a/plotly/validators/contour/_showlegend.py +++ b/plotly/validators/contour/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_showscale.py b/plotly/validators/contour/_showscale.py index ba57e58c3e6..4b205c58a15 100644 --- a/plotly/validators/contour/_showscale.py +++ b/plotly/validators/contour/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_stream.py b/plotly/validators/contour/_stream.py index d6e3abd0d3a..b935f76e4e2 100644 --- a/plotly/validators/contour/_stream.py +++ b/plotly/validators/contour/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='contour', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='contour', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/_text.py b/plotly/validators/contour/_text.py index a4e66790ae3..9614a96e092 100644 --- a/plotly/validators/contour/_text.py +++ b/plotly/validators/contour/_text.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='text', parent_name='contour', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/_textsrc.py b/plotly/validators/contour/_textsrc.py index 7c1af6c5943..079777a410a 100644 --- a/plotly/validators/contour/_textsrc.py +++ b/plotly/validators/contour/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='contour', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_transpose.py b/plotly/validators/contour/_transpose.py index f0b237e7ce2..6594e3dc5d2 100644 --- a/plotly/validators/contour/_transpose.py +++ b/plotly/validators/contour/_transpose.py @@ -9,7 +9,7 @@ def __init__( super(TransposeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_uid.py b/plotly/validators/contour/_uid.py index 203869cc5ce..3cd2af1422c 100644 --- a/plotly/validators/contour/_uid.py +++ b/plotly/validators/contour/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='contour', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_visible.py b/plotly/validators/contour/_visible.py index 89a674f524f..e389036f2a2 100644 --- a/plotly/validators/contour/_visible.py +++ b/plotly/validators/contour/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='contour', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/contour/_x.py b/plotly/validators/contour/_x.py index 9519764b643..8de6631404e 100644 --- a/plotly/validators/contour/_x.py +++ b/plotly/validators/contour/_x.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='x', parent_name='contour', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'xtype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/_x0.py b/plotly/validators/contour/_x0.py index ecb54274ec5..ca20d87b1b3 100644 --- a/plotly/validators/contour/_x0.py +++ b/plotly/validators/contour/_x0.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='x0', parent_name='contour', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_xaxis.py b/plotly/validators/contour/_xaxis.py index 52f3a9eefb4..d6e7e1070f3 100644 --- a/plotly/validators/contour/_xaxis.py +++ b/plotly/validators/contour/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='contour', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_xcalendar.py b/plotly/validators/contour/_xcalendar.py index 70337b76354..283cf6e4770 100644 --- a/plotly/validators/contour/_xcalendar.py +++ b/plotly/validators/contour/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/contour/_xsrc.py b/plotly/validators/contour/_xsrc.py index 285b25821b9..280753d07e2 100644 --- a/plotly/validators/contour/_xsrc.py +++ b/plotly/validators/contour/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='contour', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_xtype.py b/plotly/validators/contour/_xtype.py index c3bb66bb587..bd1be7fc95d 100644 --- a/plotly/validators/contour/_xtype.py +++ b/plotly/validators/contour/_xtype.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xtype', parent_name='contour', **kwargs): super(XtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/contour/_y.py b/plotly/validators/contour/_y.py index 38093afd007..135272b971a 100644 --- a/plotly/validators/contour/_y.py +++ b/plotly/validators/contour/_y.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='y', parent_name='contour', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'ytype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/_y0.py b/plotly/validators/contour/_y0.py index cbfddc51ea8..4305b247870 100644 --- a/plotly/validators/contour/_y0.py +++ b/plotly/validators/contour/_y0.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='y0', parent_name='contour', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_yaxis.py b/plotly/validators/contour/_yaxis.py index d794892e27b..3ac39599695 100644 --- a/plotly/validators/contour/_yaxis.py +++ b/plotly/validators/contour/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='contour', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_ycalendar.py b/plotly/validators/contour/_ycalendar.py index 6b9a8a75cda..75540024a7a 100644 --- a/plotly/validators/contour/_ycalendar.py +++ b/plotly/validators/contour/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/contour/_ysrc.py b/plotly/validators/contour/_ysrc.py index 6a6064a988a..436cc1cfef1 100644 --- a/plotly/validators/contour/_ysrc.py +++ b/plotly/validators/contour/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='contour', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_ytype.py b/plotly/validators/contour/_ytype.py index b0b8ba0eee1..f02e2cc8d9b 100644 --- a/plotly/validators/contour/_ytype.py +++ b/plotly/validators/contour/_ytype.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='ytype', parent_name='contour', **kwargs): super(YtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/contour/_z.py b/plotly/validators/contour/_z.py index 3cb17c5e798..a448ed2871d 100644 --- a/plotly/validators/contour/_z.py +++ b/plotly/validators/contour/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='contour', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/_zauto.py b/plotly/validators/contour/_zauto.py index 84e8bc385cd..80c6b07d7a8 100644 --- a/plotly/validators/contour/_zauto.py +++ b/plotly/validators/contour/_zauto.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zauto', parent_name='contour', **kwargs): super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_zhoverformat.py b/plotly/validators/contour/_zhoverformat.py index 9901b4eed4a..36c2ace25c5 100644 --- a/plotly/validators/contour/_zhoverformat.py +++ b/plotly/validators/contour/_zhoverformat.py @@ -9,7 +9,7 @@ def __init__( super(ZhoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/_zmax.py b/plotly/validators/contour/_zmax.py index 3fef06aedfa..31b81033908 100644 --- a/plotly/validators/contour/_zmax.py +++ b/plotly/validators/contour/_zmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmax', parent_name='contour', **kwargs): super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_zmin.py b/plotly/validators/contour/_zmin.py index 8c19babf19b..7fa2f2dd722 100644 --- a/plotly/validators/contour/_zmin.py +++ b/plotly/validators/contour/_zmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmin', parent_name='contour', **kwargs): super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/_zsrc.py b/plotly/validators/contour/_zsrc.py index 5fcb1d82ebb..7880d532823 100644 --- a/plotly/validators/contour/_zsrc.py +++ b/plotly/validators/contour/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='contour', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_bgcolor.py b/plotly/validators/contour/colorbar/_bgcolor.py index 298de58ce11..ce46c0c86ba 100644 --- a/plotly/validators/contour/colorbar/_bgcolor.py +++ b/plotly/validators/contour/colorbar/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_bordercolor.py b/plotly/validators/contour/colorbar/_bordercolor.py index 151ac164815..32e34b4e57c 100644 --- a/plotly/validators/contour/colorbar/_bordercolor.py +++ b/plotly/validators/contour/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_borderwidth.py b/plotly/validators/contour/colorbar/_borderwidth.py index b1cfd4cabe3..164d5918d4d 100644 --- a/plotly/validators/contour/colorbar/_borderwidth.py +++ b/plotly/validators/contour/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_dtick.py b/plotly/validators/contour/colorbar/_dtick.py index 8fc3f61c7a4..5c89d68a57b 100644 --- a/plotly/validators/contour/colorbar/_dtick.py +++ b/plotly/validators/contour/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_exponentformat.py b/plotly/validators/contour/colorbar/_exponentformat.py index d8602a38769..8b59502356d 100644 --- a/plotly/validators/contour/colorbar/_exponentformat.py +++ b/plotly/validators/contour/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_len.py b/plotly/validators/contour/colorbar/_len.py index caa27314eb5..f918cc7ed7a 100644 --- a/plotly/validators/contour/colorbar/_len.py +++ b/plotly/validators/contour/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_lenmode.py b/plotly/validators/contour/colorbar/_lenmode.py index fce61607c75..83d4aaa8b54 100644 --- a/plotly/validators/contour/colorbar/_lenmode.py +++ b/plotly/validators/contour/colorbar/_lenmode.py @@ -9,8 +9,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_nticks.py b/plotly/validators/contour/colorbar/_nticks.py index 18456a92e32..b4aa05a5b5d 100644 --- a/plotly/validators/contour/colorbar/_nticks.py +++ b/plotly/validators/contour/colorbar/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_outlinecolor.py b/plotly/validators/contour/colorbar/_outlinecolor.py index 9922b4ae5c7..fa6d4fd8084 100644 --- a/plotly/validators/contour/colorbar/_outlinecolor.py +++ b/plotly/validators/contour/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_outlinewidth.py b/plotly/validators/contour/colorbar/_outlinewidth.py index 950e9de5d5e..8c4a918272d 100644 --- a/plotly/validators/contour/colorbar/_outlinewidth.py +++ b/plotly/validators/contour/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_separatethousands.py b/plotly/validators/contour/colorbar/_separatethousands.py index cebe89c0c7a..7bd346925df 100644 --- a/plotly/validators/contour/colorbar/_separatethousands.py +++ b/plotly/validators/contour/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_showexponent.py b/plotly/validators/contour/colorbar/_showexponent.py index af2427ff178..4e7dab7e97c 100644 --- a/plotly/validators/contour/colorbar/_showexponent.py +++ b/plotly/validators/contour/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_showticklabels.py b/plotly/validators/contour/colorbar/_showticklabels.py index 1b89d1e9676..aa1c86b94ed 100644 --- a/plotly/validators/contour/colorbar/_showticklabels.py +++ b/plotly/validators/contour/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_showtickprefix.py b/plotly/validators/contour/colorbar/_showtickprefix.py index acc85f4eafe..9ee1c3acef2 100644 --- a/plotly/validators/contour/colorbar/_showtickprefix.py +++ b/plotly/validators/contour/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_showticksuffix.py b/plotly/validators/contour/colorbar/_showticksuffix.py index b48ea8946e1..c87393e6529 100644 --- a/plotly/validators/contour/colorbar/_showticksuffix.py +++ b/plotly/validators/contour/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_thickness.py b/plotly/validators/contour/colorbar/_thickness.py index 2aebf6b44ff..3455eb02c34 100644 --- a/plotly/validators/contour/colorbar/_thickness.py +++ b/plotly/validators/contour/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_thicknessmode.py b/plotly/validators/contour/colorbar/_thicknessmode.py index 9d240376809..fec8d07d319 100644 --- a/plotly/validators/contour/colorbar/_thicknessmode.py +++ b/plotly/validators/contour/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tick0.py b/plotly/validators/contour/colorbar/_tick0.py index 3fa179face9..8a20ea61005 100644 --- a/plotly/validators/contour/colorbar/_tick0.py +++ b/plotly/validators/contour/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickangle.py b/plotly/validators/contour/colorbar/_tickangle.py index c1e482cff2a..e9556344e7b 100644 --- a/plotly/validators/contour/colorbar/_tickangle.py +++ b/plotly/validators/contour/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickcolor.py b/plotly/validators/contour/colorbar/_tickcolor.py index 24651b91c8e..ebb45a92f09 100644 --- a/plotly/validators/contour/colorbar/_tickcolor.py +++ b/plotly/validators/contour/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickfont.py b/plotly/validators/contour/colorbar/_tickfont.py index b129204557c..fbe19867e43 100644 --- a/plotly/validators/contour/colorbar/_tickfont.py +++ b/plotly/validators/contour/colorbar/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickformat.py b/plotly/validators/contour/colorbar/_tickformat.py index 8b45634acd8..ac4eeb241d3 100644 --- a/plotly/validators/contour/colorbar/_tickformat.py +++ b/plotly/validators/contour/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickformatstops.py b/plotly/validators/contour/colorbar/_tickformatstops.py index 5d1248b8e91..68161d2fa75 100644 --- a/plotly/validators/contour/colorbar/_tickformatstops.py +++ b/plotly/validators/contour/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_ticklen.py b/plotly/validators/contour/colorbar/_ticklen.py index 5472dfdb048..d222f42b8a5 100644 --- a/plotly/validators/contour/colorbar/_ticklen.py +++ b/plotly/validators/contour/colorbar/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickmode.py b/plotly/validators/contour/colorbar/_tickmode.py index afcea5f4d12..df21178c010 100644 --- a/plotly/validators/contour/colorbar/_tickmode.py +++ b/plotly/validators/contour/colorbar/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickprefix.py b/plotly/validators/contour/colorbar/_tickprefix.py index 91b30bc7cc7..b6721347b54 100644 --- a/plotly/validators/contour/colorbar/_tickprefix.py +++ b/plotly/validators/contour/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_ticks.py b/plotly/validators/contour/colorbar/_ticks.py index 5972f8a2689..7cbe40f4032 100644 --- a/plotly/validators/contour/colorbar/_ticks.py +++ b/plotly/validators/contour/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_ticksuffix.py b/plotly/validators/contour/colorbar/_ticksuffix.py index 07c22c8e817..656383cf043 100644 --- a/plotly/validators/contour/colorbar/_ticksuffix.py +++ b/plotly/validators/contour/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_ticktext.py b/plotly/validators/contour/colorbar/_ticktext.py index 81a3e2b6ff7..689e129bec4 100644 --- a/plotly/validators/contour/colorbar/_ticktext.py +++ b/plotly/validators/contour/colorbar/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_ticktextsrc.py b/plotly/validators/contour/colorbar/_ticktextsrc.py index 91f22bad252..c32ecffb9ab 100644 --- a/plotly/validators/contour/colorbar/_ticktextsrc.py +++ b/plotly/validators/contour/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickvals.py b/plotly/validators/contour/colorbar/_tickvals.py index 4525ee61773..7c8df1bc3fa 100644 --- a/plotly/validators/contour/colorbar/_tickvals.py +++ b/plotly/validators/contour/colorbar/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickvalssrc.py b/plotly/validators/contour/colorbar/_tickvalssrc.py index cda3518ffd6..04b6f4b0192 100644 --- a/plotly/validators/contour/colorbar/_tickvalssrc.py +++ b/plotly/validators/contour/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_tickwidth.py b/plotly/validators/contour/colorbar/_tickwidth.py index a96fca1e6e5..a04a268b18f 100644 --- a/plotly/validators/contour/colorbar/_tickwidth.py +++ b/plotly/validators/contour/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_title.py b/plotly/validators/contour/colorbar/_title.py index 5bf4814cc59..d46ef485530 100644 --- a/plotly/validators/contour/colorbar/_title.py +++ b/plotly/validators/contour/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_titlefont.py b/plotly/validators/contour/colorbar/_titlefont.py index 69fe0b2c569..6ace945fd96 100644 --- a/plotly/validators/contour/colorbar/_titlefont.py +++ b/plotly/validators/contour/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_titleside.py b/plotly/validators/contour/colorbar/_titleside.py index bba18a5d056..57819a57eb2 100644 --- a/plotly/validators/contour/colorbar/_titleside.py +++ b/plotly/validators/contour/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_x.py b/plotly/validators/contour/colorbar/_x.py index 34175d9ae29..dccb6eeb2b4 100644 --- a/plotly/validators/contour/colorbar/_x.py +++ b/plotly/validators/contour/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_xanchor.py b/plotly/validators/contour/colorbar/_xanchor.py index 067d68a9ad3..dd8b2d5c439 100644 --- a/plotly/validators/contour/colorbar/_xanchor.py +++ b/plotly/validators/contour/colorbar/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_xpad.py b/plotly/validators/contour/colorbar/_xpad.py index 6ee29fb94a0..5a9c3381793 100644 --- a/plotly/validators/contour/colorbar/_xpad.py +++ b/plotly/validators/contour/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_y.py b/plotly/validators/contour/colorbar/_y.py index 48e29e3ac84..a3ce1dfb7d3 100644 --- a/plotly/validators/contour/colorbar/_y.py +++ b/plotly/validators/contour/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_yanchor.py b/plotly/validators/contour/colorbar/_yanchor.py index d8eef228450..505df2af1b7 100644 --- a/plotly/validators/contour/colorbar/_yanchor.py +++ b/plotly/validators/contour/colorbar/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/contour/colorbar/_ypad.py b/plotly/validators/contour/colorbar/_ypad.py index 96c61b68d3b..e4d3c7f6c3c 100644 --- a/plotly/validators/contour/colorbar/_ypad.py +++ b/plotly/validators/contour/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickfont/_color.py b/plotly/validators/contour/colorbar/tickfont/_color.py index 6d3214029a9..e340eda6d43 100644 --- a/plotly/validators/contour/colorbar/tickfont/_color.py +++ b/plotly/validators/contour/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickfont/_family.py b/plotly/validators/contour/colorbar/tickfont/_family.py index 9fe61bcac37..bed09fd5136 100644 --- a/plotly/validators/contour/colorbar/tickfont/_family.py +++ b/plotly/validators/contour/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickfont/_size.py b/plotly/validators/contour/colorbar/tickfont/_size.py index cbe0c8263d5..4a4f7f38bb8 100644 --- a/plotly/validators/contour/colorbar/tickfont/_size.py +++ b/plotly/validators/contour/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/contour/colorbar/tickformatstop/_dtickrange.py index 9b4be1acd5f..aaec4af51e3 100644 --- a/plotly/validators/contour/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/contour/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickformatstop/_enabled.py b/plotly/validators/contour/colorbar/tickformatstop/_enabled.py index 3325330b81a..266022bf4a6 100644 --- a/plotly/validators/contour/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/contour/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickformatstop/_name.py b/plotly/validators/contour/colorbar/tickformatstop/_name.py index 5f406c2ed3f..fd130b85492 100644 --- a/plotly/validators/contour/colorbar/tickformatstop/_name.py +++ b/plotly/validators/contour/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/contour/colorbar/tickformatstop/_templateitemname.py index 65e501f5bbf..be0bc830004 100644 --- a/plotly/validators/contour/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/contour/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/tickformatstop/_value.py b/plotly/validators/contour/colorbar/tickformatstop/_value.py index 0e64f38f5e0..f65f86d2af5 100644 --- a/plotly/validators/contour/colorbar/tickformatstop/_value.py +++ b/plotly/validators/contour/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/titlefont/_color.py b/plotly/validators/contour/colorbar/titlefont/_color.py index 7110d7b40bf..bb2ec7200ae 100644 --- a/plotly/validators/contour/colorbar/titlefont/_color.py +++ b/plotly/validators/contour/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/colorbar/titlefont/_family.py b/plotly/validators/contour/colorbar/titlefont/_family.py index 018b7224c1a..a78626d7a93 100644 --- a/plotly/validators/contour/colorbar/titlefont/_family.py +++ b/plotly/validators/contour/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contour/colorbar/titlefont/_size.py b/plotly/validators/contour/colorbar/titlefont/_size.py index ebce9a1cc27..79fcbc8f3ef 100644 --- a/plotly/validators/contour/colorbar/titlefont/_size.py +++ b/plotly/validators/contour/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_coloring.py b/plotly/validators/contour/contours/_coloring.py index d8c089a85e5..c2b366fff48 100644 --- a/plotly/validators/contour/contours/_coloring.py +++ b/plotly/validators/contour/contours/_coloring.py @@ -9,8 +9,8 @@ def __init__( super(ColoringValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fill', 'heatmap', 'lines', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fill', 'heatmap', 'lines', 'none']), **kwargs ) diff --git a/plotly/validators/contour/contours/_end.py b/plotly/validators/contour/contours/_end.py index 16aa7550532..b14558a43ec 100644 --- a/plotly/validators/contour/contours/_end.py +++ b/plotly/validators/contour/contours/_end.py @@ -9,8 +9,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_labelfont.py b/plotly/validators/contour/contours/_labelfont.py index 32297667683..0ff3e5fd2e2 100644 --- a/plotly/validators/contour/contours/_labelfont.py +++ b/plotly/validators/contour/contours/_labelfont.py @@ -12,8 +12,9 @@ def __init__( super(LabelfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Labelfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Labelfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/contours/_labelformat.py b/plotly/validators/contour/contours/_labelformat.py index defdbfc946a..a95ec2337a2 100644 --- a/plotly/validators/contour/contours/_labelformat.py +++ b/plotly/validators/contour/contours/_labelformat.py @@ -12,7 +12,7 @@ def __init__( super(LabelformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_operation.py b/plotly/validators/contour/contours/_operation.py index 0c5e004169b..831c9df0e20 100644 --- a/plotly/validators/contour/contours/_operation.py +++ b/plotly/validators/contour/contours/_operation.py @@ -12,11 +12,13 @@ def __init__( super(OperationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - '=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][', ')(', - '](', ')[' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + '=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][', + ')(', '](', ')[' + ] + ), **kwargs ) diff --git a/plotly/validators/contour/contours/_showlabels.py b/plotly/validators/contour/contours/_showlabels.py index 0b8697d298a..7216285ed2d 100644 --- a/plotly/validators/contour/contours/_showlabels.py +++ b/plotly/validators/contour/contours/_showlabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowlabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_showlines.py b/plotly/validators/contour/contours/_showlines.py index 989856161f4..b3e2adbdc17 100644 --- a/plotly/validators/contour/contours/_showlines.py +++ b/plotly/validators/contour/contours/_showlines.py @@ -12,7 +12,7 @@ def __init__( super(ShowlinesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_size.py b/plotly/validators/contour/contours/_size.py index fa933361ea2..5f65d31f786 100644 --- a/plotly/validators/contour/contours/_size.py +++ b/plotly/validators/contour/contours/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_start.py b/plotly/validators/contour/contours/_start.py index c488afdd3c9..19f8603b59c 100644 --- a/plotly/validators/contour/contours/_start.py +++ b/plotly/validators/contour/contours/_start.py @@ -9,8 +9,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/_type.py b/plotly/validators/contour/contours/_type.py index 9f6042a534b..1859ddcdb20 100644 --- a/plotly/validators/contour/contours/_type.py +++ b/plotly/validators/contour/contours/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['levels', 'constraint'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['levels', 'constraint']), **kwargs ) diff --git a/plotly/validators/contour/contours/_value.py b/plotly/validators/contour/contours/_value.py index 31147808281..d28fdc9ae6b 100644 --- a/plotly/validators/contour/contours/_value.py +++ b/plotly/validators/contour/contours/_value.py @@ -9,7 +9,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/contours/labelfont/_color.py b/plotly/validators/contour/contours/labelfont/_color.py index b2af3b1b7c3..02a4e2e5af3 100644 --- a/plotly/validators/contour/contours/labelfont/_color.py +++ b/plotly/validators/contour/contours/labelfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/contours/labelfont/_family.py b/plotly/validators/contour/contours/labelfont/_family.py index 8b91c486c99..066c80a11af 100644 --- a/plotly/validators/contour/contours/labelfont/_family.py +++ b/plotly/validators/contour/contours/labelfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contour/contours/labelfont/_size.py b/plotly/validators/contour/contours/labelfont/_size.py index d6b7afef3be..18d4f0d85ba 100644 --- a/plotly/validators/contour/contours/labelfont/_size.py +++ b/plotly/validators/contour/contours/labelfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_bgcolor.py b/plotly/validators/contour/hoverlabel/_bgcolor.py index e37b7067f08..c2d7f438727 100644 --- a/plotly/validators/contour/hoverlabel/_bgcolor.py +++ b/plotly/validators/contour/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_bgcolorsrc.py b/plotly/validators/contour/hoverlabel/_bgcolorsrc.py index 424509b6c0a..7048e8f245f 100644 --- a/plotly/validators/contour/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/contour/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_bordercolor.py b/plotly/validators/contour/hoverlabel/_bordercolor.py index 59f4fd74426..68a847611b8 100644 --- a/plotly/validators/contour/hoverlabel/_bordercolor.py +++ b/plotly/validators/contour/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_bordercolorsrc.py b/plotly/validators/contour/hoverlabel/_bordercolorsrc.py index ddfdb36b028..1bc43c9b1fb 100644 --- a/plotly/validators/contour/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/contour/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_font.py b/plotly/validators/contour/hoverlabel/_font.py index 591de3e0595..88ee4aa2e02 100644 --- a/plotly/validators/contour/hoverlabel/_font.py +++ b/plotly/validators/contour/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_namelength.py b/plotly/validators/contour/hoverlabel/_namelength.py index 1712b6c2dae..71f44e306a1 100644 --- a/plotly/validators/contour/hoverlabel/_namelength.py +++ b/plotly/validators/contour/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/_namelengthsrc.py b/plotly/validators/contour/hoverlabel/_namelengthsrc.py index 4aa71bafcad..d8362ba935b 100644 --- a/plotly/validators/contour/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/contour/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/font/_color.py b/plotly/validators/contour/hoverlabel/font/_color.py index 2d3dbe2c0b1..d8aff8a3790 100644 --- a/plotly/validators/contour/hoverlabel/font/_color.py +++ b/plotly/validators/contour/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/font/_colorsrc.py b/plotly/validators/contour/hoverlabel/font/_colorsrc.py index c51c90834c9..04e62dfbbcc 100644 --- a/plotly/validators/contour/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/contour/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/font/_family.py b/plotly/validators/contour/hoverlabel/font/_family.py index e77ce77ebf3..e0e1d5db770 100644 --- a/plotly/validators/contour/hoverlabel/font/_family.py +++ b/plotly/validators/contour/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/font/_familysrc.py b/plotly/validators/contour/hoverlabel/font/_familysrc.py index 598436f5550..3dbd7e4585a 100644 --- a/plotly/validators/contour/hoverlabel/font/_familysrc.py +++ b/plotly/validators/contour/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/font/_size.py b/plotly/validators/contour/hoverlabel/font/_size.py index b791ccb1747..f9c473d604d 100644 --- a/plotly/validators/contour/hoverlabel/font/_size.py +++ b/plotly/validators/contour/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/hoverlabel/font/_sizesrc.py b/plotly/validators/contour/hoverlabel/font/_sizesrc.py index 3811686aa53..3ba236fcb35 100644 --- a/plotly/validators/contour/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/contour/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/line/_color.py b/plotly/validators/contour/line/_color.py index 55d6c92caf2..b5d548b1926 100644 --- a/plotly/validators/contour/line/_color.py +++ b/plotly/validators/contour/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style+colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'style+colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/line/_dash.py b/plotly/validators/contour/line/_dash.py index cad821c3736..6274be31291 100644 --- a/plotly/validators/contour/line/_dash.py +++ b/plotly/validators/contour/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/contour/line/_smoothing.py b/plotly/validators/contour/line/_smoothing.py index 80365240891..439b0578db9 100644 --- a/plotly/validators/contour/line/_smoothing.py +++ b/plotly/validators/contour/line/_smoothing.py @@ -9,9 +9,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/line/_width.py b/plotly/validators/contour/line/_width.py index 3474c1f652d..7d1d0c69e9d 100644 --- a/plotly/validators/contour/line/_width.py +++ b/plotly/validators/contour/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style+colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style+colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contour/stream/_maxpoints.py b/plotly/validators/contour/stream/_maxpoints.py index c1137fd2180..263304fbbf4 100644 --- a/plotly/validators/contour/stream/_maxpoints.py +++ b/plotly/validators/contour/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contour/stream/_token.py b/plotly/validators/contour/stream/_token.py index c0883bfd1bd..ccdba149d6a 100644 --- a/plotly/validators/contour/stream/_token.py +++ b/plotly/validators/contour/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contourcarpet/_a.py b/plotly/validators/contourcarpet/_a.py index fdfc88feef9..7489b08828b 100644 --- a/plotly/validators/contourcarpet/_a.py +++ b/plotly/validators/contourcarpet/_a.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='a', parent_name='contourcarpet', **kwargs): super(AValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'xtype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_a0.py b/plotly/validators/contourcarpet/_a0.py index 056d4d4bb6d..448146d0c91 100644 --- a/plotly/validators/contourcarpet/_a0.py +++ b/plotly/validators/contourcarpet/_a0.py @@ -9,8 +9,8 @@ def __init__( super(A0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_asrc.py b/plotly/validators/contourcarpet/_asrc.py index e83ec35860c..62fa854415f 100644 --- a/plotly/validators/contourcarpet/_asrc.py +++ b/plotly/validators/contourcarpet/_asrc.py @@ -9,7 +9,7 @@ def __init__( super(AsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_atype.py b/plotly/validators/contourcarpet/_atype.py index fda6b55e86c..ea1e20b5041 100644 --- a/plotly/validators/contourcarpet/_atype.py +++ b/plotly/validators/contourcarpet/_atype.py @@ -9,8 +9,8 @@ def __init__( super(AtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/contourcarpet/_autocolorscale.py b/plotly/validators/contourcarpet/_autocolorscale.py index 0a51996648b..2244196503f 100644 --- a/plotly/validators/contourcarpet/_autocolorscale.py +++ b/plotly/validators/contourcarpet/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_autocontour.py b/plotly/validators/contourcarpet/_autocontour.py index ca7b2ff14bf..2d8d54515a3 100644 --- a/plotly/validators/contourcarpet/_autocontour.py +++ b/plotly/validators/contourcarpet/_autocontour.py @@ -9,8 +9,8 @@ def __init__( super(AutocontourValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_b.py b/plotly/validators/contourcarpet/_b.py index b83c9695a64..778e0e34d09 100644 --- a/plotly/validators/contourcarpet/_b.py +++ b/plotly/validators/contourcarpet/_b.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='b', parent_name='contourcarpet', **kwargs): super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'ytype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_b0.py b/plotly/validators/contourcarpet/_b0.py index 7425625da92..66980a6fc3b 100644 --- a/plotly/validators/contourcarpet/_b0.py +++ b/plotly/validators/contourcarpet/_b0.py @@ -9,8 +9,8 @@ def __init__( super(B0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_bsrc.py b/plotly/validators/contourcarpet/_bsrc.py index 94abb71d176..f1627177859 100644 --- a/plotly/validators/contourcarpet/_bsrc.py +++ b/plotly/validators/contourcarpet/_bsrc.py @@ -9,7 +9,7 @@ def __init__( super(BsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_btype.py b/plotly/validators/contourcarpet/_btype.py index 1270861eb24..86296a0a7aa 100644 --- a/plotly/validators/contourcarpet/_btype.py +++ b/plotly/validators/contourcarpet/_btype.py @@ -9,8 +9,8 @@ def __init__( super(BtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/contourcarpet/_carpet.py b/plotly/validators/contourcarpet/_carpet.py index 621568628e4..2dc57ba6041 100644 --- a/plotly/validators/contourcarpet/_carpet.py +++ b/plotly/validators/contourcarpet/_carpet.py @@ -9,7 +9,7 @@ def __init__( super(CarpetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_colorbar.py b/plotly/validators/contourcarpet/_colorbar.py index 6e18543055b..bddb856cb0a 100644 --- a/plotly/validators/contourcarpet/_colorbar.py +++ b/plotly/validators/contourcarpet/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/_colorscale.py b/plotly/validators/contourcarpet/_colorscale.py index 6d794c87b8a..5e8768b70a2 100644 --- a/plotly/validators/contourcarpet/_colorscale.py +++ b/plotly/validators/contourcarpet/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_contours.py b/plotly/validators/contourcarpet/_contours.py index c53aa598515..425f8fa2f8a 100644 --- a/plotly/validators/contourcarpet/_contours.py +++ b/plotly/validators/contourcarpet/_contours.py @@ -9,8 +9,9 @@ def __init__( super(ContoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contours', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contours'), + data_docs=kwargs.pop( + 'data_docs', """ coloring Determines the coloring method showing the contour values. If "fill", coloring is done @@ -71,6 +72,7 @@ def __init__( to be an array of two numbers where the first is the lower bound and the second is the upper bound. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/_customdata.py b/plotly/validators/contourcarpet/_customdata.py index 33cca3d3c05..914965d9468 100644 --- a/plotly/validators/contourcarpet/_customdata.py +++ b/plotly/validators/contourcarpet/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_customdatasrc.py b/plotly/validators/contourcarpet/_customdatasrc.py index 500a6654c10..e67d38817eb 100644 --- a/plotly/validators/contourcarpet/_customdatasrc.py +++ b/plotly/validators/contourcarpet/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_da.py b/plotly/validators/contourcarpet/_da.py index 7be3c1b3a30..ff9876dcbea 100644 --- a/plotly/validators/contourcarpet/_da.py +++ b/plotly/validators/contourcarpet/_da.py @@ -9,8 +9,8 @@ def __init__( super(DaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_db.py b/plotly/validators/contourcarpet/_db.py index 9ea1eb67230..a27d3975d5c 100644 --- a/plotly/validators/contourcarpet/_db.py +++ b/plotly/validators/contourcarpet/_db.py @@ -9,8 +9,8 @@ def __init__( super(DbValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_fillcolor.py b/plotly/validators/contourcarpet/_fillcolor.py index 7c50fb4268b..9ddd782c0a6 100644 --- a/plotly/validators/contourcarpet/_fillcolor.py +++ b/plotly/validators/contourcarpet/_fillcolor.py @@ -9,8 +9,10 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - colorscale_path='contourcarpet.colorscale', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'contourcarpet.colorscale' + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/_hoverinfo.py b/plotly/validators/contourcarpet/_hoverinfo.py index 245146f2f33..475329302ad 100644 --- a/plotly/validators/contourcarpet/_hoverinfo.py +++ b/plotly/validators/contourcarpet/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_hoverinfosrc.py b/plotly/validators/contourcarpet/_hoverinfosrc.py index 5d3c0df1c0f..559b897f040 100644 --- a/plotly/validators/contourcarpet/_hoverinfosrc.py +++ b/plotly/validators/contourcarpet/_hoverinfosrc.py @@ -12,7 +12,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_hoverlabel.py b/plotly/validators/contourcarpet/_hoverlabel.py index 456acd7776e..e11f9de4397 100644 --- a/plotly/validators/contourcarpet/_hoverlabel.py +++ b/plotly/validators/contourcarpet/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/_ids.py b/plotly/validators/contourcarpet/_ids.py index 05762149792..83b18c4c3a0 100644 --- a/plotly/validators/contourcarpet/_ids.py +++ b/plotly/validators/contourcarpet/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_idssrc.py b/plotly/validators/contourcarpet/_idssrc.py index 0b2342d166d..7e3caf49da8 100644 --- a/plotly/validators/contourcarpet/_idssrc.py +++ b/plotly/validators/contourcarpet/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_legendgroup.py b/plotly/validators/contourcarpet/_legendgroup.py index fbd31fb635a..37cbcd7b611 100644 --- a/plotly/validators/contourcarpet/_legendgroup.py +++ b/plotly/validators/contourcarpet/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_line.py b/plotly/validators/contourcarpet/_line.py index f82d4618b99..0f86a129553 100644 --- a/plotly/validators/contourcarpet/_line.py +++ b/plotly/validators/contourcarpet/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour level. Has no if `contours.coloring` is set to "lines". @@ -24,6 +25,7 @@ def __init__( lines, where 0 corresponds to no smoothing. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/_name.py b/plotly/validators/contourcarpet/_name.py index f6ea80c2c2f..e2a51312fbf 100644 --- a/plotly/validators/contourcarpet/_name.py +++ b/plotly/validators/contourcarpet/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_ncontours.py b/plotly/validators/contourcarpet/_ncontours.py index 0a59293cabd..dc2658d6e36 100644 --- a/plotly/validators/contourcarpet/_ncontours.py +++ b/plotly/validators/contourcarpet/_ncontours.py @@ -9,8 +9,8 @@ def __init__( super(NcontoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_opacity.py b/plotly/validators/contourcarpet/_opacity.py index d638d62182c..b4c9398208e 100644 --- a/plotly/validators/contourcarpet/_opacity.py +++ b/plotly/validators/contourcarpet/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_reversescale.py b/plotly/validators/contourcarpet/_reversescale.py index 4271ff3a259..5831e79f6de 100644 --- a/plotly/validators/contourcarpet/_reversescale.py +++ b/plotly/validators/contourcarpet/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_selectedpoints.py b/plotly/validators/contourcarpet/_selectedpoints.py index 30adda32d8f..17783ed6747 100644 --- a/plotly/validators/contourcarpet/_selectedpoints.py +++ b/plotly/validators/contourcarpet/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_showlegend.py b/plotly/validators/contourcarpet/_showlegend.py index ef39d78a5b4..4ccf984fd9b 100644 --- a/plotly/validators/contourcarpet/_showlegend.py +++ b/plotly/validators/contourcarpet/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_showscale.py b/plotly/validators/contourcarpet/_showscale.py index 487e798fffe..9ac9de6b5e1 100644 --- a/plotly/validators/contourcarpet/_showscale.py +++ b/plotly/validators/contourcarpet/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_stream.py b/plotly/validators/contourcarpet/_stream.py index 6b7e215af78..7996ec5ba03 100644 --- a/plotly/validators/contourcarpet/_stream.py +++ b/plotly/validators/contourcarpet/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/_text.py b/plotly/validators/contourcarpet/_text.py index 8cb25381bb1..e5039b48930 100644 --- a/plotly/validators/contourcarpet/_text.py +++ b/plotly/validators/contourcarpet/_text.py @@ -9,7 +9,7 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_textsrc.py b/plotly/validators/contourcarpet/_textsrc.py index 649dd3c006f..5c0b355d5ec 100644 --- a/plotly/validators/contourcarpet/_textsrc.py +++ b/plotly/validators/contourcarpet/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_transpose.py b/plotly/validators/contourcarpet/_transpose.py index 1a172b55a99..6bb58bd7c6c 100644 --- a/plotly/validators/contourcarpet/_transpose.py +++ b/plotly/validators/contourcarpet/_transpose.py @@ -9,7 +9,7 @@ def __init__( super(TransposeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_uid.py b/plotly/validators/contourcarpet/_uid.py index 9451d68cbe1..f6b61529d4f 100644 --- a/plotly/validators/contourcarpet/_uid.py +++ b/plotly/validators/contourcarpet/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_visible.py b/plotly/validators/contourcarpet/_visible.py index 67be9dac9bd..6a270e9ff97 100644 --- a/plotly/validators/contourcarpet/_visible.py +++ b/plotly/validators/contourcarpet/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/contourcarpet/_xaxis.py b/plotly/validators/contourcarpet/_xaxis.py index a20fa6c3d61..f2c796cf2c3 100644 --- a/plotly/validators/contourcarpet/_xaxis.py +++ b/plotly/validators/contourcarpet/_xaxis.py @@ -9,8 +9,8 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_yaxis.py b/plotly/validators/contourcarpet/_yaxis.py index 6da0141d0c3..29c25aede49 100644 --- a/plotly/validators/contourcarpet/_yaxis.py +++ b/plotly/validators/contourcarpet/_yaxis.py @@ -9,8 +9,8 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_z.py b/plotly/validators/contourcarpet/_z.py index 70072fb7891..f45ccce8816 100644 --- a/plotly/validators/contourcarpet/_z.py +++ b/plotly/validators/contourcarpet/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='contourcarpet', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_zauto.py b/plotly/validators/contourcarpet/_zauto.py index d279efb96ef..7d759139c85 100644 --- a/plotly/validators/contourcarpet/_zauto.py +++ b/plotly/validators/contourcarpet/_zauto.py @@ -9,8 +9,8 @@ def __init__( super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_zmax.py b/plotly/validators/contourcarpet/_zmax.py index e2ff09b1136..a53c42d2440 100644 --- a/plotly/validators/contourcarpet/_zmax.py +++ b/plotly/validators/contourcarpet/_zmax.py @@ -9,8 +9,8 @@ def __init__( super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_zmin.py b/plotly/validators/contourcarpet/_zmin.py index 464297b44b6..20796622ac7 100644 --- a/plotly/validators/contourcarpet/_zmin.py +++ b/plotly/validators/contourcarpet/_zmin.py @@ -9,8 +9,8 @@ def __init__( super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/_zsrc.py b/plotly/validators/contourcarpet/_zsrc.py index 69a7a3b6991..4555508d968 100644 --- a/plotly/validators/contourcarpet/_zsrc.py +++ b/plotly/validators/contourcarpet/_zsrc.py @@ -9,7 +9,7 @@ def __init__( super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_bgcolor.py b/plotly/validators/contourcarpet/colorbar/_bgcolor.py index dfe1e943811..71087b56807 100644 --- a/plotly/validators/contourcarpet/colorbar/_bgcolor.py +++ b/plotly/validators/contourcarpet/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_bordercolor.py b/plotly/validators/contourcarpet/colorbar/_bordercolor.py index 380b571da2d..a19d965e3d8 100644 --- a/plotly/validators/contourcarpet/colorbar/_bordercolor.py +++ b/plotly/validators/contourcarpet/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_borderwidth.py b/plotly/validators/contourcarpet/colorbar/_borderwidth.py index 4951725596f..1d12a66c573 100644 --- a/plotly/validators/contourcarpet/colorbar/_borderwidth.py +++ b/plotly/validators/contourcarpet/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_dtick.py b/plotly/validators/contourcarpet/colorbar/_dtick.py index 81a0241b06b..5da4f05f0cd 100644 --- a/plotly/validators/contourcarpet/colorbar/_dtick.py +++ b/plotly/validators/contourcarpet/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_exponentformat.py b/plotly/validators/contourcarpet/colorbar/_exponentformat.py index 99ef4e52276..951d9824003 100644 --- a/plotly/validators/contourcarpet/colorbar/_exponentformat.py +++ b/plotly/validators/contourcarpet/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_len.py b/plotly/validators/contourcarpet/colorbar/_len.py index adbd00c365a..49b88df08b8 100644 --- a/plotly/validators/contourcarpet/colorbar/_len.py +++ b/plotly/validators/contourcarpet/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_lenmode.py b/plotly/validators/contourcarpet/colorbar/_lenmode.py index aef6a10ece0..82758fea984 100644 --- a/plotly/validators/contourcarpet/colorbar/_lenmode.py +++ b/plotly/validators/contourcarpet/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_nticks.py b/plotly/validators/contourcarpet/colorbar/_nticks.py index 13b461cb49f..e17248724eb 100644 --- a/plotly/validators/contourcarpet/colorbar/_nticks.py +++ b/plotly/validators/contourcarpet/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_outlinecolor.py b/plotly/validators/contourcarpet/colorbar/_outlinecolor.py index a92f2d4cf69..8a78b91d4fb 100644 --- a/plotly/validators/contourcarpet/colorbar/_outlinecolor.py +++ b/plotly/validators/contourcarpet/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_outlinewidth.py b/plotly/validators/contourcarpet/colorbar/_outlinewidth.py index f6ca409667b..038b17ee643 100644 --- a/plotly/validators/contourcarpet/colorbar/_outlinewidth.py +++ b/plotly/validators/contourcarpet/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_separatethousands.py b/plotly/validators/contourcarpet/colorbar/_separatethousands.py index e084180c6df..77b76cd1801 100644 --- a/plotly/validators/contourcarpet/colorbar/_separatethousands.py +++ b/plotly/validators/contourcarpet/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_showexponent.py b/plotly/validators/contourcarpet/colorbar/_showexponent.py index 0369bc325b7..2e985244be8 100644 --- a/plotly/validators/contourcarpet/colorbar/_showexponent.py +++ b/plotly/validators/contourcarpet/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_showticklabels.py b/plotly/validators/contourcarpet/colorbar/_showticklabels.py index d53bddc4ac3..ef3457e0991 100644 --- a/plotly/validators/contourcarpet/colorbar/_showticklabels.py +++ b/plotly/validators/contourcarpet/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_showtickprefix.py b/plotly/validators/contourcarpet/colorbar/_showtickprefix.py index f91e8a499bc..19398da60a3 100644 --- a/plotly/validators/contourcarpet/colorbar/_showtickprefix.py +++ b/plotly/validators/contourcarpet/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_showticksuffix.py b/plotly/validators/contourcarpet/colorbar/_showticksuffix.py index f6fd7142ed8..1d6aaec41f4 100644 --- a/plotly/validators/contourcarpet/colorbar/_showticksuffix.py +++ b/plotly/validators/contourcarpet/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_thickness.py b/plotly/validators/contourcarpet/colorbar/_thickness.py index 3d907c11c0e..f146a5366ba 100644 --- a/plotly/validators/contourcarpet/colorbar/_thickness.py +++ b/plotly/validators/contourcarpet/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_thicknessmode.py b/plotly/validators/contourcarpet/colorbar/_thicknessmode.py index b6b7d612ada..83151051ba0 100644 --- a/plotly/validators/contourcarpet/colorbar/_thicknessmode.py +++ b/plotly/validators/contourcarpet/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tick0.py b/plotly/validators/contourcarpet/colorbar/_tick0.py index 84fcea8d057..4aa175ae438 100644 --- a/plotly/validators/contourcarpet/colorbar/_tick0.py +++ b/plotly/validators/contourcarpet/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickangle.py b/plotly/validators/contourcarpet/colorbar/_tickangle.py index fd8375dee45..66ae7b28151 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickangle.py +++ b/plotly/validators/contourcarpet/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickcolor.py b/plotly/validators/contourcarpet/colorbar/_tickcolor.py index d91c6f79af0..323fa00f3a7 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickcolor.py +++ b/plotly/validators/contourcarpet/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickfont.py b/plotly/validators/contourcarpet/colorbar/_tickfont.py index 615f58799a5..a0ad34f0503 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickfont.py +++ b/plotly/validators/contourcarpet/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickformat.py b/plotly/validators/contourcarpet/colorbar/_tickformat.py index 91101d9e84b..f126fe0c4ff 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickformat.py +++ b/plotly/validators/contourcarpet/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickformatstops.py b/plotly/validators/contourcarpet/colorbar/_tickformatstops.py index 4531e24e680..9e9c41b68e9 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickformatstops.py +++ b/plotly/validators/contourcarpet/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_ticklen.py b/plotly/validators/contourcarpet/colorbar/_ticklen.py index fe42e77c6e0..7eef51a0f20 100644 --- a/plotly/validators/contourcarpet/colorbar/_ticklen.py +++ b/plotly/validators/contourcarpet/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickmode.py b/plotly/validators/contourcarpet/colorbar/_tickmode.py index 26eed2babbd..0f59867e69e 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickmode.py +++ b/plotly/validators/contourcarpet/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickprefix.py b/plotly/validators/contourcarpet/colorbar/_tickprefix.py index dbff7fbe48e..220ccd6c230 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickprefix.py +++ b/plotly/validators/contourcarpet/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_ticks.py b/plotly/validators/contourcarpet/colorbar/_ticks.py index f0b999aeb17..49e5156aa03 100644 --- a/plotly/validators/contourcarpet/colorbar/_ticks.py +++ b/plotly/validators/contourcarpet/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_ticksuffix.py b/plotly/validators/contourcarpet/colorbar/_ticksuffix.py index 38ef64acb90..194db942a90 100644 --- a/plotly/validators/contourcarpet/colorbar/_ticksuffix.py +++ b/plotly/validators/contourcarpet/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_ticktext.py b/plotly/validators/contourcarpet/colorbar/_ticktext.py index 41eb08f89c8..2d0e77b2628 100644 --- a/plotly/validators/contourcarpet/colorbar/_ticktext.py +++ b/plotly/validators/contourcarpet/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_ticktextsrc.py b/plotly/validators/contourcarpet/colorbar/_ticktextsrc.py index 2f9a2cd2946..f60cfd1550f 100644 --- a/plotly/validators/contourcarpet/colorbar/_ticktextsrc.py +++ b/plotly/validators/contourcarpet/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickvals.py b/plotly/validators/contourcarpet/colorbar/_tickvals.py index d23628bd3a4..258c7ddfb51 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickvals.py +++ b/plotly/validators/contourcarpet/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickvalssrc.py b/plotly/validators/contourcarpet/colorbar/_tickvalssrc.py index d11e8039eee..3daac6ec9d1 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickvalssrc.py +++ b/plotly/validators/contourcarpet/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_tickwidth.py b/plotly/validators/contourcarpet/colorbar/_tickwidth.py index e2555ff832c..79efddd44ef 100644 --- a/plotly/validators/contourcarpet/colorbar/_tickwidth.py +++ b/plotly/validators/contourcarpet/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_title.py b/plotly/validators/contourcarpet/colorbar/_title.py index 26cf4275ada..3a88fcfdb3a 100644 --- a/plotly/validators/contourcarpet/colorbar/_title.py +++ b/plotly/validators/contourcarpet/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_titlefont.py b/plotly/validators/contourcarpet/colorbar/_titlefont.py index d942e734ad6..6b9f6a342fe 100644 --- a/plotly/validators/contourcarpet/colorbar/_titlefont.py +++ b/plotly/validators/contourcarpet/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_titleside.py b/plotly/validators/contourcarpet/colorbar/_titleside.py index 08320e39277..5918fb9841a 100644 --- a/plotly/validators/contourcarpet/colorbar/_titleside.py +++ b/plotly/validators/contourcarpet/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_x.py b/plotly/validators/contourcarpet/colorbar/_x.py index 4e888de8394..dcfe6ca1e32 100644 --- a/plotly/validators/contourcarpet/colorbar/_x.py +++ b/plotly/validators/contourcarpet/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_xanchor.py b/plotly/validators/contourcarpet/colorbar/_xanchor.py index b2e6eae8054..8adfd0d7e8b 100644 --- a/plotly/validators/contourcarpet/colorbar/_xanchor.py +++ b/plotly/validators/contourcarpet/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_xpad.py b/plotly/validators/contourcarpet/colorbar/_xpad.py index e021029e9ae..7fb660bceca 100644 --- a/plotly/validators/contourcarpet/colorbar/_xpad.py +++ b/plotly/validators/contourcarpet/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_y.py b/plotly/validators/contourcarpet/colorbar/_y.py index fc6b2c91005..fa76a168f44 100644 --- a/plotly/validators/contourcarpet/colorbar/_y.py +++ b/plotly/validators/contourcarpet/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_yanchor.py b/plotly/validators/contourcarpet/colorbar/_yanchor.py index c250f30ff43..8ed546bb395 100644 --- a/plotly/validators/contourcarpet/colorbar/_yanchor.py +++ b/plotly/validators/contourcarpet/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/_ypad.py b/plotly/validators/contourcarpet/colorbar/_ypad.py index 6460906a20b..16d8176fe51 100644 --- a/plotly/validators/contourcarpet/colorbar/_ypad.py +++ b/plotly/validators/contourcarpet/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickfont/_color.py b/plotly/validators/contourcarpet/colorbar/tickfont/_color.py index fbf4457b2a3..6fd696f74d1 100644 --- a/plotly/validators/contourcarpet/colorbar/tickfont/_color.py +++ b/plotly/validators/contourcarpet/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickfont/_family.py b/plotly/validators/contourcarpet/colorbar/tickfont/_family.py index 15aef26e53e..8f4c529ff8b 100644 --- a/plotly/validators/contourcarpet/colorbar/tickfont/_family.py +++ b/plotly/validators/contourcarpet/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickfont/_size.py b/plotly/validators/contourcarpet/colorbar/tickfont/_size.py index 96500cf457e..ce3fb4a5ca2 100644 --- a/plotly/validators/contourcarpet/colorbar/tickfont/_size.py +++ b/plotly/validators/contourcarpet/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/contourcarpet/colorbar/tickformatstop/_dtickrange.py index 2ff2830b55c..030c0c1130a 100644 --- a/plotly/validators/contourcarpet/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/contourcarpet/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickformatstop/_enabled.py b/plotly/validators/contourcarpet/colorbar/tickformatstop/_enabled.py index b5d7632038d..70e389d28b2 100644 --- a/plotly/validators/contourcarpet/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/contourcarpet/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickformatstop/_name.py b/plotly/validators/contourcarpet/colorbar/tickformatstop/_name.py index cbcd9f696a2..afbe8dbf318 100644 --- a/plotly/validators/contourcarpet/colorbar/tickformatstop/_name.py +++ b/plotly/validators/contourcarpet/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/contourcarpet/colorbar/tickformatstop/_templateitemname.py index f8805013996..2d0263a6cb0 100644 --- a/plotly/validators/contourcarpet/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/contourcarpet/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/tickformatstop/_value.py b/plotly/validators/contourcarpet/colorbar/tickformatstop/_value.py index 89ed827398b..47980792bb2 100644 --- a/plotly/validators/contourcarpet/colorbar/tickformatstop/_value.py +++ b/plotly/validators/contourcarpet/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/titlefont/_color.py b/plotly/validators/contourcarpet/colorbar/titlefont/_color.py index 3cad2367b26..e6084151a44 100644 --- a/plotly/validators/contourcarpet/colorbar/titlefont/_color.py +++ b/plotly/validators/contourcarpet/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/titlefont/_family.py b/plotly/validators/contourcarpet/colorbar/titlefont/_family.py index 03366d4c49b..2b12982cc18 100644 --- a/plotly/validators/contourcarpet/colorbar/titlefont/_family.py +++ b/plotly/validators/contourcarpet/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contourcarpet/colorbar/titlefont/_size.py b/plotly/validators/contourcarpet/colorbar/titlefont/_size.py index 60040b582d3..fe5f3870dfa 100644 --- a/plotly/validators/contourcarpet/colorbar/titlefont/_size.py +++ b/plotly/validators/contourcarpet/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_coloring.py b/plotly/validators/contourcarpet/contours/_coloring.py index 71063cadb90..ec9decaf258 100644 --- a/plotly/validators/contourcarpet/contours/_coloring.py +++ b/plotly/validators/contourcarpet/contours/_coloring.py @@ -12,8 +12,8 @@ def __init__( super(ColoringValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fill', 'lines', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fill', 'lines', 'none']), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_end.py b/plotly/validators/contourcarpet/contours/_end.py index eb90f641eff..78fb5655216 100644 --- a/plotly/validators/contourcarpet/contours/_end.py +++ b/plotly/validators/contourcarpet/contours/_end.py @@ -12,8 +12,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_labelfont.py b/plotly/validators/contourcarpet/contours/_labelfont.py index af64dc7bc4d..effb421782a 100644 --- a/plotly/validators/contourcarpet/contours/_labelfont.py +++ b/plotly/validators/contourcarpet/contours/_labelfont.py @@ -12,8 +12,9 @@ def __init__( super(LabelfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Labelfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Labelfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_labelformat.py b/plotly/validators/contourcarpet/contours/_labelformat.py index e1b4ca45b5d..b41ef9b3145 100644 --- a/plotly/validators/contourcarpet/contours/_labelformat.py +++ b/plotly/validators/contourcarpet/contours/_labelformat.py @@ -12,7 +12,7 @@ def __init__( super(LabelformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_operation.py b/plotly/validators/contourcarpet/contours/_operation.py index d26cbe08e2d..4505eeeeef5 100644 --- a/plotly/validators/contourcarpet/contours/_operation.py +++ b/plotly/validators/contourcarpet/contours/_operation.py @@ -12,11 +12,13 @@ def __init__( super(OperationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - '=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][', ')(', - '](', ')[' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + '=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][', + ')(', '](', ')[' + ] + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_showlabels.py b/plotly/validators/contourcarpet/contours/_showlabels.py index d01ab2896b8..c7ec795e485 100644 --- a/plotly/validators/contourcarpet/contours/_showlabels.py +++ b/plotly/validators/contourcarpet/contours/_showlabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowlabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_showlines.py b/plotly/validators/contourcarpet/contours/_showlines.py index b7bb1f6a96e..a4d6ee4f9dd 100644 --- a/plotly/validators/contourcarpet/contours/_showlines.py +++ b/plotly/validators/contourcarpet/contours/_showlines.py @@ -12,7 +12,7 @@ def __init__( super(ShowlinesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_size.py b/plotly/validators/contourcarpet/contours/_size.py index a83d0079dc5..cbeacd8ea3c 100644 --- a/plotly/validators/contourcarpet/contours/_size.py +++ b/plotly/validators/contourcarpet/contours/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_start.py b/plotly/validators/contourcarpet/contours/_start.py index 878ba5c8ea3..3c3386cf324 100644 --- a/plotly/validators/contourcarpet/contours/_start.py +++ b/plotly/validators/contourcarpet/contours/_start.py @@ -12,8 +12,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_type.py b/plotly/validators/contourcarpet/contours/_type.py index 92a9e032f19..e9e5cc158ba 100644 --- a/plotly/validators/contourcarpet/contours/_type.py +++ b/plotly/validators/contourcarpet/contours/_type.py @@ -12,8 +12,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['levels', 'constraint'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['levels', 'constraint']), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/_value.py b/plotly/validators/contourcarpet/contours/_value.py index 20079fe9e0f..ba3c3aba98a 100644 --- a/plotly/validators/contourcarpet/contours/_value.py +++ b/plotly/validators/contourcarpet/contours/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/labelfont/_color.py b/plotly/validators/contourcarpet/contours/labelfont/_color.py index 71dcef5aeb3..998ffe3c45c 100644 --- a/plotly/validators/contourcarpet/contours/labelfont/_color.py +++ b/plotly/validators/contourcarpet/contours/labelfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/labelfont/_family.py b/plotly/validators/contourcarpet/contours/labelfont/_family.py index c72927f131b..2757818fe92 100644 --- a/plotly/validators/contourcarpet/contours/labelfont/_family.py +++ b/plotly/validators/contourcarpet/contours/labelfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contourcarpet/contours/labelfont/_size.py b/plotly/validators/contourcarpet/contours/labelfont/_size.py index 6203f560783..59296e08e7d 100644 --- a/plotly/validators/contourcarpet/contours/labelfont/_size.py +++ b/plotly/validators/contourcarpet/contours/labelfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_bgcolor.py b/plotly/validators/contourcarpet/hoverlabel/_bgcolor.py index 9663d071868..ca0c554daa2 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_bgcolor.py +++ b/plotly/validators/contourcarpet/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_bgcolorsrc.py b/plotly/validators/contourcarpet/hoverlabel/_bgcolorsrc.py index 4eb8ed653e9..3f54c990d4a 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/contourcarpet/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_bordercolor.py b/plotly/validators/contourcarpet/hoverlabel/_bordercolor.py index c6c72059cc8..9fede52cda3 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_bordercolor.py +++ b/plotly/validators/contourcarpet/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_bordercolorsrc.py b/plotly/validators/contourcarpet/hoverlabel/_bordercolorsrc.py index e974502dee2..1c4ef7e90fa 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/contourcarpet/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_font.py b/plotly/validators/contourcarpet/hoverlabel/_font.py index 683c9a82c02..6dadf31d8ae 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_font.py +++ b/plotly/validators/contourcarpet/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_namelength.py b/plotly/validators/contourcarpet/hoverlabel/_namelength.py index ed002bacdb2..d917dd704b5 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_namelength.py +++ b/plotly/validators/contourcarpet/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/_namelengthsrc.py b/plotly/validators/contourcarpet/hoverlabel/_namelengthsrc.py index fbe431757c1..157fde7ea3d 100644 --- a/plotly/validators/contourcarpet/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/contourcarpet/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/font/_color.py b/plotly/validators/contourcarpet/hoverlabel/font/_color.py index 498ca9f8dd5..c206700c4b5 100644 --- a/plotly/validators/contourcarpet/hoverlabel/font/_color.py +++ b/plotly/validators/contourcarpet/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/font/_colorsrc.py b/plotly/validators/contourcarpet/hoverlabel/font/_colorsrc.py index 5f587f88594..55dfb6bd9bf 100644 --- a/plotly/validators/contourcarpet/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/contourcarpet/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/font/_family.py b/plotly/validators/contourcarpet/hoverlabel/font/_family.py index d1d70e5725a..3741854594e 100644 --- a/plotly/validators/contourcarpet/hoverlabel/font/_family.py +++ b/plotly/validators/contourcarpet/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/font/_familysrc.py b/plotly/validators/contourcarpet/hoverlabel/font/_familysrc.py index b18739d1945..2ff6136352f 100644 --- a/plotly/validators/contourcarpet/hoverlabel/font/_familysrc.py +++ b/plotly/validators/contourcarpet/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/font/_size.py b/plotly/validators/contourcarpet/hoverlabel/font/_size.py index fa08c08fbd3..3f57284277b 100644 --- a/plotly/validators/contourcarpet/hoverlabel/font/_size.py +++ b/plotly/validators/contourcarpet/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/hoverlabel/font/_sizesrc.py b/plotly/validators/contourcarpet/hoverlabel/font/_sizesrc.py index b65fc455381..9af6db27ed2 100644 --- a/plotly/validators/contourcarpet/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/contourcarpet/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/line/_color.py b/plotly/validators/contourcarpet/line/_color.py index a6db96dade6..a270290ce82 100644 --- a/plotly/validators/contourcarpet/line/_color.py +++ b/plotly/validators/contourcarpet/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/line/_dash.py b/plotly/validators/contourcarpet/line/_dash.py index 676d1ead4ee..8ac0d21adf1 100644 --- a/plotly/validators/contourcarpet/line/_dash.py +++ b/plotly/validators/contourcarpet/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/contourcarpet/line/_smoothing.py b/plotly/validators/contourcarpet/line/_smoothing.py index 86b11e797fe..7d2f3ef0589 100644 --- a/plotly/validators/contourcarpet/line/_smoothing.py +++ b/plotly/validators/contourcarpet/line/_smoothing.py @@ -12,9 +12,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/line/_width.py b/plotly/validators/contourcarpet/line/_width.py index 7b6c5b2d8b2..3a2579a470e 100644 --- a/plotly/validators/contourcarpet/line/_width.py +++ b/plotly/validators/contourcarpet/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/contourcarpet/stream/_maxpoints.py b/plotly/validators/contourcarpet/stream/_maxpoints.py index ca4e78a5f19..1bb05ab7071 100644 --- a/plotly/validators/contourcarpet/stream/_maxpoints.py +++ b/plotly/validators/contourcarpet/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/contourcarpet/stream/_token.py b/plotly/validators/contourcarpet/stream/_token.py index 3f83206d61f..1c0a9265dae 100644 --- a/plotly/validators/contourcarpet/stream/_token.py +++ b/plotly/validators/contourcarpet/stream/_token.py @@ -12,9 +12,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/frame/_baseframe.py b/plotly/validators/frame/_baseframe.py index 568d8f553a7..6cb29e4dfbc 100644 --- a/plotly/validators/frame/_baseframe.py +++ b/plotly/validators/frame/_baseframe.py @@ -7,6 +7,6 @@ def __init__(self, plotly_name='baseframe', parent_name='frame', **kwargs): super(BaseframeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - role='info', + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/frame/_data.py b/plotly/validators/frame/_data.py index b7df87c2a08..bb78ad7aa24 100644 --- a/plotly/validators/frame/_data.py +++ b/plotly/validators/frame/_data.py @@ -7,6 +7,6 @@ def __init__(self, plotly_name='data', parent_name='frame', **kwargs): super(DataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - role='object', + role=kwargs.pop('role', 'object'), **kwargs ) diff --git a/plotly/validators/frame/_group.py b/plotly/validators/frame/_group.py index d6cde6b843d..45194dc427e 100644 --- a/plotly/validators/frame/_group.py +++ b/plotly/validators/frame/_group.py @@ -7,6 +7,6 @@ def __init__(self, plotly_name='group', parent_name='frame', **kwargs): super(GroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - role='info', + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/frame/_layout.py b/plotly/validators/frame/_layout.py index 114362e0484..f95c7c02f2f 100644 --- a/plotly/validators/frame/_layout.py +++ b/plotly/validators/frame/_layout.py @@ -7,6 +7,6 @@ def __init__(self, plotly_name='layout', parent_name='frame', **kwargs): super(LayoutValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - role='object', + role=kwargs.pop('role', 'object'), **kwargs ) diff --git a/plotly/validators/frame/_name.py b/plotly/validators/frame/_name.py index 3a6ea8f0d49..47224bd1e19 100644 --- a/plotly/validators/frame/_name.py +++ b/plotly/validators/frame/_name.py @@ -7,6 +7,6 @@ def __init__(self, plotly_name='name', parent_name='frame', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - role='info', + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/frame/_traces.py b/plotly/validators/frame/_traces.py index c6bb37bbdf8..01c38311edb 100644 --- a/plotly/validators/frame/_traces.py +++ b/plotly/validators/frame/_traces.py @@ -7,6 +7,6 @@ def __init__(self, plotly_name='traces', parent_name='frame', **kwargs): super(TracesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - role='info', + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_autocolorscale.py b/plotly/validators/heatmap/_autocolorscale.py index eeb8525f5f8..4cf503e25da 100644 --- a/plotly/validators/heatmap/_autocolorscale.py +++ b/plotly/validators/heatmap/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_colorbar.py b/plotly/validators/heatmap/_colorbar.py index b9596070cf4..78a98a77750 100644 --- a/plotly/validators/heatmap/_colorbar.py +++ b/plotly/validators/heatmap/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -205,6 +206,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/_colorscale.py b/plotly/validators/heatmap/_colorscale.py index 3a5698c7c24..45d3e8483f9 100644 --- a/plotly/validators/heatmap/_colorscale.py +++ b/plotly/validators/heatmap/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_connectgaps.py b/plotly/validators/heatmap/_connectgaps.py index b20317cc230..ec5b8e250db 100644 --- a/plotly/validators/heatmap/_connectgaps.py +++ b/plotly/validators/heatmap/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_customdata.py b/plotly/validators/heatmap/_customdata.py index d2d73d14618..01322d40628 100644 --- a/plotly/validators/heatmap/_customdata.py +++ b/plotly/validators/heatmap/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/_customdatasrc.py b/plotly/validators/heatmap/_customdatasrc.py index 9d96d44bd05..155d5f91277 100644 --- a/plotly/validators/heatmap/_customdatasrc.py +++ b/plotly/validators/heatmap/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_dx.py b/plotly/validators/heatmap/_dx.py index aa61fe28093..13d9c5efa9f 100644 --- a/plotly/validators/heatmap/_dx.py +++ b/plotly/validators/heatmap/_dx.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='dx', parent_name='heatmap', **kwargs): super(DxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_dy.py b/plotly/validators/heatmap/_dy.py index cbb9456c12d..27b0d714c15 100644 --- a/plotly/validators/heatmap/_dy.py +++ b/plotly/validators/heatmap/_dy.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='dy', parent_name='heatmap', **kwargs): super(DyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_hoverinfo.py b/plotly/validators/heatmap/_hoverinfo.py index 48ee17a5913..3876bdfba57 100644 --- a/plotly/validators/heatmap/_hoverinfo.py +++ b/plotly/validators/heatmap/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_hoverinfosrc.py b/plotly/validators/heatmap/_hoverinfosrc.py index ec2926538dc..e628dd2853f 100644 --- a/plotly/validators/heatmap/_hoverinfosrc.py +++ b/plotly/validators/heatmap/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_hoverlabel.py b/plotly/validators/heatmap/_hoverlabel.py index bf39c3408c3..52d1766b54f 100644 --- a/plotly/validators/heatmap/_hoverlabel.py +++ b/plotly/validators/heatmap/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/_ids.py b/plotly/validators/heatmap/_ids.py index 5a7ad01eeba..74607248df1 100644 --- a/plotly/validators/heatmap/_ids.py +++ b/plotly/validators/heatmap/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='heatmap', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/_idssrc.py b/plotly/validators/heatmap/_idssrc.py index 0679807d9e0..2faebe8a396 100644 --- a/plotly/validators/heatmap/_idssrc.py +++ b/plotly/validators/heatmap/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='heatmap', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_legendgroup.py b/plotly/validators/heatmap/_legendgroup.py index bf20c90dd16..526c39be3e3 100644 --- a/plotly/validators/heatmap/_legendgroup.py +++ b/plotly/validators/heatmap/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_name.py b/plotly/validators/heatmap/_name.py index 9fe464959f7..1ede0322ba3 100644 --- a/plotly/validators/heatmap/_name.py +++ b/plotly/validators/heatmap/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='heatmap', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_opacity.py b/plotly/validators/heatmap/_opacity.py index 19cbed91d36..7f77563476f 100644 --- a/plotly/validators/heatmap/_opacity.py +++ b/plotly/validators/heatmap/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='heatmap', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_reversescale.py b/plotly/validators/heatmap/_reversescale.py index 6bb521c6ddb..d0a6845f936 100644 --- a/plotly/validators/heatmap/_reversescale.py +++ b/plotly/validators/heatmap/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_selectedpoints.py b/plotly/validators/heatmap/_selectedpoints.py index 868567bb71d..acb05247448 100644 --- a/plotly/validators/heatmap/_selectedpoints.py +++ b/plotly/validators/heatmap/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_showlegend.py b/plotly/validators/heatmap/_showlegend.py index c17c6040d24..9e147886eb4 100644 --- a/plotly/validators/heatmap/_showlegend.py +++ b/plotly/validators/heatmap/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_showscale.py b/plotly/validators/heatmap/_showscale.py index 6231428718b..596eda69e9d 100644 --- a/plotly/validators/heatmap/_showscale.py +++ b/plotly/validators/heatmap/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_stream.py b/plotly/validators/heatmap/_stream.py index d0d1c3aa4f3..eed539236a8 100644 --- a/plotly/validators/heatmap/_stream.py +++ b/plotly/validators/heatmap/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='heatmap', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='heatmap', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/_text.py b/plotly/validators/heatmap/_text.py index 5d3df6b42d7..01ea1cf1c82 100644 --- a/plotly/validators/heatmap/_text.py +++ b/plotly/validators/heatmap/_text.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='text', parent_name='heatmap', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/_textsrc.py b/plotly/validators/heatmap/_textsrc.py index a8714262b04..dc8ac7a5c6f 100644 --- a/plotly/validators/heatmap/_textsrc.py +++ b/plotly/validators/heatmap/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='heatmap', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_transpose.py b/plotly/validators/heatmap/_transpose.py index d32d8aa7b78..77ea3eb3fda 100644 --- a/plotly/validators/heatmap/_transpose.py +++ b/plotly/validators/heatmap/_transpose.py @@ -9,7 +9,7 @@ def __init__( super(TransposeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_uid.py b/plotly/validators/heatmap/_uid.py index a0d7d830fea..68db55a3355 100644 --- a/plotly/validators/heatmap/_uid.py +++ b/plotly/validators/heatmap/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='heatmap', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_visible.py b/plotly/validators/heatmap/_visible.py index f0b0d22e798..9c6c7f213c7 100644 --- a/plotly/validators/heatmap/_visible.py +++ b/plotly/validators/heatmap/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='heatmap', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/heatmap/_x.py b/plotly/validators/heatmap/_x.py index afb147e3176..374f6553b9a 100644 --- a/plotly/validators/heatmap/_x.py +++ b/plotly/validators/heatmap/_x.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='x', parent_name='heatmap', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'xtype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/_x0.py b/plotly/validators/heatmap/_x0.py index 7a98e47e8dc..68312c15286 100644 --- a/plotly/validators/heatmap/_x0.py +++ b/plotly/validators/heatmap/_x0.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='x0', parent_name='heatmap', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_xaxis.py b/plotly/validators/heatmap/_xaxis.py index 9c85fe945b3..9e81dd9d9d2 100644 --- a/plotly/validators/heatmap/_xaxis.py +++ b/plotly/validators/heatmap/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='heatmap', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_xcalendar.py b/plotly/validators/heatmap/_xcalendar.py index 47a0136874f..4961b26bc6b 100644 --- a/plotly/validators/heatmap/_xcalendar.py +++ b/plotly/validators/heatmap/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/heatmap/_xgap.py b/plotly/validators/heatmap/_xgap.py index b7390438276..4c308f8418f 100644 --- a/plotly/validators/heatmap/_xgap.py +++ b/plotly/validators/heatmap/_xgap.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xgap', parent_name='heatmap', **kwargs): super(XgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_xsrc.py b/plotly/validators/heatmap/_xsrc.py index b7d5ca69535..87abc207fc5 100644 --- a/plotly/validators/heatmap/_xsrc.py +++ b/plotly/validators/heatmap/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='heatmap', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_xtype.py b/plotly/validators/heatmap/_xtype.py index 8a308e9e797..63d6b605f9e 100644 --- a/plotly/validators/heatmap/_xtype.py +++ b/plotly/validators/heatmap/_xtype.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xtype', parent_name='heatmap', **kwargs): super(XtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/heatmap/_y.py b/plotly/validators/heatmap/_y.py index 0e84e0a699a..168913ae7ca 100644 --- a/plotly/validators/heatmap/_y.py +++ b/plotly/validators/heatmap/_y.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='y', parent_name='heatmap', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'ytype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/_y0.py b/plotly/validators/heatmap/_y0.py index 8bae24f0850..d607ef9b64c 100644 --- a/plotly/validators/heatmap/_y0.py +++ b/plotly/validators/heatmap/_y0.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='y0', parent_name='heatmap', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_yaxis.py b/plotly/validators/heatmap/_yaxis.py index 66d21114339..b418692e626 100644 --- a/plotly/validators/heatmap/_yaxis.py +++ b/plotly/validators/heatmap/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='heatmap', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_ycalendar.py b/plotly/validators/heatmap/_ycalendar.py index f0d31f0c97f..0eea440957a 100644 --- a/plotly/validators/heatmap/_ycalendar.py +++ b/plotly/validators/heatmap/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/heatmap/_ygap.py b/plotly/validators/heatmap/_ygap.py index 69a615b2058..bcc0953d418 100644 --- a/plotly/validators/heatmap/_ygap.py +++ b/plotly/validators/heatmap/_ygap.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='ygap', parent_name='heatmap', **kwargs): super(YgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_ysrc.py b/plotly/validators/heatmap/_ysrc.py index c4708d2c6f7..27653e5a169 100644 --- a/plotly/validators/heatmap/_ysrc.py +++ b/plotly/validators/heatmap/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='heatmap', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_ytype.py b/plotly/validators/heatmap/_ytype.py index 8bbfc647074..dd02fe5df89 100644 --- a/plotly/validators/heatmap/_ytype.py +++ b/plotly/validators/heatmap/_ytype.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='ytype', parent_name='heatmap', **kwargs): super(YtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/heatmap/_z.py b/plotly/validators/heatmap/_z.py index e8cfdb06cba..361b8f8852b 100644 --- a/plotly/validators/heatmap/_z.py +++ b/plotly/validators/heatmap/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='heatmap', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/_zauto.py b/plotly/validators/heatmap/_zauto.py index 7af1e2b9dd2..8d50f114392 100644 --- a/plotly/validators/heatmap/_zauto.py +++ b/plotly/validators/heatmap/_zauto.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zauto', parent_name='heatmap', **kwargs): super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_zhoverformat.py b/plotly/validators/heatmap/_zhoverformat.py index d515b7c86b0..dfe9a64f972 100644 --- a/plotly/validators/heatmap/_zhoverformat.py +++ b/plotly/validators/heatmap/_zhoverformat.py @@ -9,7 +9,7 @@ def __init__( super(ZhoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/_zmax.py b/plotly/validators/heatmap/_zmax.py index 80f1f439733..e0f4e0bcd28 100644 --- a/plotly/validators/heatmap/_zmax.py +++ b/plotly/validators/heatmap/_zmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmax', parent_name='heatmap', **kwargs): super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_zmin.py b/plotly/validators/heatmap/_zmin.py index 4e539c6d378..c02814fc95a 100644 --- a/plotly/validators/heatmap/_zmin.py +++ b/plotly/validators/heatmap/_zmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmin', parent_name='heatmap', **kwargs): super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/_zsmooth.py b/plotly/validators/heatmap/_zsmooth.py index 16258a459a7..651c5425083 100644 --- a/plotly/validators/heatmap/_zsmooth.py +++ b/plotly/validators/heatmap/_zsmooth.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zsmooth', parent_name='heatmap', **kwargs): super(ZsmoothValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fast', 'best', False], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fast', 'best', False]), **kwargs ) diff --git a/plotly/validators/heatmap/_zsrc.py b/plotly/validators/heatmap/_zsrc.py index 7e4dfe8bf11..edd4ac4720e 100644 --- a/plotly/validators/heatmap/_zsrc.py +++ b/plotly/validators/heatmap/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='heatmap', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_bgcolor.py b/plotly/validators/heatmap/colorbar/_bgcolor.py index 7e7e04ca1d7..b7797b798d3 100644 --- a/plotly/validators/heatmap/colorbar/_bgcolor.py +++ b/plotly/validators/heatmap/colorbar/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_bordercolor.py b/plotly/validators/heatmap/colorbar/_bordercolor.py index 218ec705787..140e6487a21 100644 --- a/plotly/validators/heatmap/colorbar/_bordercolor.py +++ b/plotly/validators/heatmap/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_borderwidth.py b/plotly/validators/heatmap/colorbar/_borderwidth.py index a0fd49d4253..86472bd33c6 100644 --- a/plotly/validators/heatmap/colorbar/_borderwidth.py +++ b/plotly/validators/heatmap/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_dtick.py b/plotly/validators/heatmap/colorbar/_dtick.py index 46f346e25de..230f55df6aa 100644 --- a/plotly/validators/heatmap/colorbar/_dtick.py +++ b/plotly/validators/heatmap/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_exponentformat.py b/plotly/validators/heatmap/colorbar/_exponentformat.py index d0e1534bc74..0f881fdf856 100644 --- a/plotly/validators/heatmap/colorbar/_exponentformat.py +++ b/plotly/validators/heatmap/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_len.py b/plotly/validators/heatmap/colorbar/_len.py index 750e67324ea..8e906a8764b 100644 --- a/plotly/validators/heatmap/colorbar/_len.py +++ b/plotly/validators/heatmap/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_lenmode.py b/plotly/validators/heatmap/colorbar/_lenmode.py index e49e9eba88c..c9480b66180 100644 --- a/plotly/validators/heatmap/colorbar/_lenmode.py +++ b/plotly/validators/heatmap/colorbar/_lenmode.py @@ -9,8 +9,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_nticks.py b/plotly/validators/heatmap/colorbar/_nticks.py index 526cc0a3338..dbf6e4a9e04 100644 --- a/plotly/validators/heatmap/colorbar/_nticks.py +++ b/plotly/validators/heatmap/colorbar/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_outlinecolor.py b/plotly/validators/heatmap/colorbar/_outlinecolor.py index e6eb3a185a1..fbc7b58e13f 100644 --- a/plotly/validators/heatmap/colorbar/_outlinecolor.py +++ b/plotly/validators/heatmap/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_outlinewidth.py b/plotly/validators/heatmap/colorbar/_outlinewidth.py index 68771503bf9..7d6e9e514f4 100644 --- a/plotly/validators/heatmap/colorbar/_outlinewidth.py +++ b/plotly/validators/heatmap/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_separatethousands.py b/plotly/validators/heatmap/colorbar/_separatethousands.py index a00edad756e..e5bf8594118 100644 --- a/plotly/validators/heatmap/colorbar/_separatethousands.py +++ b/plotly/validators/heatmap/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_showexponent.py b/plotly/validators/heatmap/colorbar/_showexponent.py index 7f46e4361fc..39b936a62e8 100644 --- a/plotly/validators/heatmap/colorbar/_showexponent.py +++ b/plotly/validators/heatmap/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_showticklabels.py b/plotly/validators/heatmap/colorbar/_showticklabels.py index b978be91032..91ad7c090f9 100644 --- a/plotly/validators/heatmap/colorbar/_showticklabels.py +++ b/plotly/validators/heatmap/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_showtickprefix.py b/plotly/validators/heatmap/colorbar/_showtickprefix.py index 90d0b44529d..38af89a09b3 100644 --- a/plotly/validators/heatmap/colorbar/_showtickprefix.py +++ b/plotly/validators/heatmap/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_showticksuffix.py b/plotly/validators/heatmap/colorbar/_showticksuffix.py index 65daca04705..f7cfe17da61 100644 --- a/plotly/validators/heatmap/colorbar/_showticksuffix.py +++ b/plotly/validators/heatmap/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_thickness.py b/plotly/validators/heatmap/colorbar/_thickness.py index af54f9fa964..788a7145bed 100644 --- a/plotly/validators/heatmap/colorbar/_thickness.py +++ b/plotly/validators/heatmap/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_thicknessmode.py b/plotly/validators/heatmap/colorbar/_thicknessmode.py index e52b29bd311..2f172bb6c73 100644 --- a/plotly/validators/heatmap/colorbar/_thicknessmode.py +++ b/plotly/validators/heatmap/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tick0.py b/plotly/validators/heatmap/colorbar/_tick0.py index a6737076c5f..ac0777db56e 100644 --- a/plotly/validators/heatmap/colorbar/_tick0.py +++ b/plotly/validators/heatmap/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickangle.py b/plotly/validators/heatmap/colorbar/_tickangle.py index 8575acb85f6..10535fcfda4 100644 --- a/plotly/validators/heatmap/colorbar/_tickangle.py +++ b/plotly/validators/heatmap/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickcolor.py b/plotly/validators/heatmap/colorbar/_tickcolor.py index 5df1535c35c..a1111547a44 100644 --- a/plotly/validators/heatmap/colorbar/_tickcolor.py +++ b/plotly/validators/heatmap/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickfont.py b/plotly/validators/heatmap/colorbar/_tickfont.py index 4a0cb18d69e..ca4f1ed8804 100644 --- a/plotly/validators/heatmap/colorbar/_tickfont.py +++ b/plotly/validators/heatmap/colorbar/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickformat.py b/plotly/validators/heatmap/colorbar/_tickformat.py index 606819a5a12..ccf1a3d90fe 100644 --- a/plotly/validators/heatmap/colorbar/_tickformat.py +++ b/plotly/validators/heatmap/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickformatstops.py b/plotly/validators/heatmap/colorbar/_tickformatstops.py index 6b555882477..ad802116300 100644 --- a/plotly/validators/heatmap/colorbar/_tickformatstops.py +++ b/plotly/validators/heatmap/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_ticklen.py b/plotly/validators/heatmap/colorbar/_ticklen.py index 5e620c3b4de..c44289286e1 100644 --- a/plotly/validators/heatmap/colorbar/_ticklen.py +++ b/plotly/validators/heatmap/colorbar/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickmode.py b/plotly/validators/heatmap/colorbar/_tickmode.py index 33b68137354..b38a47cdccd 100644 --- a/plotly/validators/heatmap/colorbar/_tickmode.py +++ b/plotly/validators/heatmap/colorbar/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickprefix.py b/plotly/validators/heatmap/colorbar/_tickprefix.py index 8f588119942..bb3aff0d5ed 100644 --- a/plotly/validators/heatmap/colorbar/_tickprefix.py +++ b/plotly/validators/heatmap/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_ticks.py b/plotly/validators/heatmap/colorbar/_ticks.py index 9b07e7903fd..29166ce9e8a 100644 --- a/plotly/validators/heatmap/colorbar/_ticks.py +++ b/plotly/validators/heatmap/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_ticksuffix.py b/plotly/validators/heatmap/colorbar/_ticksuffix.py index 5cd29ae7c33..09e63ad266c 100644 --- a/plotly/validators/heatmap/colorbar/_ticksuffix.py +++ b/plotly/validators/heatmap/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_ticktext.py b/plotly/validators/heatmap/colorbar/_ticktext.py index 88f1eb4fe05..aa26a3c9520 100644 --- a/plotly/validators/heatmap/colorbar/_ticktext.py +++ b/plotly/validators/heatmap/colorbar/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_ticktextsrc.py b/plotly/validators/heatmap/colorbar/_ticktextsrc.py index e37e0722330..3f6b7244aea 100644 --- a/plotly/validators/heatmap/colorbar/_ticktextsrc.py +++ b/plotly/validators/heatmap/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickvals.py b/plotly/validators/heatmap/colorbar/_tickvals.py index 593861a5126..e0e8b632717 100644 --- a/plotly/validators/heatmap/colorbar/_tickvals.py +++ b/plotly/validators/heatmap/colorbar/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickvalssrc.py b/plotly/validators/heatmap/colorbar/_tickvalssrc.py index 3840bd9ab8c..d0605463af7 100644 --- a/plotly/validators/heatmap/colorbar/_tickvalssrc.py +++ b/plotly/validators/heatmap/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_tickwidth.py b/plotly/validators/heatmap/colorbar/_tickwidth.py index c927441d147..d87341e2eff 100644 --- a/plotly/validators/heatmap/colorbar/_tickwidth.py +++ b/plotly/validators/heatmap/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_title.py b/plotly/validators/heatmap/colorbar/_title.py index b770fbeeb26..706233da190 100644 --- a/plotly/validators/heatmap/colorbar/_title.py +++ b/plotly/validators/heatmap/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_titlefont.py b/plotly/validators/heatmap/colorbar/_titlefont.py index 8a26164c445..cfde9d5186f 100644 --- a/plotly/validators/heatmap/colorbar/_titlefont.py +++ b/plotly/validators/heatmap/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_titleside.py b/plotly/validators/heatmap/colorbar/_titleside.py index 94e3fbf49a6..4e8666beef8 100644 --- a/plotly/validators/heatmap/colorbar/_titleside.py +++ b/plotly/validators/heatmap/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_x.py b/plotly/validators/heatmap/colorbar/_x.py index c9232049f0d..db819362de8 100644 --- a/plotly/validators/heatmap/colorbar/_x.py +++ b/plotly/validators/heatmap/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_xanchor.py b/plotly/validators/heatmap/colorbar/_xanchor.py index a69f6fe1ebc..52ea765f209 100644 --- a/plotly/validators/heatmap/colorbar/_xanchor.py +++ b/plotly/validators/heatmap/colorbar/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_xpad.py b/plotly/validators/heatmap/colorbar/_xpad.py index ff614c51d9f..89b09b74e41 100644 --- a/plotly/validators/heatmap/colorbar/_xpad.py +++ b/plotly/validators/heatmap/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_y.py b/plotly/validators/heatmap/colorbar/_y.py index c512c707292..3e31dc57aba 100644 --- a/plotly/validators/heatmap/colorbar/_y.py +++ b/plotly/validators/heatmap/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_yanchor.py b/plotly/validators/heatmap/colorbar/_yanchor.py index 1046bce9825..c617b563ec8 100644 --- a/plotly/validators/heatmap/colorbar/_yanchor.py +++ b/plotly/validators/heatmap/colorbar/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/_ypad.py b/plotly/validators/heatmap/colorbar/_ypad.py index 8bc38e79181..6ec5c1e0b2b 100644 --- a/plotly/validators/heatmap/colorbar/_ypad.py +++ b/plotly/validators/heatmap/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickfont/_color.py b/plotly/validators/heatmap/colorbar/tickfont/_color.py index 766b89edf9a..ad5606f817b 100644 --- a/plotly/validators/heatmap/colorbar/tickfont/_color.py +++ b/plotly/validators/heatmap/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickfont/_family.py b/plotly/validators/heatmap/colorbar/tickfont/_family.py index e250589c906..e7d3b949360 100644 --- a/plotly/validators/heatmap/colorbar/tickfont/_family.py +++ b/plotly/validators/heatmap/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickfont/_size.py b/plotly/validators/heatmap/colorbar/tickfont/_size.py index 4181dd849eb..e5ef918aa5a 100644 --- a/plotly/validators/heatmap/colorbar/tickfont/_size.py +++ b/plotly/validators/heatmap/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/heatmap/colorbar/tickformatstop/_dtickrange.py index 8e9668e21ce..dc8258e1526 100644 --- a/plotly/validators/heatmap/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/heatmap/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickformatstop/_enabled.py b/plotly/validators/heatmap/colorbar/tickformatstop/_enabled.py index d103e3473c2..1fbe95feca7 100644 --- a/plotly/validators/heatmap/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/heatmap/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickformatstop/_name.py b/plotly/validators/heatmap/colorbar/tickformatstop/_name.py index e5bd5d47837..3992da2e5a3 100644 --- a/plotly/validators/heatmap/colorbar/tickformatstop/_name.py +++ b/plotly/validators/heatmap/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/heatmap/colorbar/tickformatstop/_templateitemname.py index 9d86f98635c..ab870a08206 100644 --- a/plotly/validators/heatmap/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/heatmap/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/tickformatstop/_value.py b/plotly/validators/heatmap/colorbar/tickformatstop/_value.py index 4830a6be58b..e63caa08913 100644 --- a/plotly/validators/heatmap/colorbar/tickformatstop/_value.py +++ b/plotly/validators/heatmap/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/titlefont/_color.py b/plotly/validators/heatmap/colorbar/titlefont/_color.py index 926d9216975..8aea810d310 100644 --- a/plotly/validators/heatmap/colorbar/titlefont/_color.py +++ b/plotly/validators/heatmap/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/titlefont/_family.py b/plotly/validators/heatmap/colorbar/titlefont/_family.py index b061248b315..a56bd91984b 100644 --- a/plotly/validators/heatmap/colorbar/titlefont/_family.py +++ b/plotly/validators/heatmap/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmap/colorbar/titlefont/_size.py b/plotly/validators/heatmap/colorbar/titlefont/_size.py index 5ee5311acda..e4581fef93e 100644 --- a/plotly/validators/heatmap/colorbar/titlefont/_size.py +++ b/plotly/validators/heatmap/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_bgcolor.py b/plotly/validators/heatmap/hoverlabel/_bgcolor.py index d90596b6f9a..e10d2cdfcc3 100644 --- a/plotly/validators/heatmap/hoverlabel/_bgcolor.py +++ b/plotly/validators/heatmap/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_bgcolorsrc.py b/plotly/validators/heatmap/hoverlabel/_bgcolorsrc.py index 318eeff63ee..5f44c6e9279 100644 --- a/plotly/validators/heatmap/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/heatmap/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_bordercolor.py b/plotly/validators/heatmap/hoverlabel/_bordercolor.py index 81c4a4cb18d..f200d60d43e 100644 --- a/plotly/validators/heatmap/hoverlabel/_bordercolor.py +++ b/plotly/validators/heatmap/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_bordercolorsrc.py b/plotly/validators/heatmap/hoverlabel/_bordercolorsrc.py index 6b48d5dfe08..02cf30845b2 100644 --- a/plotly/validators/heatmap/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/heatmap/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_font.py b/plotly/validators/heatmap/hoverlabel/_font.py index 2a988aa27a2..07c1414f571 100644 --- a/plotly/validators/heatmap/hoverlabel/_font.py +++ b/plotly/validators/heatmap/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_namelength.py b/plotly/validators/heatmap/hoverlabel/_namelength.py index 5bdb8b785c2..2daba3115ba 100644 --- a/plotly/validators/heatmap/hoverlabel/_namelength.py +++ b/plotly/validators/heatmap/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/_namelengthsrc.py b/plotly/validators/heatmap/hoverlabel/_namelengthsrc.py index 9ae670f8909..fc6bbcadb63 100644 --- a/plotly/validators/heatmap/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/heatmap/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/font/_color.py b/plotly/validators/heatmap/hoverlabel/font/_color.py index 756c9d64528..208cb013fe0 100644 --- a/plotly/validators/heatmap/hoverlabel/font/_color.py +++ b/plotly/validators/heatmap/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/font/_colorsrc.py b/plotly/validators/heatmap/hoverlabel/font/_colorsrc.py index 61e4df785c9..46b33dae4b2 100644 --- a/plotly/validators/heatmap/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/heatmap/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/font/_family.py b/plotly/validators/heatmap/hoverlabel/font/_family.py index 7c23bb8a770..bd5904530a1 100644 --- a/plotly/validators/heatmap/hoverlabel/font/_family.py +++ b/plotly/validators/heatmap/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/font/_familysrc.py b/plotly/validators/heatmap/hoverlabel/font/_familysrc.py index a750a08eb41..72073bba6a8 100644 --- a/plotly/validators/heatmap/hoverlabel/font/_familysrc.py +++ b/plotly/validators/heatmap/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/font/_size.py b/plotly/validators/heatmap/hoverlabel/font/_size.py index 9efab6e2b89..42e3dd66095 100644 --- a/plotly/validators/heatmap/hoverlabel/font/_size.py +++ b/plotly/validators/heatmap/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmap/hoverlabel/font/_sizesrc.py b/plotly/validators/heatmap/hoverlabel/font/_sizesrc.py index 602b465738b..ea86e86024b 100644 --- a/plotly/validators/heatmap/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/heatmap/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/stream/_maxpoints.py b/plotly/validators/heatmap/stream/_maxpoints.py index b180c104aaa..70b272b44f4 100644 --- a/plotly/validators/heatmap/stream/_maxpoints.py +++ b/plotly/validators/heatmap/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmap/stream/_token.py b/plotly/validators/heatmap/stream/_token.py index a991133b558..e2d0be31b93 100644 --- a/plotly/validators/heatmap/stream/_token.py +++ b/plotly/validators/heatmap/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmapgl/_autocolorscale.py b/plotly/validators/heatmapgl/_autocolorscale.py index cf8c611e1b5..0cf4cd379c9 100644 --- a/plotly/validators/heatmapgl/_autocolorscale.py +++ b/plotly/validators/heatmapgl/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_colorbar.py b/plotly/validators/heatmapgl/_colorbar.py index d492fb5e780..dd795866c08 100644 --- a/plotly/validators/heatmapgl/_colorbar.py +++ b/plotly/validators/heatmapgl/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/_colorscale.py b/plotly/validators/heatmapgl/_colorscale.py index 5f22d4d0118..8bc09e7347f 100644 --- a/plotly/validators/heatmapgl/_colorscale.py +++ b/plotly/validators/heatmapgl/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_customdata.py b/plotly/validators/heatmapgl/_customdata.py index 0ec94590a89..8af3787b8b9 100644 --- a/plotly/validators/heatmapgl/_customdata.py +++ b/plotly/validators/heatmapgl/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_customdatasrc.py b/plotly/validators/heatmapgl/_customdatasrc.py index 530e5eaff8f..4152ba80d12 100644 --- a/plotly/validators/heatmapgl/_customdatasrc.py +++ b/plotly/validators/heatmapgl/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_dx.py b/plotly/validators/heatmapgl/_dx.py index 4dc3a79ade6..81b0a3cef60 100644 --- a/plotly/validators/heatmapgl/_dx.py +++ b/plotly/validators/heatmapgl/_dx.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='dx', parent_name='heatmapgl', **kwargs): super(DxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_dy.py b/plotly/validators/heatmapgl/_dy.py index b7fb189ce10..cfd2c9259ad 100644 --- a/plotly/validators/heatmapgl/_dy.py +++ b/plotly/validators/heatmapgl/_dy.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='dy', parent_name='heatmapgl', **kwargs): super(DyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_hoverinfo.py b/plotly/validators/heatmapgl/_hoverinfo.py index 9bfbc06ad9b..1ec4e5652c6 100644 --- a/plotly/validators/heatmapgl/_hoverinfo.py +++ b/plotly/validators/heatmapgl/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_hoverinfosrc.py b/plotly/validators/heatmapgl/_hoverinfosrc.py index b1a241795b1..fe70916b2d0 100644 --- a/plotly/validators/heatmapgl/_hoverinfosrc.py +++ b/plotly/validators/heatmapgl/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_hoverlabel.py b/plotly/validators/heatmapgl/_hoverlabel.py index 76f8debe78a..34d4af469e9 100644 --- a/plotly/validators/heatmapgl/_hoverlabel.py +++ b/plotly/validators/heatmapgl/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/_ids.py b/plotly/validators/heatmapgl/_ids.py index 7c77cac1480..1e8eb5423b7 100644 --- a/plotly/validators/heatmapgl/_ids.py +++ b/plotly/validators/heatmapgl/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='heatmapgl', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_idssrc.py b/plotly/validators/heatmapgl/_idssrc.py index 150b61facdc..25dfbb147af 100644 --- a/plotly/validators/heatmapgl/_idssrc.py +++ b/plotly/validators/heatmapgl/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_legendgroup.py b/plotly/validators/heatmapgl/_legendgroup.py index 38359cf4aa6..245d382447e 100644 --- a/plotly/validators/heatmapgl/_legendgroup.py +++ b/plotly/validators/heatmapgl/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_name.py b/plotly/validators/heatmapgl/_name.py index 22f5628792c..4c3cb6af4c0 100644 --- a/plotly/validators/heatmapgl/_name.py +++ b/plotly/validators/heatmapgl/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='heatmapgl', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_opacity.py b/plotly/validators/heatmapgl/_opacity.py index 5ba844fc455..ec57cd8426a 100644 --- a/plotly/validators/heatmapgl/_opacity.py +++ b/plotly/validators/heatmapgl/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_reversescale.py b/plotly/validators/heatmapgl/_reversescale.py index 7ba5b888675..448a5900840 100644 --- a/plotly/validators/heatmapgl/_reversescale.py +++ b/plotly/validators/heatmapgl/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_selectedpoints.py b/plotly/validators/heatmapgl/_selectedpoints.py index 2b825c9a1c3..5be6870cda7 100644 --- a/plotly/validators/heatmapgl/_selectedpoints.py +++ b/plotly/validators/heatmapgl/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_showlegend.py b/plotly/validators/heatmapgl/_showlegend.py index 5cedd6f4068..86b8eb21798 100644 --- a/plotly/validators/heatmapgl/_showlegend.py +++ b/plotly/validators/heatmapgl/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_showscale.py b/plotly/validators/heatmapgl/_showscale.py index 38aca07b456..e08bde20445 100644 --- a/plotly/validators/heatmapgl/_showscale.py +++ b/plotly/validators/heatmapgl/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_stream.py b/plotly/validators/heatmapgl/_stream.py index 7f579fbdd1d..84e675ff73c 100644 --- a/plotly/validators/heatmapgl/_stream.py +++ b/plotly/validators/heatmapgl/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/_text.py b/plotly/validators/heatmapgl/_text.py index 9a2da2ced4c..fcae95d4a46 100644 --- a/plotly/validators/heatmapgl/_text.py +++ b/plotly/validators/heatmapgl/_text.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='text', parent_name='heatmapgl', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_textsrc.py b/plotly/validators/heatmapgl/_textsrc.py index 8f4bd365099..40868a648c3 100644 --- a/plotly/validators/heatmapgl/_textsrc.py +++ b/plotly/validators/heatmapgl/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_transpose.py b/plotly/validators/heatmapgl/_transpose.py index 10e3559eb88..ae5ca953fc4 100644 --- a/plotly/validators/heatmapgl/_transpose.py +++ b/plotly/validators/heatmapgl/_transpose.py @@ -9,7 +9,7 @@ def __init__( super(TransposeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_uid.py b/plotly/validators/heatmapgl/_uid.py index 38c23919d73..ba0dc3254cb 100644 --- a/plotly/validators/heatmapgl/_uid.py +++ b/plotly/validators/heatmapgl/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='heatmapgl', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_visible.py b/plotly/validators/heatmapgl/_visible.py index f060fec1d30..8fb63b2878d 100644 --- a/plotly/validators/heatmapgl/_visible.py +++ b/plotly/validators/heatmapgl/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/heatmapgl/_x.py b/plotly/validators/heatmapgl/_x.py index 37233b6f0c7..4e4c6e88682 100644 --- a/plotly/validators/heatmapgl/_x.py +++ b/plotly/validators/heatmapgl/_x.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='x', parent_name='heatmapgl', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'xtype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_x0.py b/plotly/validators/heatmapgl/_x0.py index 1781eb56c04..efb44492d3b 100644 --- a/plotly/validators/heatmapgl/_x0.py +++ b/plotly/validators/heatmapgl/_x0.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='x0', parent_name='heatmapgl', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'xtype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'xtype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_xaxis.py b/plotly/validators/heatmapgl/_xaxis.py index b9d28d0660c..244699c4363 100644 --- a/plotly/validators/heatmapgl/_xaxis.py +++ b/plotly/validators/heatmapgl/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='heatmapgl', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_xsrc.py b/plotly/validators/heatmapgl/_xsrc.py index 601903910b1..dff524e827d 100644 --- a/plotly/validators/heatmapgl/_xsrc.py +++ b/plotly/validators/heatmapgl/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='heatmapgl', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_xtype.py b/plotly/validators/heatmapgl/_xtype.py index 8c2698dd0d6..1b7f6c928fd 100644 --- a/plotly/validators/heatmapgl/_xtype.py +++ b/plotly/validators/heatmapgl/_xtype.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xtype', parent_name='heatmapgl', **kwargs): super(XtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/heatmapgl/_y.py b/plotly/validators/heatmapgl/_y.py index 6a48bed5450..7c4aedd0a60 100644 --- a/plotly/validators/heatmapgl/_y.py +++ b/plotly/validators/heatmapgl/_y.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='y', parent_name='heatmapgl', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'ytype': 'array'}, - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'array'}), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_y0.py b/plotly/validators/heatmapgl/_y0.py index 4d3aa1040f4..554b9d951f2 100644 --- a/plotly/validators/heatmapgl/_y0.py +++ b/plotly/validators/heatmapgl/_y0.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='y0', parent_name='heatmapgl', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'ytype': 'scaled'}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'ytype': 'scaled'}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_yaxis.py b/plotly/validators/heatmapgl/_yaxis.py index e6a87606690..9755e392f38 100644 --- a/plotly/validators/heatmapgl/_yaxis.py +++ b/plotly/validators/heatmapgl/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='heatmapgl', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_ysrc.py b/plotly/validators/heatmapgl/_ysrc.py index 922fa703c0c..9cb7ab3f804 100644 --- a/plotly/validators/heatmapgl/_ysrc.py +++ b/plotly/validators/heatmapgl/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='heatmapgl', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_ytype.py b/plotly/validators/heatmapgl/_ytype.py index 2f10a0cb260..c5606c3c78f 100644 --- a/plotly/validators/heatmapgl/_ytype.py +++ b/plotly/validators/heatmapgl/_ytype.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='ytype', parent_name='heatmapgl', **kwargs): super(YtypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['array', 'scaled'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['array', 'scaled']), **kwargs ) diff --git a/plotly/validators/heatmapgl/_z.py b/plotly/validators/heatmapgl/_z.py index f93963fb7e5..05aecbabf3d 100644 --- a/plotly/validators/heatmapgl/_z.py +++ b/plotly/validators/heatmapgl/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='heatmapgl', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_zauto.py b/plotly/validators/heatmapgl/_zauto.py index 02149899415..035e30d72f3 100644 --- a/plotly/validators/heatmapgl/_zauto.py +++ b/plotly/validators/heatmapgl/_zauto.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zauto', parent_name='heatmapgl', **kwargs): super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_zmax.py b/plotly/validators/heatmapgl/_zmax.py index 954481a1c1f..52c2039ad7b 100644 --- a/plotly/validators/heatmapgl/_zmax.py +++ b/plotly/validators/heatmapgl/_zmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmax', parent_name='heatmapgl', **kwargs): super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_zmin.py b/plotly/validators/heatmapgl/_zmin.py index eefdbad3e67..ae9574a4272 100644 --- a/plotly/validators/heatmapgl/_zmin.py +++ b/plotly/validators/heatmapgl/_zmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='zmin', parent_name='heatmapgl', **kwargs): super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/_zsrc.py b/plotly/validators/heatmapgl/_zsrc.py index ccddf177624..be835f4d920 100644 --- a/plotly/validators/heatmapgl/_zsrc.py +++ b/plotly/validators/heatmapgl/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='heatmapgl', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_bgcolor.py b/plotly/validators/heatmapgl/colorbar/_bgcolor.py index 96737cd0bb4..3a3ef5033b8 100644 --- a/plotly/validators/heatmapgl/colorbar/_bgcolor.py +++ b/plotly/validators/heatmapgl/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_bordercolor.py b/plotly/validators/heatmapgl/colorbar/_bordercolor.py index 62692a3bf4e..1ce127a57ac 100644 --- a/plotly/validators/heatmapgl/colorbar/_bordercolor.py +++ b/plotly/validators/heatmapgl/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_borderwidth.py b/plotly/validators/heatmapgl/colorbar/_borderwidth.py index 840708eae93..d5bfb42ebfc 100644 --- a/plotly/validators/heatmapgl/colorbar/_borderwidth.py +++ b/plotly/validators/heatmapgl/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_dtick.py b/plotly/validators/heatmapgl/colorbar/_dtick.py index 97172ff7175..a516ff78652 100644 --- a/plotly/validators/heatmapgl/colorbar/_dtick.py +++ b/plotly/validators/heatmapgl/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_exponentformat.py b/plotly/validators/heatmapgl/colorbar/_exponentformat.py index 52ac3bb05a6..8c937f60080 100644 --- a/plotly/validators/heatmapgl/colorbar/_exponentformat.py +++ b/plotly/validators/heatmapgl/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_len.py b/plotly/validators/heatmapgl/colorbar/_len.py index 5283198083c..6b089e7e36b 100644 --- a/plotly/validators/heatmapgl/colorbar/_len.py +++ b/plotly/validators/heatmapgl/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_lenmode.py b/plotly/validators/heatmapgl/colorbar/_lenmode.py index aa1a5bdd920..364684b287b 100644 --- a/plotly/validators/heatmapgl/colorbar/_lenmode.py +++ b/plotly/validators/heatmapgl/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_nticks.py b/plotly/validators/heatmapgl/colorbar/_nticks.py index 381e625da65..fd994673f1c 100644 --- a/plotly/validators/heatmapgl/colorbar/_nticks.py +++ b/plotly/validators/heatmapgl/colorbar/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_outlinecolor.py b/plotly/validators/heatmapgl/colorbar/_outlinecolor.py index ef5341223be..fee7b64ccc1 100644 --- a/plotly/validators/heatmapgl/colorbar/_outlinecolor.py +++ b/plotly/validators/heatmapgl/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_outlinewidth.py b/plotly/validators/heatmapgl/colorbar/_outlinewidth.py index 9d5406a9e96..a3ea6641b1d 100644 --- a/plotly/validators/heatmapgl/colorbar/_outlinewidth.py +++ b/plotly/validators/heatmapgl/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_separatethousands.py b/plotly/validators/heatmapgl/colorbar/_separatethousands.py index cf0dcf8ff92..abb39d5e165 100644 --- a/plotly/validators/heatmapgl/colorbar/_separatethousands.py +++ b/plotly/validators/heatmapgl/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_showexponent.py b/plotly/validators/heatmapgl/colorbar/_showexponent.py index c53716a67fb..a40f3a25650 100644 --- a/plotly/validators/heatmapgl/colorbar/_showexponent.py +++ b/plotly/validators/heatmapgl/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_showticklabels.py b/plotly/validators/heatmapgl/colorbar/_showticklabels.py index 6707f750361..281a7340e92 100644 --- a/plotly/validators/heatmapgl/colorbar/_showticklabels.py +++ b/plotly/validators/heatmapgl/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_showtickprefix.py b/plotly/validators/heatmapgl/colorbar/_showtickprefix.py index 55d20b61a4e..84f283eb60c 100644 --- a/plotly/validators/heatmapgl/colorbar/_showtickprefix.py +++ b/plotly/validators/heatmapgl/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_showticksuffix.py b/plotly/validators/heatmapgl/colorbar/_showticksuffix.py index a29d7184735..11dfa933ca3 100644 --- a/plotly/validators/heatmapgl/colorbar/_showticksuffix.py +++ b/plotly/validators/heatmapgl/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_thickness.py b/plotly/validators/heatmapgl/colorbar/_thickness.py index 7e8ecabc061..54b88106dd2 100644 --- a/plotly/validators/heatmapgl/colorbar/_thickness.py +++ b/plotly/validators/heatmapgl/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_thicknessmode.py b/plotly/validators/heatmapgl/colorbar/_thicknessmode.py index b2839ae79f7..51812c1e38c 100644 --- a/plotly/validators/heatmapgl/colorbar/_thicknessmode.py +++ b/plotly/validators/heatmapgl/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tick0.py b/plotly/validators/heatmapgl/colorbar/_tick0.py index 44d55ecd1ea..b01623ccd89 100644 --- a/plotly/validators/heatmapgl/colorbar/_tick0.py +++ b/plotly/validators/heatmapgl/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickangle.py b/plotly/validators/heatmapgl/colorbar/_tickangle.py index 7aea76ddd0e..8df85dc3455 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickangle.py +++ b/plotly/validators/heatmapgl/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickcolor.py b/plotly/validators/heatmapgl/colorbar/_tickcolor.py index e9fa4d8ddcf..cb182488d44 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickcolor.py +++ b/plotly/validators/heatmapgl/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickfont.py b/plotly/validators/heatmapgl/colorbar/_tickfont.py index 5a5cd2ddb4a..6b9086b6b4c 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickfont.py +++ b/plotly/validators/heatmapgl/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickformat.py b/plotly/validators/heatmapgl/colorbar/_tickformat.py index 6183f33fa5e..4c0fe855bf8 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickformat.py +++ b/plotly/validators/heatmapgl/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickformatstops.py b/plotly/validators/heatmapgl/colorbar/_tickformatstops.py index 02755fd93b3..99fe709e833 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickformatstops.py +++ b/plotly/validators/heatmapgl/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_ticklen.py b/plotly/validators/heatmapgl/colorbar/_ticklen.py index e91df806db1..ca7050ca930 100644 --- a/plotly/validators/heatmapgl/colorbar/_ticklen.py +++ b/plotly/validators/heatmapgl/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickmode.py b/plotly/validators/heatmapgl/colorbar/_tickmode.py index 340680c39a4..b7e47df781e 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickmode.py +++ b/plotly/validators/heatmapgl/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickprefix.py b/plotly/validators/heatmapgl/colorbar/_tickprefix.py index 24d2069320a..ea581c907d5 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickprefix.py +++ b/plotly/validators/heatmapgl/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_ticks.py b/plotly/validators/heatmapgl/colorbar/_ticks.py index 5031ccfedf3..72a396e2f06 100644 --- a/plotly/validators/heatmapgl/colorbar/_ticks.py +++ b/plotly/validators/heatmapgl/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_ticksuffix.py b/plotly/validators/heatmapgl/colorbar/_ticksuffix.py index 155237ffbe5..a86d255500e 100644 --- a/plotly/validators/heatmapgl/colorbar/_ticksuffix.py +++ b/plotly/validators/heatmapgl/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_ticktext.py b/plotly/validators/heatmapgl/colorbar/_ticktext.py index 06b1018e2a8..8422d22ac28 100644 --- a/plotly/validators/heatmapgl/colorbar/_ticktext.py +++ b/plotly/validators/heatmapgl/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_ticktextsrc.py b/plotly/validators/heatmapgl/colorbar/_ticktextsrc.py index 0d5ef37a2d7..c8f1558071d 100644 --- a/plotly/validators/heatmapgl/colorbar/_ticktextsrc.py +++ b/plotly/validators/heatmapgl/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickvals.py b/plotly/validators/heatmapgl/colorbar/_tickvals.py index c3f245faae6..b8fd6359de3 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickvals.py +++ b/plotly/validators/heatmapgl/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickvalssrc.py b/plotly/validators/heatmapgl/colorbar/_tickvalssrc.py index 1bb4db08619..38b0070481a 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickvalssrc.py +++ b/plotly/validators/heatmapgl/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_tickwidth.py b/plotly/validators/heatmapgl/colorbar/_tickwidth.py index 28593a50d54..39fb9c2886b 100644 --- a/plotly/validators/heatmapgl/colorbar/_tickwidth.py +++ b/plotly/validators/heatmapgl/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_title.py b/plotly/validators/heatmapgl/colorbar/_title.py index 32444cc9830..179117abb9c 100644 --- a/plotly/validators/heatmapgl/colorbar/_title.py +++ b/plotly/validators/heatmapgl/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_titlefont.py b/plotly/validators/heatmapgl/colorbar/_titlefont.py index a65919729c2..45d625171d1 100644 --- a/plotly/validators/heatmapgl/colorbar/_titlefont.py +++ b/plotly/validators/heatmapgl/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_titleside.py b/plotly/validators/heatmapgl/colorbar/_titleside.py index 02219ec411f..9b57bf1228a 100644 --- a/plotly/validators/heatmapgl/colorbar/_titleside.py +++ b/plotly/validators/heatmapgl/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_x.py b/plotly/validators/heatmapgl/colorbar/_x.py index 292cb1d2574..22e043300a5 100644 --- a/plotly/validators/heatmapgl/colorbar/_x.py +++ b/plotly/validators/heatmapgl/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_xanchor.py b/plotly/validators/heatmapgl/colorbar/_xanchor.py index c0cd2f02807..93412a1d4cd 100644 --- a/plotly/validators/heatmapgl/colorbar/_xanchor.py +++ b/plotly/validators/heatmapgl/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_xpad.py b/plotly/validators/heatmapgl/colorbar/_xpad.py index f6b8dbd5377..b29dac35810 100644 --- a/plotly/validators/heatmapgl/colorbar/_xpad.py +++ b/plotly/validators/heatmapgl/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_y.py b/plotly/validators/heatmapgl/colorbar/_y.py index bdcc2192a44..66e6197ac0b 100644 --- a/plotly/validators/heatmapgl/colorbar/_y.py +++ b/plotly/validators/heatmapgl/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_yanchor.py b/plotly/validators/heatmapgl/colorbar/_yanchor.py index 427feb9cadb..afef9f9e4b5 100644 --- a/plotly/validators/heatmapgl/colorbar/_yanchor.py +++ b/plotly/validators/heatmapgl/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/_ypad.py b/plotly/validators/heatmapgl/colorbar/_ypad.py index 3c3fad021f2..dd2821cad6b 100644 --- a/plotly/validators/heatmapgl/colorbar/_ypad.py +++ b/plotly/validators/heatmapgl/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickfont/_color.py b/plotly/validators/heatmapgl/colorbar/tickfont/_color.py index 4e2bd16e709..f1c3cec4b91 100644 --- a/plotly/validators/heatmapgl/colorbar/tickfont/_color.py +++ b/plotly/validators/heatmapgl/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickfont/_family.py b/plotly/validators/heatmapgl/colorbar/tickfont/_family.py index ff3c0681f00..b78bc12d610 100644 --- a/plotly/validators/heatmapgl/colorbar/tickfont/_family.py +++ b/plotly/validators/heatmapgl/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickfont/_size.py b/plotly/validators/heatmapgl/colorbar/tickfont/_size.py index 1286afc65f6..cc403f0762b 100644 --- a/plotly/validators/heatmapgl/colorbar/tickfont/_size.py +++ b/plotly/validators/heatmapgl/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/heatmapgl/colorbar/tickformatstop/_dtickrange.py index ebea0fb6260..b96801285f3 100644 --- a/plotly/validators/heatmapgl/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/heatmapgl/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickformatstop/_enabled.py b/plotly/validators/heatmapgl/colorbar/tickformatstop/_enabled.py index c034d5897c1..ba13a0737ed 100644 --- a/plotly/validators/heatmapgl/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/heatmapgl/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickformatstop/_name.py b/plotly/validators/heatmapgl/colorbar/tickformatstop/_name.py index 294f7a67822..42173a0ae98 100644 --- a/plotly/validators/heatmapgl/colorbar/tickformatstop/_name.py +++ b/plotly/validators/heatmapgl/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/heatmapgl/colorbar/tickformatstop/_templateitemname.py index 00e95e58ebf..165b57dd7f7 100644 --- a/plotly/validators/heatmapgl/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/heatmapgl/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/tickformatstop/_value.py b/plotly/validators/heatmapgl/colorbar/tickformatstop/_value.py index 5005d6f7f3f..7ffda4b9e2d 100644 --- a/plotly/validators/heatmapgl/colorbar/tickformatstop/_value.py +++ b/plotly/validators/heatmapgl/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/titlefont/_color.py b/plotly/validators/heatmapgl/colorbar/titlefont/_color.py index 4bd65828d4b..2214af7c20a 100644 --- a/plotly/validators/heatmapgl/colorbar/titlefont/_color.py +++ b/plotly/validators/heatmapgl/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/titlefont/_family.py b/plotly/validators/heatmapgl/colorbar/titlefont/_family.py index 8b2c483aa8f..0c228768b65 100644 --- a/plotly/validators/heatmapgl/colorbar/titlefont/_family.py +++ b/plotly/validators/heatmapgl/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmapgl/colorbar/titlefont/_size.py b/plotly/validators/heatmapgl/colorbar/titlefont/_size.py index 4121f5cd632..6973b15da88 100644 --- a/plotly/validators/heatmapgl/colorbar/titlefont/_size.py +++ b/plotly/validators/heatmapgl/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_bgcolor.py b/plotly/validators/heatmapgl/hoverlabel/_bgcolor.py index 17b45015fc5..9b28eeac8e8 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_bgcolor.py +++ b/plotly/validators/heatmapgl/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_bgcolorsrc.py b/plotly/validators/heatmapgl/hoverlabel/_bgcolorsrc.py index 87183fa5f0c..da32cd42dd9 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/heatmapgl/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_bordercolor.py b/plotly/validators/heatmapgl/hoverlabel/_bordercolor.py index 8b23a3d65d0..fbe2971e3f7 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_bordercolor.py +++ b/plotly/validators/heatmapgl/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_bordercolorsrc.py b/plotly/validators/heatmapgl/hoverlabel/_bordercolorsrc.py index ddb13d91fcc..5dfaccc7f32 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/heatmapgl/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_font.py b/plotly/validators/heatmapgl/hoverlabel/_font.py index dd13ab4d87b..f7e7f598ebf 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_font.py +++ b/plotly/validators/heatmapgl/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_namelength.py b/plotly/validators/heatmapgl/hoverlabel/_namelength.py index 5432e334367..a45798e4096 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_namelength.py +++ b/plotly/validators/heatmapgl/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/_namelengthsrc.py b/plotly/validators/heatmapgl/hoverlabel/_namelengthsrc.py index ccc9ced44c6..bd6966c7608 100644 --- a/plotly/validators/heatmapgl/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/heatmapgl/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/font/_color.py b/plotly/validators/heatmapgl/hoverlabel/font/_color.py index 84f4f6d6702..06b81847531 100644 --- a/plotly/validators/heatmapgl/hoverlabel/font/_color.py +++ b/plotly/validators/heatmapgl/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/font/_colorsrc.py b/plotly/validators/heatmapgl/hoverlabel/font/_colorsrc.py index ae8a3d648cb..f55bda367f9 100644 --- a/plotly/validators/heatmapgl/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/heatmapgl/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/font/_family.py b/plotly/validators/heatmapgl/hoverlabel/font/_family.py index 04878cf7997..0527bfd5753 100644 --- a/plotly/validators/heatmapgl/hoverlabel/font/_family.py +++ b/plotly/validators/heatmapgl/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/font/_familysrc.py b/plotly/validators/heatmapgl/hoverlabel/font/_familysrc.py index a721f3e6f4e..f98e6d65152 100644 --- a/plotly/validators/heatmapgl/hoverlabel/font/_familysrc.py +++ b/plotly/validators/heatmapgl/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/font/_size.py b/plotly/validators/heatmapgl/hoverlabel/font/_size.py index 75db2ae2757..c964dd3f6d9 100644 --- a/plotly/validators/heatmapgl/hoverlabel/font/_size.py +++ b/plotly/validators/heatmapgl/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/heatmapgl/hoverlabel/font/_sizesrc.py b/plotly/validators/heatmapgl/hoverlabel/font/_sizesrc.py index 28fb945d68a..2b44d53b241 100644 --- a/plotly/validators/heatmapgl/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/heatmapgl/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/stream/_maxpoints.py b/plotly/validators/heatmapgl/stream/_maxpoints.py index 42c666184bb..0eb4c0a9227 100644 --- a/plotly/validators/heatmapgl/stream/_maxpoints.py +++ b/plotly/validators/heatmapgl/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/heatmapgl/stream/_token.py b/plotly/validators/heatmapgl/stream/_token.py index 025f6c666c7..485697bfb8b 100644 --- a/plotly/validators/heatmapgl/stream/_token.py +++ b/plotly/validators/heatmapgl/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram/_autobinx.py b/plotly/validators/histogram/_autobinx.py index c4c6552daf0..ace3e0b96b9 100644 --- a/plotly/validators/histogram/_autobinx.py +++ b/plotly/validators/histogram/_autobinx.py @@ -9,8 +9,8 @@ def __init__( super(AutobinxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/_autobiny.py b/plotly/validators/histogram/_autobiny.py index 415f81cfe92..2a9bf67d07c 100644 --- a/plotly/validators/histogram/_autobiny.py +++ b/plotly/validators/histogram/_autobiny.py @@ -9,8 +9,8 @@ def __init__( super(AutobinyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/_cumulative.py b/plotly/validators/histogram/_cumulative.py index 8234630f6e2..89c8da4a23f 100644 --- a/plotly/validators/histogram/_cumulative.py +++ b/plotly/validators/histogram/_cumulative.py @@ -9,8 +9,9 @@ def __init__( super(CumulativeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Cumulative', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Cumulative'), + data_docs=kwargs.pop( + 'data_docs', """ currentbin Only applies if cumulative is enabled. Sets whether the current bin is included, excluded, @@ -37,6 +38,7 @@ def __init__( points, and "probability" and *probability density* both rise to the number of sample points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_customdata.py b/plotly/validators/histogram/_customdata.py index b4da0884001..329041bd62a 100644 --- a/plotly/validators/histogram/_customdata.py +++ b/plotly/validators/histogram/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/_customdatasrc.py b/plotly/validators/histogram/_customdatasrc.py index 7da6f8e4915..ba793b20f78 100644 --- a/plotly/validators/histogram/_customdatasrc.py +++ b/plotly/validators/histogram/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_error_x.py b/plotly/validators/histogram/_error_x.py index 6ace5e8d4ed..8def5a1d9b3 100644 --- a/plotly/validators/histogram/_error_x.py +++ b/plotly/validators/histogram/_error_x.py @@ -9,8 +9,9 @@ def __init__( super(ErrorXValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorX', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorX'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -68,6 +69,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_error_y.py b/plotly/validators/histogram/_error_y.py index bd876999478..8e6a1bbdc56 100644 --- a/plotly/validators/histogram/_error_y.py +++ b/plotly/validators/histogram/_error_y.py @@ -9,8 +9,9 @@ def __init__( super(ErrorYValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorY', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorY'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -66,6 +67,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_histfunc.py b/plotly/validators/histogram/_histfunc.py index 88edebaa7c0..5fc3111d2f8 100644 --- a/plotly/validators/histogram/_histfunc.py +++ b/plotly/validators/histogram/_histfunc.py @@ -9,8 +9,8 @@ def __init__( super(HistfuncValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['count', 'sum', 'avg', 'min', 'max'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['count', 'sum', 'avg', 'min', 'max']), **kwargs ) diff --git a/plotly/validators/histogram/_histnorm.py b/plotly/validators/histogram/_histnorm.py index ab3f2999dc8..7139c27b70e 100644 --- a/plotly/validators/histogram/_histnorm.py +++ b/plotly/validators/histogram/_histnorm.py @@ -9,10 +9,13 @@ def __init__( super(HistnormValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - '', 'percent', 'probability', 'density', 'probability density' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + '', 'percent', 'probability', 'density', + 'probability density' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram/_hoverinfo.py b/plotly/validators/histogram/_hoverinfo.py index eb0b3adfd24..03fe1363724 100644 --- a/plotly/validators/histogram/_hoverinfo.py +++ b/plotly/validators/histogram/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_hoverinfosrc.py b/plotly/validators/histogram/_hoverinfosrc.py index 2fd8be468f3..86385c13b67 100644 --- a/plotly/validators/histogram/_hoverinfosrc.py +++ b/plotly/validators/histogram/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_hoverlabel.py b/plotly/validators/histogram/_hoverlabel.py index 3b721440624..100ae22b3d9 100644 --- a/plotly/validators/histogram/_hoverlabel.py +++ b/plotly/validators/histogram/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_ids.py b/plotly/validators/histogram/_ids.py index 09745b32c66..8b1127c768c 100644 --- a/plotly/validators/histogram/_ids.py +++ b/plotly/validators/histogram/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='histogram', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/_idssrc.py b/plotly/validators/histogram/_idssrc.py index dc75f9af721..18bc0c13ea3 100644 --- a/plotly/validators/histogram/_idssrc.py +++ b/plotly/validators/histogram/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_legendgroup.py b/plotly/validators/histogram/_legendgroup.py index 031f934de5d..87d3496145c 100644 --- a/plotly/validators/histogram/_legendgroup.py +++ b/plotly/validators/histogram/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_marker.py b/plotly/validators/histogram/_marker.py index 6a511e19331..41fdf809cfb 100644 --- a/plotly/validators/histogram/_marker.py +++ b/plotly/validators/histogram/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -88,6 +89,7 @@ def __init__( Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_name.py b/plotly/validators/histogram/_name.py index 84288f9e2fc..a1f92cf695c 100644 --- a/plotly/validators/histogram/_name.py +++ b/plotly/validators/histogram/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='histogram', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_nbinsx.py b/plotly/validators/histogram/_nbinsx.py index 0750b2ad214..0da4921452b 100644 --- a/plotly/validators/histogram/_nbinsx.py +++ b/plotly/validators/histogram/_nbinsx.py @@ -9,8 +9,8 @@ def __init__( super(NbinsxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/_nbinsy.py b/plotly/validators/histogram/_nbinsy.py index 0ea60df31c3..b696453181f 100644 --- a/plotly/validators/histogram/_nbinsy.py +++ b/plotly/validators/histogram/_nbinsy.py @@ -9,8 +9,8 @@ def __init__( super(NbinsyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/_opacity.py b/plotly/validators/histogram/_opacity.py index eea056aef6f..68a1adb0fef 100644 --- a/plotly/validators/histogram/_opacity.py +++ b/plotly/validators/histogram/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/_orientation.py b/plotly/validators/histogram/_orientation.py index f2d9f6fd12f..539e36a09b3 100644 --- a/plotly/validators/histogram/_orientation.py +++ b/plotly/validators/histogram/_orientation.py @@ -9,8 +9,8 @@ def __init__( super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['v', 'h'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['v', 'h']), **kwargs ) diff --git a/plotly/validators/histogram/_selected.py b/plotly/validators/histogram/_selected.py index 0cd18931a22..cf11369bab0 100644 --- a/plotly/validators/histogram/_selected.py +++ b/plotly/validators/histogram/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.histogram.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.histogram.selected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_selectedpoints.py b/plotly/validators/histogram/_selectedpoints.py index b9ef78f4daa..c33052b67ec 100644 --- a/plotly/validators/histogram/_selectedpoints.py +++ b/plotly/validators/histogram/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_showlegend.py b/plotly/validators/histogram/_showlegend.py index b46b52c860a..695bc0ab6b5 100644 --- a/plotly/validators/histogram/_showlegend.py +++ b/plotly/validators/histogram/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_stream.py b/plotly/validators/histogram/_stream.py index 4a09a341cf9..21a7ef60847 100644 --- a/plotly/validators/histogram/_stream.py +++ b/plotly/validators/histogram/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_text.py b/plotly/validators/histogram/_text.py index aac667f5fe9..128cff33339 100644 --- a/plotly/validators/histogram/_text.py +++ b/plotly/validators/histogram/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='histogram', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_textsrc.py b/plotly/validators/histogram/_textsrc.py index b8dac50f1a0..acc62b7084e 100644 --- a/plotly/validators/histogram/_textsrc.py +++ b/plotly/validators/histogram/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_uid.py b/plotly/validators/histogram/_uid.py index 7b0aeadbb0c..0ffe6b1b179 100644 --- a/plotly/validators/histogram/_uid.py +++ b/plotly/validators/histogram/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='histogram', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_unselected.py b/plotly/validators/histogram/_unselected.py index 06034e8ad3c..bde2c48fe9c 100644 --- a/plotly/validators/histogram/_unselected.py +++ b/plotly/validators/histogram/_unselected.py @@ -9,14 +9,16 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.histogram.unselected.Marker instance or dict with compatible properties textfont plotly.graph_objs.histogram.unselected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_visible.py b/plotly/validators/histogram/_visible.py index 2b18480256c..403feca22e9 100644 --- a/plotly/validators/histogram/_visible.py +++ b/plotly/validators/histogram/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/histogram/_x.py b/plotly/validators/histogram/_x.py index 226c9f2979e..3ccd0958124 100644 --- a/plotly/validators/histogram/_x.py +++ b/plotly/validators/histogram/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='histogram', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/_xaxis.py b/plotly/validators/histogram/_xaxis.py index e2228e69275..d4e1cf93549 100644 --- a/plotly/validators/histogram/_xaxis.py +++ b/plotly/validators/histogram/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='histogram', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_xbins.py b/plotly/validators/histogram/_xbins.py index d31a8a75344..bbfd90be5d2 100644 --- a/plotly/validators/histogram/_xbins.py +++ b/plotly/validators/histogram/_xbins.py @@ -7,14 +7,16 @@ def __init__(self, plotly_name='xbins', parent_name='histogram', **kwargs): super(XBinsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='XBins', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'XBins'), + data_docs=kwargs.pop( + 'data_docs', """ end Sets the end value for the x axis bins. size Sets the step in-between value each x axis bin. start Sets the starting value for the x axis bins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_xcalendar.py b/plotly/validators/histogram/_xcalendar.py index 51c2e2bfc69..cf878240779 100644 --- a/plotly/validators/histogram/_xcalendar.py +++ b/plotly/validators/histogram/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram/_xsrc.py b/plotly/validators/histogram/_xsrc.py index 96b9b03ff7d..adbc8a10096 100644 --- a/plotly/validators/histogram/_xsrc.py +++ b/plotly/validators/histogram/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='histogram', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_y.py b/plotly/validators/histogram/_y.py index 5289dba6b0f..7bba846d53d 100644 --- a/plotly/validators/histogram/_y.py +++ b/plotly/validators/histogram/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='histogram', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/_yaxis.py b/plotly/validators/histogram/_yaxis.py index 23d116fbca1..92ce6668548 100644 --- a/plotly/validators/histogram/_yaxis.py +++ b/plotly/validators/histogram/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='histogram', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/_ybins.py b/plotly/validators/histogram/_ybins.py index 4f9faf1535f..09a98c9255f 100644 --- a/plotly/validators/histogram/_ybins.py +++ b/plotly/validators/histogram/_ybins.py @@ -7,14 +7,16 @@ def __init__(self, plotly_name='ybins', parent_name='histogram', **kwargs): super(YBinsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='YBins', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'YBins'), + data_docs=kwargs.pop( + 'data_docs', """ end Sets the end value for the y axis bins. size Sets the step in-between value each y axis bin. start Sets the starting value for the y axis bins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/_ycalendar.py b/plotly/validators/histogram/_ycalendar.py index 2a8456a93b8..f1b67334cdc 100644 --- a/plotly/validators/histogram/_ycalendar.py +++ b/plotly/validators/histogram/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram/_ysrc.py b/plotly/validators/histogram/_ysrc.py index 2cdd4d40ce5..3c3599ca7eb 100644 --- a/plotly/validators/histogram/_ysrc.py +++ b/plotly/validators/histogram/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='histogram', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/cumulative/_currentbin.py b/plotly/validators/histogram/cumulative/_currentbin.py index 81591599a54..d409486fa39 100644 --- a/plotly/validators/histogram/cumulative/_currentbin.py +++ b/plotly/validators/histogram/cumulative/_currentbin.py @@ -12,8 +12,8 @@ def __init__( super(CurrentbinValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['include', 'exclude', 'half'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['include', 'exclude', 'half']), **kwargs ) diff --git a/plotly/validators/histogram/cumulative/_direction.py b/plotly/validators/histogram/cumulative/_direction.py index 75fc9e7dd81..fd8668ef25d 100644 --- a/plotly/validators/histogram/cumulative/_direction.py +++ b/plotly/validators/histogram/cumulative/_direction.py @@ -12,8 +12,8 @@ def __init__( super(DirectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['increasing', 'decreasing'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['increasing', 'decreasing']), **kwargs ) diff --git a/plotly/validators/histogram/cumulative/_enabled.py b/plotly/validators/histogram/cumulative/_enabled.py index 5f7eebec6a0..141a8a58ed9 100644 --- a/plotly/validators/histogram/cumulative/_enabled.py +++ b/plotly/validators/histogram/cumulative/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_array.py b/plotly/validators/histogram/error_x/_array.py index d8b3eb7609f..d8c1dd7fbb4 100644 --- a/plotly/validators/histogram/error_x/_array.py +++ b/plotly/validators/histogram/error_x/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_arrayminus.py b/plotly/validators/histogram/error_x/_arrayminus.py index 68163bdd589..9148abf0b52 100644 --- a/plotly/validators/histogram/error_x/_arrayminus.py +++ b/plotly/validators/histogram/error_x/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_arrayminussrc.py b/plotly/validators/histogram/error_x/_arrayminussrc.py index 25cd755d8c8..0108008539d 100644 --- a/plotly/validators/histogram/error_x/_arrayminussrc.py +++ b/plotly/validators/histogram/error_x/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_arraysrc.py b/plotly/validators/histogram/error_x/_arraysrc.py index 0ce339e9f75..9106c4899ac 100644 --- a/plotly/validators/histogram/error_x/_arraysrc.py +++ b/plotly/validators/histogram/error_x/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_color.py b/plotly/validators/histogram/error_x/_color.py index 64472ad3a73..00e6954069f 100644 --- a/plotly/validators/histogram/error_x/_color.py +++ b/plotly/validators/histogram/error_x/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_copy_ystyle.py b/plotly/validators/histogram/error_x/_copy_ystyle.py index 36f85973b50..66670dce5d0 100644 --- a/plotly/validators/histogram/error_x/_copy_ystyle.py +++ b/plotly/validators/histogram/error_x/_copy_ystyle.py @@ -12,7 +12,7 @@ def __init__( super(CopyYstyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_symmetric.py b/plotly/validators/histogram/error_x/_symmetric.py index 858dc9d75d1..08f73533024 100644 --- a/plotly/validators/histogram/error_x/_symmetric.py +++ b/plotly/validators/histogram/error_x/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_thickness.py b/plotly/validators/histogram/error_x/_thickness.py index 4b5e8ab0c53..e5e2a7e3b39 100644 --- a/plotly/validators/histogram/error_x/_thickness.py +++ b/plotly/validators/histogram/error_x/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_traceref.py b/plotly/validators/histogram/error_x/_traceref.py index 8def211d4d5..3a8ffdb68ab 100644 --- a/plotly/validators/histogram/error_x/_traceref.py +++ b/plotly/validators/histogram/error_x/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_tracerefminus.py b/plotly/validators/histogram/error_x/_tracerefminus.py index 52210ea958c..0e7d9dcc64e 100644 --- a/plotly/validators/histogram/error_x/_tracerefminus.py +++ b/plotly/validators/histogram/error_x/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_type.py b/plotly/validators/histogram/error_x/_type.py index 4e226d98f1f..860cc8bcf3f 100644 --- a/plotly/validators/histogram/error_x/_type.py +++ b/plotly/validators/histogram/error_x/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_value.py b/plotly/validators/histogram/error_x/_value.py index 2ee094b86f5..e6453b9d12c 100644 --- a/plotly/validators/histogram/error_x/_value.py +++ b/plotly/validators/histogram/error_x/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_valueminus.py b/plotly/validators/histogram/error_x/_valueminus.py index 1d554c198f5..1ab5b1b9511 100644 --- a/plotly/validators/histogram/error_x/_valueminus.py +++ b/plotly/validators/histogram/error_x/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_visible.py b/plotly/validators/histogram/error_x/_visible.py index 599142e4cbf..82d4e596b45 100644 --- a/plotly/validators/histogram/error_x/_visible.py +++ b/plotly/validators/histogram/error_x/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_x/_width.py b/plotly/validators/histogram/error_x/_width.py index b55dd4f71b2..22d4cbe1861 100644 --- a/plotly/validators/histogram/error_x/_width.py +++ b/plotly/validators/histogram/error_x/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_array.py b/plotly/validators/histogram/error_y/_array.py index fb6f234c820..74b486b4fb4 100644 --- a/plotly/validators/histogram/error_y/_array.py +++ b/plotly/validators/histogram/error_y/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_arrayminus.py b/plotly/validators/histogram/error_y/_arrayminus.py index 54500abe063..00e3369283a 100644 --- a/plotly/validators/histogram/error_y/_arrayminus.py +++ b/plotly/validators/histogram/error_y/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_arrayminussrc.py b/plotly/validators/histogram/error_y/_arrayminussrc.py index 32ff845fd2f..d9938d138e9 100644 --- a/plotly/validators/histogram/error_y/_arrayminussrc.py +++ b/plotly/validators/histogram/error_y/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_arraysrc.py b/plotly/validators/histogram/error_y/_arraysrc.py index 09e6b9dc9ba..1fea83eea4c 100644 --- a/plotly/validators/histogram/error_y/_arraysrc.py +++ b/plotly/validators/histogram/error_y/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_color.py b/plotly/validators/histogram/error_y/_color.py index 40ed1f3ae25..07f12895262 100644 --- a/plotly/validators/histogram/error_y/_color.py +++ b/plotly/validators/histogram/error_y/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_symmetric.py b/plotly/validators/histogram/error_y/_symmetric.py index 994c7eb6228..114f32e2e82 100644 --- a/plotly/validators/histogram/error_y/_symmetric.py +++ b/plotly/validators/histogram/error_y/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_thickness.py b/plotly/validators/histogram/error_y/_thickness.py index dd3e6762db1..191b7eccb32 100644 --- a/plotly/validators/histogram/error_y/_thickness.py +++ b/plotly/validators/histogram/error_y/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_traceref.py b/plotly/validators/histogram/error_y/_traceref.py index 793b02b7175..bab76470d5b 100644 --- a/plotly/validators/histogram/error_y/_traceref.py +++ b/plotly/validators/histogram/error_y/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_tracerefminus.py b/plotly/validators/histogram/error_y/_tracerefminus.py index 9b634f2ae6c..bdc48a07016 100644 --- a/plotly/validators/histogram/error_y/_tracerefminus.py +++ b/plotly/validators/histogram/error_y/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_type.py b/plotly/validators/histogram/error_y/_type.py index 1ce37429c9a..ba123a2c87b 100644 --- a/plotly/validators/histogram/error_y/_type.py +++ b/plotly/validators/histogram/error_y/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_value.py b/plotly/validators/histogram/error_y/_value.py index 7baa2c9c1b3..215a967f690 100644 --- a/plotly/validators/histogram/error_y/_value.py +++ b/plotly/validators/histogram/error_y/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_valueminus.py b/plotly/validators/histogram/error_y/_valueminus.py index 0505ea564a3..9c2fe178f16 100644 --- a/plotly/validators/histogram/error_y/_valueminus.py +++ b/plotly/validators/histogram/error_y/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_visible.py b/plotly/validators/histogram/error_y/_visible.py index d3d16b157de..aaa78cb6a3d 100644 --- a/plotly/validators/histogram/error_y/_visible.py +++ b/plotly/validators/histogram/error_y/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/error_y/_width.py b/plotly/validators/histogram/error_y/_width.py index 5afbe4f6bf0..59b06bd14d3 100644 --- a/plotly/validators/histogram/error_y/_width.py +++ b/plotly/validators/histogram/error_y/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_bgcolor.py b/plotly/validators/histogram/hoverlabel/_bgcolor.py index 0491418a0d2..d974a36e89e 100644 --- a/plotly/validators/histogram/hoverlabel/_bgcolor.py +++ b/plotly/validators/histogram/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_bgcolorsrc.py b/plotly/validators/histogram/hoverlabel/_bgcolorsrc.py index 2e6fcda5077..33f0cc677bb 100644 --- a/plotly/validators/histogram/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/histogram/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_bordercolor.py b/plotly/validators/histogram/hoverlabel/_bordercolor.py index ef21130c203..b7e2f116303 100644 --- a/plotly/validators/histogram/hoverlabel/_bordercolor.py +++ b/plotly/validators/histogram/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_bordercolorsrc.py b/plotly/validators/histogram/hoverlabel/_bordercolorsrc.py index 43da4cf5361..5f6b2e0e935 100644 --- a/plotly/validators/histogram/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/histogram/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_font.py b/plotly/validators/histogram/hoverlabel/_font.py index 4c2d770d677..ec33820fad7 100644 --- a/plotly/validators/histogram/hoverlabel/_font.py +++ b/plotly/validators/histogram/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_namelength.py b/plotly/validators/histogram/hoverlabel/_namelength.py index 0932e23c9f0..131eedb1c60 100644 --- a/plotly/validators/histogram/hoverlabel/_namelength.py +++ b/plotly/validators/histogram/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/_namelengthsrc.py b/plotly/validators/histogram/hoverlabel/_namelengthsrc.py index 87410ad0aae..ceb550683d4 100644 --- a/plotly/validators/histogram/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/histogram/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/font/_color.py b/plotly/validators/histogram/hoverlabel/font/_color.py index 75ff34cf1b6..ced0a38ec86 100644 --- a/plotly/validators/histogram/hoverlabel/font/_color.py +++ b/plotly/validators/histogram/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/font/_colorsrc.py b/plotly/validators/histogram/hoverlabel/font/_colorsrc.py index 1857e71305b..29d4cc614bb 100644 --- a/plotly/validators/histogram/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/histogram/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/font/_family.py b/plotly/validators/histogram/hoverlabel/font/_family.py index 60cd99895b0..27be15089c8 100644 --- a/plotly/validators/histogram/hoverlabel/font/_family.py +++ b/plotly/validators/histogram/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/font/_familysrc.py b/plotly/validators/histogram/hoverlabel/font/_familysrc.py index e65fd13d0d8..8e8647fc001 100644 --- a/plotly/validators/histogram/hoverlabel/font/_familysrc.py +++ b/plotly/validators/histogram/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/font/_size.py b/plotly/validators/histogram/hoverlabel/font/_size.py index d27dc23eebe..5f0140985cd 100644 --- a/plotly/validators/histogram/hoverlabel/font/_size.py +++ b/plotly/validators/histogram/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/hoverlabel/font/_sizesrc.py b/plotly/validators/histogram/hoverlabel/font/_sizesrc.py index fcd6cf9fc9f..d4347780ef2 100644 --- a/plotly/validators/histogram/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/histogram/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_autocolorscale.py b/plotly/validators/histogram/marker/_autocolorscale.py index 36840a947fb..ac9b9b193ed 100644 --- a/plotly/validators/histogram/marker/_autocolorscale.py +++ b/plotly/validators/histogram/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_cauto.py b/plotly/validators/histogram/marker/_cauto.py index 5d449984b57..42d3817210b 100644 --- a/plotly/validators/histogram/marker/_cauto.py +++ b/plotly/validators/histogram/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_cmax.py b/plotly/validators/histogram/marker/_cmax.py index 69e10ad048f..a8f42a4b20d 100644 --- a/plotly/validators/histogram/marker/_cmax.py +++ b/plotly/validators/histogram/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_cmin.py b/plotly/validators/histogram/marker/_cmin.py index 7e84c4ba70a..90a84c1a00f 100644 --- a/plotly/validators/histogram/marker/_cmin.py +++ b/plotly/validators/histogram/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_color.py b/plotly/validators/histogram/marker/_color.py index c507c0b9fc9..d656aad1f46 100644 --- a/plotly/validators/histogram/marker/_color.py +++ b/plotly/validators/histogram/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='histogram.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'histogram.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/_colorbar.py b/plotly/validators/histogram/marker/_colorbar.py index e4ae1b03654..1f7c21405e5 100644 --- a/plotly/validators/histogram/marker/_colorbar.py +++ b/plotly/validators/histogram/marker/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/_colorscale.py b/plotly/validators/histogram/marker/_colorscale.py index bd3e8659685..5aab62b4a2d 100644 --- a/plotly/validators/histogram/marker/_colorscale.py +++ b/plotly/validators/histogram/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_colorsrc.py b/plotly/validators/histogram/marker/_colorsrc.py index fcac564af6b..bee26ca0187 100644 --- a/plotly/validators/histogram/marker/_colorsrc.py +++ b/plotly/validators/histogram/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_line.py b/plotly/validators/histogram/marker/_line.py index 8910605f2c6..4d8f4937a36 100644 --- a/plotly/validators/histogram/marker/_line.py +++ b/plotly/validators/histogram/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/_opacity.py b/plotly/validators/histogram/marker/_opacity.py index 2edd995f919..dbd2dc66b76 100644 --- a/plotly/validators/histogram/marker/_opacity.py +++ b/plotly/validators/histogram/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_opacitysrc.py b/plotly/validators/histogram/marker/_opacitysrc.py index 31938b1d106..4a75b212a88 100644 --- a/plotly/validators/histogram/marker/_opacitysrc.py +++ b/plotly/validators/histogram/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_reversescale.py b/plotly/validators/histogram/marker/_reversescale.py index 50514f488b4..7641be42573 100644 --- a/plotly/validators/histogram/marker/_reversescale.py +++ b/plotly/validators/histogram/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/_showscale.py b/plotly/validators/histogram/marker/_showscale.py index 9ae878dd8c4..548be0d4baa 100644 --- a/plotly/validators/histogram/marker/_showscale.py +++ b/plotly/validators/histogram/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_bgcolor.py b/plotly/validators/histogram/marker/colorbar/_bgcolor.py index 26702047dc2..3c94a4da38b 100644 --- a/plotly/validators/histogram/marker/colorbar/_bgcolor.py +++ b/plotly/validators/histogram/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_bordercolor.py b/plotly/validators/histogram/marker/colorbar/_bordercolor.py index 3ecf1ebd6a8..b5ec5a2982e 100644 --- a/plotly/validators/histogram/marker/colorbar/_bordercolor.py +++ b/plotly/validators/histogram/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_borderwidth.py b/plotly/validators/histogram/marker/colorbar/_borderwidth.py index e36cc653cf2..3e96ebaa887 100644 --- a/plotly/validators/histogram/marker/colorbar/_borderwidth.py +++ b/plotly/validators/histogram/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_dtick.py b/plotly/validators/histogram/marker/colorbar/_dtick.py index c27079a175d..bccba95a88f 100644 --- a/plotly/validators/histogram/marker/colorbar/_dtick.py +++ b/plotly/validators/histogram/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_exponentformat.py b/plotly/validators/histogram/marker/colorbar/_exponentformat.py index bd81d6d3395..48dda4f00da 100644 --- a/plotly/validators/histogram/marker/colorbar/_exponentformat.py +++ b/plotly/validators/histogram/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_len.py b/plotly/validators/histogram/marker/colorbar/_len.py index 399f7852425..3f9aca349ff 100644 --- a/plotly/validators/histogram/marker/colorbar/_len.py +++ b/plotly/validators/histogram/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_lenmode.py b/plotly/validators/histogram/marker/colorbar/_lenmode.py index 2d7dd716f78..21c89d73990 100644 --- a/plotly/validators/histogram/marker/colorbar/_lenmode.py +++ b/plotly/validators/histogram/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_nticks.py b/plotly/validators/histogram/marker/colorbar/_nticks.py index 401f66fb830..01a22d18844 100644 --- a/plotly/validators/histogram/marker/colorbar/_nticks.py +++ b/plotly/validators/histogram/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_outlinecolor.py b/plotly/validators/histogram/marker/colorbar/_outlinecolor.py index 90c9a0cdb77..73948a56b4d 100644 --- a/plotly/validators/histogram/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/histogram/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_outlinewidth.py b/plotly/validators/histogram/marker/colorbar/_outlinewidth.py index 1c13b9bb390..a31fe80868b 100644 --- a/plotly/validators/histogram/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/histogram/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_separatethousands.py b/plotly/validators/histogram/marker/colorbar/_separatethousands.py index c9be80584ae..303599e57c5 100644 --- a/plotly/validators/histogram/marker/colorbar/_separatethousands.py +++ b/plotly/validators/histogram/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_showexponent.py b/plotly/validators/histogram/marker/colorbar/_showexponent.py index cb26225b8b9..49cdabcab00 100644 --- a/plotly/validators/histogram/marker/colorbar/_showexponent.py +++ b/plotly/validators/histogram/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_showticklabels.py b/plotly/validators/histogram/marker/colorbar/_showticklabels.py index f4b70af9f08..f840ec82416 100644 --- a/plotly/validators/histogram/marker/colorbar/_showticklabels.py +++ b/plotly/validators/histogram/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_showtickprefix.py b/plotly/validators/histogram/marker/colorbar/_showtickprefix.py index b6ea6df43a5..cb6ad1502e9 100644 --- a/plotly/validators/histogram/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/histogram/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_showticksuffix.py b/plotly/validators/histogram/marker/colorbar/_showticksuffix.py index 6e21638aa0d..758f3a0d681 100644 --- a/plotly/validators/histogram/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/histogram/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_thickness.py b/plotly/validators/histogram/marker/colorbar/_thickness.py index 8640683d99d..e0da2c83e48 100644 --- a/plotly/validators/histogram/marker/colorbar/_thickness.py +++ b/plotly/validators/histogram/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_thicknessmode.py b/plotly/validators/histogram/marker/colorbar/_thicknessmode.py index 1b966a8b4d7..4c32328ab5f 100644 --- a/plotly/validators/histogram/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/histogram/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tick0.py b/plotly/validators/histogram/marker/colorbar/_tick0.py index cc71595b8bb..0d0ff2f43bb 100644 --- a/plotly/validators/histogram/marker/colorbar/_tick0.py +++ b/plotly/validators/histogram/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickangle.py b/plotly/validators/histogram/marker/colorbar/_tickangle.py index b607cd0c6d2..991c7045253 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickangle.py +++ b/plotly/validators/histogram/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickcolor.py b/plotly/validators/histogram/marker/colorbar/_tickcolor.py index f87c1ad81df..77acfc8b3d6 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickcolor.py +++ b/plotly/validators/histogram/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickfont.py b/plotly/validators/histogram/marker/colorbar/_tickfont.py index df811d7ae1c..392d24e92e7 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickfont.py +++ b/plotly/validators/histogram/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickformat.py b/plotly/validators/histogram/marker/colorbar/_tickformat.py index ac05b98b91f..c6f0f8aacd6 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickformat.py +++ b/plotly/validators/histogram/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickformatstops.py b/plotly/validators/histogram/marker/colorbar/_tickformatstops.py index b97b29ef510..33b33a87809 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/histogram/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_ticklen.py b/plotly/validators/histogram/marker/colorbar/_ticklen.py index 529bfa8f3d6..0f44b342953 100644 --- a/plotly/validators/histogram/marker/colorbar/_ticklen.py +++ b/plotly/validators/histogram/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickmode.py b/plotly/validators/histogram/marker/colorbar/_tickmode.py index f48ef1157d5..5aa7d7afb52 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickmode.py +++ b/plotly/validators/histogram/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickprefix.py b/plotly/validators/histogram/marker/colorbar/_tickprefix.py index d4b6db8330b..950d851969d 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickprefix.py +++ b/plotly/validators/histogram/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_ticks.py b/plotly/validators/histogram/marker/colorbar/_ticks.py index 1d911a57bfb..036a29be04a 100644 --- a/plotly/validators/histogram/marker/colorbar/_ticks.py +++ b/plotly/validators/histogram/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_ticksuffix.py b/plotly/validators/histogram/marker/colorbar/_ticksuffix.py index 8c892c69d42..d4367424968 100644 --- a/plotly/validators/histogram/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/histogram/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_ticktext.py b/plotly/validators/histogram/marker/colorbar/_ticktext.py index 5bf9c824eb3..2795c660a1d 100644 --- a/plotly/validators/histogram/marker/colorbar/_ticktext.py +++ b/plotly/validators/histogram/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_ticktextsrc.py b/plotly/validators/histogram/marker/colorbar/_ticktextsrc.py index 59b95e038d3..8383116c6b5 100644 --- a/plotly/validators/histogram/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/histogram/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickvals.py b/plotly/validators/histogram/marker/colorbar/_tickvals.py index db85112d4da..e948b638450 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickvals.py +++ b/plotly/validators/histogram/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickvalssrc.py b/plotly/validators/histogram/marker/colorbar/_tickvalssrc.py index 1e98668408c..3c22f31fec2 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/histogram/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_tickwidth.py b/plotly/validators/histogram/marker/colorbar/_tickwidth.py index b55fec77fc0..004e6df1033 100644 --- a/plotly/validators/histogram/marker/colorbar/_tickwidth.py +++ b/plotly/validators/histogram/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_title.py b/plotly/validators/histogram/marker/colorbar/_title.py index 9857616a3d0..98b4eecdfe0 100644 --- a/plotly/validators/histogram/marker/colorbar/_title.py +++ b/plotly/validators/histogram/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_titlefont.py b/plotly/validators/histogram/marker/colorbar/_titlefont.py index 8d9bad10e9b..2ee010dd960 100644 --- a/plotly/validators/histogram/marker/colorbar/_titlefont.py +++ b/plotly/validators/histogram/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_titleside.py b/plotly/validators/histogram/marker/colorbar/_titleside.py index dba795a46a0..2aba5b99b90 100644 --- a/plotly/validators/histogram/marker/colorbar/_titleside.py +++ b/plotly/validators/histogram/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_x.py b/plotly/validators/histogram/marker/colorbar/_x.py index ead88a60fc2..47651e5a0e8 100644 --- a/plotly/validators/histogram/marker/colorbar/_x.py +++ b/plotly/validators/histogram/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_xanchor.py b/plotly/validators/histogram/marker/colorbar/_xanchor.py index 67babdc1d57..d0d2d0e710b 100644 --- a/plotly/validators/histogram/marker/colorbar/_xanchor.py +++ b/plotly/validators/histogram/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_xpad.py b/plotly/validators/histogram/marker/colorbar/_xpad.py index 83c8f22d17d..fb426bc3430 100644 --- a/plotly/validators/histogram/marker/colorbar/_xpad.py +++ b/plotly/validators/histogram/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_y.py b/plotly/validators/histogram/marker/colorbar/_y.py index 5f676bec715..508d7f32d8b 100644 --- a/plotly/validators/histogram/marker/colorbar/_y.py +++ b/plotly/validators/histogram/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_yanchor.py b/plotly/validators/histogram/marker/colorbar/_yanchor.py index c4695f71411..7bbe559056f 100644 --- a/plotly/validators/histogram/marker/colorbar/_yanchor.py +++ b/plotly/validators/histogram/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/_ypad.py b/plotly/validators/histogram/marker/colorbar/_ypad.py index a1116a8f1ce..c8adb68e8a3 100644 --- a/plotly/validators/histogram/marker/colorbar/_ypad.py +++ b/plotly/validators/histogram/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickfont/_color.py b/plotly/validators/histogram/marker/colorbar/tickfont/_color.py index 6fa0aeb7b38..859943b090c 100644 --- a/plotly/validators/histogram/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/histogram/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickfont/_family.py b/plotly/validators/histogram/marker/colorbar/tickfont/_family.py index 26ad0da9cc5..dbb9c75a394 100644 --- a/plotly/validators/histogram/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/histogram/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickfont/_size.py b/plotly/validators/histogram/marker/colorbar/tickfont/_size.py index 6bc0ed5afd0..3b17a242217 100644 --- a/plotly/validators/histogram/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/histogram/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/histogram/marker/colorbar/tickformatstop/_dtickrange.py index 6577f0f61e9..83034f32a94 100644 --- a/plotly/validators/histogram/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/histogram/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/histogram/marker/colorbar/tickformatstop/_enabled.py index 553d56a12aa..6651458e14e 100644 --- a/plotly/validators/histogram/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/histogram/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickformatstop/_name.py b/plotly/validators/histogram/marker/colorbar/tickformatstop/_name.py index 956dfba98bc..f174dd75696 100644 --- a/plotly/validators/histogram/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/histogram/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/histogram/marker/colorbar/tickformatstop/_templateitemname.py index 0d5c56eb8b4..6fcceb21056 100644 --- a/plotly/validators/histogram/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/histogram/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/tickformatstop/_value.py b/plotly/validators/histogram/marker/colorbar/tickformatstop/_value.py index 5a0266e7e7b..903bde48860 100644 --- a/plotly/validators/histogram/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/histogram/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/titlefont/_color.py b/plotly/validators/histogram/marker/colorbar/titlefont/_color.py index e861364307f..7d82ce69f9d 100644 --- a/plotly/validators/histogram/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/histogram/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/titlefont/_family.py b/plotly/validators/histogram/marker/colorbar/titlefont/_family.py index f912cf964b8..8326b50365b 100644 --- a/plotly/validators/histogram/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/histogram/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram/marker/colorbar/titlefont/_size.py b/plotly/validators/histogram/marker/colorbar/titlefont/_size.py index f96b5d698bd..74540d38199 100644 --- a/plotly/validators/histogram/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/histogram/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_autocolorscale.py b/plotly/validators/histogram/marker/line/_autocolorscale.py index 4f1ebe63b88..b422bf3fd06 100644 --- a/plotly/validators/histogram/marker/line/_autocolorscale.py +++ b/plotly/validators/histogram/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_cauto.py b/plotly/validators/histogram/marker/line/_cauto.py index a8a6da584be..88eb8fee02c 100644 --- a/plotly/validators/histogram/marker/line/_cauto.py +++ b/plotly/validators/histogram/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_cmax.py b/plotly/validators/histogram/marker/line/_cmax.py index 8ce1d183524..d449bcb98a0 100644 --- a/plotly/validators/histogram/marker/line/_cmax.py +++ b/plotly/validators/histogram/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_cmin.py b/plotly/validators/histogram/marker/line/_cmin.py index 77e0aaac066..d3700a772d4 100644 --- a/plotly/validators/histogram/marker/line/_cmin.py +++ b/plotly/validators/histogram/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_color.py b/plotly/validators/histogram/marker/line/_color.py index c37336cfe60..de7eb4a7d51 100644 --- a/plotly/validators/histogram/marker/line/_color.py +++ b/plotly/validators/histogram/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='histogram.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'histogram.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_colorscale.py b/plotly/validators/histogram/marker/line/_colorscale.py index c9fd6b1bc9c..793d45cfc33 100644 --- a/plotly/validators/histogram/marker/line/_colorscale.py +++ b/plotly/validators/histogram/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_colorsrc.py b/plotly/validators/histogram/marker/line/_colorsrc.py index 0983015b842..d3ab7e83a26 100644 --- a/plotly/validators/histogram/marker/line/_colorsrc.py +++ b/plotly/validators/histogram/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_reversescale.py b/plotly/validators/histogram/marker/line/_reversescale.py index 632463033a8..46e4fdd99e0 100644 --- a/plotly/validators/histogram/marker/line/_reversescale.py +++ b/plotly/validators/histogram/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_width.py b/plotly/validators/histogram/marker/line/_width.py index 607384b2562..17243cbe416 100644 --- a/plotly/validators/histogram/marker/line/_width.py +++ b/plotly/validators/histogram/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/marker/line/_widthsrc.py b/plotly/validators/histogram/marker/line/_widthsrc.py index 061871e824a..9e2b34117cd 100644 --- a/plotly/validators/histogram/marker/line/_widthsrc.py +++ b/plotly/validators/histogram/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/selected/_marker.py b/plotly/validators/histogram/selected/_marker.py index 771809b5457..f4ad8a4c5e8 100644 --- a/plotly/validators/histogram/selected/_marker.py +++ b/plotly/validators/histogram/selected/_marker.py @@ -9,12 +9,14 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/selected/_textfont.py b/plotly/validators/histogram/selected/_textfont.py index 7f3d565bdb4..0b8d0165e67 100644 --- a/plotly/validators/histogram/selected/_textfont.py +++ b/plotly/validators/histogram/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/selected/marker/_color.py b/plotly/validators/histogram/selected/marker/_color.py index 4afd3cbe0c4..d0a19d79a5d 100644 --- a/plotly/validators/histogram/selected/marker/_color.py +++ b/plotly/validators/histogram/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/selected/marker/_opacity.py b/plotly/validators/histogram/selected/marker/_opacity.py index cea766b223f..dc97e56f82c 100644 --- a/plotly/validators/histogram/selected/marker/_opacity.py +++ b/plotly/validators/histogram/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/selected/textfont/_color.py b/plotly/validators/histogram/selected/textfont/_color.py index d0457135c52..981d93c3cdb 100644 --- a/plotly/validators/histogram/selected/textfont/_color.py +++ b/plotly/validators/histogram/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/stream/_maxpoints.py b/plotly/validators/histogram/stream/_maxpoints.py index e93f2257e76..24269180e02 100644 --- a/plotly/validators/histogram/stream/_maxpoints.py +++ b/plotly/validators/histogram/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram/stream/_token.py b/plotly/validators/histogram/stream/_token.py index 7174073f990..f6a6a90c4ee 100644 --- a/plotly/validators/histogram/stream/_token.py +++ b/plotly/validators/histogram/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram/unselected/_marker.py b/plotly/validators/histogram/unselected/_marker.py index 6f52c701143..7e70a992aa1 100644 --- a/plotly/validators/histogram/unselected/_marker.py +++ b/plotly/validators/histogram/unselected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. opacity Sets the marker opacity of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/unselected/_textfont.py b/plotly/validators/histogram/unselected/_textfont.py index 66b511eeaa3..c3e75ccc844 100644 --- a/plotly/validators/histogram/unselected/_textfont.py +++ b/plotly/validators/histogram/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram/unselected/marker/_color.py b/plotly/validators/histogram/unselected/marker/_color.py index dc7e3e8bbdd..e6eac5a827a 100644 --- a/plotly/validators/histogram/unselected/marker/_color.py +++ b/plotly/validators/histogram/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/unselected/marker/_opacity.py b/plotly/validators/histogram/unselected/marker/_opacity.py index 9d783ca9fb5..ca3efb665c6 100644 --- a/plotly/validators/histogram/unselected/marker/_opacity.py +++ b/plotly/validators/histogram/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/unselected/textfont/_color.py b/plotly/validators/histogram/unselected/textfont/_color.py index e1cf33e81fe..62ff69db3db 100644 --- a/plotly/validators/histogram/unselected/textfont/_color.py +++ b/plotly/validators/histogram/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/xbins/_end.py b/plotly/validators/histogram/xbins/_end.py index 03af2306275..e4c17de2738 100644 --- a/plotly/validators/histogram/xbins/_end.py +++ b/plotly/validators/histogram/xbins/_end.py @@ -9,8 +9,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/xbins/_size.py b/plotly/validators/histogram/xbins/_size.py index a1196edb286..edfd4619a5c 100644 --- a/plotly/validators/histogram/xbins/_size.py +++ b/plotly/validators/histogram/xbins/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/xbins/_start.py b/plotly/validators/histogram/xbins/_start.py index c00341c7e12..35ed4284d24 100644 --- a/plotly/validators/histogram/xbins/_start.py +++ b/plotly/validators/histogram/xbins/_start.py @@ -9,8 +9,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/ybins/_end.py b/plotly/validators/histogram/ybins/_end.py index c53d7f62e05..8ee489a9de6 100644 --- a/plotly/validators/histogram/ybins/_end.py +++ b/plotly/validators/histogram/ybins/_end.py @@ -9,8 +9,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/ybins/_size.py b/plotly/validators/histogram/ybins/_size.py index ae24077200d..ebacdb869d0 100644 --- a/plotly/validators/histogram/ybins/_size.py +++ b/plotly/validators/histogram/ybins/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram/ybins/_start.py b/plotly/validators/histogram/ybins/_start.py index 518a03bc3fe..b0d9d0e2237 100644 --- a/plotly/validators/histogram/ybins/_start.py +++ b/plotly/validators/histogram/ybins/_start.py @@ -9,8 +9,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_autobinx.py b/plotly/validators/histogram2d/_autobinx.py index 9d06f6a5142..c83a40fa1df 100644 --- a/plotly/validators/histogram2d/_autobinx.py +++ b/plotly/validators/histogram2d/_autobinx.py @@ -9,8 +9,8 @@ def __init__( super(AutobinxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_autobiny.py b/plotly/validators/histogram2d/_autobiny.py index fd63422523d..f848a09b9da 100644 --- a/plotly/validators/histogram2d/_autobiny.py +++ b/plotly/validators/histogram2d/_autobiny.py @@ -9,8 +9,8 @@ def __init__( super(AutobinyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_autocolorscale.py b/plotly/validators/histogram2d/_autocolorscale.py index d1e0e84e6fe..500ccf4c432 100644 --- a/plotly/validators/histogram2d/_autocolorscale.py +++ b/plotly/validators/histogram2d/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_colorbar.py b/plotly/validators/histogram2d/_colorbar.py index 83f8cf3b604..6e63356c3cb 100644 --- a/plotly/validators/histogram2d/_colorbar.py +++ b/plotly/validators/histogram2d/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_colorscale.py b/plotly/validators/histogram2d/_colorscale.py index 16d4c75d9ea..13b5b6bab56 100644 --- a/plotly/validators/histogram2d/_colorscale.py +++ b/plotly/validators/histogram2d/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_customdata.py b/plotly/validators/histogram2d/_customdata.py index c2570ffe73a..1603f88b340 100644 --- a/plotly/validators/histogram2d/_customdata.py +++ b/plotly/validators/histogram2d/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/_customdatasrc.py b/plotly/validators/histogram2d/_customdatasrc.py index d6daa61db93..e32541612bb 100644 --- a/plotly/validators/histogram2d/_customdatasrc.py +++ b/plotly/validators/histogram2d/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_histfunc.py b/plotly/validators/histogram2d/_histfunc.py index 13bc7a88cf6..cf160572d1a 100644 --- a/plotly/validators/histogram2d/_histfunc.py +++ b/plotly/validators/histogram2d/_histfunc.py @@ -9,8 +9,8 @@ def __init__( super(HistfuncValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['count', 'sum', 'avg', 'min', 'max'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['count', 'sum', 'avg', 'min', 'max']), **kwargs ) diff --git a/plotly/validators/histogram2d/_histnorm.py b/plotly/validators/histogram2d/_histnorm.py index 297ffde797a..9a33ad51fa4 100644 --- a/plotly/validators/histogram2d/_histnorm.py +++ b/plotly/validators/histogram2d/_histnorm.py @@ -9,10 +9,13 @@ def __init__( super(HistnormValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - '', 'percent', 'probability', 'density', 'probability density' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + '', 'percent', 'probability', 'density', + 'probability density' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_hoverinfo.py b/plotly/validators/histogram2d/_hoverinfo.py index b39d6c85aea..6fc3760997f 100644 --- a/plotly/validators/histogram2d/_hoverinfo.py +++ b/plotly/validators/histogram2d/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_hoverinfosrc.py b/plotly/validators/histogram2d/_hoverinfosrc.py index 33e8f2bb8a9..5fe537fe510 100644 --- a/plotly/validators/histogram2d/_hoverinfosrc.py +++ b/plotly/validators/histogram2d/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_hoverlabel.py b/plotly/validators/histogram2d/_hoverlabel.py index 9acc18073d0..f6c0258a498 100644 --- a/plotly/validators/histogram2d/_hoverlabel.py +++ b/plotly/validators/histogram2d/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_ids.py b/plotly/validators/histogram2d/_ids.py index 0386bb96c94..abc1ca27caa 100644 --- a/plotly/validators/histogram2d/_ids.py +++ b/plotly/validators/histogram2d/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='histogram2d', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/_idssrc.py b/plotly/validators/histogram2d/_idssrc.py index 403f0c7fb1d..b36b928f3a9 100644 --- a/plotly/validators/histogram2d/_idssrc.py +++ b/plotly/validators/histogram2d/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_legendgroup.py b/plotly/validators/histogram2d/_legendgroup.py index 32aa3102029..00bd407aad2 100644 --- a/plotly/validators/histogram2d/_legendgroup.py +++ b/plotly/validators/histogram2d/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_marker.py b/plotly/validators/histogram2d/_marker.py index 3cadb921e6b..9a82ab3c67d 100644 --- a/plotly/validators/histogram2d/_marker.py +++ b/plotly/validators/histogram2d/_marker.py @@ -9,13 +9,15 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the aggregation data. colorsrc Sets the source reference on plot.ly for color . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_name.py b/plotly/validators/histogram2d/_name.py index af801972868..a22dc0f2297 100644 --- a/plotly/validators/histogram2d/_name.py +++ b/plotly/validators/histogram2d/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_nbinsx.py b/plotly/validators/histogram2d/_nbinsx.py index 35f21b636a1..afaa923df63 100644 --- a/plotly/validators/histogram2d/_nbinsx.py +++ b/plotly/validators/histogram2d/_nbinsx.py @@ -9,8 +9,8 @@ def __init__( super(NbinsxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_nbinsy.py b/plotly/validators/histogram2d/_nbinsy.py index 2efa6ed0248..30ecd63314a 100644 --- a/plotly/validators/histogram2d/_nbinsy.py +++ b/plotly/validators/histogram2d/_nbinsy.py @@ -9,8 +9,8 @@ def __init__( super(NbinsyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_opacity.py b/plotly/validators/histogram2d/_opacity.py index 4f4dc5fa8ff..e4cc5de0d1f 100644 --- a/plotly/validators/histogram2d/_opacity.py +++ b/plotly/validators/histogram2d/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_reversescale.py b/plotly/validators/histogram2d/_reversescale.py index 27d63b0829e..0566ccd7c3b 100644 --- a/plotly/validators/histogram2d/_reversescale.py +++ b/plotly/validators/histogram2d/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_selectedpoints.py b/plotly/validators/histogram2d/_selectedpoints.py index 9bde81298cc..dfd2409bf92 100644 --- a/plotly/validators/histogram2d/_selectedpoints.py +++ b/plotly/validators/histogram2d/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_showlegend.py b/plotly/validators/histogram2d/_showlegend.py index 67f498970ec..8287a88e543 100644 --- a/plotly/validators/histogram2d/_showlegend.py +++ b/plotly/validators/histogram2d/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_showscale.py b/plotly/validators/histogram2d/_showscale.py index f2f5b938ba0..22e834e8a44 100644 --- a/plotly/validators/histogram2d/_showscale.py +++ b/plotly/validators/histogram2d/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_stream.py b/plotly/validators/histogram2d/_stream.py index 7ed912c6278..f56e2133afe 100644 --- a/plotly/validators/histogram2d/_stream.py +++ b/plotly/validators/histogram2d/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_uid.py b/plotly/validators/histogram2d/_uid.py index c96aafa2438..823c8ebdc0a 100644 --- a/plotly/validators/histogram2d/_uid.py +++ b/plotly/validators/histogram2d/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='histogram2d', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_visible.py b/plotly/validators/histogram2d/_visible.py index a435046ba0d..663994f5382 100644 --- a/plotly/validators/histogram2d/_visible.py +++ b/plotly/validators/histogram2d/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/histogram2d/_x.py b/plotly/validators/histogram2d/_x.py index faf8fcb4c4c..adb4ef3ad24 100644 --- a/plotly/validators/histogram2d/_x.py +++ b/plotly/validators/histogram2d/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='histogram2d', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/_xaxis.py b/plotly/validators/histogram2d/_xaxis.py index 458fef97fe3..ab5d6a05c84 100644 --- a/plotly/validators/histogram2d/_xaxis.py +++ b/plotly/validators/histogram2d/_xaxis.py @@ -9,8 +9,8 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_xbins.py b/plotly/validators/histogram2d/_xbins.py index 7be6032aa57..f1d8ec8a0e4 100644 --- a/plotly/validators/histogram2d/_xbins.py +++ b/plotly/validators/histogram2d/_xbins.py @@ -9,14 +9,16 @@ def __init__( super(XBinsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='XBins', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'XBins'), + data_docs=kwargs.pop( + 'data_docs', """ end Sets the end value for the x axis bins. size Sets the step in-between value each x axis bin. start Sets the starting value for the x axis bins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_xcalendar.py b/plotly/validators/histogram2d/_xcalendar.py index d935d9d4917..a3c0aadbdd5 100644 --- a/plotly/validators/histogram2d/_xcalendar.py +++ b/plotly/validators/histogram2d/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_xgap.py b/plotly/validators/histogram2d/_xgap.py index e082b64db56..a2fa45d49b2 100644 --- a/plotly/validators/histogram2d/_xgap.py +++ b/plotly/validators/histogram2d/_xgap.py @@ -9,8 +9,8 @@ def __init__( super(XgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_xsrc.py b/plotly/validators/histogram2d/_xsrc.py index 14c767948c7..6c98858d209 100644 --- a/plotly/validators/histogram2d/_xsrc.py +++ b/plotly/validators/histogram2d/_xsrc.py @@ -9,7 +9,7 @@ def __init__( super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_y.py b/plotly/validators/histogram2d/_y.py index e7d997d7880..e4f37e8c64c 100644 --- a/plotly/validators/histogram2d/_y.py +++ b/plotly/validators/histogram2d/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='histogram2d', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/_yaxis.py b/plotly/validators/histogram2d/_yaxis.py index 708ec8b87ae..d612b9b3b2c 100644 --- a/plotly/validators/histogram2d/_yaxis.py +++ b/plotly/validators/histogram2d/_yaxis.py @@ -9,8 +9,8 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_ybins.py b/plotly/validators/histogram2d/_ybins.py index 025d88a0cfb..4a445264dce 100644 --- a/plotly/validators/histogram2d/_ybins.py +++ b/plotly/validators/histogram2d/_ybins.py @@ -9,14 +9,16 @@ def __init__( super(YBinsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='YBins', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'YBins'), + data_docs=kwargs.pop( + 'data_docs', """ end Sets the end value for the y axis bins. size Sets the step in-between value each y axis bin. start Sets the starting value for the y axis bins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_ycalendar.py b/plotly/validators/histogram2d/_ycalendar.py index 145c338f384..a0ef830fbf9 100644 --- a/plotly/validators/histogram2d/_ycalendar.py +++ b/plotly/validators/histogram2d/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2d/_ygap.py b/plotly/validators/histogram2d/_ygap.py index 90b9721df61..7702a69f47a 100644 --- a/plotly/validators/histogram2d/_ygap.py +++ b/plotly/validators/histogram2d/_ygap.py @@ -9,8 +9,8 @@ def __init__( super(YgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_ysrc.py b/plotly/validators/histogram2d/_ysrc.py index 05e1390124e..428b97f1150 100644 --- a/plotly/validators/histogram2d/_ysrc.py +++ b/plotly/validators/histogram2d/_ysrc.py @@ -9,7 +9,7 @@ def __init__( super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_z.py b/plotly/validators/histogram2d/_z.py index 5bb20f4c31a..e235a5df855 100644 --- a/plotly/validators/histogram2d/_z.py +++ b/plotly/validators/histogram2d/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='histogram2d', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/_zauto.py b/plotly/validators/histogram2d/_zauto.py index ce1eb2c9ca0..9cedcc8183b 100644 --- a/plotly/validators/histogram2d/_zauto.py +++ b/plotly/validators/histogram2d/_zauto.py @@ -9,8 +9,8 @@ def __init__( super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_zhoverformat.py b/plotly/validators/histogram2d/_zhoverformat.py index b241241a4cc..60ecacb0807 100644 --- a/plotly/validators/histogram2d/_zhoverformat.py +++ b/plotly/validators/histogram2d/_zhoverformat.py @@ -9,7 +9,7 @@ def __init__( super(ZhoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/_zmax.py b/plotly/validators/histogram2d/_zmax.py index 8b2e5899b77..35c0280f150 100644 --- a/plotly/validators/histogram2d/_zmax.py +++ b/plotly/validators/histogram2d/_zmax.py @@ -9,8 +9,8 @@ def __init__( super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_zmin.py b/plotly/validators/histogram2d/_zmin.py index 1f6c56cba1a..2bafb3e2b45 100644 --- a/plotly/validators/histogram2d/_zmin.py +++ b/plotly/validators/histogram2d/_zmin.py @@ -9,8 +9,8 @@ def __init__( super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/_zsmooth.py b/plotly/validators/histogram2d/_zsmooth.py index a1ebb263284..188743c1cb6 100644 --- a/plotly/validators/histogram2d/_zsmooth.py +++ b/plotly/validators/histogram2d/_zsmooth.py @@ -9,8 +9,8 @@ def __init__( super(ZsmoothValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fast', 'best', False], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fast', 'best', False]), **kwargs ) diff --git a/plotly/validators/histogram2d/_zsrc.py b/plotly/validators/histogram2d/_zsrc.py index 0b000eaa668..bddb341d223 100644 --- a/plotly/validators/histogram2d/_zsrc.py +++ b/plotly/validators/histogram2d/_zsrc.py @@ -9,7 +9,7 @@ def __init__( super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_bgcolor.py b/plotly/validators/histogram2d/colorbar/_bgcolor.py index 4bfc44f51f7..c18989b5597 100644 --- a/plotly/validators/histogram2d/colorbar/_bgcolor.py +++ b/plotly/validators/histogram2d/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_bordercolor.py b/plotly/validators/histogram2d/colorbar/_bordercolor.py index ca57d6ff7a9..78c0167a961 100644 --- a/plotly/validators/histogram2d/colorbar/_bordercolor.py +++ b/plotly/validators/histogram2d/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_borderwidth.py b/plotly/validators/histogram2d/colorbar/_borderwidth.py index bebec1f5653..c3fa5c52708 100644 --- a/plotly/validators/histogram2d/colorbar/_borderwidth.py +++ b/plotly/validators/histogram2d/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_dtick.py b/plotly/validators/histogram2d/colorbar/_dtick.py index cf5c336959c..c901bbfc857 100644 --- a/plotly/validators/histogram2d/colorbar/_dtick.py +++ b/plotly/validators/histogram2d/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_exponentformat.py b/plotly/validators/histogram2d/colorbar/_exponentformat.py index f96a163c0c8..2d742a45820 100644 --- a/plotly/validators/histogram2d/colorbar/_exponentformat.py +++ b/plotly/validators/histogram2d/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_len.py b/plotly/validators/histogram2d/colorbar/_len.py index 55eb60375ab..917b1436545 100644 --- a/plotly/validators/histogram2d/colorbar/_len.py +++ b/plotly/validators/histogram2d/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_lenmode.py b/plotly/validators/histogram2d/colorbar/_lenmode.py index 503747a705b..9e78c38122e 100644 --- a/plotly/validators/histogram2d/colorbar/_lenmode.py +++ b/plotly/validators/histogram2d/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_nticks.py b/plotly/validators/histogram2d/colorbar/_nticks.py index 326ac3027b5..f38c9bf371a 100644 --- a/plotly/validators/histogram2d/colorbar/_nticks.py +++ b/plotly/validators/histogram2d/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_outlinecolor.py b/plotly/validators/histogram2d/colorbar/_outlinecolor.py index 661519e8eee..426a48c3dac 100644 --- a/plotly/validators/histogram2d/colorbar/_outlinecolor.py +++ b/plotly/validators/histogram2d/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_outlinewidth.py b/plotly/validators/histogram2d/colorbar/_outlinewidth.py index 13475753b73..b22f522032a 100644 --- a/plotly/validators/histogram2d/colorbar/_outlinewidth.py +++ b/plotly/validators/histogram2d/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_separatethousands.py b/plotly/validators/histogram2d/colorbar/_separatethousands.py index a434b89feec..575534aafad 100644 --- a/plotly/validators/histogram2d/colorbar/_separatethousands.py +++ b/plotly/validators/histogram2d/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_showexponent.py b/plotly/validators/histogram2d/colorbar/_showexponent.py index 9f89fc5e161..eb58f9e8138 100644 --- a/plotly/validators/histogram2d/colorbar/_showexponent.py +++ b/plotly/validators/histogram2d/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_showticklabels.py b/plotly/validators/histogram2d/colorbar/_showticklabels.py index f0ee437f895..0dd52b55d77 100644 --- a/plotly/validators/histogram2d/colorbar/_showticklabels.py +++ b/plotly/validators/histogram2d/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_showtickprefix.py b/plotly/validators/histogram2d/colorbar/_showtickprefix.py index 6c725365561..e192f33c975 100644 --- a/plotly/validators/histogram2d/colorbar/_showtickprefix.py +++ b/plotly/validators/histogram2d/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_showticksuffix.py b/plotly/validators/histogram2d/colorbar/_showticksuffix.py index cc5bace5940..6d459ecabc7 100644 --- a/plotly/validators/histogram2d/colorbar/_showticksuffix.py +++ b/plotly/validators/histogram2d/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_thickness.py b/plotly/validators/histogram2d/colorbar/_thickness.py index ede919d39dc..649f914a0fa 100644 --- a/plotly/validators/histogram2d/colorbar/_thickness.py +++ b/plotly/validators/histogram2d/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_thicknessmode.py b/plotly/validators/histogram2d/colorbar/_thicknessmode.py index 7dcef6fe202..436d625dc3c 100644 --- a/plotly/validators/histogram2d/colorbar/_thicknessmode.py +++ b/plotly/validators/histogram2d/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tick0.py b/plotly/validators/histogram2d/colorbar/_tick0.py index 80c5cf27d8b..e02fa2991de 100644 --- a/plotly/validators/histogram2d/colorbar/_tick0.py +++ b/plotly/validators/histogram2d/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickangle.py b/plotly/validators/histogram2d/colorbar/_tickangle.py index e58533ee50c..35a6caff4ea 100644 --- a/plotly/validators/histogram2d/colorbar/_tickangle.py +++ b/plotly/validators/histogram2d/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickcolor.py b/plotly/validators/histogram2d/colorbar/_tickcolor.py index 8ae3b05aa71..0f7c3132c97 100644 --- a/plotly/validators/histogram2d/colorbar/_tickcolor.py +++ b/plotly/validators/histogram2d/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickfont.py b/plotly/validators/histogram2d/colorbar/_tickfont.py index cc406648e30..6d47602fc0b 100644 --- a/plotly/validators/histogram2d/colorbar/_tickfont.py +++ b/plotly/validators/histogram2d/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickformat.py b/plotly/validators/histogram2d/colorbar/_tickformat.py index 2ee892db7a5..781d48ae0a2 100644 --- a/plotly/validators/histogram2d/colorbar/_tickformat.py +++ b/plotly/validators/histogram2d/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickformatstops.py b/plotly/validators/histogram2d/colorbar/_tickformatstops.py index 2ac74c8d8f2..9ed1149b3a2 100644 --- a/plotly/validators/histogram2d/colorbar/_tickformatstops.py +++ b/plotly/validators/histogram2d/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_ticklen.py b/plotly/validators/histogram2d/colorbar/_ticklen.py index 6bf0ba81de2..9b5d541ee80 100644 --- a/plotly/validators/histogram2d/colorbar/_ticklen.py +++ b/plotly/validators/histogram2d/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickmode.py b/plotly/validators/histogram2d/colorbar/_tickmode.py index 6659c7c5f67..0ee982f6b08 100644 --- a/plotly/validators/histogram2d/colorbar/_tickmode.py +++ b/plotly/validators/histogram2d/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickprefix.py b/plotly/validators/histogram2d/colorbar/_tickprefix.py index 758c1984893..9b3b8c98767 100644 --- a/plotly/validators/histogram2d/colorbar/_tickprefix.py +++ b/plotly/validators/histogram2d/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_ticks.py b/plotly/validators/histogram2d/colorbar/_ticks.py index 7790d1f42cf..9541f3b53fe 100644 --- a/plotly/validators/histogram2d/colorbar/_ticks.py +++ b/plotly/validators/histogram2d/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_ticksuffix.py b/plotly/validators/histogram2d/colorbar/_ticksuffix.py index 3f917227491..ff042630eea 100644 --- a/plotly/validators/histogram2d/colorbar/_ticksuffix.py +++ b/plotly/validators/histogram2d/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_ticktext.py b/plotly/validators/histogram2d/colorbar/_ticktext.py index 5b828b8eaf6..97837099f61 100644 --- a/plotly/validators/histogram2d/colorbar/_ticktext.py +++ b/plotly/validators/histogram2d/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_ticktextsrc.py b/plotly/validators/histogram2d/colorbar/_ticktextsrc.py index db560e737b2..b9b46b01bea 100644 --- a/plotly/validators/histogram2d/colorbar/_ticktextsrc.py +++ b/plotly/validators/histogram2d/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickvals.py b/plotly/validators/histogram2d/colorbar/_tickvals.py index a98e0cbf4c0..cec42259509 100644 --- a/plotly/validators/histogram2d/colorbar/_tickvals.py +++ b/plotly/validators/histogram2d/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickvalssrc.py b/plotly/validators/histogram2d/colorbar/_tickvalssrc.py index 3138d446b33..f1b465e1cb5 100644 --- a/plotly/validators/histogram2d/colorbar/_tickvalssrc.py +++ b/plotly/validators/histogram2d/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_tickwidth.py b/plotly/validators/histogram2d/colorbar/_tickwidth.py index cdd8c56c7e1..d82f88d3e71 100644 --- a/plotly/validators/histogram2d/colorbar/_tickwidth.py +++ b/plotly/validators/histogram2d/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_title.py b/plotly/validators/histogram2d/colorbar/_title.py index 88007b8be88..fd42d3010aa 100644 --- a/plotly/validators/histogram2d/colorbar/_title.py +++ b/plotly/validators/histogram2d/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_titlefont.py b/plotly/validators/histogram2d/colorbar/_titlefont.py index be70a7b81e6..9e64f799e6e 100644 --- a/plotly/validators/histogram2d/colorbar/_titlefont.py +++ b/plotly/validators/histogram2d/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_titleside.py b/plotly/validators/histogram2d/colorbar/_titleside.py index 2552cd7f076..52eb182a072 100644 --- a/plotly/validators/histogram2d/colorbar/_titleside.py +++ b/plotly/validators/histogram2d/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_x.py b/plotly/validators/histogram2d/colorbar/_x.py index 7462302bb48..d350b5bfb30 100644 --- a/plotly/validators/histogram2d/colorbar/_x.py +++ b/plotly/validators/histogram2d/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_xanchor.py b/plotly/validators/histogram2d/colorbar/_xanchor.py index 5047298b9b6..af61884aa01 100644 --- a/plotly/validators/histogram2d/colorbar/_xanchor.py +++ b/plotly/validators/histogram2d/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_xpad.py b/plotly/validators/histogram2d/colorbar/_xpad.py index 9b6b8a0465f..f8b97b39c04 100644 --- a/plotly/validators/histogram2d/colorbar/_xpad.py +++ b/plotly/validators/histogram2d/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_y.py b/plotly/validators/histogram2d/colorbar/_y.py index c7feccd7e1a..8b151d7196e 100644 --- a/plotly/validators/histogram2d/colorbar/_y.py +++ b/plotly/validators/histogram2d/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_yanchor.py b/plotly/validators/histogram2d/colorbar/_yanchor.py index b513727c2e0..2036783011b 100644 --- a/plotly/validators/histogram2d/colorbar/_yanchor.py +++ b/plotly/validators/histogram2d/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/_ypad.py b/plotly/validators/histogram2d/colorbar/_ypad.py index f039d0f7059..ad732fb4fcc 100644 --- a/plotly/validators/histogram2d/colorbar/_ypad.py +++ b/plotly/validators/histogram2d/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickfont/_color.py b/plotly/validators/histogram2d/colorbar/tickfont/_color.py index d17106f709a..94ecb7c984b 100644 --- a/plotly/validators/histogram2d/colorbar/tickfont/_color.py +++ b/plotly/validators/histogram2d/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickfont/_family.py b/plotly/validators/histogram2d/colorbar/tickfont/_family.py index 4a779b6ee42..be7ec2cfe00 100644 --- a/plotly/validators/histogram2d/colorbar/tickfont/_family.py +++ b/plotly/validators/histogram2d/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickfont/_size.py b/plotly/validators/histogram2d/colorbar/tickfont/_size.py index 33da029f507..206a0deb630 100644 --- a/plotly/validators/histogram2d/colorbar/tickfont/_size.py +++ b/plotly/validators/histogram2d/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/histogram2d/colorbar/tickformatstop/_dtickrange.py index ba080b21e9b..a398be52075 100644 --- a/plotly/validators/histogram2d/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/histogram2d/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickformatstop/_enabled.py b/plotly/validators/histogram2d/colorbar/tickformatstop/_enabled.py index a32e7c3393e..57dfa43a631 100644 --- a/plotly/validators/histogram2d/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/histogram2d/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickformatstop/_name.py b/plotly/validators/histogram2d/colorbar/tickformatstop/_name.py index 66764472cf5..36f0b77fdf5 100644 --- a/plotly/validators/histogram2d/colorbar/tickformatstop/_name.py +++ b/plotly/validators/histogram2d/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/histogram2d/colorbar/tickformatstop/_templateitemname.py index a22bc48af44..ee9a8ff078c 100644 --- a/plotly/validators/histogram2d/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/histogram2d/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/tickformatstop/_value.py b/plotly/validators/histogram2d/colorbar/tickformatstop/_value.py index 1c5b58433fe..e3ab9a9d6e9 100644 --- a/plotly/validators/histogram2d/colorbar/tickformatstop/_value.py +++ b/plotly/validators/histogram2d/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/titlefont/_color.py b/plotly/validators/histogram2d/colorbar/titlefont/_color.py index ff98af5fcfd..1fcca701dce 100644 --- a/plotly/validators/histogram2d/colorbar/titlefont/_color.py +++ b/plotly/validators/histogram2d/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/titlefont/_family.py b/plotly/validators/histogram2d/colorbar/titlefont/_family.py index 1855e85f93b..164d42a57e0 100644 --- a/plotly/validators/histogram2d/colorbar/titlefont/_family.py +++ b/plotly/validators/histogram2d/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2d/colorbar/titlefont/_size.py b/plotly/validators/histogram2d/colorbar/titlefont/_size.py index 4311c5d7d17..be634ca0a32 100644 --- a/plotly/validators/histogram2d/colorbar/titlefont/_size.py +++ b/plotly/validators/histogram2d/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_bgcolor.py b/plotly/validators/histogram2d/hoverlabel/_bgcolor.py index a72ced7914a..7625619d204 100644 --- a/plotly/validators/histogram2d/hoverlabel/_bgcolor.py +++ b/plotly/validators/histogram2d/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_bgcolorsrc.py b/plotly/validators/histogram2d/hoverlabel/_bgcolorsrc.py index 1015f328d7a..f8227e7e20b 100644 --- a/plotly/validators/histogram2d/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/histogram2d/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_bordercolor.py b/plotly/validators/histogram2d/hoverlabel/_bordercolor.py index 1c7728344c3..659325cb09c 100644 --- a/plotly/validators/histogram2d/hoverlabel/_bordercolor.py +++ b/plotly/validators/histogram2d/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_bordercolorsrc.py b/plotly/validators/histogram2d/hoverlabel/_bordercolorsrc.py index 978d1ad6004..26db5681413 100644 --- a/plotly/validators/histogram2d/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/histogram2d/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_font.py b/plotly/validators/histogram2d/hoverlabel/_font.py index 3588602e010..c7ba111b051 100644 --- a/plotly/validators/histogram2d/hoverlabel/_font.py +++ b/plotly/validators/histogram2d/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_namelength.py b/plotly/validators/histogram2d/hoverlabel/_namelength.py index bfef6963301..44faf639e7e 100644 --- a/plotly/validators/histogram2d/hoverlabel/_namelength.py +++ b/plotly/validators/histogram2d/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/_namelengthsrc.py b/plotly/validators/histogram2d/hoverlabel/_namelengthsrc.py index 58d2522be41..c5da6643b11 100644 --- a/plotly/validators/histogram2d/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/histogram2d/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/font/_color.py b/plotly/validators/histogram2d/hoverlabel/font/_color.py index df13a5160b2..5b399ccf74f 100644 --- a/plotly/validators/histogram2d/hoverlabel/font/_color.py +++ b/plotly/validators/histogram2d/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/font/_colorsrc.py b/plotly/validators/histogram2d/hoverlabel/font/_colorsrc.py index 4a1c00e8fd7..04fb3981364 100644 --- a/plotly/validators/histogram2d/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/histogram2d/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/font/_family.py b/plotly/validators/histogram2d/hoverlabel/font/_family.py index 5b55e4cf45e..6c8531da425 100644 --- a/plotly/validators/histogram2d/hoverlabel/font/_family.py +++ b/plotly/validators/histogram2d/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/font/_familysrc.py b/plotly/validators/histogram2d/hoverlabel/font/_familysrc.py index 0917cf48ed3..a072e27f4d2 100644 --- a/plotly/validators/histogram2d/hoverlabel/font/_familysrc.py +++ b/plotly/validators/histogram2d/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/font/_size.py b/plotly/validators/histogram2d/hoverlabel/font/_size.py index 168fb42d158..f23119bb797 100644 --- a/plotly/validators/histogram2d/hoverlabel/font/_size.py +++ b/plotly/validators/histogram2d/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/hoverlabel/font/_sizesrc.py b/plotly/validators/histogram2d/hoverlabel/font/_sizesrc.py index 614ab024ede..766ea417afb 100644 --- a/plotly/validators/histogram2d/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/histogram2d/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/marker/_color.py b/plotly/validators/histogram2d/marker/_color.py index 90adf8abaa0..47528ee1c4e 100644 --- a/plotly/validators/histogram2d/marker/_color.py +++ b/plotly/validators/histogram2d/marker/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2d/marker/_colorsrc.py b/plotly/validators/histogram2d/marker/_colorsrc.py index 47f5e856a7e..d55414ddf2d 100644 --- a/plotly/validators/histogram2d/marker/_colorsrc.py +++ b/plotly/validators/histogram2d/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/stream/_maxpoints.py b/plotly/validators/histogram2d/stream/_maxpoints.py index a2984b9eb15..489f478e685 100644 --- a/plotly/validators/histogram2d/stream/_maxpoints.py +++ b/plotly/validators/histogram2d/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2d/stream/_token.py b/plotly/validators/histogram2d/stream/_token.py index 45171601a2f..74d1546a1c3 100644 --- a/plotly/validators/histogram2d/stream/_token.py +++ b/plotly/validators/histogram2d/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2d/xbins/_end.py b/plotly/validators/histogram2d/xbins/_end.py index 6bd1972c754..27cb8bd478c 100644 --- a/plotly/validators/histogram2d/xbins/_end.py +++ b/plotly/validators/histogram2d/xbins/_end.py @@ -9,8 +9,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/xbins/_size.py b/plotly/validators/histogram2d/xbins/_size.py index 2d9ed038a81..8b6ed1d8a2a 100644 --- a/plotly/validators/histogram2d/xbins/_size.py +++ b/plotly/validators/histogram2d/xbins/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/xbins/_start.py b/plotly/validators/histogram2d/xbins/_start.py index c5ec949a32f..1163e48e9a0 100644 --- a/plotly/validators/histogram2d/xbins/_start.py +++ b/plotly/validators/histogram2d/xbins/_start.py @@ -9,8 +9,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/ybins/_end.py b/plotly/validators/histogram2d/ybins/_end.py index 73893ff086b..55fbd0a5920 100644 --- a/plotly/validators/histogram2d/ybins/_end.py +++ b/plotly/validators/histogram2d/ybins/_end.py @@ -9,8 +9,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/ybins/_size.py b/plotly/validators/histogram2d/ybins/_size.py index 54f8b363013..14707baa852 100644 --- a/plotly/validators/histogram2d/ybins/_size.py +++ b/plotly/validators/histogram2d/ybins/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2d/ybins/_start.py b/plotly/validators/histogram2d/ybins/_start.py index 0622fe29d44..dd50b669af0 100644 --- a/plotly/validators/histogram2d/ybins/_start.py +++ b/plotly/validators/histogram2d/ybins/_start.py @@ -9,8 +9,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_autobinx.py b/plotly/validators/histogram2dcontour/_autobinx.py index 3e3bbbf5b7a..dfaa35182e6 100644 --- a/plotly/validators/histogram2dcontour/_autobinx.py +++ b/plotly/validators/histogram2dcontour/_autobinx.py @@ -12,8 +12,8 @@ def __init__( super(AutobinxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_autobiny.py b/plotly/validators/histogram2dcontour/_autobiny.py index 93bc5980fb1..4ee29f90785 100644 --- a/plotly/validators/histogram2dcontour/_autobiny.py +++ b/plotly/validators/histogram2dcontour/_autobiny.py @@ -12,8 +12,8 @@ def __init__( super(AutobinyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_autocolorscale.py b/plotly/validators/histogram2dcontour/_autocolorscale.py index 7ba33b5849c..f546adf3bdb 100644 --- a/plotly/validators/histogram2dcontour/_autocolorscale.py +++ b/plotly/validators/histogram2dcontour/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_autocontour.py b/plotly/validators/histogram2dcontour/_autocontour.py index f6c585d0c6a..b5738c5c2e2 100644 --- a/plotly/validators/histogram2dcontour/_autocontour.py +++ b/plotly/validators/histogram2dcontour/_autocontour.py @@ -12,8 +12,8 @@ def __init__( super(AutocontourValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_colorbar.py b/plotly/validators/histogram2dcontour/_colorbar.py index fec0f6b465d..b48eb3d3f5f 100644 --- a/plotly/validators/histogram2dcontour/_colorbar.py +++ b/plotly/validators/histogram2dcontour/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_colorscale.py b/plotly/validators/histogram2dcontour/_colorscale.py index cefbe0ba989..cfef7352e76 100644 --- a/plotly/validators/histogram2dcontour/_colorscale.py +++ b/plotly/validators/histogram2dcontour/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_contours.py b/plotly/validators/histogram2dcontour/_contours.py index bfe6825ca6a..15e7e5a019e 100644 --- a/plotly/validators/histogram2dcontour/_contours.py +++ b/plotly/validators/histogram2dcontour/_contours.py @@ -12,8 +12,9 @@ def __init__( super(ContoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contours', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contours'), + data_docs=kwargs.pop( + 'data_docs', """ coloring Determines the coloring method showing the contour values. If "fill", coloring is done @@ -76,6 +77,7 @@ def __init__( to be an array of two numbers where the first is the lower bound and the second is the upper bound. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_customdata.py b/plotly/validators/histogram2dcontour/_customdata.py index 091017f0ac0..570ef240f49 100644 --- a/plotly/validators/histogram2dcontour/_customdata.py +++ b/plotly/validators/histogram2dcontour/_customdata.py @@ -12,7 +12,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_customdatasrc.py b/plotly/validators/histogram2dcontour/_customdatasrc.py index c9014fef7a5..585fa3f30c5 100644 --- a/plotly/validators/histogram2dcontour/_customdatasrc.py +++ b/plotly/validators/histogram2dcontour/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_histfunc.py b/plotly/validators/histogram2dcontour/_histfunc.py index 4e1f6c7f99d..13953e0e599 100644 --- a/plotly/validators/histogram2dcontour/_histfunc.py +++ b/plotly/validators/histogram2dcontour/_histfunc.py @@ -12,8 +12,8 @@ def __init__( super(HistfuncValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['count', 'sum', 'avg', 'min', 'max'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['count', 'sum', 'avg', 'min', 'max']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_histnorm.py b/plotly/validators/histogram2dcontour/_histnorm.py index 6dbecd20980..5cb1995ecee 100644 --- a/plotly/validators/histogram2dcontour/_histnorm.py +++ b/plotly/validators/histogram2dcontour/_histnorm.py @@ -12,10 +12,13 @@ def __init__( super(HistnormValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - '', 'percent', 'probability', 'density', 'probability density' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + '', 'percent', 'probability', 'density', + 'probability density' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_hoverinfo.py b/plotly/validators/histogram2dcontour/_hoverinfo.py index d1543acfe77..6d28dfa83b9 100644 --- a/plotly/validators/histogram2dcontour/_hoverinfo.py +++ b/plotly/validators/histogram2dcontour/_hoverinfo.py @@ -12,10 +12,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_hoverinfosrc.py b/plotly/validators/histogram2dcontour/_hoverinfosrc.py index 78a1ba7d745..aae6ed653fd 100644 --- a/plotly/validators/histogram2dcontour/_hoverinfosrc.py +++ b/plotly/validators/histogram2dcontour/_hoverinfosrc.py @@ -12,7 +12,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_hoverlabel.py b/plotly/validators/histogram2dcontour/_hoverlabel.py index e616865c9e2..5bc6ee7dc16 100644 --- a/plotly/validators/histogram2dcontour/_hoverlabel.py +++ b/plotly/validators/histogram2dcontour/_hoverlabel.py @@ -12,8 +12,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -40,6 +41,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_ids.py b/plotly/validators/histogram2dcontour/_ids.py index 255ea286b07..ca178e2987d 100644 --- a/plotly/validators/histogram2dcontour/_ids.py +++ b/plotly/validators/histogram2dcontour/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_idssrc.py b/plotly/validators/histogram2dcontour/_idssrc.py index e722a8a691d..c631165c363 100644 --- a/plotly/validators/histogram2dcontour/_idssrc.py +++ b/plotly/validators/histogram2dcontour/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_legendgroup.py b/plotly/validators/histogram2dcontour/_legendgroup.py index 80829cd6b00..58ed78012a8 100644 --- a/plotly/validators/histogram2dcontour/_legendgroup.py +++ b/plotly/validators/histogram2dcontour/_legendgroup.py @@ -12,7 +12,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_line.py b/plotly/validators/histogram2dcontour/_line.py index 303d5c0c4b1..0e12b733597 100644 --- a/plotly/validators/histogram2dcontour/_line.py +++ b/plotly/validators/histogram2dcontour/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour level. Has no effect if `contours.coloring` is set to @@ -25,6 +26,7 @@ def __init__( lines, where 0 corresponds to no smoothing. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_marker.py b/plotly/validators/histogram2dcontour/_marker.py index 8e669ee86c3..16ba69d3683 100644 --- a/plotly/validators/histogram2dcontour/_marker.py +++ b/plotly/validators/histogram2dcontour/_marker.py @@ -9,13 +9,15 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the aggregation data. colorsrc Sets the source reference on plot.ly for color . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_name.py b/plotly/validators/histogram2dcontour/_name.py index f9fa970b42f..7c06480c6da 100644 --- a/plotly/validators/histogram2dcontour/_name.py +++ b/plotly/validators/histogram2dcontour/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_nbinsx.py b/plotly/validators/histogram2dcontour/_nbinsx.py index 308ea23758c..fc1f4630919 100644 --- a/plotly/validators/histogram2dcontour/_nbinsx.py +++ b/plotly/validators/histogram2dcontour/_nbinsx.py @@ -9,8 +9,8 @@ def __init__( super(NbinsxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_nbinsy.py b/plotly/validators/histogram2dcontour/_nbinsy.py index 60eaf539395..435eadc210a 100644 --- a/plotly/validators/histogram2dcontour/_nbinsy.py +++ b/plotly/validators/histogram2dcontour/_nbinsy.py @@ -9,8 +9,8 @@ def __init__( super(NbinsyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_ncontours.py b/plotly/validators/histogram2dcontour/_ncontours.py index f373cee63c3..73ac019be94 100644 --- a/plotly/validators/histogram2dcontour/_ncontours.py +++ b/plotly/validators/histogram2dcontour/_ncontours.py @@ -12,8 +12,8 @@ def __init__( super(NcontoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_opacity.py b/plotly/validators/histogram2dcontour/_opacity.py index cf68d2d742a..5d491845416 100644 --- a/plotly/validators/histogram2dcontour/_opacity.py +++ b/plotly/validators/histogram2dcontour/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_reversescale.py b/plotly/validators/histogram2dcontour/_reversescale.py index f2b040c1e64..662534fcd01 100644 --- a/plotly/validators/histogram2dcontour/_reversescale.py +++ b/plotly/validators/histogram2dcontour/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_selectedpoints.py b/plotly/validators/histogram2dcontour/_selectedpoints.py index 54ab8dd340c..6bd104e7875 100644 --- a/plotly/validators/histogram2dcontour/_selectedpoints.py +++ b/plotly/validators/histogram2dcontour/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_showlegend.py b/plotly/validators/histogram2dcontour/_showlegend.py index 67a60d6dab8..be1bfb6e82b 100644 --- a/plotly/validators/histogram2dcontour/_showlegend.py +++ b/plotly/validators/histogram2dcontour/_showlegend.py @@ -12,7 +12,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_showscale.py b/plotly/validators/histogram2dcontour/_showscale.py index 000610fc39e..8c9a77cd16a 100644 --- a/plotly/validators/histogram2dcontour/_showscale.py +++ b/plotly/validators/histogram2dcontour/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_stream.py b/plotly/validators/histogram2dcontour/_stream.py index 8248d4b0279..851162a183c 100644 --- a/plotly/validators/histogram2dcontour/_stream.py +++ b/plotly/validators/histogram2dcontour/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_uid.py b/plotly/validators/histogram2dcontour/_uid.py index e27d07ce053..5bc6171acf6 100644 --- a/plotly/validators/histogram2dcontour/_uid.py +++ b/plotly/validators/histogram2dcontour/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_visible.py b/plotly/validators/histogram2dcontour/_visible.py index 59086747789..e4b14b582f6 100644 --- a/plotly/validators/histogram2dcontour/_visible.py +++ b/plotly/validators/histogram2dcontour/_visible.py @@ -12,8 +12,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_x.py b/plotly/validators/histogram2dcontour/_x.py index e9bb8e0275e..ef34a936012 100644 --- a/plotly/validators/histogram2dcontour/_x.py +++ b/plotly/validators/histogram2dcontour/_x.py @@ -9,7 +9,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_xaxis.py b/plotly/validators/histogram2dcontour/_xaxis.py index 4da448468e4..703e1c21ec2 100644 --- a/plotly/validators/histogram2dcontour/_xaxis.py +++ b/plotly/validators/histogram2dcontour/_xaxis.py @@ -9,8 +9,8 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_xbins.py b/plotly/validators/histogram2dcontour/_xbins.py index 3eebdcd8234..f308950d19b 100644 --- a/plotly/validators/histogram2dcontour/_xbins.py +++ b/plotly/validators/histogram2dcontour/_xbins.py @@ -9,14 +9,16 @@ def __init__( super(XBinsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='XBins', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'XBins'), + data_docs=kwargs.pop( + 'data_docs', """ end Sets the end value for the x axis bins. size Sets the step in-between value each x axis bin. start Sets the starting value for the x axis bins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_xcalendar.py b/plotly/validators/histogram2dcontour/_xcalendar.py index 22f75471402..7c8650c6e9d 100644 --- a/plotly/validators/histogram2dcontour/_xcalendar.py +++ b/plotly/validators/histogram2dcontour/_xcalendar.py @@ -12,12 +12,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_xsrc.py b/plotly/validators/histogram2dcontour/_xsrc.py index 65d7416164e..f84376b965e 100644 --- a/plotly/validators/histogram2dcontour/_xsrc.py +++ b/plotly/validators/histogram2dcontour/_xsrc.py @@ -9,7 +9,7 @@ def __init__( super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_y.py b/plotly/validators/histogram2dcontour/_y.py index 841b1a5da66..b5420445c77 100644 --- a/plotly/validators/histogram2dcontour/_y.py +++ b/plotly/validators/histogram2dcontour/_y.py @@ -9,7 +9,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_yaxis.py b/plotly/validators/histogram2dcontour/_yaxis.py index 1ec392eda8f..5f7117ab42c 100644 --- a/plotly/validators/histogram2dcontour/_yaxis.py +++ b/plotly/validators/histogram2dcontour/_yaxis.py @@ -9,8 +9,8 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_ybins.py b/plotly/validators/histogram2dcontour/_ybins.py index 9bac717de83..f8bd0dcab74 100644 --- a/plotly/validators/histogram2dcontour/_ybins.py +++ b/plotly/validators/histogram2dcontour/_ybins.py @@ -9,14 +9,16 @@ def __init__( super(YBinsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='YBins', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'YBins'), + data_docs=kwargs.pop( + 'data_docs', """ end Sets the end value for the y axis bins. size Sets the step in-between value each y axis bin. start Sets the starting value for the y axis bins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_ycalendar.py b/plotly/validators/histogram2dcontour/_ycalendar.py index 344c7e27393..e043089cf91 100644 --- a/plotly/validators/histogram2dcontour/_ycalendar.py +++ b/plotly/validators/histogram2dcontour/_ycalendar.py @@ -12,12 +12,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_ysrc.py b/plotly/validators/histogram2dcontour/_ysrc.py index a9fd432e964..8e0ef7f8e14 100644 --- a/plotly/validators/histogram2dcontour/_ysrc.py +++ b/plotly/validators/histogram2dcontour/_ysrc.py @@ -9,7 +9,7 @@ def __init__( super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_z.py b/plotly/validators/histogram2dcontour/_z.py index 940401b3b33..6d1762b04ac 100644 --- a/plotly/validators/histogram2dcontour/_z.py +++ b/plotly/validators/histogram2dcontour/_z.py @@ -9,7 +9,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_zauto.py b/plotly/validators/histogram2dcontour/_zauto.py index b8f455653ed..c7f1dd86428 100644 --- a/plotly/validators/histogram2dcontour/_zauto.py +++ b/plotly/validators/histogram2dcontour/_zauto.py @@ -9,8 +9,8 @@ def __init__( super(ZautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_zhoverformat.py b/plotly/validators/histogram2dcontour/_zhoverformat.py index ec39773e8b3..f1b5c33111e 100644 --- a/plotly/validators/histogram2dcontour/_zhoverformat.py +++ b/plotly/validators/histogram2dcontour/_zhoverformat.py @@ -12,7 +12,7 @@ def __init__( super(ZhoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_zmax.py b/plotly/validators/histogram2dcontour/_zmax.py index cdf7499e665..bf4f4eef6ea 100644 --- a/plotly/validators/histogram2dcontour/_zmax.py +++ b/plotly/validators/histogram2dcontour/_zmax.py @@ -9,8 +9,8 @@ def __init__( super(ZmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_zmin.py b/plotly/validators/histogram2dcontour/_zmin.py index a70c9a11319..f8c893d2043 100644 --- a/plotly/validators/histogram2dcontour/_zmin.py +++ b/plotly/validators/histogram2dcontour/_zmin.py @@ -9,8 +9,8 @@ def __init__( super(ZminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'zauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'zauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/_zsrc.py b/plotly/validators/histogram2dcontour/_zsrc.py index ebef35f4568..1c3014f133c 100644 --- a/plotly/validators/histogram2dcontour/_zsrc.py +++ b/plotly/validators/histogram2dcontour/_zsrc.py @@ -9,7 +9,7 @@ def __init__( super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_bgcolor.py b/plotly/validators/histogram2dcontour/colorbar/_bgcolor.py index 861156ce6da..d00737a42d6 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_bgcolor.py +++ b/plotly/validators/histogram2dcontour/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_bordercolor.py b/plotly/validators/histogram2dcontour/colorbar/_bordercolor.py index aba8ab9c3d4..608f2d8e845 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_bordercolor.py +++ b/plotly/validators/histogram2dcontour/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_borderwidth.py b/plotly/validators/histogram2dcontour/colorbar/_borderwidth.py index 3d61ea85323..d93791a71ee 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_borderwidth.py +++ b/plotly/validators/histogram2dcontour/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_dtick.py b/plotly/validators/histogram2dcontour/colorbar/_dtick.py index e2cfff12270..b59c6980d33 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_dtick.py +++ b/plotly/validators/histogram2dcontour/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_exponentformat.py b/plotly/validators/histogram2dcontour/colorbar/_exponentformat.py index dbad2c08f60..cc2197e4bc8 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_exponentformat.py +++ b/plotly/validators/histogram2dcontour/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_len.py b/plotly/validators/histogram2dcontour/colorbar/_len.py index 5c2f8b1538f..331e6c6930a 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_len.py +++ b/plotly/validators/histogram2dcontour/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_lenmode.py b/plotly/validators/histogram2dcontour/colorbar/_lenmode.py index ee98382b581..87ffd379772 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_lenmode.py +++ b/plotly/validators/histogram2dcontour/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_nticks.py b/plotly/validators/histogram2dcontour/colorbar/_nticks.py index 03a002e5db1..56756607311 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_nticks.py +++ b/plotly/validators/histogram2dcontour/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_outlinecolor.py b/plotly/validators/histogram2dcontour/colorbar/_outlinecolor.py index b5e229675fb..80175bc14a6 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_outlinecolor.py +++ b/plotly/validators/histogram2dcontour/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_outlinewidth.py b/plotly/validators/histogram2dcontour/colorbar/_outlinewidth.py index 583a6adbcc9..627e64a2a6b 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_outlinewidth.py +++ b/plotly/validators/histogram2dcontour/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_separatethousands.py b/plotly/validators/histogram2dcontour/colorbar/_separatethousands.py index 89c47e288ce..f8351c92820 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_separatethousands.py +++ b/plotly/validators/histogram2dcontour/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_showexponent.py b/plotly/validators/histogram2dcontour/colorbar/_showexponent.py index bdf67928f10..b0db152068e 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_showexponent.py +++ b/plotly/validators/histogram2dcontour/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_showticklabels.py b/plotly/validators/histogram2dcontour/colorbar/_showticklabels.py index b0f65eb7cb6..9eb2d0cbc19 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_showticklabels.py +++ b/plotly/validators/histogram2dcontour/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_showtickprefix.py b/plotly/validators/histogram2dcontour/colorbar/_showtickprefix.py index 714bb88fa3d..2166d464ba0 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_showtickprefix.py +++ b/plotly/validators/histogram2dcontour/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_showticksuffix.py b/plotly/validators/histogram2dcontour/colorbar/_showticksuffix.py index 78473a6521b..ada442da169 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_showticksuffix.py +++ b/plotly/validators/histogram2dcontour/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_thickness.py b/plotly/validators/histogram2dcontour/colorbar/_thickness.py index 79fae518dc1..f060a943ed5 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_thickness.py +++ b/plotly/validators/histogram2dcontour/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_thicknessmode.py b/plotly/validators/histogram2dcontour/colorbar/_thicknessmode.py index ad4e65ab564..cd04a3c7fb3 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_thicknessmode.py +++ b/plotly/validators/histogram2dcontour/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tick0.py b/plotly/validators/histogram2dcontour/colorbar/_tick0.py index f26e4dab288..e4ee9976fcd 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tick0.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickangle.py b/plotly/validators/histogram2dcontour/colorbar/_tickangle.py index 147f1e635f9..2451a3a21a8 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickangle.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickcolor.py b/plotly/validators/histogram2dcontour/colorbar/_tickcolor.py index e6afbc2f314..24d8cea1095 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickcolor.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickfont.py b/plotly/validators/histogram2dcontour/colorbar/_tickfont.py index 9472030d0d1..d476042204e 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickfont.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickformat.py b/plotly/validators/histogram2dcontour/colorbar/_tickformat.py index 94de8c6f4b1..6f2b1c5b937 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickformat.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickformatstops.py b/plotly/validators/histogram2dcontour/colorbar/_tickformatstops.py index 337a457e691..4740384338f 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickformatstops.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_ticklen.py b/plotly/validators/histogram2dcontour/colorbar/_ticklen.py index 3ff873efe0e..88a78e03159 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_ticklen.py +++ b/plotly/validators/histogram2dcontour/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickmode.py b/plotly/validators/histogram2dcontour/colorbar/_tickmode.py index e2393f5a9d9..41cfb80ee50 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickmode.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickprefix.py b/plotly/validators/histogram2dcontour/colorbar/_tickprefix.py index ecff399e559..5f79104246f 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickprefix.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_ticks.py b/plotly/validators/histogram2dcontour/colorbar/_ticks.py index 317038b1dab..638c18befdf 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_ticks.py +++ b/plotly/validators/histogram2dcontour/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_ticksuffix.py b/plotly/validators/histogram2dcontour/colorbar/_ticksuffix.py index 8b9d6d71e74..0c2e1cc5233 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_ticksuffix.py +++ b/plotly/validators/histogram2dcontour/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_ticktext.py b/plotly/validators/histogram2dcontour/colorbar/_ticktext.py index c949339640e..c573b97832f 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_ticktext.py +++ b/plotly/validators/histogram2dcontour/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_ticktextsrc.py b/plotly/validators/histogram2dcontour/colorbar/_ticktextsrc.py index e43182a88be..5d7ddccef5f 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_ticktextsrc.py +++ b/plotly/validators/histogram2dcontour/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickvals.py b/plotly/validators/histogram2dcontour/colorbar/_tickvals.py index 227f68e67a4..06ba7d01f29 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickvals.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickvalssrc.py b/plotly/validators/histogram2dcontour/colorbar/_tickvalssrc.py index 4f9bb24e09b..a9d3905b5ce 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickvalssrc.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_tickwidth.py b/plotly/validators/histogram2dcontour/colorbar/_tickwidth.py index 8f5ec20a5e8..c3acaa452bf 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_tickwidth.py +++ b/plotly/validators/histogram2dcontour/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_title.py b/plotly/validators/histogram2dcontour/colorbar/_title.py index 7a8fcf95dab..4585cb83722 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_title.py +++ b/plotly/validators/histogram2dcontour/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_titlefont.py b/plotly/validators/histogram2dcontour/colorbar/_titlefont.py index a604e0dfcbc..1b913bfa4d2 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_titlefont.py +++ b/plotly/validators/histogram2dcontour/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_titleside.py b/plotly/validators/histogram2dcontour/colorbar/_titleside.py index 6187e34b1af..77c5afcaf50 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_titleside.py +++ b/plotly/validators/histogram2dcontour/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_x.py b/plotly/validators/histogram2dcontour/colorbar/_x.py index 96cbb00cae9..3a5eb7c1ce8 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_x.py +++ b/plotly/validators/histogram2dcontour/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_xanchor.py b/plotly/validators/histogram2dcontour/colorbar/_xanchor.py index 34516d9cf9c..6f1a6eea40b 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_xanchor.py +++ b/plotly/validators/histogram2dcontour/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_xpad.py b/plotly/validators/histogram2dcontour/colorbar/_xpad.py index 33a075d966a..78d89f6fa75 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_xpad.py +++ b/plotly/validators/histogram2dcontour/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_y.py b/plotly/validators/histogram2dcontour/colorbar/_y.py index 66fcad80195..aad53fc9bbe 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_y.py +++ b/plotly/validators/histogram2dcontour/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_yanchor.py b/plotly/validators/histogram2dcontour/colorbar/_yanchor.py index 63b2149fbcc..d743b88f642 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_yanchor.py +++ b/plotly/validators/histogram2dcontour/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/_ypad.py b/plotly/validators/histogram2dcontour/colorbar/_ypad.py index fb6e262ef8d..98a1645e663 100644 --- a/plotly/validators/histogram2dcontour/colorbar/_ypad.py +++ b/plotly/validators/histogram2dcontour/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickfont/_color.py b/plotly/validators/histogram2dcontour/colorbar/tickfont/_color.py index 5bdbfd9f112..e8e2447cb74 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickfont/_color.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickfont/_family.py b/plotly/validators/histogram2dcontour/colorbar/tickfont/_family.py index fae7031be17..d5c24b499af 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickfont/_family.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickfont/_size.py b/plotly/validators/histogram2dcontour/colorbar/tickfont/_size.py index 49973f95f7e..7f2edc3fc09 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickfont/_size.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_dtickrange.py index ad8283d0e56..5e1091b0de8 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_enabled.py b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_enabled.py index 099317046d4..b94436a84d5 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_name.py b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_name.py index 92e9c05b036..0e42679e542 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_name.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_templateitemname.py index d145dd98c9f..209234150b2 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_value.py b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_value.py index 957e579cd98..6013c475051 100644 --- a/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_value.py +++ b/plotly/validators/histogram2dcontour/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/titlefont/_color.py b/plotly/validators/histogram2dcontour/colorbar/titlefont/_color.py index 9f9de6283e3..7c4968665cb 100644 --- a/plotly/validators/histogram2dcontour/colorbar/titlefont/_color.py +++ b/plotly/validators/histogram2dcontour/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/titlefont/_family.py b/plotly/validators/histogram2dcontour/colorbar/titlefont/_family.py index fb076096c79..2bd150d05a7 100644 --- a/plotly/validators/histogram2dcontour/colorbar/titlefont/_family.py +++ b/plotly/validators/histogram2dcontour/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/colorbar/titlefont/_size.py b/plotly/validators/histogram2dcontour/colorbar/titlefont/_size.py index 360c551501b..2cd5c6ec925 100644 --- a/plotly/validators/histogram2dcontour/colorbar/titlefont/_size.py +++ b/plotly/validators/histogram2dcontour/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_coloring.py b/plotly/validators/histogram2dcontour/contours/_coloring.py index f2e25de0882..c541e3fdfb0 100644 --- a/plotly/validators/histogram2dcontour/contours/_coloring.py +++ b/plotly/validators/histogram2dcontour/contours/_coloring.py @@ -12,8 +12,8 @@ def __init__( super(ColoringValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fill', 'heatmap', 'lines', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fill', 'heatmap', 'lines', 'none']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_end.py b/plotly/validators/histogram2dcontour/contours/_end.py index 464d8940d35..4f3ac4025f9 100644 --- a/plotly/validators/histogram2dcontour/contours/_end.py +++ b/plotly/validators/histogram2dcontour/contours/_end.py @@ -12,8 +12,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_labelfont.py b/plotly/validators/histogram2dcontour/contours/_labelfont.py index a825bf7182e..d459dc3c780 100644 --- a/plotly/validators/histogram2dcontour/contours/_labelfont.py +++ b/plotly/validators/histogram2dcontour/contours/_labelfont.py @@ -12,8 +12,9 @@ def __init__( super(LabelfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Labelfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Labelfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_labelformat.py b/plotly/validators/histogram2dcontour/contours/_labelformat.py index a5d5e0dfb0d..bed4a3dc556 100644 --- a/plotly/validators/histogram2dcontour/contours/_labelformat.py +++ b/plotly/validators/histogram2dcontour/contours/_labelformat.py @@ -12,7 +12,7 @@ def __init__( super(LabelformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_operation.py b/plotly/validators/histogram2dcontour/contours/_operation.py index 376f11518af..46c0c032526 100644 --- a/plotly/validators/histogram2dcontour/contours/_operation.py +++ b/plotly/validators/histogram2dcontour/contours/_operation.py @@ -12,11 +12,13 @@ def __init__( super(OperationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - '=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][', ')(', - '](', ')[' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + '=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][', + ')(', '](', ')[' + ] + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_showlabels.py b/plotly/validators/histogram2dcontour/contours/_showlabels.py index 196356c81c8..f66d13caa32 100644 --- a/plotly/validators/histogram2dcontour/contours/_showlabels.py +++ b/plotly/validators/histogram2dcontour/contours/_showlabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowlabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_showlines.py b/plotly/validators/histogram2dcontour/contours/_showlines.py index 74ed5511508..254754b47c2 100644 --- a/plotly/validators/histogram2dcontour/contours/_showlines.py +++ b/plotly/validators/histogram2dcontour/contours/_showlines.py @@ -12,7 +12,7 @@ def __init__( super(ShowlinesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_size.py b/plotly/validators/histogram2dcontour/contours/_size.py index 03e7a7949d6..8bb9d70bc28 100644 --- a/plotly/validators/histogram2dcontour/contours/_size.py +++ b/plotly/validators/histogram2dcontour/contours/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_start.py b/plotly/validators/histogram2dcontour/contours/_start.py index b83162f52ad..890585c35d7 100644 --- a/plotly/validators/histogram2dcontour/contours/_start.py +++ b/plotly/validators/histogram2dcontour/contours/_start.py @@ -12,8 +12,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^autocontour': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'^autocontour': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_type.py b/plotly/validators/histogram2dcontour/contours/_type.py index 58454012586..c43aee2497d 100644 --- a/plotly/validators/histogram2dcontour/contours/_type.py +++ b/plotly/validators/histogram2dcontour/contours/_type.py @@ -12,8 +12,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['levels', 'constraint'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['levels', 'constraint']), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/_value.py b/plotly/validators/histogram2dcontour/contours/_value.py index 69922608077..928f26a5b38 100644 --- a/plotly/validators/histogram2dcontour/contours/_value.py +++ b/plotly/validators/histogram2dcontour/contours/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/labelfont/_color.py b/plotly/validators/histogram2dcontour/contours/labelfont/_color.py index a6aabf644d9..84f4409a77a 100644 --- a/plotly/validators/histogram2dcontour/contours/labelfont/_color.py +++ b/plotly/validators/histogram2dcontour/contours/labelfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/labelfont/_family.py b/plotly/validators/histogram2dcontour/contours/labelfont/_family.py index 672c3c6a4be..3c6a4d2546c 100644 --- a/plotly/validators/histogram2dcontour/contours/labelfont/_family.py +++ b/plotly/validators/histogram2dcontour/contours/labelfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/contours/labelfont/_size.py b/plotly/validators/histogram2dcontour/contours/labelfont/_size.py index 1904a333753..30b186294a5 100644 --- a/plotly/validators/histogram2dcontour/contours/labelfont/_size.py +++ b/plotly/validators/histogram2dcontour/contours/labelfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_bgcolor.py b/plotly/validators/histogram2dcontour/hoverlabel/_bgcolor.py index fba6b89101e..e16b03351ce 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_bgcolor.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_bgcolorsrc.py b/plotly/validators/histogram2dcontour/hoverlabel/_bgcolorsrc.py index 1e6f8815d7f..d9dfb399fe6 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_bordercolor.py b/plotly/validators/histogram2dcontour/hoverlabel/_bordercolor.py index daa1c9b2516..3ab7ee018d7 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_bordercolor.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_bordercolorsrc.py b/plotly/validators/histogram2dcontour/hoverlabel/_bordercolorsrc.py index 134bfae9066..425caa3eb1f 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_font.py b/plotly/validators/histogram2dcontour/hoverlabel/_font.py index 23d22656393..793a11800b9 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_font.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_namelength.py b/plotly/validators/histogram2dcontour/hoverlabel/_namelength.py index ed1350ebc44..7c0ad812f16 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_namelength.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/_namelengthsrc.py b/plotly/validators/histogram2dcontour/hoverlabel/_namelengthsrc.py index 08bcf859028..ef7cb21ba9a 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/font/_color.py b/plotly/validators/histogram2dcontour/hoverlabel/font/_color.py index 775d588c050..44bb39749e3 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/font/_color.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/font/_colorsrc.py b/plotly/validators/histogram2dcontour/hoverlabel/font/_colorsrc.py index c6a3252ce26..e6401353a19 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/font/_family.py b/plotly/validators/histogram2dcontour/hoverlabel/font/_family.py index 1bd8276fcc6..31970d9898c 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/font/_family.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/font/_familysrc.py b/plotly/validators/histogram2dcontour/hoverlabel/font/_familysrc.py index 99617a1ffe2..94c6af93599 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/font/_familysrc.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/font/_size.py b/plotly/validators/histogram2dcontour/hoverlabel/font/_size.py index c843fd64d3e..4e938f1ab59 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/font/_size.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/hoverlabel/font/_sizesrc.py b/plotly/validators/histogram2dcontour/hoverlabel/font/_sizesrc.py index 61326e41cb3..020f963163d 100644 --- a/plotly/validators/histogram2dcontour/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/histogram2dcontour/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/line/_color.py b/plotly/validators/histogram2dcontour/line/_color.py index 4cc8c83975f..1a8ff32c47a 100644 --- a/plotly/validators/histogram2dcontour/line/_color.py +++ b/plotly/validators/histogram2dcontour/line/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style+colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'style+colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/line/_dash.py b/plotly/validators/histogram2dcontour/line/_dash.py index 6b192623e51..7e8496290bd 100644 --- a/plotly/validators/histogram2dcontour/line/_dash.py +++ b/plotly/validators/histogram2dcontour/line/_dash.py @@ -12,10 +12,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/line/_smoothing.py b/plotly/validators/histogram2dcontour/line/_smoothing.py index a9b2b25abea..6909bc86e98 100644 --- a/plotly/validators/histogram2dcontour/line/_smoothing.py +++ b/plotly/validators/histogram2dcontour/line/_smoothing.py @@ -12,9 +12,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/line/_width.py b/plotly/validators/histogram2dcontour/line/_width.py index b9fa7839c37..83bd4d3b807 100644 --- a/plotly/validators/histogram2dcontour/line/_width.py +++ b/plotly/validators/histogram2dcontour/line/_width.py @@ -12,8 +12,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style+colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style+colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/marker/_color.py b/plotly/validators/histogram2dcontour/marker/_color.py index f534569e333..e2ff46cd3bd 100644 --- a/plotly/validators/histogram2dcontour/marker/_color.py +++ b/plotly/validators/histogram2dcontour/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/marker/_colorsrc.py b/plotly/validators/histogram2dcontour/marker/_colorsrc.py index 8c53f1f3405..720346cad3b 100644 --- a/plotly/validators/histogram2dcontour/marker/_colorsrc.py +++ b/plotly/validators/histogram2dcontour/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/stream/_maxpoints.py b/plotly/validators/histogram2dcontour/stream/_maxpoints.py index ff6b0aca066..2f054f80b1d 100644 --- a/plotly/validators/histogram2dcontour/stream/_maxpoints.py +++ b/plotly/validators/histogram2dcontour/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/stream/_token.py b/plotly/validators/histogram2dcontour/stream/_token.py index 00695b11eaa..9ff38d2cb8a 100644 --- a/plotly/validators/histogram2dcontour/stream/_token.py +++ b/plotly/validators/histogram2dcontour/stream/_token.py @@ -12,9 +12,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/xbins/_end.py b/plotly/validators/histogram2dcontour/xbins/_end.py index 6bd4441c106..31866a7e7bd 100644 --- a/plotly/validators/histogram2dcontour/xbins/_end.py +++ b/plotly/validators/histogram2dcontour/xbins/_end.py @@ -12,8 +12,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/xbins/_size.py b/plotly/validators/histogram2dcontour/xbins/_size.py index b9ad6e71793..eaae1094987 100644 --- a/plotly/validators/histogram2dcontour/xbins/_size.py +++ b/plotly/validators/histogram2dcontour/xbins/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/xbins/_start.py b/plotly/validators/histogram2dcontour/xbins/_start.py index 13c459782ac..a5f56cf6863 100644 --- a/plotly/validators/histogram2dcontour/xbins/_start.py +++ b/plotly/validators/histogram2dcontour/xbins/_start.py @@ -12,8 +12,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobinx': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobinx': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/ybins/_end.py b/plotly/validators/histogram2dcontour/ybins/_end.py index 1bea8ec6d17..5ef4294b141 100644 --- a/plotly/validators/histogram2dcontour/ybins/_end.py +++ b/plotly/validators/histogram2dcontour/ybins/_end.py @@ -12,8 +12,8 @@ def __init__( super(EndValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/ybins/_size.py b/plotly/validators/histogram2dcontour/ybins/_size.py index 2e5439650b7..226f802dbcf 100644 --- a/plotly/validators/histogram2dcontour/ybins/_size.py +++ b/plotly/validators/histogram2dcontour/ybins/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/histogram2dcontour/ybins/_start.py b/plotly/validators/histogram2dcontour/ybins/_start.py index 433ad742829..d78678db231 100644 --- a/plotly/validators/histogram2dcontour/ybins/_start.py +++ b/plotly/validators/histogram2dcontour/ybins/_start.py @@ -12,8 +12,8 @@ def __init__( super(StartValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'^autobiny': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'^autobiny': False}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_angularaxis.py b/plotly/validators/layout/_angularaxis.py index 32e136dc272..c5b5e5d96da 100644 --- a/plotly/validators/layout/_angularaxis.py +++ b/plotly/validators/layout/_angularaxis.py @@ -9,8 +9,9 @@ def __init__( super(AngularAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='AngularAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'AngularAxis'), + data_docs=kwargs.pop( + 'data_docs', """ domain Polar chart subplots are not supported yet. This key has currently no effect. @@ -40,6 +41,7 @@ def __init__( visible Determines whether or not this axis will be visible. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_annotations.py b/plotly/validators/layout/_annotations.py index 3abeaa9983d..cdb87b92ddf 100644 --- a/plotly/validators/layout/_annotations.py +++ b/plotly/validators/layout/_annotations.py @@ -11,8 +11,9 @@ def __init__( super(AnnotationsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Annotation', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Annotation'), + data_docs=kwargs.pop( + 'data_docs', """ align Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` @@ -274,6 +275,7 @@ def __init__( Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_autosize.py b/plotly/validators/layout/_autosize.py index ca43694fd64..70c348b776a 100644 --- a/plotly/validators/layout/_autosize.py +++ b/plotly/validators/layout/_autosize.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='autosize', parent_name='layout', **kwargs): super(AutosizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_bargap.py b/plotly/validators/layout/_bargap.py index e5a0147cdf7..dc34e63e110 100644 --- a/plotly/validators/layout/_bargap.py +++ b/plotly/validators/layout/_bargap.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='bargap', parent_name='layout', **kwargs): super(BargapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_bargroupgap.py b/plotly/validators/layout/_bargroupgap.py index 35866cdbc5d..e5d20f792f5 100644 --- a/plotly/validators/layout/_bargroupgap.py +++ b/plotly/validators/layout/_bargroupgap.py @@ -9,9 +9,9 @@ def __init__( super(BargroupgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_barmode.py b/plotly/validators/layout/_barmode.py index 219d3bee75f..5c992d39591 100644 --- a/plotly/validators/layout/_barmode.py +++ b/plotly/validators/layout/_barmode.py @@ -7,8 +7,10 @@ def __init__(self, plotly_name='barmode', parent_name='layout', **kwargs): super(BarmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['stack', 'group', 'overlay', 'relative'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['stack', 'group', 'overlay', 'relative'] + ), **kwargs ) diff --git a/plotly/validators/layout/_barnorm.py b/plotly/validators/layout/_barnorm.py index dcfe90a230d..c1a45739194 100644 --- a/plotly/validators/layout/_barnorm.py +++ b/plotly/validators/layout/_barnorm.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='barnorm', parent_name='layout', **kwargs): super(BarnormValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['', 'fraction', 'percent'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['', 'fraction', 'percent']), **kwargs ) diff --git a/plotly/validators/layout/_boxgap.py b/plotly/validators/layout/_boxgap.py index 34612556c06..9c44418cf61 100644 --- a/plotly/validators/layout/_boxgap.py +++ b/plotly/validators/layout/_boxgap.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='boxgap', parent_name='layout', **kwargs): super(BoxgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_boxgroupgap.py b/plotly/validators/layout/_boxgroupgap.py index db40da8872d..76dd45a95ab 100644 --- a/plotly/validators/layout/_boxgroupgap.py +++ b/plotly/validators/layout/_boxgroupgap.py @@ -9,9 +9,9 @@ def __init__( super(BoxgroupgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_boxmode.py b/plotly/validators/layout/_boxmode.py index 9cdf71ee354..cdda1d803cb 100644 --- a/plotly/validators/layout/_boxmode.py +++ b/plotly/validators/layout/_boxmode.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='boxmode', parent_name='layout', **kwargs): super(BoxmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['group', 'overlay'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['group', 'overlay']), **kwargs ) diff --git a/plotly/validators/layout/_calendar.py b/plotly/validators/layout/_calendar.py index f8b6e6f8ccd..438a2be18a6 100644 --- a/plotly/validators/layout/_calendar.py +++ b/plotly/validators/layout/_calendar.py @@ -7,12 +7,15 @@ def __init__(self, plotly_name='calendar', parent_name='layout', **kwargs): super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/_colorway.py b/plotly/validators/layout/_colorway.py index 2a7a7800eb1..ff32e65f782 100644 --- a/plotly/validators/layout/_colorway.py +++ b/plotly/validators/layout/_colorway.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='colorway', parent_name='layout', **kwargs): super(ColorwayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_datarevision.py b/plotly/validators/layout/_datarevision.py index 7f4a6586bd9..43330a2c75c 100644 --- a/plotly/validators/layout/_datarevision.py +++ b/plotly/validators/layout/_datarevision.py @@ -9,7 +9,7 @@ def __init__( super(DatarevisionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_direction.py b/plotly/validators/layout/_direction.py index a78dc221705..224b7611d65 100644 --- a/plotly/validators/layout/_direction.py +++ b/plotly/validators/layout/_direction.py @@ -9,8 +9,8 @@ def __init__( super(DirectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['clockwise', 'counterclockwise'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['clockwise', 'counterclockwise']), **kwargs ) diff --git a/plotly/validators/layout/_dragmode.py b/plotly/validators/layout/_dragmode.py index e2554ee931c..3c386437a98 100644 --- a/plotly/validators/layout/_dragmode.py +++ b/plotly/validators/layout/_dragmode.py @@ -7,8 +7,11 @@ def __init__(self, plotly_name='dragmode', parent_name='layout', **kwargs): super(DragmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='modebar', - role='info', - values=['zoom', 'pan', 'select', 'lasso', 'orbit', 'turntable'], + edit_type=kwargs.pop('edit_type', 'modebar'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', + ['zoom', 'pan', 'select', 'lasso', 'orbit', 'turntable'] + ), **kwargs ) diff --git a/plotly/validators/layout/_extendpiecolors.py b/plotly/validators/layout/_extendpiecolors.py index ebedc5d2f33..1edd1b916f2 100644 --- a/plotly/validators/layout/_extendpiecolors.py +++ b/plotly/validators/layout/_extendpiecolors.py @@ -9,7 +9,7 @@ def __init__( super(ExtendpiecolorsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_font.py b/plotly/validators/layout/_font.py index 95345b2b703..f051d6e601e 100644 --- a/plotly/validators/layout/_font.py +++ b/plotly/validators/layout/_font.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='font', parent_name='layout', **kwargs): super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -29,6 +30,7 @@ def __init__(self, plotly_name='font', parent_name='layout', **kwargs): Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_geo.py b/plotly/validators/layout/_geo.py index dc377486c24..3029043931a 100644 --- a/plotly/validators/layout/_geo.py +++ b/plotly/validators/layout/_geo.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='geo', parent_name='layout', **kwargs): super(GeoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Geo', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Geo'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Set the background color of the map center @@ -81,6 +82,7 @@ def __init__(self, plotly_name='geo', parent_name='layout', **kwargs): subunitwidth Sets the stroke width (in px) of the subunits boundaries. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_grid.py b/plotly/validators/layout/_grid.py index b1656fc41e9..991c18a1b43 100644 --- a/plotly/validators/layout/_grid.py +++ b/plotly/validators/layout/_grid.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='grid', parent_name='layout', **kwargs): super(GridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Grid', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Grid'), + data_docs=kwargs.pop( + 'data_docs', """ columns The number of columns in the grid. If you provide a 2D `subplots` array, the length of @@ -88,6 +89,7 @@ def __init__(self, plotly_name='grid', parent_name='layout', **kwargs): *left plot* is the leftmost plot that each y axis is used in. "right" and *right plot* are similar. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_height.py b/plotly/validators/layout/_height.py index a2a9dcd18cd..3bc75f66c27 100644 --- a/plotly/validators/layout/_height.py +++ b/plotly/validators/layout/_height.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='height', parent_name='layout', **kwargs): super(HeightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=10, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 10), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_hiddenlabels.py b/plotly/validators/layout/_hiddenlabels.py index 586b79e2f15..96a8455a2c5 100644 --- a/plotly/validators/layout/_hiddenlabels.py +++ b/plotly/validators/layout/_hiddenlabels.py @@ -9,7 +9,7 @@ def __init__( super(HiddenlabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/_hiddenlabelssrc.py b/plotly/validators/layout/_hiddenlabelssrc.py index 6b3dcedc24f..d5cad26e6c2 100644 --- a/plotly/validators/layout/_hiddenlabelssrc.py +++ b/plotly/validators/layout/_hiddenlabelssrc.py @@ -9,7 +9,7 @@ def __init__( super(HiddenlabelssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_hidesources.py b/plotly/validators/layout/_hidesources.py index 310da7c29e0..ec9cdb3abce 100644 --- a/plotly/validators/layout/_hidesources.py +++ b/plotly/validators/layout/_hidesources.py @@ -9,7 +9,7 @@ def __init__( super(HidesourcesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_hoverdistance.py b/plotly/validators/layout/_hoverdistance.py index feb973fc024..bac0bff7954 100644 --- a/plotly/validators/layout/_hoverdistance.py +++ b/plotly/validators/layout/_hoverdistance.py @@ -9,8 +9,8 @@ def __init__( super(HoverdistanceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - min=-1, - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_hoverlabel.py b/plotly/validators/layout/_hoverlabel.py index 95ed7bc787c..0e634b5e9b2 100644 --- a/plotly/validators/layout/_hoverlabel.py +++ b/plotly/validators/layout/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of all hover labels on graph @@ -30,6 +31,7 @@ def __init__( characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_hovermode.py b/plotly/validators/layout/_hovermode.py index a3ba20b7ecc..64cb409ae4c 100644 --- a/plotly/validators/layout/_hovermode.py +++ b/plotly/validators/layout/_hovermode.py @@ -9,8 +9,8 @@ def __init__( super(HovermodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='modebar', - role='info', - values=['x', 'y', 'closest', False], + edit_type=kwargs.pop('edit_type', 'modebar'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['x', 'y', 'closest', False]), **kwargs ) diff --git a/plotly/validators/layout/_images.py b/plotly/validators/layout/_images.py index 45ebedb9b84..67eed1930be 100644 --- a/plotly/validators/layout/_images.py +++ b/plotly/validators/layout/_images.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='images', parent_name='layout', **kwargs): super(ImagesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Image', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Image'), + data_docs=kwargs.pop( + 'data_docs', """ layer Specifies whether images are drawn below or above traces. When `xref` and `yref` are both @@ -86,6 +87,7 @@ def __init__(self, plotly_name='images', parent_name='layout', **kwargs): distance from the bottom of the plot in normalized coordinates where 0 (1) corresponds to the bottom (top). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_legend.py b/plotly/validators/layout/_legend.py index 95075561f13..9a49f036da5 100644 --- a/plotly/validators/layout/_legend.py +++ b/plotly/validators/layout/_legend.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='legend', parent_name='layout', **kwargs): super(LegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Legend', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Legend'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the legend background color. bordercolor @@ -48,6 +49,7 @@ def __init__(self, plotly_name='legend', parent_name='layout', **kwargs): Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_mapbox.py b/plotly/validators/layout/_mapbox.py index 4c149e59790..f836e63ab94 100644 --- a/plotly/validators/layout/_mapbox.py +++ b/plotly/validators/layout/_mapbox.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='mapbox', parent_name='layout', **kwargs): super(MapboxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Mapbox', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Mapbox'), + data_docs=kwargs.pop( + 'data_docs', """ accesstoken Sets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox @@ -36,6 +37,7 @@ def __init__(self, plotly_name='mapbox', parent_name='layout', **kwargs): custom style or a valid Mapbox style JSON. zoom Sets the zoom level of the map. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_margin.py b/plotly/validators/layout/_margin.py index 9969bbfa738..eeea6f425f2 100644 --- a/plotly/validators/layout/_margin.py +++ b/plotly/validators/layout/_margin.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='margin', parent_name='layout', **kwargs): super(MarginValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Margin', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Margin'), + data_docs=kwargs.pop( + 'data_docs', """ autoexpand b @@ -22,6 +23,7 @@ def __init__(self, plotly_name='margin', parent_name='layout', **kwargs): Sets the right margin (in px). t Sets the top margin (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_orientation.py b/plotly/validators/layout/_orientation.py index ee487175527..153ac363c20 100644 --- a/plotly/validators/layout/_orientation.py +++ b/plotly/validators/layout/_orientation.py @@ -9,7 +9,7 @@ def __init__( super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_paper_bgcolor.py b/plotly/validators/layout/_paper_bgcolor.py index 09ed5f0cf92..edb0974af45 100644 --- a/plotly/validators/layout/_paper_bgcolor.py +++ b/plotly/validators/layout/_paper_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(PaperBgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_piecolorway.py b/plotly/validators/layout/_piecolorway.py index b7651466c05..e2248ca8213 100644 --- a/plotly/validators/layout/_piecolorway.py +++ b/plotly/validators/layout/_piecolorway.py @@ -9,7 +9,7 @@ def __init__( super(PiecolorwayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_plot_bgcolor.py b/plotly/validators/layout/_plot_bgcolor.py index 846339f358a..4e38c49a951 100644 --- a/plotly/validators/layout/_plot_bgcolor.py +++ b/plotly/validators/layout/_plot_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(PlotBgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - role='style', + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_polar.py b/plotly/validators/layout/_polar.py index c62b36a47aa..b4ea54904f7 100644 --- a/plotly/validators/layout/_polar.py +++ b/plotly/validators/layout/_polar.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='polar', parent_name='layout', **kwargs): super(PolarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Polar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Polar'), + data_docs=kwargs.pop( + 'data_docs', """ angularaxis plotly.graph_objs.layout.polar.AngularAxis instance or dict with compatible properties @@ -35,6 +36,7 @@ def __init__(self, plotly_name='polar', parent_name='layout', **kwargs): be spanned in the counterclockwise direction with 0 corresponding to rightmost limit of the polar subplot. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_radialaxis.py b/plotly/validators/layout/_radialaxis.py index 1d2deada4c4..6608770e672 100644 --- a/plotly/validators/layout/_radialaxis.py +++ b/plotly/validators/layout/_radialaxis.py @@ -9,8 +9,9 @@ def __init__( super(RadialAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='RadialAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'RadialAxis'), + data_docs=kwargs.pop( + 'data_docs', """ domain Polar chart subplots are not supported yet. This key has currently no effect. @@ -43,6 +44,7 @@ def __init__( visible Determines whether or not this axis will be visible. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_scene.py b/plotly/validators/layout/_scene.py index b80724bacfa..8852c47562b 100644 --- a/plotly/validators/layout/_scene.py +++ b/plotly/validators/layout/_scene.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='scene', parent_name='layout', **kwargs): super(SceneValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Scene', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Scene'), + data_docs=kwargs.pop( + 'data_docs', """ annotations plotly.graph_objs.layout.scene.Annotation instance or dict with compatible properties @@ -50,6 +51,7 @@ def __init__(self, plotly_name='scene', parent_name='layout', **kwargs): zaxis plotly.graph_objs.layout.scene.ZAxis instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_selectdirection.py b/plotly/validators/layout/_selectdirection.py index a069adcf9e2..1c00dfce185 100644 --- a/plotly/validators/layout/_selectdirection.py +++ b/plotly/validators/layout/_selectdirection.py @@ -11,8 +11,8 @@ def __init__( super(SelectdirectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', - values=['h', 'v', 'd', 'any'], + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['h', 'v', 'd', 'any']), **kwargs ) diff --git a/plotly/validators/layout/_separators.py b/plotly/validators/layout/_separators.py index 25103da31a8..09d4bebbb63 100644 --- a/plotly/validators/layout/_separators.py +++ b/plotly/validators/layout/_separators.py @@ -9,7 +9,7 @@ def __init__( super(SeparatorsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_shapes.py b/plotly/validators/layout/_shapes.py index 2d2f42ef127..73664bd5a52 100644 --- a/plotly/validators/layout/_shapes.py +++ b/plotly/validators/layout/_shapes.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='shapes', parent_name='layout', **kwargs): super(ShapesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Shape', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Shape'), + data_docs=kwargs.pop( + 'data_docs', """ fillcolor Sets the color filling the shape's interior. layer @@ -155,6 +156,7 @@ def __init__(self, plotly_name='shapes', parent_name='layout', **kwargs): relative to `yanchor`. This way, the shape can have a fixed height while maintaining a position relative to data or plot fraction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_showlegend.py b/plotly/validators/layout/_showlegend.py index 627f4d0cd8a..048ac5e401d 100644 --- a/plotly/validators/layout/_showlegend.py +++ b/plotly/validators/layout/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='info', + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_sliders.py b/plotly/validators/layout/_sliders.py index c1f95279352..f4b4fe8f262 100644 --- a/plotly/validators/layout/_sliders.py +++ b/plotly/validators/layout/_sliders.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='sliders', parent_name='layout', **kwargs): super(SlidersValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Slider', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Slider'), + data_docs=kwargs.pop( + 'data_docs', """ active Determines which button (by index starting from 0) is considered active. @@ -95,6 +96,7 @@ def __init__(self, plotly_name='sliders', parent_name='layout', **kwargs): Sets the slider's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_spikedistance.py b/plotly/validators/layout/_spikedistance.py index 9814e3368d5..4a795005eaf 100644 --- a/plotly/validators/layout/_spikedistance.py +++ b/plotly/validators/layout/_spikedistance.py @@ -9,8 +9,8 @@ def __init__( super(SpikedistanceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - min=-1, - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_template.py b/plotly/validators/layout/_template.py index f6cfe31bab2..23df413ccc5 100644 --- a/plotly/validators/layout/_template.py +++ b/plotly/validators/layout/_template.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='template', parent_name='layout', **kwargs): super(TemplateValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_ternary.py b/plotly/validators/layout/_ternary.py index 307cf183dc6..7a350acdbdf 100644 --- a/plotly/validators/layout/_ternary.py +++ b/plotly/validators/layout/_ternary.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='ternary', parent_name='layout', **kwargs): super(TernaryValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Ternary', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Ternary'), + data_docs=kwargs.pop( + 'data_docs', """ aaxis plotly.graph_objs.layout.ternary.Aaxis instance or dict with compatible properties @@ -26,6 +27,7 @@ def __init__(self, plotly_name='ternary', parent_name='layout', **kwargs): sum The number each triplet should sum to, and the maximum range of each axis -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_title.py b/plotly/validators/layout/_title.py index 58a9cb8e08f..f46c6507e6c 100644 --- a/plotly/validators/layout/_title.py +++ b/plotly/validators/layout/_title.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='title', parent_name='layout', **kwargs): super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - role='info', + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_titlefont.py b/plotly/validators/layout/_titlefont.py index f782a3dab94..8a781272179 100644 --- a/plotly/validators/layout/_titlefont.py +++ b/plotly/validators/layout/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_updatemenus.py b/plotly/validators/layout/_updatemenus.py index c85681bbf59..ee0e5fcb1e6 100644 --- a/plotly/validators/layout/_updatemenus.py +++ b/plotly/validators/layout/_updatemenus.py @@ -11,8 +11,9 @@ def __init__( super(UpdatemenusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Updatemenu', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Updatemenu'), + data_docs=kwargs.pop( + 'data_docs', """ active Determines which button (by index starting from 0) is considered active. @@ -86,6 +87,7 @@ def __init__( This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_violingap.py b/plotly/validators/layout/_violingap.py index 8a0ae23338c..def88db3fcb 100644 --- a/plotly/validators/layout/_violingap.py +++ b/plotly/validators/layout/_violingap.py @@ -9,9 +9,9 @@ def __init__( super(ViolingapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_violingroupgap.py b/plotly/validators/layout/_violingroupgap.py index bb37d72b24f..1da0a2e41a0 100644 --- a/plotly/validators/layout/_violingroupgap.py +++ b/plotly/validators/layout/_violingroupgap.py @@ -9,9 +9,9 @@ def __init__( super(ViolingroupgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/_violinmode.py b/plotly/validators/layout/_violinmode.py index 431960595f7..8aa5192ce32 100644 --- a/plotly/validators/layout/_violinmode.py +++ b/plotly/validators/layout/_violinmode.py @@ -9,8 +9,8 @@ def __init__( super(ViolinmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['group', 'overlay'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['group', 'overlay']), **kwargs ) diff --git a/plotly/validators/layout/_width.py b/plotly/validators/layout/_width.py index c5bd5a71b4c..b17f7c0367f 100644 --- a/plotly/validators/layout/_width.py +++ b/plotly/validators/layout/_width.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='width', parent_name='layout', **kwargs): super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=10, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 10), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/_xaxis.py b/plotly/validators/layout/_xaxis.py index eea004c861d..87ea20c69c2 100644 --- a/plotly/validators/layout/_xaxis.py +++ b/plotly/validators/layout/_xaxis.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='xaxis', parent_name='layout', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='XAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'XAxis'), + data_docs=kwargs.pop( + 'data_docs', """ anchor If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to the @@ -372,6 +373,7 @@ def __init__(self, plotly_name='xaxis', parent_name='layout', **kwargs): Sets the line color of the zero line. zerolinewidth Sets the width (in px) of the zero line. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/_yaxis.py b/plotly/validators/layout/_yaxis.py index bc0f98a738f..2170bbff537 100644 --- a/plotly/validators/layout/_yaxis.py +++ b/plotly/validators/layout/_yaxis.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='yaxis', parent_name='layout', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='YAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'YAxis'), + data_docs=kwargs.pop( + 'data_docs', """ anchor If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to the @@ -366,6 +367,7 @@ def __init__(self, plotly_name='yaxis', parent_name='layout', **kwargs): Sets the line color of the zero line. zerolinewidth Sets the width (in px) of the zero line. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_domain.py b/plotly/validators/layout/angularaxis/_domain.py index 7b94e0574c4..59e2b72862c 100644 --- a/plotly/validators/layout/angularaxis/_domain.py +++ b/plotly/validators/layout/angularaxis/_domain.py @@ -9,20 +9,22 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_endpadding.py b/plotly/validators/layout/angularaxis/_endpadding.py index 130aa8597f4..4608a938750 100644 --- a/plotly/validators/layout/angularaxis/_endpadding.py +++ b/plotly/validators/layout/angularaxis/_endpadding.py @@ -12,7 +12,7 @@ def __init__( super(EndpaddingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_range.py b/plotly/validators/layout/angularaxis/_range.py index 2a85f15ba54..a998c55428d 100644 --- a/plotly/validators/layout/angularaxis/_range.py +++ b/plotly/validators/layout/angularaxis/_range.py @@ -9,18 +9,20 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'dflt': 0, - 'editType': 'plot' - }, { - 'valType': 'number', - 'dflt': 360, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'dflt': 0, + 'editType': 'plot' + }, { + 'valType': 'number', + 'dflt': 360, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_showline.py b/plotly/validators/layout/angularaxis/_showline.py index 65b82bb3a33..0fccf2c5951 100644 --- a/plotly/validators/layout/angularaxis/_showline.py +++ b/plotly/validators/layout/angularaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_showticklabels.py b/plotly/validators/layout/angularaxis/_showticklabels.py index 5bb032b01d5..b2e8df91bb9 100644 --- a/plotly/validators/layout/angularaxis/_showticklabels.py +++ b/plotly/validators/layout/angularaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_tickcolor.py b/plotly/validators/layout/angularaxis/_tickcolor.py index b3aeee904d8..7fdba1a8bf7 100644 --- a/plotly/validators/layout/angularaxis/_tickcolor.py +++ b/plotly/validators/layout/angularaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_ticklen.py b/plotly/validators/layout/angularaxis/_ticklen.py index 918ff40813e..f8995dbef7e 100644 --- a/plotly/validators/layout/angularaxis/_ticklen.py +++ b/plotly/validators/layout/angularaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_tickorientation.py b/plotly/validators/layout/angularaxis/_tickorientation.py index 7ce68efb53d..91b2e1059f9 100644 --- a/plotly/validators/layout/angularaxis/_tickorientation.py +++ b/plotly/validators/layout/angularaxis/_tickorientation.py @@ -14,8 +14,8 @@ def __init__( super(TickorientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['horizontal', 'vertical'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['horizontal', 'vertical']), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_ticksuffix.py b/plotly/validators/layout/angularaxis/_ticksuffix.py index 7479b96e582..f0de62f57a6 100644 --- a/plotly/validators/layout/angularaxis/_ticksuffix.py +++ b/plotly/validators/layout/angularaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/angularaxis/_visible.py b/plotly/validators/layout/angularaxis/_visible.py index ce2340d5641..59126a3b1ab 100644 --- a/plotly/validators/layout/angularaxis/_visible.py +++ b/plotly/validators/layout/angularaxis/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_align.py b/plotly/validators/layout/annotation/_align.py index a38251d05e6..ee7ba980c76 100644 --- a/plotly/validators/layout/annotation/_align.py +++ b/plotly/validators/layout/annotation/_align.py @@ -9,8 +9,8 @@ def __init__( super(AlignValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/annotation/_arrowcolor.py b/plotly/validators/layout/annotation/_arrowcolor.py index 0f5847f6e2c..c6202be0ec8 100644 --- a/plotly/validators/layout/annotation/_arrowcolor.py +++ b/plotly/validators/layout/annotation/_arrowcolor.py @@ -12,7 +12,7 @@ def __init__( super(ArrowcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_arrowhead.py b/plotly/validators/layout/annotation/_arrowhead.py index 6f6d1f24085..f80eed45e9a 100644 --- a/plotly/validators/layout/annotation/_arrowhead.py +++ b/plotly/validators/layout/annotation/_arrowhead.py @@ -12,9 +12,9 @@ def __init__( super(ArrowheadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=8, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 8), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_arrowside.py b/plotly/validators/layout/annotation/_arrowside.py index b9807e7cacc..5430d2c81a7 100644 --- a/plotly/validators/layout/annotation/_arrowside.py +++ b/plotly/validators/layout/annotation/_arrowside.py @@ -12,9 +12,9 @@ def __init__( super(ArrowsideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - extras=['none'], - flags=['end', 'start'], - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['end', 'start']), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_arrowsize.py b/plotly/validators/layout/annotation/_arrowsize.py index 2fa5297b803..f7cd878028a 100644 --- a/plotly/validators/layout/annotation/_arrowsize.py +++ b/plotly/validators/layout/annotation/_arrowsize.py @@ -12,8 +12,8 @@ def __init__( super(ArrowsizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0.3, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0.3), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_arrowwidth.py b/plotly/validators/layout/annotation/_arrowwidth.py index f0d78c5effe..c5cbbf7a5bb 100644 --- a/plotly/validators/layout/annotation/_arrowwidth.py +++ b/plotly/validators/layout/annotation/_arrowwidth.py @@ -12,8 +12,8 @@ def __init__( super(ArrowwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0.1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0.1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_ax.py b/plotly/validators/layout/annotation/_ax.py index 027cd75b41b..0fb1c328cc8 100644 --- a/plotly/validators/layout/annotation/_ax.py +++ b/plotly/validators/layout/annotation/_ax.py @@ -9,7 +9,7 @@ def __init__( super(AxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_axref.py b/plotly/validators/layout/annotation/_axref.py index 6bdf0f61dc3..aa3cf47336f 100644 --- a/plotly/validators/layout/annotation/_axref.py +++ b/plotly/validators/layout/annotation/_axref.py @@ -9,8 +9,10 @@ def __init__( super(AxrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['pixel', '/^x([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['pixel', '/^x([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/_ay.py b/plotly/validators/layout/annotation/_ay.py index 0276637a389..d4b139934fc 100644 --- a/plotly/validators/layout/annotation/_ay.py +++ b/plotly/validators/layout/annotation/_ay.py @@ -9,7 +9,7 @@ def __init__( super(AyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_ayref.py b/plotly/validators/layout/annotation/_ayref.py index 1cf9b01c0f8..800e3f34bda 100644 --- a/plotly/validators/layout/annotation/_ayref.py +++ b/plotly/validators/layout/annotation/_ayref.py @@ -9,8 +9,10 @@ def __init__( super(AyrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['pixel', '/^y([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['pixel', '/^y([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/_bgcolor.py b/plotly/validators/layout/annotation/_bgcolor.py index 2fe151d65d2..8642b73228e 100644 --- a/plotly/validators/layout/annotation/_bgcolor.py +++ b/plotly/validators/layout/annotation/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_bordercolor.py b/plotly/validators/layout/annotation/_bordercolor.py index f34485e663b..a7126b713db 100644 --- a/plotly/validators/layout/annotation/_bordercolor.py +++ b/plotly/validators/layout/annotation/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_borderpad.py b/plotly/validators/layout/annotation/_borderpad.py index 82dc3b0be47..c4940704ec1 100644 --- a/plotly/validators/layout/annotation/_borderpad.py +++ b/plotly/validators/layout/annotation/_borderpad.py @@ -12,8 +12,8 @@ def __init__( super(BorderpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_borderwidth.py b/plotly/validators/layout/annotation/_borderwidth.py index 2a003f7e5b7..806277df19a 100644 --- a/plotly/validators/layout/annotation/_borderwidth.py +++ b/plotly/validators/layout/annotation/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_captureevents.py b/plotly/validators/layout/annotation/_captureevents.py index 8ff52437059..167475b0c6e 100644 --- a/plotly/validators/layout/annotation/_captureevents.py +++ b/plotly/validators/layout/annotation/_captureevents.py @@ -12,7 +12,7 @@ def __init__( super(CaptureeventsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_clicktoshow.py b/plotly/validators/layout/annotation/_clicktoshow.py index 8b7faf2f3e2..1f0e0f67e69 100644 --- a/plotly/validators/layout/annotation/_clicktoshow.py +++ b/plotly/validators/layout/annotation/_clicktoshow.py @@ -12,8 +12,8 @@ def __init__( super(ClicktoshowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', - values=[False, 'onoff', 'onout'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', [False, 'onoff', 'onout']), **kwargs ) diff --git a/plotly/validators/layout/annotation/_font.py b/plotly/validators/layout/annotation/_font.py index d4aaf3ef33b..b5604a76e4c 100644 --- a/plotly/validators/layout/annotation/_font.py +++ b/plotly/validators/layout/annotation/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/_height.py b/plotly/validators/layout/annotation/_height.py index e1894128475..d24e44d4c97 100644 --- a/plotly/validators/layout/annotation/_height.py +++ b/plotly/validators/layout/annotation/_height.py @@ -9,8 +9,8 @@ def __init__( super(HeightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_hoverlabel.py b/plotly/validators/layout/annotation/_hoverlabel.py index ebf63239577..92c6ce394cc 100644 --- a/plotly/validators/layout/annotation/_hoverlabel.py +++ b/plotly/validators/layout/annotation/_hoverlabel.py @@ -12,8 +12,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover label. By default uses the annotation's `bgcolor` made @@ -26,6 +27,7 @@ def __init__( Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/_hovertext.py b/plotly/validators/layout/annotation/_hovertext.py index 266af797f65..88f597f3ffc 100644 --- a/plotly/validators/layout/annotation/_hovertext.py +++ b/plotly/validators/layout/annotation/_hovertext.py @@ -12,7 +12,7 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_name.py b/plotly/validators/layout/annotation/_name.py index 9a5fa7bcee9..794061dd8e2 100644 --- a/plotly/validators/layout/annotation/_name.py +++ b/plotly/validators/layout/annotation/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_opacity.py b/plotly/validators/layout/annotation/_opacity.py index 0486b878b33..3822bf10a9d 100644 --- a/plotly/validators/layout/annotation/_opacity.py +++ b/plotly/validators/layout/annotation/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_showarrow.py b/plotly/validators/layout/annotation/_showarrow.py index 2bb191e26f4..14b801adc4e 100644 --- a/plotly/validators/layout/annotation/_showarrow.py +++ b/plotly/validators/layout/annotation/_showarrow.py @@ -12,7 +12,7 @@ def __init__( super(ShowarrowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_standoff.py b/plotly/validators/layout/annotation/_standoff.py index 49da66c92a1..84f78d97562 100644 --- a/plotly/validators/layout/annotation/_standoff.py +++ b/plotly/validators/layout/annotation/_standoff.py @@ -12,8 +12,8 @@ def __init__( super(StandoffValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_startarrowhead.py b/plotly/validators/layout/annotation/_startarrowhead.py index 1e5c68110ad..61e0cee66e8 100644 --- a/plotly/validators/layout/annotation/_startarrowhead.py +++ b/plotly/validators/layout/annotation/_startarrowhead.py @@ -12,9 +12,9 @@ def __init__( super(StartarrowheadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=8, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 8), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_startarrowsize.py b/plotly/validators/layout/annotation/_startarrowsize.py index 50e687856b3..19306571bfc 100644 --- a/plotly/validators/layout/annotation/_startarrowsize.py +++ b/plotly/validators/layout/annotation/_startarrowsize.py @@ -12,8 +12,8 @@ def __init__( super(StartarrowsizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0.3, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0.3), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_startstandoff.py b/plotly/validators/layout/annotation/_startstandoff.py index 2138d2b4005..672882953f4 100644 --- a/plotly/validators/layout/annotation/_startstandoff.py +++ b/plotly/validators/layout/annotation/_startstandoff.py @@ -12,8 +12,8 @@ def __init__( super(StartstandoffValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_templateitemname.py b/plotly/validators/layout/annotation/_templateitemname.py index 3bc2584f9c0..6322ea07658 100644 --- a/plotly/validators/layout/annotation/_templateitemname.py +++ b/plotly/validators/layout/annotation/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_text.py b/plotly/validators/layout/annotation/_text.py index 5c86ab9f0a9..29d0e1c75f9 100644 --- a/plotly/validators/layout/annotation/_text.py +++ b/plotly/validators/layout/annotation/_text.py @@ -9,7 +9,7 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_textangle.py b/plotly/validators/layout/annotation/_textangle.py index ff6617ce47b..22e381a7c34 100644 --- a/plotly/validators/layout/annotation/_textangle.py +++ b/plotly/validators/layout/annotation/_textangle.py @@ -12,7 +12,7 @@ def __init__( super(TextangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_valign.py b/plotly/validators/layout/annotation/_valign.py index 284e7be9f73..23e0b9c043b 100644 --- a/plotly/validators/layout/annotation/_valign.py +++ b/plotly/validators/layout/annotation/_valign.py @@ -9,8 +9,8 @@ def __init__( super(ValignValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/annotation/_visible.py b/plotly/validators/layout/annotation/_visible.py index 0cff184a177..3479258e31b 100644 --- a/plotly/validators/layout/annotation/_visible.py +++ b/plotly/validators/layout/annotation/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_width.py b/plotly/validators/layout/annotation/_width.py index 268e2f81faf..6b06e8e4f91 100644 --- a/plotly/validators/layout/annotation/_width.py +++ b/plotly/validators/layout/annotation/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_x.py b/plotly/validators/layout/annotation/_x.py index 3a19dce0145..cfe345ee917 100644 --- a/plotly/validators/layout/annotation/_x.py +++ b/plotly/validators/layout/annotation/_x.py @@ -9,7 +9,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_xanchor.py b/plotly/validators/layout/annotation/_xanchor.py index f6081d95990..2e3209a18a3 100644 --- a/plotly/validators/layout/annotation/_xanchor.py +++ b/plotly/validators/layout/annotation/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', - values=['auto', 'left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/annotation/_xclick.py b/plotly/validators/layout/annotation/_xclick.py index 9b3954f1f9a..37d3469ca4e 100644 --- a/plotly/validators/layout/annotation/_xclick.py +++ b/plotly/validators/layout/annotation/_xclick.py @@ -9,7 +9,7 @@ def __init__( super(XclickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_xref.py b/plotly/validators/layout/annotation/_xref.py index 5a3c7a1cdd5..7cd4136a4b1 100644 --- a/plotly/validators/layout/annotation/_xref.py +++ b/plotly/validators/layout/annotation/_xref.py @@ -9,8 +9,10 @@ def __init__( super(XrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['paper', '/^x([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['paper', '/^x([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/_xshift.py b/plotly/validators/layout/annotation/_xshift.py index 2f78ea5e0a5..71cedfce462 100644 --- a/plotly/validators/layout/annotation/_xshift.py +++ b/plotly/validators/layout/annotation/_xshift.py @@ -9,7 +9,7 @@ def __init__( super(XshiftValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_y.py b/plotly/validators/layout/annotation/_y.py index 7dac129ba53..40d76c1cd82 100644 --- a/plotly/validators/layout/annotation/_y.py +++ b/plotly/validators/layout/annotation/_y.py @@ -9,7 +9,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_yanchor.py b/plotly/validators/layout/annotation/_yanchor.py index bcfd55c7860..458a777213e 100644 --- a/plotly/validators/layout/annotation/_yanchor.py +++ b/plotly/validators/layout/annotation/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', - values=['auto', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/annotation/_yclick.py b/plotly/validators/layout/annotation/_yclick.py index 2e7d4dfe6ce..e3ab4c0516f 100644 --- a/plotly/validators/layout/annotation/_yclick.py +++ b/plotly/validators/layout/annotation/_yclick.py @@ -9,7 +9,7 @@ def __init__( super(YclickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/annotation/_yref.py b/plotly/validators/layout/annotation/_yref.py index 63f6108d7bc..405012434da 100644 --- a/plotly/validators/layout/annotation/_yref.py +++ b/plotly/validators/layout/annotation/_yref.py @@ -9,8 +9,10 @@ def __init__( super(YrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['paper', '/^y([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['paper', '/^y([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/_yshift.py b/plotly/validators/layout/annotation/_yshift.py index 61696543f65..0ff98e81ddb 100644 --- a/plotly/validators/layout/annotation/_yshift.py +++ b/plotly/validators/layout/annotation/_yshift.py @@ -9,7 +9,7 @@ def __init__( super(YshiftValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/font/_color.py b/plotly/validators/layout/annotation/font/_color.py index ac62fb7f6be..0c91a9d6155 100644 --- a/plotly/validators/layout/annotation/font/_color.py +++ b/plotly/validators/layout/annotation/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/font/_family.py b/plotly/validators/layout/annotation/font/_family.py index 1d1d6b8ea3f..54f89fec9ff 100644 --- a/plotly/validators/layout/annotation/font/_family.py +++ b/plotly/validators/layout/annotation/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/annotation/font/_size.py b/plotly/validators/layout/annotation/font/_size.py index faa36564e3d..089fa51ea94 100644 --- a/plotly/validators/layout/annotation/font/_size.py +++ b/plotly/validators/layout/annotation/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/hoverlabel/_bgcolor.py b/plotly/validators/layout/annotation/hoverlabel/_bgcolor.py index a117ace7576..5b6aeb91cbf 100644 --- a/plotly/validators/layout/annotation/hoverlabel/_bgcolor.py +++ b/plotly/validators/layout/annotation/hoverlabel/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/hoverlabel/_bordercolor.py b/plotly/validators/layout/annotation/hoverlabel/_bordercolor.py index c735fc6d613..01e6bf00bad 100644 --- a/plotly/validators/layout/annotation/hoverlabel/_bordercolor.py +++ b/plotly/validators/layout/annotation/hoverlabel/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/hoverlabel/_font.py b/plotly/validators/layout/annotation/hoverlabel/_font.py index 9ddec5a4174..543212f7558 100644 --- a/plotly/validators/layout/annotation/hoverlabel/_font.py +++ b/plotly/validators/layout/annotation/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/annotation/hoverlabel/font/_color.py b/plotly/validators/layout/annotation/hoverlabel/font/_color.py index 075c7f6fc58..c4160432f96 100644 --- a/plotly/validators/layout/annotation/hoverlabel/font/_color.py +++ b/plotly/validators/layout/annotation/hoverlabel/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/annotation/hoverlabel/font/_family.py b/plotly/validators/layout/annotation/hoverlabel/font/_family.py index 2161222ee00..5130f47f5c2 100644 --- a/plotly/validators/layout/annotation/hoverlabel/font/_family.py +++ b/plotly/validators/layout/annotation/hoverlabel/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'arraydraw'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/annotation/hoverlabel/font/_size.py b/plotly/validators/layout/annotation/hoverlabel/font/_size.py index 58efad5221d..c9b779f0f2f 100644 --- a/plotly/validators/layout/annotation/hoverlabel/font/_size.py +++ b/plotly/validators/layout/annotation/hoverlabel/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/font/_color.py b/plotly/validators/layout/font/_color.py index 80ce9a87387..15202c06433 100644 --- a/plotly/validators/layout/font/_color.py +++ b/plotly/validators/layout/font/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/font/_family.py b/plotly/validators/layout/font/_family.py index e01be3c16dc..644060c3967 100644 --- a/plotly/validators/layout/font/_family.py +++ b/plotly/validators/layout/font/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/font/_size.py b/plotly/validators/layout/font/_size.py index 25b9805c18d..f133006b3bf 100644 --- a/plotly/validators/layout/font/_size.py +++ b/plotly/validators/layout/font/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_bgcolor.py b/plotly/validators/layout/geo/_bgcolor.py index 712724f252f..bc4b6bde1b9 100644 --- a/plotly/validators/layout/geo/_bgcolor.py +++ b/plotly/validators/layout/geo/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_center.py b/plotly/validators/layout/geo/_center.py index cc001b93eee..97c1c29185d 100644 --- a/plotly/validators/layout/geo/_center.py +++ b/plotly/validators/layout/geo/_center.py @@ -9,8 +9,9 @@ def __init__( super(CenterValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Center', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Center'), + data_docs=kwargs.pop( + 'data_docs', """ lat Sets the latitude of the map's center. For all projection types, the map's latitude center @@ -22,6 +23,7 @@ def __init__( middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/geo/_coastlinecolor.py b/plotly/validators/layout/geo/_coastlinecolor.py index 348b73310ea..2936247aeb7 100644 --- a/plotly/validators/layout/geo/_coastlinecolor.py +++ b/plotly/validators/layout/geo/_coastlinecolor.py @@ -9,7 +9,7 @@ def __init__( super(CoastlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_coastlinewidth.py b/plotly/validators/layout/geo/_coastlinewidth.py index 552c3a9c7ac..2785521d055 100644 --- a/plotly/validators/layout/geo/_coastlinewidth.py +++ b/plotly/validators/layout/geo/_coastlinewidth.py @@ -9,8 +9,8 @@ def __init__( super(CoastlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_countrycolor.py b/plotly/validators/layout/geo/_countrycolor.py index 37decd07d54..523ab2001f0 100644 --- a/plotly/validators/layout/geo/_countrycolor.py +++ b/plotly/validators/layout/geo/_countrycolor.py @@ -9,7 +9,7 @@ def __init__( super(CountrycolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_countrywidth.py b/plotly/validators/layout/geo/_countrywidth.py index 0936a90d959..e0522fe8b8a 100644 --- a/plotly/validators/layout/geo/_countrywidth.py +++ b/plotly/validators/layout/geo/_countrywidth.py @@ -9,8 +9,8 @@ def __init__( super(CountrywidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_domain.py b/plotly/validators/layout/geo/_domain.py index bc5c259d4a1..6471e8bb54d 100644 --- a/plotly/validators/layout/geo/_domain.py +++ b/plotly/validators/layout/geo/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this geo subplot . @@ -37,6 +38,7 @@ def __init__( constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/geo/_framecolor.py b/plotly/validators/layout/geo/_framecolor.py index f9b1150b426..5113e648f6f 100644 --- a/plotly/validators/layout/geo/_framecolor.py +++ b/plotly/validators/layout/geo/_framecolor.py @@ -9,7 +9,7 @@ def __init__( super(FramecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_framewidth.py b/plotly/validators/layout/geo/_framewidth.py index 9ce64c22f11..e34c83afb33 100644 --- a/plotly/validators/layout/geo/_framewidth.py +++ b/plotly/validators/layout/geo/_framewidth.py @@ -9,8 +9,8 @@ def __init__( super(FramewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_lakecolor.py b/plotly/validators/layout/geo/_lakecolor.py index 03a5deea5e0..a202af32198 100644 --- a/plotly/validators/layout/geo/_lakecolor.py +++ b/plotly/validators/layout/geo/_lakecolor.py @@ -9,7 +9,7 @@ def __init__( super(LakecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_landcolor.py b/plotly/validators/layout/geo/_landcolor.py index c6a8dbd46e1..e08bc056ca9 100644 --- a/plotly/validators/layout/geo/_landcolor.py +++ b/plotly/validators/layout/geo/_landcolor.py @@ -9,7 +9,7 @@ def __init__( super(LandcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_lataxis.py b/plotly/validators/layout/geo/_lataxis.py index 5a965bcb620..91758548829 100644 --- a/plotly/validators/layout/geo/_lataxis.py +++ b/plotly/validators/layout/geo/_lataxis.py @@ -9,8 +9,9 @@ def __init__( super(LataxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lataxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lataxis'), + data_docs=kwargs.pop( + 'data_docs', """ dtick Sets the graticule's longitude/latitude tick step. @@ -27,6 +28,7 @@ def __init__( tick0 Sets the graticule's starting tick longitude/latitude. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/geo/_lonaxis.py b/plotly/validators/layout/geo/_lonaxis.py index 0c8a6e0ceb2..b533a99a84d 100644 --- a/plotly/validators/layout/geo/_lonaxis.py +++ b/plotly/validators/layout/geo/_lonaxis.py @@ -9,8 +9,9 @@ def __init__( super(LonaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lonaxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lonaxis'), + data_docs=kwargs.pop( + 'data_docs', """ dtick Sets the graticule's longitude/latitude tick step. @@ -27,6 +28,7 @@ def __init__( tick0 Sets the graticule's starting tick longitude/latitude. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/geo/_oceancolor.py b/plotly/validators/layout/geo/_oceancolor.py index 3ec1c4aab00..9a74a7c8543 100644 --- a/plotly/validators/layout/geo/_oceancolor.py +++ b/plotly/validators/layout/geo/_oceancolor.py @@ -9,7 +9,7 @@ def __init__( super(OceancolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_projection.py b/plotly/validators/layout/geo/_projection.py index 0bcb0fa0333..e0e65a4357e 100644 --- a/plotly/validators/layout/geo/_projection.py +++ b/plotly/validators/layout/geo/_projection.py @@ -9,8 +9,9 @@ def __init__( super(ProjectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Projection', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Projection'), + data_docs=kwargs.pop( + 'data_docs', """ parallels For conic projection types only. Sets the parallels (tangent, secant) where the cone @@ -24,6 +25,7 @@ def __init__( the map's lon and lat ranges. type Sets the projection type. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/geo/_resolution.py b/plotly/validators/layout/geo/_resolution.py index 6001be6021d..5a21f0a6ba5 100644 --- a/plotly/validators/layout/geo/_resolution.py +++ b/plotly/validators/layout/geo/_resolution.py @@ -9,9 +9,9 @@ def __init__( super(ResolutionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - coerce_number=True, - edit_type='plot', - role='info', - values=[110, 50], + coerce_number=kwargs.pop('coerce_number', True), + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [110, 50]), **kwargs ) diff --git a/plotly/validators/layout/geo/_rivercolor.py b/plotly/validators/layout/geo/_rivercolor.py index bb2c16835e1..35d12c3f9f9 100644 --- a/plotly/validators/layout/geo/_rivercolor.py +++ b/plotly/validators/layout/geo/_rivercolor.py @@ -9,7 +9,7 @@ def __init__( super(RivercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_riverwidth.py b/plotly/validators/layout/geo/_riverwidth.py index e02364866b1..72f4c57f6f7 100644 --- a/plotly/validators/layout/geo/_riverwidth.py +++ b/plotly/validators/layout/geo/_riverwidth.py @@ -9,8 +9,8 @@ def __init__( super(RiverwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_scope.py b/plotly/validators/layout/geo/_scope.py index 218e36ac25d..eaf4379aa2f 100644 --- a/plotly/validators/layout/geo/_scope.py +++ b/plotly/validators/layout/geo/_scope.py @@ -9,11 +9,13 @@ def __init__( super(ScopeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'world', 'usa', 'europe', 'asia', 'africa', 'north america', - 'south america' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'world', 'usa', 'europe', 'asia', 'africa', + 'north america', 'south america' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/geo/_showcoastlines.py b/plotly/validators/layout/geo/_showcoastlines.py index 0674071796b..b45d2774030 100644 --- a/plotly/validators/layout/geo/_showcoastlines.py +++ b/plotly/validators/layout/geo/_showcoastlines.py @@ -9,7 +9,7 @@ def __init__( super(ShowcoastlinesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showcountries.py b/plotly/validators/layout/geo/_showcountries.py index 2f4567c93ca..53bb5e6867d 100644 --- a/plotly/validators/layout/geo/_showcountries.py +++ b/plotly/validators/layout/geo/_showcountries.py @@ -9,7 +9,7 @@ def __init__( super(ShowcountriesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showframe.py b/plotly/validators/layout/geo/_showframe.py index 6e576f48277..189829585f8 100644 --- a/plotly/validators/layout/geo/_showframe.py +++ b/plotly/validators/layout/geo/_showframe.py @@ -9,7 +9,7 @@ def __init__( super(ShowframeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showlakes.py b/plotly/validators/layout/geo/_showlakes.py index 19a1b17833e..dfdd7b57b89 100644 --- a/plotly/validators/layout/geo/_showlakes.py +++ b/plotly/validators/layout/geo/_showlakes.py @@ -9,7 +9,7 @@ def __init__( super(ShowlakesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showland.py b/plotly/validators/layout/geo/_showland.py index 8e80ce332ae..f2d5ab8efb4 100644 --- a/plotly/validators/layout/geo/_showland.py +++ b/plotly/validators/layout/geo/_showland.py @@ -9,7 +9,7 @@ def __init__( super(ShowlandValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showocean.py b/plotly/validators/layout/geo/_showocean.py index 065959ea4d2..e62864f95dc 100644 --- a/plotly/validators/layout/geo/_showocean.py +++ b/plotly/validators/layout/geo/_showocean.py @@ -9,7 +9,7 @@ def __init__( super(ShowoceanValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showrivers.py b/plotly/validators/layout/geo/_showrivers.py index 174cc8e6df0..b9ea6cb76d3 100644 --- a/plotly/validators/layout/geo/_showrivers.py +++ b/plotly/validators/layout/geo/_showrivers.py @@ -9,7 +9,7 @@ def __init__( super(ShowriversValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_showsubunits.py b/plotly/validators/layout/geo/_showsubunits.py index 01abef8f8fd..9ec66ac3971 100644 --- a/plotly/validators/layout/geo/_showsubunits.py +++ b/plotly/validators/layout/geo/_showsubunits.py @@ -9,7 +9,7 @@ def __init__( super(ShowsubunitsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/_subunitcolor.py b/plotly/validators/layout/geo/_subunitcolor.py index ca915a1aeb9..d92b0a889fe 100644 --- a/plotly/validators/layout/geo/_subunitcolor.py +++ b/plotly/validators/layout/geo/_subunitcolor.py @@ -9,7 +9,7 @@ def __init__( super(SubunitcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/_subunitwidth.py b/plotly/validators/layout/geo/_subunitwidth.py index 07b8a0b3f73..271be78f4c8 100644 --- a/plotly/validators/layout/geo/_subunitwidth.py +++ b/plotly/validators/layout/geo/_subunitwidth.py @@ -9,8 +9,8 @@ def __init__( super(SubunitwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/center/_lat.py b/plotly/validators/layout/geo/center/_lat.py index daa70082cc9..19305a836d9 100644 --- a/plotly/validators/layout/geo/center/_lat.py +++ b/plotly/validators/layout/geo/center/_lat.py @@ -9,7 +9,7 @@ def __init__( super(LatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/center/_lon.py b/plotly/validators/layout/geo/center/_lon.py index c9543b15407..7e07b9bada1 100644 --- a/plotly/validators/layout/geo/center/_lon.py +++ b/plotly/validators/layout/geo/center/_lon.py @@ -9,7 +9,7 @@ def __init__( super(LonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/domain/_column.py b/plotly/validators/layout/geo/domain/_column.py index 8066def8b00..a07f74c364c 100644 --- a/plotly/validators/layout/geo/domain/_column.py +++ b/plotly/validators/layout/geo/domain/_column.py @@ -9,8 +9,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/domain/_row.py b/plotly/validators/layout/geo/domain/_row.py index 47b1884ee07..dd3842ffff9 100644 --- a/plotly/validators/layout/geo/domain/_row.py +++ b/plotly/validators/layout/geo/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/domain/_x.py b/plotly/validators/layout/geo/domain/_x.py index 324ac805197..a8985bbefcf 100644 --- a/plotly/validators/layout/geo/domain/_x.py +++ b/plotly/validators/layout/geo/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/domain/_y.py b/plotly/validators/layout/geo/domain/_y.py index a9c2ccb91fe..e81ad46266a 100644 --- a/plotly/validators/layout/geo/domain/_y.py +++ b/plotly/validators/layout/geo/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lataxis/_dtick.py b/plotly/validators/layout/geo/lataxis/_dtick.py index 875a0f6889e..200011d555e 100644 --- a/plotly/validators/layout/geo/lataxis/_dtick.py +++ b/plotly/validators/layout/geo/lataxis/_dtick.py @@ -9,7 +9,7 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lataxis/_gridcolor.py b/plotly/validators/layout/geo/lataxis/_gridcolor.py index 4b9fe5a7513..b0322abb52b 100644 --- a/plotly/validators/layout/geo/lataxis/_gridcolor.py +++ b/plotly/validators/layout/geo/lataxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/lataxis/_gridwidth.py b/plotly/validators/layout/geo/lataxis/_gridwidth.py index 67dab7594c0..d1221ed5d52 100644 --- a/plotly/validators/layout/geo/lataxis/_gridwidth.py +++ b/plotly/validators/layout/geo/lataxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/lataxis/_range.py b/plotly/validators/layout/geo/lataxis/_range.py index be2a89cf8cc..65605ecbfd4 100644 --- a/plotly/validators/layout/geo/lataxis/_range.py +++ b/plotly/validators/layout/geo/lataxis/_range.py @@ -9,16 +9,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'editType': 'plot' - }, { - 'valType': 'number', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'plot' + }, { + 'valType': 'number', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lataxis/_showgrid.py b/plotly/validators/layout/geo/lataxis/_showgrid.py index c963c0fe532..9e309cd6137 100644 --- a/plotly/validators/layout/geo/lataxis/_showgrid.py +++ b/plotly/validators/layout/geo/lataxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lataxis/_tick0.py b/plotly/validators/layout/geo/lataxis/_tick0.py index 257703eee39..94b78573421 100644 --- a/plotly/validators/layout/geo/lataxis/_tick0.py +++ b/plotly/validators/layout/geo/lataxis/_tick0.py @@ -9,7 +9,7 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lonaxis/_dtick.py b/plotly/validators/layout/geo/lonaxis/_dtick.py index 638cd8388d3..68327a18399 100644 --- a/plotly/validators/layout/geo/lonaxis/_dtick.py +++ b/plotly/validators/layout/geo/lonaxis/_dtick.py @@ -9,7 +9,7 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lonaxis/_gridcolor.py b/plotly/validators/layout/geo/lonaxis/_gridcolor.py index 72cc1e7c775..6e760070722 100644 --- a/plotly/validators/layout/geo/lonaxis/_gridcolor.py +++ b/plotly/validators/layout/geo/lonaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/lonaxis/_gridwidth.py b/plotly/validators/layout/geo/lonaxis/_gridwidth.py index e0e94535d0c..d08fb4029d5 100644 --- a/plotly/validators/layout/geo/lonaxis/_gridwidth.py +++ b/plotly/validators/layout/geo/lonaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/geo/lonaxis/_range.py b/plotly/validators/layout/geo/lonaxis/_range.py index 9141fb78081..47d0ec5ec1c 100644 --- a/plotly/validators/layout/geo/lonaxis/_range.py +++ b/plotly/validators/layout/geo/lonaxis/_range.py @@ -9,16 +9,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'editType': 'plot' - }, { - 'valType': 'number', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'plot' + }, { + 'valType': 'number', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lonaxis/_showgrid.py b/plotly/validators/layout/geo/lonaxis/_showgrid.py index c6dd9f63a7a..cea57b2db41 100644 --- a/plotly/validators/layout/geo/lonaxis/_showgrid.py +++ b/plotly/validators/layout/geo/lonaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/lonaxis/_tick0.py b/plotly/validators/layout/geo/lonaxis/_tick0.py index b17d92eca61..31ed6333d7b 100644 --- a/plotly/validators/layout/geo/lonaxis/_tick0.py +++ b/plotly/validators/layout/geo/lonaxis/_tick0.py @@ -9,7 +9,7 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/_parallels.py b/plotly/validators/layout/geo/projection/_parallels.py index 227c970d6d3..10be6b9d7a8 100644 --- a/plotly/validators/layout/geo/projection/_parallels.py +++ b/plotly/validators/layout/geo/projection/_parallels.py @@ -12,16 +12,18 @@ def __init__( super(ParallelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'editType': 'plot' - }, { - 'valType': 'number', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'plot' + }, { + 'valType': 'number', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/_rotation.py b/plotly/validators/layout/geo/projection/_rotation.py index 8502c19b4ce..2387a3d49e7 100644 --- a/plotly/validators/layout/geo/projection/_rotation.py +++ b/plotly/validators/layout/geo/projection/_rotation.py @@ -12,8 +12,9 @@ def __init__( super(RotationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Rotation', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Rotation'), + data_docs=kwargs.pop( + 'data_docs', """ lat Rotates the map along meridians (in degrees North). @@ -24,6 +25,7 @@ def __init__( roll Roll the map (in degrees) For example, a roll of 180 makes the map appear upside down. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/_scale.py b/plotly/validators/layout/geo/projection/_scale.py index 76be0771896..f3b76b0c177 100644 --- a/plotly/validators/layout/geo/projection/_scale.py +++ b/plotly/validators/layout/geo/projection/_scale.py @@ -12,8 +12,8 @@ def __init__( super(ScaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/_type.py b/plotly/validators/layout/geo/projection/_type.py index f45c749d780..3ffd86051b9 100644 --- a/plotly/validators/layout/geo/projection/_type.py +++ b/plotly/validators/layout/geo/projection/_type.py @@ -12,16 +12,18 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'equirectangular', 'mercator', 'orthographic', 'natural earth', - 'kavrayskiy7', 'miller', 'robinson', 'eckert4', - 'azimuthal equal area', 'azimuthal equidistant', - 'conic equal area', 'conic conformal', 'conic equidistant', - 'gnomonic', 'stereographic', 'mollweide', 'hammer', - 'transverse mercator', 'albers usa', 'winkel tripel', 'aitoff', - 'sinusoidal' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'equirectangular', 'mercator', 'orthographic', + 'natural earth', 'kavrayskiy7', 'miller', 'robinson', + 'eckert4', 'azimuthal equal area', 'azimuthal equidistant', + 'conic equal area', 'conic conformal', 'conic equidistant', + 'gnomonic', 'stereographic', 'mollweide', 'hammer', + 'transverse mercator', 'albers usa', 'winkel tripel', + 'aitoff', 'sinusoidal' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/rotation/_lat.py b/plotly/validators/layout/geo/projection/rotation/_lat.py index 59875f3373a..b30ec7eae30 100644 --- a/plotly/validators/layout/geo/projection/rotation/_lat.py +++ b/plotly/validators/layout/geo/projection/rotation/_lat.py @@ -12,7 +12,7 @@ def __init__( super(LatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/rotation/_lon.py b/plotly/validators/layout/geo/projection/rotation/_lon.py index cac369ea931..981da52a4df 100644 --- a/plotly/validators/layout/geo/projection/rotation/_lon.py +++ b/plotly/validators/layout/geo/projection/rotation/_lon.py @@ -12,7 +12,7 @@ def __init__( super(LonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/geo/projection/rotation/_roll.py b/plotly/validators/layout/geo/projection/rotation/_roll.py index 4dd85c3a144..729e06d4fcc 100644 --- a/plotly/validators/layout/geo/projection/rotation/_roll.py +++ b/plotly/validators/layout/geo/projection/rotation/_roll.py @@ -12,7 +12,7 @@ def __init__( super(RollValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_columns.py b/plotly/validators/layout/grid/_columns.py index 9bcf5ee1027..60b8757624a 100644 --- a/plotly/validators/layout/grid/_columns.py +++ b/plotly/validators/layout/grid/_columns.py @@ -9,8 +9,8 @@ def __init__( super(ColumnsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_domain.py b/plotly/validators/layout/grid/_domain.py index 6c697600458..1a6eebf6bc7 100644 --- a/plotly/validators/layout/grid/_domain.py +++ b/plotly/validators/layout/grid/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ x Sets the horizontal domain of this grid subplot (in plot fraction). The first and last cells @@ -21,6 +22,7 @@ def __init__( (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/grid/_pattern.py b/plotly/validators/layout/grid/_pattern.py index 269bdad38d6..3d7fe047803 100644 --- a/plotly/validators/layout/grid/_pattern.py +++ b/plotly/validators/layout/grid/_pattern.py @@ -9,8 +9,8 @@ def __init__( super(PatternValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['independent', 'coupled'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['independent', 'coupled']), **kwargs ) diff --git a/plotly/validators/layout/grid/_roworder.py b/plotly/validators/layout/grid/_roworder.py index 248ffee36c0..b14f2c6e91e 100644 --- a/plotly/validators/layout/grid/_roworder.py +++ b/plotly/validators/layout/grid/_roworder.py @@ -9,8 +9,8 @@ def __init__( super(RoworderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['top to bottom', 'bottom to top'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['top to bottom', 'bottom to top']), **kwargs ) diff --git a/plotly/validators/layout/grid/_rows.py b/plotly/validators/layout/grid/_rows.py index f6b3836103c..150f9e7c9eb 100644 --- a/plotly/validators/layout/grid/_rows.py +++ b/plotly/validators/layout/grid/_rows.py @@ -9,8 +9,8 @@ def __init__( super(RowsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_subplots.py b/plotly/validators/layout/grid/_subplots.py index d6c49e5f25a..7d354c56829 100644 --- a/plotly/validators/layout/grid/_subplots.py +++ b/plotly/validators/layout/grid/_subplots.py @@ -9,15 +9,19 @@ def __init__( super(SubplotsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dimensions=2, - edit_type='plot', - free_length=True, - items={ - 'valType': 'enumerated', - 'values': - ['/^x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?$/', ''], - 'editType': 'plot' - }, - role='info', + dimensions=kwargs.pop('dimensions', 2), + edit_type=kwargs.pop('edit_type', 'plot'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', { + 'valType': + 'enumerated', + 'values': + ['/^x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?$/', ''], + 'editType': + 'plot' + } + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_xaxes.py b/plotly/validators/layout/grid/_xaxes.py index aacbe9b013b..2df88b7368c 100644 --- a/plotly/validators/layout/grid/_xaxes.py +++ b/plotly/validators/layout/grid/_xaxes.py @@ -9,13 +9,15 @@ def __init__( super(XaxesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - free_length=True, - items={ - 'valType': 'enumerated', - 'values': ['/^x([2-9]|[1-9][0-9]+)?$/', ''], - 'editType': 'plot' - }, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', { + 'valType': 'enumerated', + 'values': ['/^x([2-9]|[1-9][0-9]+)?$/', ''], + 'editType': 'plot' + } + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_xgap.py b/plotly/validators/layout/grid/_xgap.py index 57d80fdb775..065569bf51e 100644 --- a/plotly/validators/layout/grid/_xgap.py +++ b/plotly/validators/layout/grid/_xgap.py @@ -9,9 +9,9 @@ def __init__( super(XgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_xside.py b/plotly/validators/layout/grid/_xside.py index faddab41a6d..30464fec1c4 100644 --- a/plotly/validators/layout/grid/_xside.py +++ b/plotly/validators/layout/grid/_xside.py @@ -9,8 +9,10 @@ def __init__( super(XsideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['bottom', 'bottom plot', 'top plot', 'top'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['bottom', 'bottom plot', 'top plot', 'top'] + ), **kwargs ) diff --git a/plotly/validators/layout/grid/_yaxes.py b/plotly/validators/layout/grid/_yaxes.py index a76f3858e6a..210145267d0 100644 --- a/plotly/validators/layout/grid/_yaxes.py +++ b/plotly/validators/layout/grid/_yaxes.py @@ -9,13 +9,15 @@ def __init__( super(YaxesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - free_length=True, - items={ - 'valType': 'enumerated', - 'values': ['/^y([2-9]|[1-9][0-9]+)?$/', ''], - 'editType': 'plot' - }, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', { + 'valType': 'enumerated', + 'values': ['/^y([2-9]|[1-9][0-9]+)?$/', ''], + 'editType': 'plot' + } + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_ygap.py b/plotly/validators/layout/grid/_ygap.py index 8705da5aa7b..ff1c3161c50 100644 --- a/plotly/validators/layout/grid/_ygap.py +++ b/plotly/validators/layout/grid/_ygap.py @@ -9,9 +9,9 @@ def __init__( super(YgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/_yside.py b/plotly/validators/layout/grid/_yside.py index 5aab4347e6e..04e08e1124d 100644 --- a/plotly/validators/layout/grid/_yside.py +++ b/plotly/validators/layout/grid/_yside.py @@ -9,8 +9,10 @@ def __init__( super(YsideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['left', 'left plot', 'right plot', 'right'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['left', 'left plot', 'right plot', 'right'] + ), **kwargs ) diff --git a/plotly/validators/layout/grid/domain/_x.py b/plotly/validators/layout/grid/domain/_x.py index 7e34bb7fef4..f1c07bb4fef 100644 --- a/plotly/validators/layout/grid/domain/_x.py +++ b/plotly/validators/layout/grid/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/grid/domain/_y.py b/plotly/validators/layout/grid/domain/_y.py index ff0866f07e8..e2fcae7073b 100644 --- a/plotly/validators/layout/grid/domain/_y.py +++ b/plotly/validators/layout/grid/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/_bgcolor.py b/plotly/validators/layout/hoverlabel/_bgcolor.py index 42950458aac..87dc81ced01 100644 --- a/plotly/validators/layout/hoverlabel/_bgcolor.py +++ b/plotly/validators/layout/hoverlabel/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/_bordercolor.py b/plotly/validators/layout/hoverlabel/_bordercolor.py index 183f663edc6..92f388950fd 100644 --- a/plotly/validators/layout/hoverlabel/_bordercolor.py +++ b/plotly/validators/layout/hoverlabel/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/_font.py b/plotly/validators/layout/hoverlabel/_font.py index eef8b28ccc7..5cef090b255 100644 --- a/plotly/validators/layout/hoverlabel/_font.py +++ b/plotly/validators/layout/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/_namelength.py b/plotly/validators/layout/hoverlabel/_namelength.py index 71d0b980937..d73813e9eb3 100644 --- a/plotly/validators/layout/hoverlabel/_namelength.py +++ b/plotly/validators/layout/hoverlabel/_namelength.py @@ -12,8 +12,8 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - min=-1, - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/font/_color.py b/plotly/validators/layout/hoverlabel/font/_color.py index eeb56c98bc2..6911684bcb5 100644 --- a/plotly/validators/layout/hoverlabel/font/_color.py +++ b/plotly/validators/layout/hoverlabel/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/font/_family.py b/plotly/validators/layout/hoverlabel/font/_family.py index 831fbaa0d80..511598d2927 100644 --- a/plotly/validators/layout/hoverlabel/font/_family.py +++ b/plotly/validators/layout/hoverlabel/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/hoverlabel/font/_size.py b/plotly/validators/layout/hoverlabel/font/_size.py index 0891853e37a..bc32f93157d 100644 --- a/plotly/validators/layout/hoverlabel/font/_size.py +++ b/plotly/validators/layout/hoverlabel/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/image/_layer.py b/plotly/validators/layout/image/_layer.py index 1bc9434e17e..7f956052c37 100644 --- a/plotly/validators/layout/image/_layer.py +++ b/plotly/validators/layout/image/_layer.py @@ -9,8 +9,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['below', 'above'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['below', 'above']), **kwargs ) diff --git a/plotly/validators/layout/image/_name.py b/plotly/validators/layout/image/_name.py index 16dd7cbbdb4..f47992b94a8 100644 --- a/plotly/validators/layout/image/_name.py +++ b/plotly/validators/layout/image/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/image/_opacity.py b/plotly/validators/layout/image/_opacity.py index d3d7578e50d..8bc6e924dbd 100644 --- a/plotly/validators/layout/image/_opacity.py +++ b/plotly/validators/layout/image/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=1, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_sizex.py b/plotly/validators/layout/image/_sizex.py index 8e3cba0c87c..152564ffd4e 100644 --- a/plotly/validators/layout/image/_sizex.py +++ b/plotly/validators/layout/image/_sizex.py @@ -9,7 +9,7 @@ def __init__( super(SizexValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_sizey.py b/plotly/validators/layout/image/_sizey.py index b3c93e4cb57..5aebb46565b 100644 --- a/plotly/validators/layout/image/_sizey.py +++ b/plotly/validators/layout/image/_sizey.py @@ -9,7 +9,7 @@ def __init__( super(SizeyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_sizing.py b/plotly/validators/layout/image/_sizing.py index e616c601af0..bf275ea2e04 100644 --- a/plotly/validators/layout/image/_sizing.py +++ b/plotly/validators/layout/image/_sizing.py @@ -9,8 +9,8 @@ def __init__( super(SizingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['fill', 'contain', 'stretch'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fill', 'contain', 'stretch']), **kwargs ) diff --git a/plotly/validators/layout/image/_source.py b/plotly/validators/layout/image/_source.py index 634f148dcff..23d2c329521 100644 --- a/plotly/validators/layout/image/_source.py +++ b/plotly/validators/layout/image/_source.py @@ -9,7 +9,7 @@ def __init__( super(SourceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_templateitemname.py b/plotly/validators/layout/image/_templateitemname.py index c5a26d93e8f..38629f03531 100644 --- a/plotly/validators/layout/image/_templateitemname.py +++ b/plotly/validators/layout/image/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_visible.py b/plotly/validators/layout/image/_visible.py index b589d482117..449e9d9c4fc 100644 --- a/plotly/validators/layout/image/_visible.py +++ b/plotly/validators/layout/image/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_x.py b/plotly/validators/layout/image/_x.py index 2bdf37a8b8c..f2e30544517 100644 --- a/plotly/validators/layout/image/_x.py +++ b/plotly/validators/layout/image/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='layout.image', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_xanchor.py b/plotly/validators/layout/image/_xanchor.py index e998d3746c1..1e7b472098d 100644 --- a/plotly/validators/layout/image/_xanchor.py +++ b/plotly/validators/layout/image/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/image/_xref.py b/plotly/validators/layout/image/_xref.py index e94f041678a..a869a4ecd4b 100644 --- a/plotly/validators/layout/image/_xref.py +++ b/plotly/validators/layout/image/_xref.py @@ -9,8 +9,10 @@ def __init__( super(XrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['paper', '/^x([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['paper', '/^x([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/image/_y.py b/plotly/validators/layout/image/_y.py index 85de0e15ce4..3122246c5d9 100644 --- a/plotly/validators/layout/image/_y.py +++ b/plotly/validators/layout/image/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='layout.image', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/image/_yanchor.py b/plotly/validators/layout/image/_yanchor.py index fdeba0e2f5b..d663cbdea05 100644 --- a/plotly/validators/layout/image/_yanchor.py +++ b/plotly/validators/layout/image/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/image/_yref.py b/plotly/validators/layout/image/_yref.py index f0ea5375882..b92efba89c2 100644 --- a/plotly/validators/layout/image/_yref.py +++ b/plotly/validators/layout/image/_yref.py @@ -9,8 +9,10 @@ def __init__( super(YrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['paper', '/^y([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['paper', '/^y([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/legend/_bgcolor.py b/plotly/validators/layout/legend/_bgcolor.py index da8d9cfa7b2..bc193e5be20 100644 --- a/plotly/validators/layout/legend/_bgcolor.py +++ b/plotly/validators/layout/legend/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_bordercolor.py b/plotly/validators/layout/legend/_bordercolor.py index 3b975382df2..81b369e9430 100644 --- a/plotly/validators/layout/legend/_bordercolor.py +++ b/plotly/validators/layout/legend/_bordercolor.py @@ -9,7 +9,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_borderwidth.py b/plotly/validators/layout/legend/_borderwidth.py index f395249045f..d10d754b4f6 100644 --- a/plotly/validators/layout/legend/_borderwidth.py +++ b/plotly/validators/layout/legend/_borderwidth.py @@ -9,8 +9,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_font.py b/plotly/validators/layout/legend/_font.py index 6f0d06c0967..f76a0808070 100644 --- a/plotly/validators/layout/legend/_font.py +++ b/plotly/validators/layout/legend/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/legend/_orientation.py b/plotly/validators/layout/legend/_orientation.py index 1dff0618bdf..d147e408b86 100644 --- a/plotly/validators/layout/legend/_orientation.py +++ b/plotly/validators/layout/legend/_orientation.py @@ -9,8 +9,8 @@ def __init__( super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='info', - values=['v', 'h'], + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['v', 'h']), **kwargs ) diff --git a/plotly/validators/layout/legend/_tracegroupgap.py b/plotly/validators/layout/legend/_tracegroupgap.py index f9e3de41e28..258d2b21149 100644 --- a/plotly/validators/layout/legend/_tracegroupgap.py +++ b/plotly/validators/layout/legend/_tracegroupgap.py @@ -12,8 +12,8 @@ def __init__( super(TracegroupgapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_traceorder.py b/plotly/validators/layout/legend/_traceorder.py index 967cdaca0cd..c6262859032 100644 --- a/plotly/validators/layout/legend/_traceorder.py +++ b/plotly/validators/layout/legend/_traceorder.py @@ -9,9 +9,9 @@ def __init__( super(TraceorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - extras=['normal'], - flags=['reversed', 'grouped'], - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + extras=kwargs.pop('extras', ['normal']), + flags=kwargs.pop('flags', ['reversed', 'grouped']), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_x.py b/plotly/validators/layout/legend/_x.py index fd99ff71c05..576841a0e94 100644 --- a/plotly/validators/layout/legend/_x.py +++ b/plotly/validators/layout/legend/_x.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='x', parent_name='layout.legend', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_xanchor.py b/plotly/validators/layout/legend/_xanchor.py index d4016f3ee06..661fc3573a8 100644 --- a/plotly/validators/layout/legend/_xanchor.py +++ b/plotly/validators/layout/legend/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='info', - values=['auto', 'left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/legend/_y.py b/plotly/validators/layout/legend/_y.py index c67934bca7f..21a0a7db866 100644 --- a/plotly/validators/layout/legend/_y.py +++ b/plotly/validators/layout/legend/_y.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='y', parent_name='layout.legend', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/_yanchor.py b/plotly/validators/layout/legend/_yanchor.py index 9c4e573fe8d..4aa681e3410 100644 --- a/plotly/validators/layout/legend/_yanchor.py +++ b/plotly/validators/layout/legend/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='info', - values=['auto', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/legend/font/_color.py b/plotly/validators/layout/legend/font/_color.py index a62323b85c6..6a94b9093c5 100644 --- a/plotly/validators/layout/legend/font/_color.py +++ b/plotly/validators/layout/legend/font/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/legend/font/_family.py b/plotly/validators/layout/legend/font/_family.py index e7b50f427cb..1d8666f8e0e 100644 --- a/plotly/validators/layout/legend/font/_family.py +++ b/plotly/validators/layout/legend/font/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'legend'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/legend/font/_size.py b/plotly/validators/layout/legend/font/_size.py index e1ef47a49f4..7f41c374860 100644 --- a/plotly/validators/layout/legend/font/_size.py +++ b/plotly/validators/layout/legend/font/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='legend', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'legend'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_accesstoken.py b/plotly/validators/layout/mapbox/_accesstoken.py index 33ad3992535..24d0a106eef 100644 --- a/plotly/validators/layout/mapbox/_accesstoken.py +++ b/plotly/validators/layout/mapbox/_accesstoken.py @@ -9,9 +9,9 @@ def __init__( super(AccesstokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_bearing.py b/plotly/validators/layout/mapbox/_bearing.py index f2292602069..33d95eace51 100644 --- a/plotly/validators/layout/mapbox/_bearing.py +++ b/plotly/validators/layout/mapbox/_bearing.py @@ -9,7 +9,7 @@ def __init__( super(BearingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_center.py b/plotly/validators/layout/mapbox/_center.py index 8cf4e0466bb..81e7150b8f8 100644 --- a/plotly/validators/layout/mapbox/_center.py +++ b/plotly/validators/layout/mapbox/_center.py @@ -9,14 +9,16 @@ def __init__( super(CenterValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Center', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Center'), + data_docs=kwargs.pop( + 'data_docs', """ lat Sets the latitude of the center of the map (in degrees North). lon Sets the longitude of the center of the map (in degrees East). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_domain.py b/plotly/validators/layout/mapbox/_domain.py index 398491ee432..443b1e9fa8e 100644 --- a/plotly/validators/layout/mapbox/_domain.py +++ b/plotly/validators/layout/mapbox/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this mapbox subplot @@ -24,6 +25,7 @@ def __init__( y Sets the vertical domain of this mapbox subplot (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_layers.py b/plotly/validators/layout/mapbox/_layers.py index 94e79ffeddc..1b70405c3f2 100644 --- a/plotly/validators/layout/mapbox/_layers.py +++ b/plotly/validators/layout/mapbox/_layers.py @@ -9,8 +9,9 @@ def __init__( super(LayersValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Layer', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Layer'), + data_docs=kwargs.pop( + 'data_docs', """ below Determines if the layer will be inserted before the layer with the specified ID. If omitted or @@ -78,6 +79,7 @@ def __init__( GeoJSON geometries. visible Determines whether this layer is displayed -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_pitch.py b/plotly/validators/layout/mapbox/_pitch.py index a8626f6319c..8cdba543117 100644 --- a/plotly/validators/layout/mapbox/_pitch.py +++ b/plotly/validators/layout/mapbox/_pitch.py @@ -9,7 +9,7 @@ def __init__( super(PitchValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_style.py b/plotly/validators/layout/mapbox/_style.py index 6e1ee96287b..5eb3605b428 100644 --- a/plotly/validators/layout/mapbox/_style.py +++ b/plotly/validators/layout/mapbox/_style.py @@ -9,11 +9,13 @@ def __init__( super(StyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=[ - 'basic', 'streets', 'outdoors', 'light', 'dark', 'satellite', - 'satellite-streets' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'basic', 'streets', 'outdoors', 'light', 'dark', + 'satellite', 'satellite-streets' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/_zoom.py b/plotly/validators/layout/mapbox/_zoom.py index a43b806722d..85cb211f8b5 100644 --- a/plotly/validators/layout/mapbox/_zoom.py +++ b/plotly/validators/layout/mapbox/_zoom.py @@ -9,7 +9,7 @@ def __init__( super(ZoomValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/center/_lat.py b/plotly/validators/layout/mapbox/center/_lat.py index a576712af69..8d19137cc2f 100644 --- a/plotly/validators/layout/mapbox/center/_lat.py +++ b/plotly/validators/layout/mapbox/center/_lat.py @@ -9,7 +9,7 @@ def __init__( super(LatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/center/_lon.py b/plotly/validators/layout/mapbox/center/_lon.py index 95947f3995a..2f019887fce 100644 --- a/plotly/validators/layout/mapbox/center/_lon.py +++ b/plotly/validators/layout/mapbox/center/_lon.py @@ -9,7 +9,7 @@ def __init__( super(LonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/domain/_column.py b/plotly/validators/layout/mapbox/domain/_column.py index 92ece24dd1a..7e197da28d9 100644 --- a/plotly/validators/layout/mapbox/domain/_column.py +++ b/plotly/validators/layout/mapbox/domain/_column.py @@ -12,8 +12,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/domain/_row.py b/plotly/validators/layout/mapbox/domain/_row.py index ab95bf21c58..abab787f63d 100644 --- a/plotly/validators/layout/mapbox/domain/_row.py +++ b/plotly/validators/layout/mapbox/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/domain/_x.py b/plotly/validators/layout/mapbox/domain/_x.py index 6069d01d3fb..edf313c288e 100644 --- a/plotly/validators/layout/mapbox/domain/_x.py +++ b/plotly/validators/layout/mapbox/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/domain/_y.py b/plotly/validators/layout/mapbox/domain/_y.py index 36885e03ebc..11b9df69c01 100644 --- a/plotly/validators/layout/mapbox/domain/_y.py +++ b/plotly/validators/layout/mapbox/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_below.py b/plotly/validators/layout/mapbox/layer/_below.py index 1134c3a4237..4f514b22bfd 100644 --- a/plotly/validators/layout/mapbox/layer/_below.py +++ b/plotly/validators/layout/mapbox/layer/_below.py @@ -9,7 +9,7 @@ def __init__( super(BelowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_circle.py b/plotly/validators/layout/mapbox/layer/_circle.py index 38306f87487..52b362f1297 100644 --- a/plotly/validators/layout/mapbox/layer/_circle.py +++ b/plotly/validators/layout/mapbox/layer/_circle.py @@ -12,11 +12,13 @@ def __init__( super(CircleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Circle', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Circle'), + data_docs=kwargs.pop( + 'data_docs', """ radius Sets the circle radius. Has an effect only when `type` is set to "circle". -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_color.py b/plotly/validators/layout/mapbox/layer/_color.py index 2a2ef0b0de0..74aa1bddc04 100644 --- a/plotly/validators/layout/mapbox/layer/_color.py +++ b/plotly/validators/layout/mapbox/layer/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_fill.py b/plotly/validators/layout/mapbox/layer/_fill.py index 57e8465ad5f..bc202235b0d 100644 --- a/plotly/validators/layout/mapbox/layer/_fill.py +++ b/plotly/validators/layout/mapbox/layer/_fill.py @@ -9,11 +9,13 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Fill', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Fill'), + data_docs=kwargs.pop( + 'data_docs', """ outlinecolor Sets the fill outline color. Has an effect only when `type` is set to "fill". -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_line.py b/plotly/validators/layout/mapbox/layer/_line.py index dca37b79241..b139b112cd2 100644 --- a/plotly/validators/layout/mapbox/layer/_line.py +++ b/plotly/validators/layout/mapbox/layer/_line.py @@ -9,11 +9,13 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ width Sets the line width. Has an effect only when `type` is set to "line". -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_name.py b/plotly/validators/layout/mapbox/layer/_name.py index 3a7abfe0101..a683c6533a9 100644 --- a/plotly/validators/layout/mapbox/layer/_name.py +++ b/plotly/validators/layout/mapbox/layer/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_opacity.py b/plotly/validators/layout/mapbox/layer/_opacity.py index 10a6f805f85..aceb3b49c27 100644 --- a/plotly/validators/layout/mapbox/layer/_opacity.py +++ b/plotly/validators/layout/mapbox/layer/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_source.py b/plotly/validators/layout/mapbox/layer/_source.py index d03cd785801..152230cea67 100644 --- a/plotly/validators/layout/mapbox/layer/_source.py +++ b/plotly/validators/layout/mapbox/layer/_source.py @@ -12,7 +12,7 @@ def __init__( super(SourceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_sourcelayer.py b/plotly/validators/layout/mapbox/layer/_sourcelayer.py index 34e4ca9107d..d70c2c0cfe4 100644 --- a/plotly/validators/layout/mapbox/layer/_sourcelayer.py +++ b/plotly/validators/layout/mapbox/layer/_sourcelayer.py @@ -12,7 +12,7 @@ def __init__( super(SourcelayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_sourcetype.py b/plotly/validators/layout/mapbox/layer/_sourcetype.py index 3712e1bc111..fe9e02ed6c9 100644 --- a/plotly/validators/layout/mapbox/layer/_sourcetype.py +++ b/plotly/validators/layout/mapbox/layer/_sourcetype.py @@ -12,8 +12,8 @@ def __init__( super(SourcetypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['geojson', 'vector'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['geojson', 'vector']), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_symbol.py b/plotly/validators/layout/mapbox/layer/_symbol.py index 08112cd0b61..6860b22f647 100644 --- a/plotly/validators/layout/mapbox/layer/_symbol.py +++ b/plotly/validators/layout/mapbox/layer/_symbol.py @@ -12,8 +12,9 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Symbol', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Symbol'), + data_docs=kwargs.pop( + 'data_docs', """ icon Sets the symbol icon image. Full list: https://www.mapbox.com/maki-icons/ @@ -28,6 +29,7 @@ def __init__( textposition Sets the positions of the `text` elements with respects to the (x,y) coordinates. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_templateitemname.py b/plotly/validators/layout/mapbox/layer/_templateitemname.py index dfb7b9cb673..3a78256c73e 100644 --- a/plotly/validators/layout/mapbox/layer/_templateitemname.py +++ b/plotly/validators/layout/mapbox/layer/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_type.py b/plotly/validators/layout/mapbox/layer/_type.py index 12a36fab36d..aaafcf05aa4 100644 --- a/plotly/validators/layout/mapbox/layer/_type.py +++ b/plotly/validators/layout/mapbox/layer/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['circle', 'line', 'fill', 'symbol'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['circle', 'line', 'fill', 'symbol']), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/_visible.py b/plotly/validators/layout/mapbox/layer/_visible.py index 02f7ee824d1..551f5c6c7e9 100644 --- a/plotly/validators/layout/mapbox/layer/_visible.py +++ b/plotly/validators/layout/mapbox/layer/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/circle/_radius.py b/plotly/validators/layout/mapbox/layer/circle/_radius.py index 658411971cb..34024e9fe45 100644 --- a/plotly/validators/layout/mapbox/layer/circle/_radius.py +++ b/plotly/validators/layout/mapbox/layer/circle/_radius.py @@ -12,7 +12,7 @@ def __init__( super(RadiusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/fill/_outlinecolor.py b/plotly/validators/layout/mapbox/layer/fill/_outlinecolor.py index b559497a47b..b8632bb6042 100644 --- a/plotly/validators/layout/mapbox/layer/fill/_outlinecolor.py +++ b/plotly/validators/layout/mapbox/layer/fill/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/line/_width.py b/plotly/validators/layout/mapbox/layer/line/_width.py index b66b61a11bb..8b0962cd4eb 100644 --- a/plotly/validators/layout/mapbox/layer/line/_width.py +++ b/plotly/validators/layout/mapbox/layer/line/_width.py @@ -12,7 +12,7 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/_icon.py b/plotly/validators/layout/mapbox/layer/symbol/_icon.py index 0a83c4ba603..794abe94168 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/_icon.py +++ b/plotly/validators/layout/mapbox/layer/symbol/_icon.py @@ -12,7 +12,7 @@ def __init__( super(IconValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/_iconsize.py b/plotly/validators/layout/mapbox/layer/symbol/_iconsize.py index 7becefd6d2e..25bf36d703d 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/_iconsize.py +++ b/plotly/validators/layout/mapbox/layer/symbol/_iconsize.py @@ -12,7 +12,7 @@ def __init__( super(IconsizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/_text.py b/plotly/validators/layout/mapbox/layer/symbol/_text.py index be32a67e74c..67549f9c548 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/_text.py +++ b/plotly/validators/layout/mapbox/layer/symbol/_text.py @@ -12,7 +12,7 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/_textfont.py b/plotly/validators/layout/mapbox/layer/symbol/_textfont.py index 6ed7f4f1522..2df0ecdab08 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/_textfont.py +++ b/plotly/validators/layout/mapbox/layer/symbol/_textfont.py @@ -12,8 +12,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/_textposition.py b/plotly/validators/layout/mapbox/layer/symbol/_textposition.py index 51c9a956559..c3e82016a5b 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/_textposition.py +++ b/plotly/validators/layout/mapbox/layer/symbol/_textposition.py @@ -12,13 +12,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='plot', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/textfont/_color.py b/plotly/validators/layout/mapbox/layer/symbol/textfont/_color.py index bde9c6e5039..887a9d7d94b 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/textfont/_color.py +++ b/plotly/validators/layout/mapbox/layer/symbol/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/textfont/_family.py b/plotly/validators/layout/mapbox/layer/symbol/textfont/_family.py index cb5b1feeeae..1b4ab6269f4 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/textfont/_family.py +++ b/plotly/validators/layout/mapbox/layer/symbol/textfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/mapbox/layer/symbol/textfont/_size.py b/plotly/validators/layout/mapbox/layer/symbol/textfont/_size.py index d48a1635c5f..546a54f075e 100644 --- a/plotly/validators/layout/mapbox/layer/symbol/textfont/_size.py +++ b/plotly/validators/layout/mapbox/layer/symbol/textfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/margin/_autoexpand.py b/plotly/validators/layout/margin/_autoexpand.py index 63247bb8b7b..bfe6a978cf1 100644 --- a/plotly/validators/layout/margin/_autoexpand.py +++ b/plotly/validators/layout/margin/_autoexpand.py @@ -9,7 +9,7 @@ def __init__( super(AutoexpandValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/margin/_b.py b/plotly/validators/layout/margin/_b.py index cc46e2b0b8d..dbe67371f26 100644 --- a/plotly/validators/layout/margin/_b.py +++ b/plotly/validators/layout/margin/_b.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='b', parent_name='layout.margin', **kwargs): super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/margin/_l.py b/plotly/validators/layout/margin/_l.py index d81938f81e9..69170c71e1b 100644 --- a/plotly/validators/layout/margin/_l.py +++ b/plotly/validators/layout/margin/_l.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='l', parent_name='layout.margin', **kwargs): super(LValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/margin/_pad.py b/plotly/validators/layout/margin/_pad.py index 0f0681f6d32..fd5637ea85e 100644 --- a/plotly/validators/layout/margin/_pad.py +++ b/plotly/validators/layout/margin/_pad.py @@ -9,8 +9,8 @@ def __init__( super(PadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/margin/_r.py b/plotly/validators/layout/margin/_r.py index b9e60dba3a9..511dc811958 100644 --- a/plotly/validators/layout/margin/_r.py +++ b/plotly/validators/layout/margin/_r.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='r', parent_name='layout.margin', **kwargs): super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/margin/_t.py b/plotly/validators/layout/margin/_t.py index f90d599f971..02ec82aafc9 100644 --- a/plotly/validators/layout/margin/_t.py +++ b/plotly/validators/layout/margin/_t.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='t', parent_name='layout.margin', **kwargs): super(TValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/_angularaxis.py b/plotly/validators/layout/polar/_angularaxis.py index 9821d81786c..df41ba6600e 100644 --- a/plotly/validators/layout/polar/_angularaxis.py +++ b/plotly/validators/layout/polar/_angularaxis.py @@ -9,8 +9,9 @@ def __init__( super(AngularAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='AngularAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'AngularAxis'), + data_docs=kwargs.pop( + 'data_docs', """ categoryarray Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` @@ -242,6 +243,7 @@ def __init__( preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/_bgcolor.py b/plotly/validators/layout/polar/_bgcolor.py index 7a0a1368b6a..9067a8298ce 100644 --- a/plotly/validators/layout/polar/_bgcolor.py +++ b/plotly/validators/layout/polar/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/_domain.py b/plotly/validators/layout/polar/_domain.py index f04eb4c2cce..d3ac3946f42 100644 --- a/plotly/validators/layout/polar/_domain.py +++ b/plotly/validators/layout/polar/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this polar subplot @@ -24,6 +25,7 @@ def __init__( y Sets the vertical domain of this polar subplot (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/_gridshape.py b/plotly/validators/layout/polar/_gridshape.py index c30d56248b3..57f5888d68b 100644 --- a/plotly/validators/layout/polar/_gridshape.py +++ b/plotly/validators/layout/polar/_gridshape.py @@ -9,8 +9,8 @@ def __init__( super(GridshapeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['circular', 'linear'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['circular', 'linear']), **kwargs ) diff --git a/plotly/validators/layout/polar/_radialaxis.py b/plotly/validators/layout/polar/_radialaxis.py index ce382ab433d..0cace96f2de 100644 --- a/plotly/validators/layout/polar/_radialaxis.py +++ b/plotly/validators/layout/polar/_radialaxis.py @@ -9,8 +9,9 @@ def __init__( super(RadialAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='RadialAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'RadialAxis'), + data_docs=kwargs.pop( + 'data_docs', """ angle Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, @@ -266,6 +267,7 @@ def __init__( preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/_sector.py b/plotly/validators/layout/polar/_sector.py index ee5c249d03b..d701b9eb4c3 100644 --- a/plotly/validators/layout/polar/_sector.py +++ b/plotly/validators/layout/polar/_sector.py @@ -9,16 +9,18 @@ def __init__( super(SectorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'editType': 'plot' - }, { - 'valType': 'number', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'plot' + }, { + 'valType': 'number', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_categoryarray.py b/plotly/validators/layout/polar/angularaxis/_categoryarray.py index 93f104cd204..3b6c7753ee3 100644 --- a/plotly/validators/layout/polar/angularaxis/_categoryarray.py +++ b/plotly/validators/layout/polar/angularaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_categoryarraysrc.py b/plotly/validators/layout/polar/angularaxis/_categoryarraysrc.py index a541c4706bb..59be89af0a1 100644 --- a/plotly/validators/layout/polar/angularaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/polar/angularaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_categoryorder.py b/plotly/validators/layout/polar/angularaxis/_categoryorder.py index 035cb9b80e0..5cc950494ff 100644 --- a/plotly/validators/layout/polar/angularaxis/_categoryorder.py +++ b/plotly/validators/layout/polar/angularaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_color.py b/plotly/validators/layout/polar/angularaxis/_color.py index 3407c5934aa..a3d96799de0 100644 --- a/plotly/validators/layout/polar/angularaxis/_color.py +++ b/plotly/validators/layout/polar/angularaxis/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_direction.py b/plotly/validators/layout/polar/angularaxis/_direction.py index 281fcf44c57..60643adcadc 100644 --- a/plotly/validators/layout/polar/angularaxis/_direction.py +++ b/plotly/validators/layout/polar/angularaxis/_direction.py @@ -12,8 +12,8 @@ def __init__( super(DirectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['counterclockwise', 'clockwise'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['counterclockwise', 'clockwise']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_dtick.py b/plotly/validators/layout/polar/angularaxis/_dtick.py index 045611abb2a..d6fdef0a492 100644 --- a/plotly/validators/layout/polar/angularaxis/_dtick.py +++ b/plotly/validators/layout/polar/angularaxis/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_exponentformat.py b/plotly/validators/layout/polar/angularaxis/_exponentformat.py index b8311a939f6..20c6ff15b7f 100644 --- a/plotly/validators/layout/polar/angularaxis/_exponentformat.py +++ b/plotly/validators/layout/polar/angularaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_gridcolor.py b/plotly/validators/layout/polar/angularaxis/_gridcolor.py index 48d824bea4c..4006edd74c3 100644 --- a/plotly/validators/layout/polar/angularaxis/_gridcolor.py +++ b/plotly/validators/layout/polar/angularaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_gridwidth.py b/plotly/validators/layout/polar/angularaxis/_gridwidth.py index 5f8f33badab..ea2c9a9391f 100644 --- a/plotly/validators/layout/polar/angularaxis/_gridwidth.py +++ b/plotly/validators/layout/polar/angularaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_hoverformat.py b/plotly/validators/layout/polar/angularaxis/_hoverformat.py index 4fc9a4888c5..9ba438eb922 100644 --- a/plotly/validators/layout/polar/angularaxis/_hoverformat.py +++ b/plotly/validators/layout/polar/angularaxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_layer.py b/plotly/validators/layout/polar/angularaxis/_layer.py index 613cf1454ba..fe904f72d19 100644 --- a/plotly/validators/layout/polar/angularaxis/_layer.py +++ b/plotly/validators/layout/polar/angularaxis/_layer.py @@ -12,8 +12,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_linecolor.py b/plotly/validators/layout/polar/angularaxis/_linecolor.py index 6b593d78476..6cb03784b66 100644 --- a/plotly/validators/layout/polar/angularaxis/_linecolor.py +++ b/plotly/validators/layout/polar/angularaxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_linewidth.py b/plotly/validators/layout/polar/angularaxis/_linewidth.py index 5aa249acb55..c0275af4610 100644 --- a/plotly/validators/layout/polar/angularaxis/_linewidth.py +++ b/plotly/validators/layout/polar/angularaxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_nticks.py b/plotly/validators/layout/polar/angularaxis/_nticks.py index de0eb3e1471..2ebc54433f9 100644 --- a/plotly/validators/layout/polar/angularaxis/_nticks.py +++ b/plotly/validators/layout/polar/angularaxis/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_period.py b/plotly/validators/layout/polar/angularaxis/_period.py index 7287f640db8..fbf9ba20e6c 100644 --- a/plotly/validators/layout/polar/angularaxis/_period.py +++ b/plotly/validators/layout/polar/angularaxis/_period.py @@ -12,8 +12,8 @@ def __init__( super(PeriodValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_rotation.py b/plotly/validators/layout/polar/angularaxis/_rotation.py index d9b79dab7bb..9cba944ca1f 100644 --- a/plotly/validators/layout/polar/angularaxis/_rotation.py +++ b/plotly/validators/layout/polar/angularaxis/_rotation.py @@ -12,7 +12,7 @@ def __init__( super(RotationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_separatethousands.py b/plotly/validators/layout/polar/angularaxis/_separatethousands.py index a4c54263676..555b50928af 100644 --- a/plotly/validators/layout/polar/angularaxis/_separatethousands.py +++ b/plotly/validators/layout/polar/angularaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_showexponent.py b/plotly/validators/layout/polar/angularaxis/_showexponent.py index e7c0e7036d4..2a768bafa02 100644 --- a/plotly/validators/layout/polar/angularaxis/_showexponent.py +++ b/plotly/validators/layout/polar/angularaxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_showgrid.py b/plotly/validators/layout/polar/angularaxis/_showgrid.py index 12c22398ceb..2a274e23ed9 100644 --- a/plotly/validators/layout/polar/angularaxis/_showgrid.py +++ b/plotly/validators/layout/polar/angularaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_showline.py b/plotly/validators/layout/polar/angularaxis/_showline.py index 66c683b271f..1acc15cf803 100644 --- a/plotly/validators/layout/polar/angularaxis/_showline.py +++ b/plotly/validators/layout/polar/angularaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_showticklabels.py b/plotly/validators/layout/polar/angularaxis/_showticklabels.py index 356f77cf64f..bf1e7a9c04e 100644 --- a/plotly/validators/layout/polar/angularaxis/_showticklabels.py +++ b/plotly/validators/layout/polar/angularaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_showtickprefix.py b/plotly/validators/layout/polar/angularaxis/_showtickprefix.py index 71b0b63b560..ebaba131511 100644 --- a/plotly/validators/layout/polar/angularaxis/_showtickprefix.py +++ b/plotly/validators/layout/polar/angularaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_showticksuffix.py b/plotly/validators/layout/polar/angularaxis/_showticksuffix.py index 005ca51d6c8..fa4b03e36ef 100644 --- a/plotly/validators/layout/polar/angularaxis/_showticksuffix.py +++ b/plotly/validators/layout/polar/angularaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_thetaunit.py b/plotly/validators/layout/polar/angularaxis/_thetaunit.py index 7662b6a6121..99ebc2b7f78 100644 --- a/plotly/validators/layout/polar/angularaxis/_thetaunit.py +++ b/plotly/validators/layout/polar/angularaxis/_thetaunit.py @@ -12,8 +12,8 @@ def __init__( super(ThetaunitValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['radians', 'degrees'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['radians', 'degrees']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tick0.py b/plotly/validators/layout/polar/angularaxis/_tick0.py index 6f820298180..b4b53718979 100644 --- a/plotly/validators/layout/polar/angularaxis/_tick0.py +++ b/plotly/validators/layout/polar/angularaxis/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickangle.py b/plotly/validators/layout/polar/angularaxis/_tickangle.py index 9095d1b070e..3ce11a717a5 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickangle.py +++ b/plotly/validators/layout/polar/angularaxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickcolor.py b/plotly/validators/layout/polar/angularaxis/_tickcolor.py index c767e805316..a996059efbc 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickcolor.py +++ b/plotly/validators/layout/polar/angularaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickfont.py b/plotly/validators/layout/polar/angularaxis/_tickfont.py index 1c9417713ee..d508aa54c88 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickfont.py +++ b/plotly/validators/layout/polar/angularaxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickformat.py b/plotly/validators/layout/polar/angularaxis/_tickformat.py index 14c5739479c..4b6a5e6d8e6 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickformat.py +++ b/plotly/validators/layout/polar/angularaxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickformatstops.py b/plotly/validators/layout/polar/angularaxis/_tickformatstops.py index 3f1132e7247..a8fd011161f 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickformatstops.py +++ b/plotly/validators/layout/polar/angularaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_ticklen.py b/plotly/validators/layout/polar/angularaxis/_ticklen.py index 0ebd705cd38..e0a8bf7b296 100644 --- a/plotly/validators/layout/polar/angularaxis/_ticklen.py +++ b/plotly/validators/layout/polar/angularaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickmode.py b/plotly/validators/layout/polar/angularaxis/_tickmode.py index 073e3cd2281..8dc2fd2e6d9 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickmode.py +++ b/plotly/validators/layout/polar/angularaxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickprefix.py b/plotly/validators/layout/polar/angularaxis/_tickprefix.py index 4cca482e21d..a774403d6a2 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickprefix.py +++ b/plotly/validators/layout/polar/angularaxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_ticks.py b/plotly/validators/layout/polar/angularaxis/_ticks.py index 4411d2f8692..8913a5be083 100644 --- a/plotly/validators/layout/polar/angularaxis/_ticks.py +++ b/plotly/validators/layout/polar/angularaxis/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_ticksuffix.py b/plotly/validators/layout/polar/angularaxis/_ticksuffix.py index addf9c0aa0c..8ff50ab7054 100644 --- a/plotly/validators/layout/polar/angularaxis/_ticksuffix.py +++ b/plotly/validators/layout/polar/angularaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_ticktext.py b/plotly/validators/layout/polar/angularaxis/_ticktext.py index 0a37763fbea..be6f7cfbe7d 100644 --- a/plotly/validators/layout/polar/angularaxis/_ticktext.py +++ b/plotly/validators/layout/polar/angularaxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_ticktextsrc.py b/plotly/validators/layout/polar/angularaxis/_ticktextsrc.py index 4aae6fabc2f..3083739a112 100644 --- a/plotly/validators/layout/polar/angularaxis/_ticktextsrc.py +++ b/plotly/validators/layout/polar/angularaxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickvals.py b/plotly/validators/layout/polar/angularaxis/_tickvals.py index a627481cee7..c8c4ef87a08 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickvals.py +++ b/plotly/validators/layout/polar/angularaxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickvalssrc.py b/plotly/validators/layout/polar/angularaxis/_tickvalssrc.py index 362d5092d10..5c79f3e87f8 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickvalssrc.py +++ b/plotly/validators/layout/polar/angularaxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_tickwidth.py b/plotly/validators/layout/polar/angularaxis/_tickwidth.py index 8f82b769b14..5ccd7e1ce21 100644 --- a/plotly/validators/layout/polar/angularaxis/_tickwidth.py +++ b/plotly/validators/layout/polar/angularaxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_type.py b/plotly/validators/layout/polar/angularaxis/_type.py index 72d26d3d184..5eaafc49e37 100644 --- a/plotly/validators/layout/polar/angularaxis/_type.py +++ b/plotly/validators/layout/polar/angularaxis/_type.py @@ -12,8 +12,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['-', 'linear', 'category'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['-', 'linear', 'category']), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/_visible.py b/plotly/validators/layout/polar/angularaxis/_visible.py index c353a987154..5e718e90b73 100644 --- a/plotly/validators/layout/polar/angularaxis/_visible.py +++ b/plotly/validators/layout/polar/angularaxis/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickfont/_color.py b/plotly/validators/layout/polar/angularaxis/tickfont/_color.py index ff0d13f1fa9..68b708a4057 100644 --- a/plotly/validators/layout/polar/angularaxis/tickfont/_color.py +++ b/plotly/validators/layout/polar/angularaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickfont/_family.py b/plotly/validators/layout/polar/angularaxis/tickfont/_family.py index 8ad48c53862..50e40cc046d 100644 --- a/plotly/validators/layout/polar/angularaxis/tickfont/_family.py +++ b/plotly/validators/layout/polar/angularaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickfont/_size.py b/plotly/validators/layout/polar/angularaxis/tickfont/_size.py index 9bd9944c06a..46fa68f11a3 100644 --- a/plotly/validators/layout/polar/angularaxis/tickfont/_size.py +++ b/plotly/validators/layout/polar/angularaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/polar/angularaxis/tickformatstop/_dtickrange.py index e0534694d17..d030cc4d3bd 100644 --- a/plotly/validators/layout/polar/angularaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/polar/angularaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickformatstop/_enabled.py b/plotly/validators/layout/polar/angularaxis/tickformatstop/_enabled.py index bda93991409..10f395d88d6 100644 --- a/plotly/validators/layout/polar/angularaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/polar/angularaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickformatstop/_name.py b/plotly/validators/layout/polar/angularaxis/tickformatstop/_name.py index 73c65373fdc..975913cbbf3 100644 --- a/plotly/validators/layout/polar/angularaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/polar/angularaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/polar/angularaxis/tickformatstop/_templateitemname.py index 166f5b09697..a66e1a130d2 100644 --- a/plotly/validators/layout/polar/angularaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/polar/angularaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/angularaxis/tickformatstop/_value.py b/plotly/validators/layout/polar/angularaxis/tickformatstop/_value.py index 9913586491a..bb2387e07cb 100644 --- a/plotly/validators/layout/polar/angularaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/polar/angularaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/domain/_column.py b/plotly/validators/layout/polar/domain/_column.py index 61b24851261..72ff5ee99d1 100644 --- a/plotly/validators/layout/polar/domain/_column.py +++ b/plotly/validators/layout/polar/domain/_column.py @@ -12,8 +12,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/domain/_row.py b/plotly/validators/layout/polar/domain/_row.py index 3d542c3ee0a..4399a2243bf 100644 --- a/plotly/validators/layout/polar/domain/_row.py +++ b/plotly/validators/layout/polar/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/domain/_x.py b/plotly/validators/layout/polar/domain/_x.py index 481077944eb..255abb86e49 100644 --- a/plotly/validators/layout/polar/domain/_x.py +++ b/plotly/validators/layout/polar/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/domain/_y.py b/plotly/validators/layout/polar/domain/_y.py index 74897a5e21f..52b16c72c16 100644 --- a/plotly/validators/layout/polar/domain/_y.py +++ b/plotly/validators/layout/polar/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_angle.py b/plotly/validators/layout/polar/radialaxis/_angle.py index 7cf7f06a88e..838f85682fe 100644 --- a/plotly/validators/layout/polar/radialaxis/_angle.py +++ b/plotly/validators/layout/polar/radialaxis/_angle.py @@ -12,7 +12,7 @@ def __init__( super(AngleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_autorange.py b/plotly/validators/layout/polar/radialaxis/_autorange.py index 1a8e5191da4..0099079638d 100644 --- a/plotly/validators/layout/polar/radialaxis/_autorange.py +++ b/plotly/validators/layout/polar/radialaxis/_autorange.py @@ -12,9 +12,9 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='axrange', - implied_edits={}, - role='info', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'axrange'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_calendar.py b/plotly/validators/layout/polar/radialaxis/_calendar.py index 9a2d23e991c..afca12e09df 100644 --- a/plotly/validators/layout/polar/radialaxis/_calendar.py +++ b/plotly/validators/layout/polar/radialaxis/_calendar.py @@ -12,12 +12,15 @@ def __init__( super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_categoryarray.py b/plotly/validators/layout/polar/radialaxis/_categoryarray.py index 7c235fad6c7..46bbb54b695 100644 --- a/plotly/validators/layout/polar/radialaxis/_categoryarray.py +++ b/plotly/validators/layout/polar/radialaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_categoryarraysrc.py b/plotly/validators/layout/polar/radialaxis/_categoryarraysrc.py index bd54b0deb0d..32f77137489 100644 --- a/plotly/validators/layout/polar/radialaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/polar/radialaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_categoryorder.py b/plotly/validators/layout/polar/radialaxis/_categoryorder.py index 62cc587935a..fce3e6024b7 100644 --- a/plotly/validators/layout/polar/radialaxis/_categoryorder.py +++ b/plotly/validators/layout/polar/radialaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_color.py b/plotly/validators/layout/polar/radialaxis/_color.py index 9f331793fe5..0abc1aff804 100644 --- a/plotly/validators/layout/polar/radialaxis/_color.py +++ b/plotly/validators/layout/polar/radialaxis/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_dtick.py b/plotly/validators/layout/polar/radialaxis/_dtick.py index d18b7deb9bc..ab4179abf91 100644 --- a/plotly/validators/layout/polar/radialaxis/_dtick.py +++ b/plotly/validators/layout/polar/radialaxis/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_exponentformat.py b/plotly/validators/layout/polar/radialaxis/_exponentformat.py index 334e384af42..3ac9d525581 100644 --- a/plotly/validators/layout/polar/radialaxis/_exponentformat.py +++ b/plotly/validators/layout/polar/radialaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_gridcolor.py b/plotly/validators/layout/polar/radialaxis/_gridcolor.py index b58beafb3ae..fe8b8dd34a0 100644 --- a/plotly/validators/layout/polar/radialaxis/_gridcolor.py +++ b/plotly/validators/layout/polar/radialaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_gridwidth.py b/plotly/validators/layout/polar/radialaxis/_gridwidth.py index 8e7036ce43d..4031604bca0 100644 --- a/plotly/validators/layout/polar/radialaxis/_gridwidth.py +++ b/plotly/validators/layout/polar/radialaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_hoverformat.py b/plotly/validators/layout/polar/radialaxis/_hoverformat.py index 4e1d34faddf..37cbf93bc2f 100644 --- a/plotly/validators/layout/polar/radialaxis/_hoverformat.py +++ b/plotly/validators/layout/polar/radialaxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_layer.py b/plotly/validators/layout/polar/radialaxis/_layer.py index 95dd7de8568..14d0988c961 100644 --- a/plotly/validators/layout/polar/radialaxis/_layer.py +++ b/plotly/validators/layout/polar/radialaxis/_layer.py @@ -12,8 +12,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_linecolor.py b/plotly/validators/layout/polar/radialaxis/_linecolor.py index 29c5e17b02a..3cf3c3533c2 100644 --- a/plotly/validators/layout/polar/radialaxis/_linecolor.py +++ b/plotly/validators/layout/polar/radialaxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_linewidth.py b/plotly/validators/layout/polar/radialaxis/_linewidth.py index 8258f753b4a..32ab482364c 100644 --- a/plotly/validators/layout/polar/radialaxis/_linewidth.py +++ b/plotly/validators/layout/polar/radialaxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_nticks.py b/plotly/validators/layout/polar/radialaxis/_nticks.py index 1b441e61f8b..5fde38cd4a0 100644 --- a/plotly/validators/layout/polar/radialaxis/_nticks.py +++ b/plotly/validators/layout/polar/radialaxis/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_range.py b/plotly/validators/layout/polar/radialaxis/_range.py index 0c15c49965a..b6d259699f6 100644 --- a/plotly/validators/layout/polar/radialaxis/_range.py +++ b/plotly/validators/layout/polar/radialaxis/_range.py @@ -12,23 +12,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='axrange', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'axrange', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'axrange'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'axrange', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'axrange', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'axrange', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_rangemode.py b/plotly/validators/layout/polar/radialaxis/_rangemode.py index 3a80adde9cd..69523196059 100644 --- a/plotly/validators/layout/polar/radialaxis/_rangemode.py +++ b/plotly/validators/layout/polar/radialaxis/_rangemode.py @@ -12,8 +12,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['tozero', 'nonnegative', 'normal'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['tozero', 'nonnegative', 'normal']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_separatethousands.py b/plotly/validators/layout/polar/radialaxis/_separatethousands.py index bfb597fa32f..72ab7c3e9c9 100644 --- a/plotly/validators/layout/polar/radialaxis/_separatethousands.py +++ b/plotly/validators/layout/polar/radialaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_showexponent.py b/plotly/validators/layout/polar/radialaxis/_showexponent.py index eafad425f02..71e51f2356d 100644 --- a/plotly/validators/layout/polar/radialaxis/_showexponent.py +++ b/plotly/validators/layout/polar/radialaxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_showgrid.py b/plotly/validators/layout/polar/radialaxis/_showgrid.py index f2aca08ebce..06a69caec29 100644 --- a/plotly/validators/layout/polar/radialaxis/_showgrid.py +++ b/plotly/validators/layout/polar/radialaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_showline.py b/plotly/validators/layout/polar/radialaxis/_showline.py index 780e8f341d7..9c3a30c724f 100644 --- a/plotly/validators/layout/polar/radialaxis/_showline.py +++ b/plotly/validators/layout/polar/radialaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_showticklabels.py b/plotly/validators/layout/polar/radialaxis/_showticklabels.py index 5c440b45ed4..b727610d8df 100644 --- a/plotly/validators/layout/polar/radialaxis/_showticklabels.py +++ b/plotly/validators/layout/polar/radialaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_showtickprefix.py b/plotly/validators/layout/polar/radialaxis/_showtickprefix.py index bb49379e1b2..6cc7e76cc34 100644 --- a/plotly/validators/layout/polar/radialaxis/_showtickprefix.py +++ b/plotly/validators/layout/polar/radialaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_showticksuffix.py b/plotly/validators/layout/polar/radialaxis/_showticksuffix.py index 31848d6cf04..497a278195b 100644 --- a/plotly/validators/layout/polar/radialaxis/_showticksuffix.py +++ b/plotly/validators/layout/polar/radialaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_side.py b/plotly/validators/layout/polar/radialaxis/_side.py index ef548448749..5fdcfd35918 100644 --- a/plotly/validators/layout/polar/radialaxis/_side.py +++ b/plotly/validators/layout/polar/radialaxis/_side.py @@ -12,8 +12,8 @@ def __init__( super(SideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['clockwise', 'counterclockwise'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['clockwise', 'counterclockwise']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tick0.py b/plotly/validators/layout/polar/radialaxis/_tick0.py index 725179d9afe..650f67df988 100644 --- a/plotly/validators/layout/polar/radialaxis/_tick0.py +++ b/plotly/validators/layout/polar/radialaxis/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickangle.py b/plotly/validators/layout/polar/radialaxis/_tickangle.py index 92deb5bb749..01720cbb8a1 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickangle.py +++ b/plotly/validators/layout/polar/radialaxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickcolor.py b/plotly/validators/layout/polar/radialaxis/_tickcolor.py index e38921523e5..e8c70a7110e 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickcolor.py +++ b/plotly/validators/layout/polar/radialaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickfont.py b/plotly/validators/layout/polar/radialaxis/_tickfont.py index 0f56a14e8f6..527708174d8 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickfont.py +++ b/plotly/validators/layout/polar/radialaxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickformat.py b/plotly/validators/layout/polar/radialaxis/_tickformat.py index 6eec6879b61..77db8151bc1 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickformat.py +++ b/plotly/validators/layout/polar/radialaxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickformatstops.py b/plotly/validators/layout/polar/radialaxis/_tickformatstops.py index 2985a9fa17d..580461acd60 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickformatstops.py +++ b/plotly/validators/layout/polar/radialaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_ticklen.py b/plotly/validators/layout/polar/radialaxis/_ticklen.py index d6fffecc050..806f4b2e70d 100644 --- a/plotly/validators/layout/polar/radialaxis/_ticklen.py +++ b/plotly/validators/layout/polar/radialaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickmode.py b/plotly/validators/layout/polar/radialaxis/_tickmode.py index 53caf5ebdf4..b2463e32df0 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickmode.py +++ b/plotly/validators/layout/polar/radialaxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickprefix.py b/plotly/validators/layout/polar/radialaxis/_tickprefix.py index 72c708d73c0..53d598c0c1c 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickprefix.py +++ b/plotly/validators/layout/polar/radialaxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_ticks.py b/plotly/validators/layout/polar/radialaxis/_ticks.py index 633e3f0e012..8ef835685aa 100644 --- a/plotly/validators/layout/polar/radialaxis/_ticks.py +++ b/plotly/validators/layout/polar/radialaxis/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_ticksuffix.py b/plotly/validators/layout/polar/radialaxis/_ticksuffix.py index 64bce12e50c..43c469672e1 100644 --- a/plotly/validators/layout/polar/radialaxis/_ticksuffix.py +++ b/plotly/validators/layout/polar/radialaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_ticktext.py b/plotly/validators/layout/polar/radialaxis/_ticktext.py index 472934caf77..f042d40ae6a 100644 --- a/plotly/validators/layout/polar/radialaxis/_ticktext.py +++ b/plotly/validators/layout/polar/radialaxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_ticktextsrc.py b/plotly/validators/layout/polar/radialaxis/_ticktextsrc.py index e6f463536ee..3c1549484c8 100644 --- a/plotly/validators/layout/polar/radialaxis/_ticktextsrc.py +++ b/plotly/validators/layout/polar/radialaxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickvals.py b/plotly/validators/layout/polar/radialaxis/_tickvals.py index 59e11480ad8..26bd3a52021 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickvals.py +++ b/plotly/validators/layout/polar/radialaxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickvalssrc.py b/plotly/validators/layout/polar/radialaxis/_tickvalssrc.py index 401bb3f14e7..b8dd5c98cb6 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickvalssrc.py +++ b/plotly/validators/layout/polar/radialaxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_tickwidth.py b/plotly/validators/layout/polar/radialaxis/_tickwidth.py index 5c83e12e9b0..638339c5713 100644 --- a/plotly/validators/layout/polar/radialaxis/_tickwidth.py +++ b/plotly/validators/layout/polar/radialaxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_title.py b/plotly/validators/layout/polar/radialaxis/_title.py index 0766e57dd79..dc60c65b1c4 100644 --- a/plotly/validators/layout/polar/radialaxis/_title.py +++ b/plotly/validators/layout/polar/radialaxis/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_titlefont.py b/plotly/validators/layout/polar/radialaxis/_titlefont.py index cfc7101031c..ab6b35c4157 100644 --- a/plotly/validators/layout/polar/radialaxis/_titlefont.py +++ b/plotly/validators/layout/polar/radialaxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_type.py b/plotly/validators/layout/polar/radialaxis/_type.py index 743c32baed0..4f1432fcc30 100644 --- a/plotly/validators/layout/polar/radialaxis/_type.py +++ b/plotly/validators/layout/polar/radialaxis/_type.py @@ -12,8 +12,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['-', 'linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['-', 'linear', 'log', 'date', 'category'] + ), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/_visible.py b/plotly/validators/layout/polar/radialaxis/_visible.py index 09535287301..f97afbff2a4 100644 --- a/plotly/validators/layout/polar/radialaxis/_visible.py +++ b/plotly/validators/layout/polar/radialaxis/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickfont/_color.py b/plotly/validators/layout/polar/radialaxis/tickfont/_color.py index a56faa1f02a..50f5e70d35b 100644 --- a/plotly/validators/layout/polar/radialaxis/tickfont/_color.py +++ b/plotly/validators/layout/polar/radialaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickfont/_family.py b/plotly/validators/layout/polar/radialaxis/tickfont/_family.py index ca404245b66..2378a83235c 100644 --- a/plotly/validators/layout/polar/radialaxis/tickfont/_family.py +++ b/plotly/validators/layout/polar/radialaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickfont/_size.py b/plotly/validators/layout/polar/radialaxis/tickfont/_size.py index 5ef35a79238..5f16e8da6ea 100644 --- a/plotly/validators/layout/polar/radialaxis/tickfont/_size.py +++ b/plotly/validators/layout/polar/radialaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/polar/radialaxis/tickformatstop/_dtickrange.py index f6be6e13cea..7011ffac6a4 100644 --- a/plotly/validators/layout/polar/radialaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/polar/radialaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickformatstop/_enabled.py b/plotly/validators/layout/polar/radialaxis/tickformatstop/_enabled.py index 3ec33ad91e8..c64b71df6e9 100644 --- a/plotly/validators/layout/polar/radialaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/polar/radialaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickformatstop/_name.py b/plotly/validators/layout/polar/radialaxis/tickformatstop/_name.py index 36cd4b94f4f..006b8730364 100644 --- a/plotly/validators/layout/polar/radialaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/polar/radialaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/polar/radialaxis/tickformatstop/_templateitemname.py index f73eb287644..12113472dd0 100644 --- a/plotly/validators/layout/polar/radialaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/polar/radialaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/tickformatstop/_value.py b/plotly/validators/layout/polar/radialaxis/tickformatstop/_value.py index d76d7f7ff20..5637442bc65 100644 --- a/plotly/validators/layout/polar/radialaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/polar/radialaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/titlefont/_color.py b/plotly/validators/layout/polar/radialaxis/titlefont/_color.py index 6e8975a6a56..e093884e5dd 100644 --- a/plotly/validators/layout/polar/radialaxis/titlefont/_color.py +++ b/plotly/validators/layout/polar/radialaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/titlefont/_family.py b/plotly/validators/layout/polar/radialaxis/titlefont/_family.py index bfecacb8333..4b0c0ba44e9 100644 --- a/plotly/validators/layout/polar/radialaxis/titlefont/_family.py +++ b/plotly/validators/layout/polar/radialaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/polar/radialaxis/titlefont/_size.py b/plotly/validators/layout/polar/radialaxis/titlefont/_size.py index 1c1ed525a92..74676f22e07 100644 --- a/plotly/validators/layout/polar/radialaxis/titlefont/_size.py +++ b/plotly/validators/layout/polar/radialaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_domain.py b/plotly/validators/layout/radialaxis/_domain.py index fdd19454507..2452e82792a 100644 --- a/plotly/validators/layout/radialaxis/_domain.py +++ b/plotly/validators/layout/radialaxis/_domain.py @@ -9,20 +9,22 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_endpadding.py b/plotly/validators/layout/radialaxis/_endpadding.py index db430dbe0dc..86d12e24203 100644 --- a/plotly/validators/layout/radialaxis/_endpadding.py +++ b/plotly/validators/layout/radialaxis/_endpadding.py @@ -12,7 +12,7 @@ def __init__( super(EndpaddingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_orientation.py b/plotly/validators/layout/radialaxis/_orientation.py index e7b35768bc3..a41823310df 100644 --- a/plotly/validators/layout/radialaxis/_orientation.py +++ b/plotly/validators/layout/radialaxis/_orientation.py @@ -12,7 +12,7 @@ def __init__( super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_range.py b/plotly/validators/layout/radialaxis/_range.py index 9df0bf93981..4ea65f2e153 100644 --- a/plotly/validators/layout/radialaxis/_range.py +++ b/plotly/validators/layout/radialaxis/_range.py @@ -9,16 +9,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'editType': 'plot' - }, { - 'valType': 'number', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'plot' + }, { + 'valType': 'number', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_showline.py b/plotly/validators/layout/radialaxis/_showline.py index 329127ec8a2..41413568e5f 100644 --- a/plotly/validators/layout/radialaxis/_showline.py +++ b/plotly/validators/layout/radialaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_showticklabels.py b/plotly/validators/layout/radialaxis/_showticklabels.py index cfdc4516c18..30530f17bbd 100644 --- a/plotly/validators/layout/radialaxis/_showticklabels.py +++ b/plotly/validators/layout/radialaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_tickcolor.py b/plotly/validators/layout/radialaxis/_tickcolor.py index caace94b272..75f22405b47 100644 --- a/plotly/validators/layout/radialaxis/_tickcolor.py +++ b/plotly/validators/layout/radialaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_ticklen.py b/plotly/validators/layout/radialaxis/_ticklen.py index cc971695fe4..66f7672ba33 100644 --- a/plotly/validators/layout/radialaxis/_ticklen.py +++ b/plotly/validators/layout/radialaxis/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_tickorientation.py b/plotly/validators/layout/radialaxis/_tickorientation.py index ba38a19c000..62b1dfbe361 100644 --- a/plotly/validators/layout/radialaxis/_tickorientation.py +++ b/plotly/validators/layout/radialaxis/_tickorientation.py @@ -14,8 +14,8 @@ def __init__( super(TickorientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['horizontal', 'vertical'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['horizontal', 'vertical']), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_ticksuffix.py b/plotly/validators/layout/radialaxis/_ticksuffix.py index 40442b42e7a..0e75e37b871 100644 --- a/plotly/validators/layout/radialaxis/_ticksuffix.py +++ b/plotly/validators/layout/radialaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/radialaxis/_visible.py b/plotly/validators/layout/radialaxis/_visible.py index 6f9ce5a1803..1cef82489b9 100644 --- a/plotly/validators/layout/radialaxis/_visible.py +++ b/plotly/validators/layout/radialaxis/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/_annotations.py b/plotly/validators/layout/scene/_annotations.py index 989f1465c32..c06c6ead0dd 100644 --- a/plotly/validators/layout/scene/_annotations.py +++ b/plotly/validators/layout/scene/_annotations.py @@ -11,8 +11,9 @@ def __init__( super(AnnotationsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Annotation', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Annotation'), + data_docs=kwargs.pop( + 'data_docs', """ align Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` @@ -190,6 +191,7 @@ def __init__( many pixels. z Sets the annotation's z position. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_aspectmode.py b/plotly/validators/layout/scene/_aspectmode.py index 8cec964dab1..5243c89b57e 100644 --- a/plotly/validators/layout/scene/_aspectmode.py +++ b/plotly/validators/layout/scene/_aspectmode.py @@ -9,9 +9,9 @@ def __init__( super(AspectmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'cube', 'data', 'manual'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'cube', 'data', 'manual']), **kwargs ) diff --git a/plotly/validators/layout/scene/_aspectratio.py b/plotly/validators/layout/scene/_aspectratio.py index 83b06868314..e7252eede3f 100644 --- a/plotly/validators/layout/scene/_aspectratio.py +++ b/plotly/validators/layout/scene/_aspectratio.py @@ -9,14 +9,16 @@ def __init__( super(AspectratioValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Aspectratio', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Aspectratio'), + data_docs=kwargs.pop( + 'data_docs', """ x y z -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_bgcolor.py b/plotly/validators/layout/scene/_bgcolor.py index 0f27c574ce5..e28f5c3fc62 100644 --- a/plotly/validators/layout/scene/_bgcolor.py +++ b/plotly/validators/layout/scene/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/_camera.py b/plotly/validators/layout/scene/_camera.py index 58c579a1dd4..bd96f6cae59 100644 --- a/plotly/validators/layout/scene/_camera.py +++ b/plotly/validators/layout/scene/_camera.py @@ -9,8 +9,9 @@ def __init__( super(CameraValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Camera', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Camera'), + data_docs=kwargs.pop( + 'data_docs', """ center Sets the (x,y,z) components of the 'center' camera vector This vector determines the @@ -27,6 +28,7 @@ def __init__( of this scene with respect to the page. The default is *{x: 0, y: 0, z: 1}* which means that the z axis points up. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_domain.py b/plotly/validators/layout/scene/_domain.py index 27f8a9c71cd..d93066d2d64 100644 --- a/plotly/validators/layout/scene/_domain.py +++ b/plotly/validators/layout/scene/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this scene subplot @@ -24,6 +25,7 @@ def __init__( y Sets the vertical domain of this scene subplot (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_dragmode.py b/plotly/validators/layout/scene/_dragmode.py index b5bc84a85e8..0c67850d48e 100644 --- a/plotly/validators/layout/scene/_dragmode.py +++ b/plotly/validators/layout/scene/_dragmode.py @@ -9,8 +9,10 @@ def __init__( super(DragmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['orbit', 'turntable', 'zoom', 'pan', False], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['orbit', 'turntable', 'zoom', 'pan', False] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_hovermode.py b/plotly/validators/layout/scene/_hovermode.py index 07c03d3594f..63a64eb4a52 100644 --- a/plotly/validators/layout/scene/_hovermode.py +++ b/plotly/validators/layout/scene/_hovermode.py @@ -9,8 +9,8 @@ def __init__( super(HovermodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='modebar', - role='info', - values=['closest', False], + edit_type=kwargs.pop('edit_type', 'modebar'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['closest', False]), **kwargs ) diff --git a/plotly/validators/layout/scene/_xaxis.py b/plotly/validators/layout/scene/_xaxis.py index 00f0b1047d2..2007fe3d971 100644 --- a/plotly/validators/layout/scene/_xaxis.py +++ b/plotly/validators/layout/scene/_xaxis.py @@ -9,8 +9,9 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='XAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'XAxis'), + data_docs=kwargs.pop( + 'data_docs', """ autorange Determines whether or not the range of this axis is computed in relation to the input data. @@ -281,6 +282,7 @@ def __init__( Sets the line color of the zero line. zerolinewidth Sets the width (in px) of the zero line. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_yaxis.py b/plotly/validators/layout/scene/_yaxis.py index f070fd11fba..9c31aba0592 100644 --- a/plotly/validators/layout/scene/_yaxis.py +++ b/plotly/validators/layout/scene/_yaxis.py @@ -9,8 +9,9 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='YAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'YAxis'), + data_docs=kwargs.pop( + 'data_docs', """ autorange Determines whether or not the range of this axis is computed in relation to the input data. @@ -281,6 +282,7 @@ def __init__( Sets the line color of the zero line. zerolinewidth Sets the width (in px) of the zero line. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/_zaxis.py b/plotly/validators/layout/scene/_zaxis.py index ab887eeb983..1f2dc36b4f4 100644 --- a/plotly/validators/layout/scene/_zaxis.py +++ b/plotly/validators/layout/scene/_zaxis.py @@ -9,8 +9,9 @@ def __init__( super(ZAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ZAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ZAxis'), + data_docs=kwargs.pop( + 'data_docs', """ autorange Determines whether or not the range of this axis is computed in relation to the input data. @@ -281,6 +282,7 @@ def __init__( Sets the line color of the zero line. zerolinewidth Sets the width (in px) of the zero line. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_align.py b/plotly/validators/layout/scene/annotation/_align.py index acfc2eda703..cea14814a2c 100644 --- a/plotly/validators/layout/scene/annotation/_align.py +++ b/plotly/validators/layout/scene/annotation/_align.py @@ -12,8 +12,8 @@ def __init__( super(AlignValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_arrowcolor.py b/plotly/validators/layout/scene/annotation/_arrowcolor.py index 38caaa45d89..a3604c6f3c5 100644 --- a/plotly/validators/layout/scene/annotation/_arrowcolor.py +++ b/plotly/validators/layout/scene/annotation/_arrowcolor.py @@ -12,7 +12,7 @@ def __init__( super(ArrowcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_arrowhead.py b/plotly/validators/layout/scene/annotation/_arrowhead.py index 2dcaa899984..bd3fd2e62c0 100644 --- a/plotly/validators/layout/scene/annotation/_arrowhead.py +++ b/plotly/validators/layout/scene/annotation/_arrowhead.py @@ -12,9 +12,9 @@ def __init__( super(ArrowheadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=8, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 8), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_arrowside.py b/plotly/validators/layout/scene/annotation/_arrowside.py index 326944ce9a5..8e605e76abb 100644 --- a/plotly/validators/layout/scene/annotation/_arrowside.py +++ b/plotly/validators/layout/scene/annotation/_arrowside.py @@ -12,9 +12,9 @@ def __init__( super(ArrowsideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['end', 'start'], - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['end', 'start']), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_arrowsize.py b/plotly/validators/layout/scene/annotation/_arrowsize.py index cf7729b56ec..560823bb749 100644 --- a/plotly/validators/layout/scene/annotation/_arrowsize.py +++ b/plotly/validators/layout/scene/annotation/_arrowsize.py @@ -12,8 +12,8 @@ def __init__( super(ArrowsizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0.3, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0.3), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_arrowwidth.py b/plotly/validators/layout/scene/annotation/_arrowwidth.py index 38b67a41e83..e195aa95687 100644 --- a/plotly/validators/layout/scene/annotation/_arrowwidth.py +++ b/plotly/validators/layout/scene/annotation/_arrowwidth.py @@ -12,8 +12,8 @@ def __init__( super(ArrowwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0.1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0.1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_ax.py b/plotly/validators/layout/scene/annotation/_ax.py index 6768b152633..10222e9a5c0 100644 --- a/plotly/validators/layout/scene/annotation/_ax.py +++ b/plotly/validators/layout/scene/annotation/_ax.py @@ -12,7 +12,7 @@ def __init__( super(AxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_ay.py b/plotly/validators/layout/scene/annotation/_ay.py index 1d30b22af07..0535eb065d6 100644 --- a/plotly/validators/layout/scene/annotation/_ay.py +++ b/plotly/validators/layout/scene/annotation/_ay.py @@ -12,7 +12,7 @@ def __init__( super(AyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_bgcolor.py b/plotly/validators/layout/scene/annotation/_bgcolor.py index 63a4a62da72..24f1005848c 100644 --- a/plotly/validators/layout/scene/annotation/_bgcolor.py +++ b/plotly/validators/layout/scene/annotation/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_bordercolor.py b/plotly/validators/layout/scene/annotation/_bordercolor.py index 6a52b41f00e..6978caaeec6 100644 --- a/plotly/validators/layout/scene/annotation/_bordercolor.py +++ b/plotly/validators/layout/scene/annotation/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_borderpad.py b/plotly/validators/layout/scene/annotation/_borderpad.py index 8a49ba20f43..b3a0d47c117 100644 --- a/plotly/validators/layout/scene/annotation/_borderpad.py +++ b/plotly/validators/layout/scene/annotation/_borderpad.py @@ -12,8 +12,8 @@ def __init__( super(BorderpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_borderwidth.py b/plotly/validators/layout/scene/annotation/_borderwidth.py index f68615b691f..2f39dbed553 100644 --- a/plotly/validators/layout/scene/annotation/_borderwidth.py +++ b/plotly/validators/layout/scene/annotation/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_captureevents.py b/plotly/validators/layout/scene/annotation/_captureevents.py index 9acc3f6815c..05720954501 100644 --- a/plotly/validators/layout/scene/annotation/_captureevents.py +++ b/plotly/validators/layout/scene/annotation/_captureevents.py @@ -12,7 +12,7 @@ def __init__( super(CaptureeventsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_font.py b/plotly/validators/layout/scene/annotation/_font.py index cdd435ed4e5..157f5e88ad2 100644 --- a/plotly/validators/layout/scene/annotation/_font.py +++ b/plotly/validators/layout/scene/annotation/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_height.py b/plotly/validators/layout/scene/annotation/_height.py index c8589f6c590..c27529eec61 100644 --- a/plotly/validators/layout/scene/annotation/_height.py +++ b/plotly/validators/layout/scene/annotation/_height.py @@ -12,8 +12,8 @@ def __init__( super(HeightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_hoverlabel.py b/plotly/validators/layout/scene/annotation/_hoverlabel.py index 8528a650535..110bbc32413 100644 --- a/plotly/validators/layout/scene/annotation/_hoverlabel.py +++ b/plotly/validators/layout/scene/annotation/_hoverlabel.py @@ -12,8 +12,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover label. By default uses the annotation's `bgcolor` made @@ -26,6 +27,7 @@ def __init__( Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_hovertext.py b/plotly/validators/layout/scene/annotation/_hovertext.py index 7286a61ec31..8a4a0407606 100644 --- a/plotly/validators/layout/scene/annotation/_hovertext.py +++ b/plotly/validators/layout/scene/annotation/_hovertext.py @@ -12,7 +12,7 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_name.py b/plotly/validators/layout/scene/annotation/_name.py index c81d98bdb25..f375d401c7f 100644 --- a/plotly/validators/layout/scene/annotation/_name.py +++ b/plotly/validators/layout/scene/annotation/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_opacity.py b/plotly/validators/layout/scene/annotation/_opacity.py index cfc5c79d49c..5d40ea746dd 100644 --- a/plotly/validators/layout/scene/annotation/_opacity.py +++ b/plotly/validators/layout/scene/annotation/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_showarrow.py b/plotly/validators/layout/scene/annotation/_showarrow.py index 8b206f19737..3c2f1fc1df4 100644 --- a/plotly/validators/layout/scene/annotation/_showarrow.py +++ b/plotly/validators/layout/scene/annotation/_showarrow.py @@ -12,7 +12,7 @@ def __init__( super(ShowarrowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_standoff.py b/plotly/validators/layout/scene/annotation/_standoff.py index e26de845063..15d60509b44 100644 --- a/plotly/validators/layout/scene/annotation/_standoff.py +++ b/plotly/validators/layout/scene/annotation/_standoff.py @@ -12,8 +12,8 @@ def __init__( super(StandoffValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_startarrowhead.py b/plotly/validators/layout/scene/annotation/_startarrowhead.py index 3d91ac69339..62dd5a258b1 100644 --- a/plotly/validators/layout/scene/annotation/_startarrowhead.py +++ b/plotly/validators/layout/scene/annotation/_startarrowhead.py @@ -12,9 +12,9 @@ def __init__( super(StartarrowheadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=8, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 8), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_startarrowsize.py b/plotly/validators/layout/scene/annotation/_startarrowsize.py index dc2809721a9..7f98e50a938 100644 --- a/plotly/validators/layout/scene/annotation/_startarrowsize.py +++ b/plotly/validators/layout/scene/annotation/_startarrowsize.py @@ -12,8 +12,8 @@ def __init__( super(StartarrowsizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0.3, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0.3), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_startstandoff.py b/plotly/validators/layout/scene/annotation/_startstandoff.py index dc5f7635d94..7f789acbd32 100644 --- a/plotly/validators/layout/scene/annotation/_startstandoff.py +++ b/plotly/validators/layout/scene/annotation/_startstandoff.py @@ -12,8 +12,8 @@ def __init__( super(StartstandoffValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_templateitemname.py b/plotly/validators/layout/scene/annotation/_templateitemname.py index 1039f44f231..cb4154ad410 100644 --- a/plotly/validators/layout/scene/annotation/_templateitemname.py +++ b/plotly/validators/layout/scene/annotation/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_text.py b/plotly/validators/layout/scene/annotation/_text.py index 7bb819360fa..6135de2869f 100644 --- a/plotly/validators/layout/scene/annotation/_text.py +++ b/plotly/validators/layout/scene/annotation/_text.py @@ -12,7 +12,7 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_textangle.py b/plotly/validators/layout/scene/annotation/_textangle.py index 73bfe571781..bdea7ea1af1 100644 --- a/plotly/validators/layout/scene/annotation/_textangle.py +++ b/plotly/validators/layout/scene/annotation/_textangle.py @@ -12,7 +12,7 @@ def __init__( super(TextangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_valign.py b/plotly/validators/layout/scene/annotation/_valign.py index 8434956911c..350c633a6ab 100644 --- a/plotly/validators/layout/scene/annotation/_valign.py +++ b/plotly/validators/layout/scene/annotation/_valign.py @@ -12,8 +12,8 @@ def __init__( super(ValignValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_visible.py b/plotly/validators/layout/scene/annotation/_visible.py index bf81e503c91..ecb7fcb4ebc 100644 --- a/plotly/validators/layout/scene/annotation/_visible.py +++ b/plotly/validators/layout/scene/annotation/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_width.py b/plotly/validators/layout/scene/annotation/_width.py index 6caa7ea9e11..aeb65b26c5c 100644 --- a/plotly/validators/layout/scene/annotation/_width.py +++ b/plotly/validators/layout/scene/annotation/_width.py @@ -12,8 +12,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_x.py b/plotly/validators/layout/scene/annotation/_x.py index 7965e286c0f..1259e945d59 100644 --- a/plotly/validators/layout/scene/annotation/_x.py +++ b/plotly/validators/layout/scene/annotation/_x.py @@ -9,7 +9,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_xanchor.py b/plotly/validators/layout/scene/annotation/_xanchor.py index 1a8241f6fe8..300e05a1d73 100644 --- a/plotly/validators/layout/scene/annotation/_xanchor.py +++ b/plotly/validators/layout/scene/annotation/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['auto', 'left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_xshift.py b/plotly/validators/layout/scene/annotation/_xshift.py index 21749690055..42399f20d7a 100644 --- a/plotly/validators/layout/scene/annotation/_xshift.py +++ b/plotly/validators/layout/scene/annotation/_xshift.py @@ -12,7 +12,7 @@ def __init__( super(XshiftValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_y.py b/plotly/validators/layout/scene/annotation/_y.py index 0ec030c20ff..dced2e8bec5 100644 --- a/plotly/validators/layout/scene/annotation/_y.py +++ b/plotly/validators/layout/scene/annotation/_y.py @@ -9,7 +9,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_yanchor.py b/plotly/validators/layout/scene/annotation/_yanchor.py index 931cba47281..c31ea7d8a51 100644 --- a/plotly/validators/layout/scene/annotation/_yanchor.py +++ b/plotly/validators/layout/scene/annotation/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['auto', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_yshift.py b/plotly/validators/layout/scene/annotation/_yshift.py index 7477992ee87..385e19fa0e9 100644 --- a/plotly/validators/layout/scene/annotation/_yshift.py +++ b/plotly/validators/layout/scene/annotation/_yshift.py @@ -12,7 +12,7 @@ def __init__( super(YshiftValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/_z.py b/plotly/validators/layout/scene/annotation/_z.py index f2f89e916b5..37d34d1b8f7 100644 --- a/plotly/validators/layout/scene/annotation/_z.py +++ b/plotly/validators/layout/scene/annotation/_z.py @@ -9,7 +9,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/font/_color.py b/plotly/validators/layout/scene/annotation/font/_color.py index 38e3ee9be6b..0ff7f85be3e 100644 --- a/plotly/validators/layout/scene/annotation/font/_color.py +++ b/plotly/validators/layout/scene/annotation/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/font/_family.py b/plotly/validators/layout/scene/annotation/font/_family.py index 3ac7bd82eab..c79a0e844b7 100644 --- a/plotly/validators/layout/scene/annotation/font/_family.py +++ b/plotly/validators/layout/scene/annotation/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/font/_size.py b/plotly/validators/layout/scene/annotation/font/_size.py index 90a918e4aea..586c76dc294 100644 --- a/plotly/validators/layout/scene/annotation/font/_size.py +++ b/plotly/validators/layout/scene/annotation/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/hoverlabel/_bgcolor.py b/plotly/validators/layout/scene/annotation/hoverlabel/_bgcolor.py index 695c7a598fe..faba50de438 100644 --- a/plotly/validators/layout/scene/annotation/hoverlabel/_bgcolor.py +++ b/plotly/validators/layout/scene/annotation/hoverlabel/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/hoverlabel/_bordercolor.py b/plotly/validators/layout/scene/annotation/hoverlabel/_bordercolor.py index e14029ae846..d9d472f2fbd 100644 --- a/plotly/validators/layout/scene/annotation/hoverlabel/_bordercolor.py +++ b/plotly/validators/layout/scene/annotation/hoverlabel/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/hoverlabel/_font.py b/plotly/validators/layout/scene/annotation/hoverlabel/_font.py index c9c08a7e029..a3e47a07d9e 100644 --- a/plotly/validators/layout/scene/annotation/hoverlabel/_font.py +++ b/plotly/validators/layout/scene/annotation/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/hoverlabel/font/_color.py b/plotly/validators/layout/scene/annotation/hoverlabel/font/_color.py index abb156e9ed4..716fa909b7b 100644 --- a/plotly/validators/layout/scene/annotation/hoverlabel/font/_color.py +++ b/plotly/validators/layout/scene/annotation/hoverlabel/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/hoverlabel/font/_family.py b/plotly/validators/layout/scene/annotation/hoverlabel/font/_family.py index e8361df857b..0dd197495fa 100644 --- a/plotly/validators/layout/scene/annotation/hoverlabel/font/_family.py +++ b/plotly/validators/layout/scene/annotation/hoverlabel/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/annotation/hoverlabel/font/_size.py b/plotly/validators/layout/scene/annotation/hoverlabel/font/_size.py index 3bc856c4e2b..be5f13a33c4 100644 --- a/plotly/validators/layout/scene/annotation/hoverlabel/font/_size.py +++ b/plotly/validators/layout/scene/annotation/hoverlabel/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/aspectratio/_x.py b/plotly/validators/layout/scene/aspectratio/_x.py index 5df1399b54e..d78575d0e47 100644 --- a/plotly/validators/layout/scene/aspectratio/_x.py +++ b/plotly/validators/layout/scene/aspectratio/_x.py @@ -12,9 +12,11 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^aspectmode': 'manual'}, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop( + 'implied_edits', {'^aspectmode': 'manual'} + ), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/aspectratio/_y.py b/plotly/validators/layout/scene/aspectratio/_y.py index 821458e343d..24d8b338f38 100644 --- a/plotly/validators/layout/scene/aspectratio/_y.py +++ b/plotly/validators/layout/scene/aspectratio/_y.py @@ -12,9 +12,11 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^aspectmode': 'manual'}, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop( + 'implied_edits', {'^aspectmode': 'manual'} + ), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/aspectratio/_z.py b/plotly/validators/layout/scene/aspectratio/_z.py index 73534034cc9..daf52e879d1 100644 --- a/plotly/validators/layout/scene/aspectratio/_z.py +++ b/plotly/validators/layout/scene/aspectratio/_z.py @@ -12,9 +12,11 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'^aspectmode': 'manual'}, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop( + 'implied_edits', {'^aspectmode': 'manual'} + ), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/_center.py b/plotly/validators/layout/scene/camera/_center.py index afc8fa1ef46..fa99ebcd50b 100644 --- a/plotly/validators/layout/scene/camera/_center.py +++ b/plotly/validators/layout/scene/camera/_center.py @@ -12,14 +12,16 @@ def __init__( super(CenterValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Center', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Center'), + data_docs=kwargs.pop( + 'data_docs', """ x y z -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/_eye.py b/plotly/validators/layout/scene/camera/_eye.py index 9160b354381..eb4e0fd667b 100644 --- a/plotly/validators/layout/scene/camera/_eye.py +++ b/plotly/validators/layout/scene/camera/_eye.py @@ -9,14 +9,16 @@ def __init__( super(EyeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Eye', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Eye'), + data_docs=kwargs.pop( + 'data_docs', """ x y z -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/_up.py b/plotly/validators/layout/scene/camera/_up.py index 366a778f532..c024198a0df 100644 --- a/plotly/validators/layout/scene/camera/_up.py +++ b/plotly/validators/layout/scene/camera/_up.py @@ -9,14 +9,16 @@ def __init__( super(UpValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Up', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Up'), + data_docs=kwargs.pop( + 'data_docs', """ x y z -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/center/_x.py b/plotly/validators/layout/scene/camera/center/_x.py index 53a0a221d5c..aa9e0608f31 100644 --- a/plotly/validators/layout/scene/camera/center/_x.py +++ b/plotly/validators/layout/scene/camera/center/_x.py @@ -12,7 +12,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/center/_y.py b/plotly/validators/layout/scene/camera/center/_y.py index 94155da84ba..6048ec73a3f 100644 --- a/plotly/validators/layout/scene/camera/center/_y.py +++ b/plotly/validators/layout/scene/camera/center/_y.py @@ -12,7 +12,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/center/_z.py b/plotly/validators/layout/scene/camera/center/_z.py index 85e4882b392..aa35a11ed33 100644 --- a/plotly/validators/layout/scene/camera/center/_z.py +++ b/plotly/validators/layout/scene/camera/center/_z.py @@ -12,7 +12,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/eye/_x.py b/plotly/validators/layout/scene/camera/eye/_x.py index aa42abc2dcf..e7b873c238b 100644 --- a/plotly/validators/layout/scene/camera/eye/_x.py +++ b/plotly/validators/layout/scene/camera/eye/_x.py @@ -9,7 +9,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/eye/_y.py b/plotly/validators/layout/scene/camera/eye/_y.py index 4a4050b9086..c8f0b8b6ec1 100644 --- a/plotly/validators/layout/scene/camera/eye/_y.py +++ b/plotly/validators/layout/scene/camera/eye/_y.py @@ -9,7 +9,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/eye/_z.py b/plotly/validators/layout/scene/camera/eye/_z.py index 3b63a349b73..b770a106b3e 100644 --- a/plotly/validators/layout/scene/camera/eye/_z.py +++ b/plotly/validators/layout/scene/camera/eye/_z.py @@ -9,7 +9,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/up/_x.py b/plotly/validators/layout/scene/camera/up/_x.py index 803fe4f349f..e93d7bbce75 100644 --- a/plotly/validators/layout/scene/camera/up/_x.py +++ b/plotly/validators/layout/scene/camera/up/_x.py @@ -9,7 +9,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/up/_y.py b/plotly/validators/layout/scene/camera/up/_y.py index f13ca75de41..3dd1cd49d48 100644 --- a/plotly/validators/layout/scene/camera/up/_y.py +++ b/plotly/validators/layout/scene/camera/up/_y.py @@ -9,7 +9,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/camera/up/_z.py b/plotly/validators/layout/scene/camera/up/_z.py index aff1261c745..f8327c06178 100644 --- a/plotly/validators/layout/scene/camera/up/_z.py +++ b/plotly/validators/layout/scene/camera/up/_z.py @@ -9,7 +9,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='camera', - role='info', + edit_type=kwargs.pop('edit_type', 'camera'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/domain/_column.py b/plotly/validators/layout/scene/domain/_column.py index eae12eff075..29bd3175292 100644 --- a/plotly/validators/layout/scene/domain/_column.py +++ b/plotly/validators/layout/scene/domain/_column.py @@ -12,8 +12,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/domain/_row.py b/plotly/validators/layout/scene/domain/_row.py index a7e6e6d302a..b9026038eca 100644 --- a/plotly/validators/layout/scene/domain/_row.py +++ b/plotly/validators/layout/scene/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/domain/_x.py b/plotly/validators/layout/scene/domain/_x.py index cbfbae1ffdd..fa3a469ecb2 100644 --- a/plotly/validators/layout/scene/domain/_x.py +++ b/plotly/validators/layout/scene/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/domain/_y.py b/plotly/validators/layout/scene/domain/_y.py index bd167624e44..ea5bdc1d2cc 100644 --- a/plotly/validators/layout/scene/domain/_y.py +++ b/plotly/validators/layout/scene/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_autorange.py b/plotly/validators/layout/scene/xaxis/_autorange.py index 471f5783926..53f05d66c3b 100644 --- a/plotly/validators/layout/scene/xaxis/_autorange.py +++ b/plotly/validators/layout/scene/xaxis/_autorange.py @@ -12,9 +12,9 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_backgroundcolor.py b/plotly/validators/layout/scene/xaxis/_backgroundcolor.py index 8788bcbebdc..f3f4eb91c5a 100644 --- a/plotly/validators/layout/scene/xaxis/_backgroundcolor.py +++ b/plotly/validators/layout/scene/xaxis/_backgroundcolor.py @@ -12,7 +12,7 @@ def __init__( super(BackgroundcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_calendar.py b/plotly/validators/layout/scene/xaxis/_calendar.py index 7e780ca7906..42b0b02570f 100644 --- a/plotly/validators/layout/scene/xaxis/_calendar.py +++ b/plotly/validators/layout/scene/xaxis/_calendar.py @@ -12,12 +12,15 @@ def __init__( super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_categoryarray.py b/plotly/validators/layout/scene/xaxis/_categoryarray.py index 5e2760bd081..dd7f67b3917 100644 --- a/plotly/validators/layout/scene/xaxis/_categoryarray.py +++ b/plotly/validators/layout/scene/xaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_categoryarraysrc.py b/plotly/validators/layout/scene/xaxis/_categoryarraysrc.py index 5c4fbb349fb..09abd035367 100644 --- a/plotly/validators/layout/scene/xaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/scene/xaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_categoryorder.py b/plotly/validators/layout/scene/xaxis/_categoryorder.py index 35c35350af2..a37915acd42 100644 --- a/plotly/validators/layout/scene/xaxis/_categoryorder.py +++ b/plotly/validators/layout/scene/xaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_color.py b/plotly/validators/layout/scene/xaxis/_color.py index 1d18247f2b9..62a31d4b99f 100644 --- a/plotly/validators/layout/scene/xaxis/_color.py +++ b/plotly/validators/layout/scene/xaxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_dtick.py b/plotly/validators/layout/scene/xaxis/_dtick.py index 79efd2f1a06..42302d814d2 100644 --- a/plotly/validators/layout/scene/xaxis/_dtick.py +++ b/plotly/validators/layout/scene/xaxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_exponentformat.py b/plotly/validators/layout/scene/xaxis/_exponentformat.py index fcae4bb5015..92dc4195678 100644 --- a/plotly/validators/layout/scene/xaxis/_exponentformat.py +++ b/plotly/validators/layout/scene/xaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_gridcolor.py b/plotly/validators/layout/scene/xaxis/_gridcolor.py index dd9e1fff34e..2a783e0897e 100644 --- a/plotly/validators/layout/scene/xaxis/_gridcolor.py +++ b/plotly/validators/layout/scene/xaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_gridwidth.py b/plotly/validators/layout/scene/xaxis/_gridwidth.py index 71334a21f24..7f31e0f37b8 100644 --- a/plotly/validators/layout/scene/xaxis/_gridwidth.py +++ b/plotly/validators/layout/scene/xaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_hoverformat.py b/plotly/validators/layout/scene/xaxis/_hoverformat.py index 50967207793..5cc743a6076 100644 --- a/plotly/validators/layout/scene/xaxis/_hoverformat.py +++ b/plotly/validators/layout/scene/xaxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_linecolor.py b/plotly/validators/layout/scene/xaxis/_linecolor.py index 873786cb7cf..862b0307aef 100644 --- a/plotly/validators/layout/scene/xaxis/_linecolor.py +++ b/plotly/validators/layout/scene/xaxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_linewidth.py b/plotly/validators/layout/scene/xaxis/_linewidth.py index 5a88e3b14d6..84bd3e8643c 100644 --- a/plotly/validators/layout/scene/xaxis/_linewidth.py +++ b/plotly/validators/layout/scene/xaxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_mirror.py b/plotly/validators/layout/scene/xaxis/_mirror.py index 25a31a57749..a3087f98e39 100644 --- a/plotly/validators/layout/scene/xaxis/_mirror.py +++ b/plotly/validators/layout/scene/xaxis/_mirror.py @@ -9,8 +9,10 @@ def __init__( super(MirrorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=[True, 'ticks', False, 'all', 'allticks'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [True, 'ticks', False, 'all', 'allticks'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_nticks.py b/plotly/validators/layout/scene/xaxis/_nticks.py index 051bbd66c26..ec92220d43b 100644 --- a/plotly/validators/layout/scene/xaxis/_nticks.py +++ b/plotly/validators/layout/scene/xaxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_range.py b/plotly/validators/layout/scene/xaxis/_range.py index ea02bf44435..59c7b95e11c 100644 --- a/plotly/validators/layout/scene/xaxis/_range.py +++ b/plotly/validators/layout/scene/xaxis/_range.py @@ -9,23 +9,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'plot', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'plot', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'plot', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_rangemode.py b/plotly/validators/layout/scene/xaxis/_rangemode.py index 480fd405242..d4ea73d8535 100644 --- a/plotly/validators/layout/scene/xaxis/_rangemode.py +++ b/plotly/validators/layout/scene/xaxis/_rangemode.py @@ -12,8 +12,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_separatethousands.py b/plotly/validators/layout/scene/xaxis/_separatethousands.py index 62546f61823..85944d3be83 100644 --- a/plotly/validators/layout/scene/xaxis/_separatethousands.py +++ b/plotly/validators/layout/scene/xaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showaxeslabels.py b/plotly/validators/layout/scene/xaxis/_showaxeslabels.py index f16f0ff7c58..7df3a3e8b4d 100644 --- a/plotly/validators/layout/scene/xaxis/_showaxeslabels.py +++ b/plotly/validators/layout/scene/xaxis/_showaxeslabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowaxeslabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showbackground.py b/plotly/validators/layout/scene/xaxis/_showbackground.py index 11c46496426..ccccf0728e8 100644 --- a/plotly/validators/layout/scene/xaxis/_showbackground.py +++ b/plotly/validators/layout/scene/xaxis/_showbackground.py @@ -12,7 +12,7 @@ def __init__( super(ShowbackgroundValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showexponent.py b/plotly/validators/layout/scene/xaxis/_showexponent.py index 85cb3ed56c0..f91212c383f 100644 --- a/plotly/validators/layout/scene/xaxis/_showexponent.py +++ b/plotly/validators/layout/scene/xaxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showgrid.py b/plotly/validators/layout/scene/xaxis/_showgrid.py index e47c4fa6169..f3218520e77 100644 --- a/plotly/validators/layout/scene/xaxis/_showgrid.py +++ b/plotly/validators/layout/scene/xaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showline.py b/plotly/validators/layout/scene/xaxis/_showline.py index 271f54aeaeb..98acde713d0 100644 --- a/plotly/validators/layout/scene/xaxis/_showline.py +++ b/plotly/validators/layout/scene/xaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showspikes.py b/plotly/validators/layout/scene/xaxis/_showspikes.py index 3894d4d4c17..be4bb0e0d86 100644 --- a/plotly/validators/layout/scene/xaxis/_showspikes.py +++ b/plotly/validators/layout/scene/xaxis/_showspikes.py @@ -12,7 +12,7 @@ def __init__( super(ShowspikesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showticklabels.py b/plotly/validators/layout/scene/xaxis/_showticklabels.py index 5f8aecd80e5..8f6f72e9888 100644 --- a/plotly/validators/layout/scene/xaxis/_showticklabels.py +++ b/plotly/validators/layout/scene/xaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showtickprefix.py b/plotly/validators/layout/scene/xaxis/_showtickprefix.py index 3f838f45c1a..85106d73ce3 100644 --- a/plotly/validators/layout/scene/xaxis/_showtickprefix.py +++ b/plotly/validators/layout/scene/xaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_showticksuffix.py b/plotly/validators/layout/scene/xaxis/_showticksuffix.py index a6de3c540ae..bc09453103a 100644 --- a/plotly/validators/layout/scene/xaxis/_showticksuffix.py +++ b/plotly/validators/layout/scene/xaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_spikecolor.py b/plotly/validators/layout/scene/xaxis/_spikecolor.py index 10b0ff3780b..2306ca75604 100644 --- a/plotly/validators/layout/scene/xaxis/_spikecolor.py +++ b/plotly/validators/layout/scene/xaxis/_spikecolor.py @@ -12,7 +12,7 @@ def __init__( super(SpikecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_spikesides.py b/plotly/validators/layout/scene/xaxis/_spikesides.py index 5d1b96baf31..4e2984715dc 100644 --- a/plotly/validators/layout/scene/xaxis/_spikesides.py +++ b/plotly/validators/layout/scene/xaxis/_spikesides.py @@ -12,7 +12,7 @@ def __init__( super(SpikesidesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_spikethickness.py b/plotly/validators/layout/scene/xaxis/_spikethickness.py index af482c1e9fa..6a24e31647b 100644 --- a/plotly/validators/layout/scene/xaxis/_spikethickness.py +++ b/plotly/validators/layout/scene/xaxis/_spikethickness.py @@ -12,8 +12,8 @@ def __init__( super(SpikethicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tick0.py b/plotly/validators/layout/scene/xaxis/_tick0.py index b19f83ab920..b1d82100f39 100644 --- a/plotly/validators/layout/scene/xaxis/_tick0.py +++ b/plotly/validators/layout/scene/xaxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickangle.py b/plotly/validators/layout/scene/xaxis/_tickangle.py index ebd4aba8735..0a4926a1de3 100644 --- a/plotly/validators/layout/scene/xaxis/_tickangle.py +++ b/plotly/validators/layout/scene/xaxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickcolor.py b/plotly/validators/layout/scene/xaxis/_tickcolor.py index 11837bf29ca..461580e66fd 100644 --- a/plotly/validators/layout/scene/xaxis/_tickcolor.py +++ b/plotly/validators/layout/scene/xaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickfont.py b/plotly/validators/layout/scene/xaxis/_tickfont.py index 081975f6096..116662123d2 100644 --- a/plotly/validators/layout/scene/xaxis/_tickfont.py +++ b/plotly/validators/layout/scene/xaxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickformat.py b/plotly/validators/layout/scene/xaxis/_tickformat.py index 74fe2c2e336..bcf26c03b78 100644 --- a/plotly/validators/layout/scene/xaxis/_tickformat.py +++ b/plotly/validators/layout/scene/xaxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickformatstops.py b/plotly/validators/layout/scene/xaxis/_tickformatstops.py index 175a6651ad4..669cd27cf62 100644 --- a/plotly/validators/layout/scene/xaxis/_tickformatstops.py +++ b/plotly/validators/layout/scene/xaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_ticklen.py b/plotly/validators/layout/scene/xaxis/_ticklen.py index dea3d077008..03c7640b94c 100644 --- a/plotly/validators/layout/scene/xaxis/_ticklen.py +++ b/plotly/validators/layout/scene/xaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickmode.py b/plotly/validators/layout/scene/xaxis/_tickmode.py index 0ab1690ac41..8d43d8c40b6 100644 --- a/plotly/validators/layout/scene/xaxis/_tickmode.py +++ b/plotly/validators/layout/scene/xaxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickprefix.py b/plotly/validators/layout/scene/xaxis/_tickprefix.py index 682a25ea8cf..8cb8048c2a4 100644 --- a/plotly/validators/layout/scene/xaxis/_tickprefix.py +++ b/plotly/validators/layout/scene/xaxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_ticks.py b/plotly/validators/layout/scene/xaxis/_ticks.py index 9dd00a64f91..7d4345de2a8 100644 --- a/plotly/validators/layout/scene/xaxis/_ticks.py +++ b/plotly/validators/layout/scene/xaxis/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_ticksuffix.py b/plotly/validators/layout/scene/xaxis/_ticksuffix.py index 5e836ba8834..940c64b82b5 100644 --- a/plotly/validators/layout/scene/xaxis/_ticksuffix.py +++ b/plotly/validators/layout/scene/xaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_ticktext.py b/plotly/validators/layout/scene/xaxis/_ticktext.py index d0f638fe864..b2e32d3a0ed 100644 --- a/plotly/validators/layout/scene/xaxis/_ticktext.py +++ b/plotly/validators/layout/scene/xaxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_ticktextsrc.py b/plotly/validators/layout/scene/xaxis/_ticktextsrc.py index 99607cd2c33..3beaaa84f72 100644 --- a/plotly/validators/layout/scene/xaxis/_ticktextsrc.py +++ b/plotly/validators/layout/scene/xaxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickvals.py b/plotly/validators/layout/scene/xaxis/_tickvals.py index e3a741598c1..cc9498f4505 100644 --- a/plotly/validators/layout/scene/xaxis/_tickvals.py +++ b/plotly/validators/layout/scene/xaxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickvalssrc.py b/plotly/validators/layout/scene/xaxis/_tickvalssrc.py index e5cf1e20967..417688ad286 100644 --- a/plotly/validators/layout/scene/xaxis/_tickvalssrc.py +++ b/plotly/validators/layout/scene/xaxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_tickwidth.py b/plotly/validators/layout/scene/xaxis/_tickwidth.py index 75afa95eb3d..6c2a33b472e 100644 --- a/plotly/validators/layout/scene/xaxis/_tickwidth.py +++ b/plotly/validators/layout/scene/xaxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_title.py b/plotly/validators/layout/scene/xaxis/_title.py index 03b2333863b..667443adde1 100644 --- a/plotly/validators/layout/scene/xaxis/_title.py +++ b/plotly/validators/layout/scene/xaxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_titlefont.py b/plotly/validators/layout/scene/xaxis/_titlefont.py index 8217508019c..ae765662aa9 100644 --- a/plotly/validators/layout/scene/xaxis/_titlefont.py +++ b/plotly/validators/layout/scene/xaxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_type.py b/plotly/validators/layout/scene/xaxis/_type.py index 2e10963115d..5567aa14cee 100644 --- a/plotly/validators/layout/scene/xaxis/_type.py +++ b/plotly/validators/layout/scene/xaxis/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['-', 'linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['-', 'linear', 'log', 'date', 'category'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_visible.py b/plotly/validators/layout/scene/xaxis/_visible.py index c4a40f64c0f..3ebd8d690ea 100644 --- a/plotly/validators/layout/scene/xaxis/_visible.py +++ b/plotly/validators/layout/scene/xaxis/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_zeroline.py b/plotly/validators/layout/scene/xaxis/_zeroline.py index 8477809a654..89489c70c73 100644 --- a/plotly/validators/layout/scene/xaxis/_zeroline.py +++ b/plotly/validators/layout/scene/xaxis/_zeroline.py @@ -12,7 +12,7 @@ def __init__( super(ZerolineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_zerolinecolor.py b/plotly/validators/layout/scene/xaxis/_zerolinecolor.py index f3cec9684e4..c162f8ac6ad 100644 --- a/plotly/validators/layout/scene/xaxis/_zerolinecolor.py +++ b/plotly/validators/layout/scene/xaxis/_zerolinecolor.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/_zerolinewidth.py b/plotly/validators/layout/scene/xaxis/_zerolinewidth.py index 72dfb102658..e7ec266256f 100644 --- a/plotly/validators/layout/scene/xaxis/_zerolinewidth.py +++ b/plotly/validators/layout/scene/xaxis/_zerolinewidth.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickfont/_color.py b/plotly/validators/layout/scene/xaxis/tickfont/_color.py index 5f5da07a263..0f7d87cd33b 100644 --- a/plotly/validators/layout/scene/xaxis/tickfont/_color.py +++ b/plotly/validators/layout/scene/xaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickfont/_family.py b/plotly/validators/layout/scene/xaxis/tickfont/_family.py index 61c31b33cd4..e2b918d2b6d 100644 --- a/plotly/validators/layout/scene/xaxis/tickfont/_family.py +++ b/plotly/validators/layout/scene/xaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickfont/_size.py b/plotly/validators/layout/scene/xaxis/tickfont/_size.py index 02fd330bcb5..58a9b6c923a 100644 --- a/plotly/validators/layout/scene/xaxis/tickfont/_size.py +++ b/plotly/validators/layout/scene/xaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/scene/xaxis/tickformatstop/_dtickrange.py index f245c47ab31..89a02d8699e 100644 --- a/plotly/validators/layout/scene/xaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/scene/xaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickformatstop/_enabled.py b/plotly/validators/layout/scene/xaxis/tickformatstop/_enabled.py index b0840da3b5c..c15d972c2de 100644 --- a/plotly/validators/layout/scene/xaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/scene/xaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickformatstop/_name.py b/plotly/validators/layout/scene/xaxis/tickformatstop/_name.py index 133cd4e797d..a41398b103e 100644 --- a/plotly/validators/layout/scene/xaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/scene/xaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/scene/xaxis/tickformatstop/_templateitemname.py index 4734fa6edd2..d516fc8fc81 100644 --- a/plotly/validators/layout/scene/xaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/scene/xaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/tickformatstop/_value.py b/plotly/validators/layout/scene/xaxis/tickformatstop/_value.py index 904a2208c19..ae5e8b1725f 100644 --- a/plotly/validators/layout/scene/xaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/scene/xaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/titlefont/_color.py b/plotly/validators/layout/scene/xaxis/titlefont/_color.py index 369ba5b96ea..362f05a6dd5 100644 --- a/plotly/validators/layout/scene/xaxis/titlefont/_color.py +++ b/plotly/validators/layout/scene/xaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/titlefont/_family.py b/plotly/validators/layout/scene/xaxis/titlefont/_family.py index 81fb29572a9..c7415c3b46c 100644 --- a/plotly/validators/layout/scene/xaxis/titlefont/_family.py +++ b/plotly/validators/layout/scene/xaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/xaxis/titlefont/_size.py b/plotly/validators/layout/scene/xaxis/titlefont/_size.py index b0f806313c5..8c22496e092 100644 --- a/plotly/validators/layout/scene/xaxis/titlefont/_size.py +++ b/plotly/validators/layout/scene/xaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_autorange.py b/plotly/validators/layout/scene/yaxis/_autorange.py index 260bed99cf0..b6e2dc16369 100644 --- a/plotly/validators/layout/scene/yaxis/_autorange.py +++ b/plotly/validators/layout/scene/yaxis/_autorange.py @@ -12,9 +12,9 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_backgroundcolor.py b/plotly/validators/layout/scene/yaxis/_backgroundcolor.py index 88b09497652..bf324c4db95 100644 --- a/plotly/validators/layout/scene/yaxis/_backgroundcolor.py +++ b/plotly/validators/layout/scene/yaxis/_backgroundcolor.py @@ -12,7 +12,7 @@ def __init__( super(BackgroundcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_calendar.py b/plotly/validators/layout/scene/yaxis/_calendar.py index 73d444cb5c3..f301c76e47d 100644 --- a/plotly/validators/layout/scene/yaxis/_calendar.py +++ b/plotly/validators/layout/scene/yaxis/_calendar.py @@ -12,12 +12,15 @@ def __init__( super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_categoryarray.py b/plotly/validators/layout/scene/yaxis/_categoryarray.py index c32b5dcc16e..207e4cfc377 100644 --- a/plotly/validators/layout/scene/yaxis/_categoryarray.py +++ b/plotly/validators/layout/scene/yaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_categoryarraysrc.py b/plotly/validators/layout/scene/yaxis/_categoryarraysrc.py index 8b0e0d45a3b..e1b591742aa 100644 --- a/plotly/validators/layout/scene/yaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/scene/yaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_categoryorder.py b/plotly/validators/layout/scene/yaxis/_categoryorder.py index 91fa10dc17d..4b53904f1aa 100644 --- a/plotly/validators/layout/scene/yaxis/_categoryorder.py +++ b/plotly/validators/layout/scene/yaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_color.py b/plotly/validators/layout/scene/yaxis/_color.py index 54ec7baeb85..adf03715060 100644 --- a/plotly/validators/layout/scene/yaxis/_color.py +++ b/plotly/validators/layout/scene/yaxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_dtick.py b/plotly/validators/layout/scene/yaxis/_dtick.py index a43ff6fe33f..b8ae7701987 100644 --- a/plotly/validators/layout/scene/yaxis/_dtick.py +++ b/plotly/validators/layout/scene/yaxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_exponentformat.py b/plotly/validators/layout/scene/yaxis/_exponentformat.py index 9e1c6d00699..3718ed3b351 100644 --- a/plotly/validators/layout/scene/yaxis/_exponentformat.py +++ b/plotly/validators/layout/scene/yaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_gridcolor.py b/plotly/validators/layout/scene/yaxis/_gridcolor.py index 2da7f92ef09..6ff1bc43615 100644 --- a/plotly/validators/layout/scene/yaxis/_gridcolor.py +++ b/plotly/validators/layout/scene/yaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_gridwidth.py b/plotly/validators/layout/scene/yaxis/_gridwidth.py index d94b696e3b1..c4d0847bc5e 100644 --- a/plotly/validators/layout/scene/yaxis/_gridwidth.py +++ b/plotly/validators/layout/scene/yaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_hoverformat.py b/plotly/validators/layout/scene/yaxis/_hoverformat.py index 54c6eeacf15..e76c2555183 100644 --- a/plotly/validators/layout/scene/yaxis/_hoverformat.py +++ b/plotly/validators/layout/scene/yaxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_linecolor.py b/plotly/validators/layout/scene/yaxis/_linecolor.py index 29cd3d08253..b9ce7af3868 100644 --- a/plotly/validators/layout/scene/yaxis/_linecolor.py +++ b/plotly/validators/layout/scene/yaxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_linewidth.py b/plotly/validators/layout/scene/yaxis/_linewidth.py index cab3aa40178..cc6d2c9ea0b 100644 --- a/plotly/validators/layout/scene/yaxis/_linewidth.py +++ b/plotly/validators/layout/scene/yaxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_mirror.py b/plotly/validators/layout/scene/yaxis/_mirror.py index 3a90626a64b..867c4b2514a 100644 --- a/plotly/validators/layout/scene/yaxis/_mirror.py +++ b/plotly/validators/layout/scene/yaxis/_mirror.py @@ -9,8 +9,10 @@ def __init__( super(MirrorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=[True, 'ticks', False, 'all', 'allticks'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [True, 'ticks', False, 'all', 'allticks'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_nticks.py b/plotly/validators/layout/scene/yaxis/_nticks.py index 564a6503bd0..da1d99d916d 100644 --- a/plotly/validators/layout/scene/yaxis/_nticks.py +++ b/plotly/validators/layout/scene/yaxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_range.py b/plotly/validators/layout/scene/yaxis/_range.py index 0661d0114e6..7ef5a69931e 100644 --- a/plotly/validators/layout/scene/yaxis/_range.py +++ b/plotly/validators/layout/scene/yaxis/_range.py @@ -9,23 +9,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'plot', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'plot', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'plot', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_rangemode.py b/plotly/validators/layout/scene/yaxis/_rangemode.py index 3157d6f6876..eb4067ea281 100644 --- a/plotly/validators/layout/scene/yaxis/_rangemode.py +++ b/plotly/validators/layout/scene/yaxis/_rangemode.py @@ -12,8 +12,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_separatethousands.py b/plotly/validators/layout/scene/yaxis/_separatethousands.py index 5a09abc8c21..c33214ad009 100644 --- a/plotly/validators/layout/scene/yaxis/_separatethousands.py +++ b/plotly/validators/layout/scene/yaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showaxeslabels.py b/plotly/validators/layout/scene/yaxis/_showaxeslabels.py index 4f4c59f1abc..39695fa28c5 100644 --- a/plotly/validators/layout/scene/yaxis/_showaxeslabels.py +++ b/plotly/validators/layout/scene/yaxis/_showaxeslabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowaxeslabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showbackground.py b/plotly/validators/layout/scene/yaxis/_showbackground.py index 236a57b41db..a703774eca8 100644 --- a/plotly/validators/layout/scene/yaxis/_showbackground.py +++ b/plotly/validators/layout/scene/yaxis/_showbackground.py @@ -12,7 +12,7 @@ def __init__( super(ShowbackgroundValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showexponent.py b/plotly/validators/layout/scene/yaxis/_showexponent.py index b988a37d212..7b0fd6b065d 100644 --- a/plotly/validators/layout/scene/yaxis/_showexponent.py +++ b/plotly/validators/layout/scene/yaxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showgrid.py b/plotly/validators/layout/scene/yaxis/_showgrid.py index d2b7c7e6b0f..403e2e27df4 100644 --- a/plotly/validators/layout/scene/yaxis/_showgrid.py +++ b/plotly/validators/layout/scene/yaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showline.py b/plotly/validators/layout/scene/yaxis/_showline.py index afa95bc01b7..5c17d9bb7c5 100644 --- a/plotly/validators/layout/scene/yaxis/_showline.py +++ b/plotly/validators/layout/scene/yaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showspikes.py b/plotly/validators/layout/scene/yaxis/_showspikes.py index 470fcbfcc4f..fe5a877c3bd 100644 --- a/plotly/validators/layout/scene/yaxis/_showspikes.py +++ b/plotly/validators/layout/scene/yaxis/_showspikes.py @@ -12,7 +12,7 @@ def __init__( super(ShowspikesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showticklabels.py b/plotly/validators/layout/scene/yaxis/_showticklabels.py index 93cc76e2d50..aa1cc5495b0 100644 --- a/plotly/validators/layout/scene/yaxis/_showticklabels.py +++ b/plotly/validators/layout/scene/yaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showtickprefix.py b/plotly/validators/layout/scene/yaxis/_showtickprefix.py index 1555b57aa55..598b6ed0a9c 100644 --- a/plotly/validators/layout/scene/yaxis/_showtickprefix.py +++ b/plotly/validators/layout/scene/yaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_showticksuffix.py b/plotly/validators/layout/scene/yaxis/_showticksuffix.py index c1251e858c8..62cb8d035f3 100644 --- a/plotly/validators/layout/scene/yaxis/_showticksuffix.py +++ b/plotly/validators/layout/scene/yaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_spikecolor.py b/plotly/validators/layout/scene/yaxis/_spikecolor.py index 1ee06bcc074..f7f8efaa230 100644 --- a/plotly/validators/layout/scene/yaxis/_spikecolor.py +++ b/plotly/validators/layout/scene/yaxis/_spikecolor.py @@ -12,7 +12,7 @@ def __init__( super(SpikecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_spikesides.py b/plotly/validators/layout/scene/yaxis/_spikesides.py index a17f2ae1154..983f233aeba 100644 --- a/plotly/validators/layout/scene/yaxis/_spikesides.py +++ b/plotly/validators/layout/scene/yaxis/_spikesides.py @@ -12,7 +12,7 @@ def __init__( super(SpikesidesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_spikethickness.py b/plotly/validators/layout/scene/yaxis/_spikethickness.py index 37cb76562fd..e5552db66aa 100644 --- a/plotly/validators/layout/scene/yaxis/_spikethickness.py +++ b/plotly/validators/layout/scene/yaxis/_spikethickness.py @@ -12,8 +12,8 @@ def __init__( super(SpikethicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tick0.py b/plotly/validators/layout/scene/yaxis/_tick0.py index 0a0177e100b..c4d2e2fe685 100644 --- a/plotly/validators/layout/scene/yaxis/_tick0.py +++ b/plotly/validators/layout/scene/yaxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickangle.py b/plotly/validators/layout/scene/yaxis/_tickangle.py index 579cb0464d1..00e11117e30 100644 --- a/plotly/validators/layout/scene/yaxis/_tickangle.py +++ b/plotly/validators/layout/scene/yaxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickcolor.py b/plotly/validators/layout/scene/yaxis/_tickcolor.py index 39abb35d88f..ad123e95d1c 100644 --- a/plotly/validators/layout/scene/yaxis/_tickcolor.py +++ b/plotly/validators/layout/scene/yaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickfont.py b/plotly/validators/layout/scene/yaxis/_tickfont.py index fefe80c29ef..0f3a015944c 100644 --- a/plotly/validators/layout/scene/yaxis/_tickfont.py +++ b/plotly/validators/layout/scene/yaxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickformat.py b/plotly/validators/layout/scene/yaxis/_tickformat.py index 574d562cbe2..16c1bfbfb87 100644 --- a/plotly/validators/layout/scene/yaxis/_tickformat.py +++ b/plotly/validators/layout/scene/yaxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickformatstops.py b/plotly/validators/layout/scene/yaxis/_tickformatstops.py index d9566c750f3..2972a2af6d0 100644 --- a/plotly/validators/layout/scene/yaxis/_tickformatstops.py +++ b/plotly/validators/layout/scene/yaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_ticklen.py b/plotly/validators/layout/scene/yaxis/_ticklen.py index fb54f12d1c6..a9ea0c7d599 100644 --- a/plotly/validators/layout/scene/yaxis/_ticklen.py +++ b/plotly/validators/layout/scene/yaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickmode.py b/plotly/validators/layout/scene/yaxis/_tickmode.py index 90000ad84e6..4b75430a8f3 100644 --- a/plotly/validators/layout/scene/yaxis/_tickmode.py +++ b/plotly/validators/layout/scene/yaxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickprefix.py b/plotly/validators/layout/scene/yaxis/_tickprefix.py index 4ef2e72b33b..0a40d7812fe 100644 --- a/plotly/validators/layout/scene/yaxis/_tickprefix.py +++ b/plotly/validators/layout/scene/yaxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_ticks.py b/plotly/validators/layout/scene/yaxis/_ticks.py index 9afc668280d..21cc2d7288f 100644 --- a/plotly/validators/layout/scene/yaxis/_ticks.py +++ b/plotly/validators/layout/scene/yaxis/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_ticksuffix.py b/plotly/validators/layout/scene/yaxis/_ticksuffix.py index 39927124c57..9d41d98b007 100644 --- a/plotly/validators/layout/scene/yaxis/_ticksuffix.py +++ b/plotly/validators/layout/scene/yaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_ticktext.py b/plotly/validators/layout/scene/yaxis/_ticktext.py index bfdfd9f4869..e447e40012d 100644 --- a/plotly/validators/layout/scene/yaxis/_ticktext.py +++ b/plotly/validators/layout/scene/yaxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_ticktextsrc.py b/plotly/validators/layout/scene/yaxis/_ticktextsrc.py index a2e5ad944a2..825a7dd15db 100644 --- a/plotly/validators/layout/scene/yaxis/_ticktextsrc.py +++ b/plotly/validators/layout/scene/yaxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickvals.py b/plotly/validators/layout/scene/yaxis/_tickvals.py index 2a9602d24de..f091a55283c 100644 --- a/plotly/validators/layout/scene/yaxis/_tickvals.py +++ b/plotly/validators/layout/scene/yaxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickvalssrc.py b/plotly/validators/layout/scene/yaxis/_tickvalssrc.py index bbf989c474d..3cfdc8c6e72 100644 --- a/plotly/validators/layout/scene/yaxis/_tickvalssrc.py +++ b/plotly/validators/layout/scene/yaxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_tickwidth.py b/plotly/validators/layout/scene/yaxis/_tickwidth.py index e05932f56ff..1133bb2e8d0 100644 --- a/plotly/validators/layout/scene/yaxis/_tickwidth.py +++ b/plotly/validators/layout/scene/yaxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_title.py b/plotly/validators/layout/scene/yaxis/_title.py index 69d5c28d113..7b826034f3c 100644 --- a/plotly/validators/layout/scene/yaxis/_title.py +++ b/plotly/validators/layout/scene/yaxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_titlefont.py b/plotly/validators/layout/scene/yaxis/_titlefont.py index fc1723a9d3b..3a8799ff554 100644 --- a/plotly/validators/layout/scene/yaxis/_titlefont.py +++ b/plotly/validators/layout/scene/yaxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_type.py b/plotly/validators/layout/scene/yaxis/_type.py index 83af05ba807..9a93543771d 100644 --- a/plotly/validators/layout/scene/yaxis/_type.py +++ b/plotly/validators/layout/scene/yaxis/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['-', 'linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['-', 'linear', 'log', 'date', 'category'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_visible.py b/plotly/validators/layout/scene/yaxis/_visible.py index 4936cb4b314..8193f43a1ad 100644 --- a/plotly/validators/layout/scene/yaxis/_visible.py +++ b/plotly/validators/layout/scene/yaxis/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_zeroline.py b/plotly/validators/layout/scene/yaxis/_zeroline.py index 3231ee62992..a21fc6dae9c 100644 --- a/plotly/validators/layout/scene/yaxis/_zeroline.py +++ b/plotly/validators/layout/scene/yaxis/_zeroline.py @@ -12,7 +12,7 @@ def __init__( super(ZerolineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_zerolinecolor.py b/plotly/validators/layout/scene/yaxis/_zerolinecolor.py index 8ee576696ac..9f5426d6b61 100644 --- a/plotly/validators/layout/scene/yaxis/_zerolinecolor.py +++ b/plotly/validators/layout/scene/yaxis/_zerolinecolor.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/_zerolinewidth.py b/plotly/validators/layout/scene/yaxis/_zerolinewidth.py index 4c6297b8c57..56cc31fc186 100644 --- a/plotly/validators/layout/scene/yaxis/_zerolinewidth.py +++ b/plotly/validators/layout/scene/yaxis/_zerolinewidth.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickfont/_color.py b/plotly/validators/layout/scene/yaxis/tickfont/_color.py index 2683a356513..2bd85fc723e 100644 --- a/plotly/validators/layout/scene/yaxis/tickfont/_color.py +++ b/plotly/validators/layout/scene/yaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickfont/_family.py b/plotly/validators/layout/scene/yaxis/tickfont/_family.py index 80f3425c36f..8307e40ab9a 100644 --- a/plotly/validators/layout/scene/yaxis/tickfont/_family.py +++ b/plotly/validators/layout/scene/yaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickfont/_size.py b/plotly/validators/layout/scene/yaxis/tickfont/_size.py index 884f7dc6503..504e005c7fd 100644 --- a/plotly/validators/layout/scene/yaxis/tickfont/_size.py +++ b/plotly/validators/layout/scene/yaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/scene/yaxis/tickformatstop/_dtickrange.py index 67cc1d6a902..75136b1600c 100644 --- a/plotly/validators/layout/scene/yaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/scene/yaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickformatstop/_enabled.py b/plotly/validators/layout/scene/yaxis/tickformatstop/_enabled.py index 1f85f7ad688..0c6da23e4be 100644 --- a/plotly/validators/layout/scene/yaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/scene/yaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickformatstop/_name.py b/plotly/validators/layout/scene/yaxis/tickformatstop/_name.py index 1bbe26b89e1..f4fca44f93c 100644 --- a/plotly/validators/layout/scene/yaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/scene/yaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/scene/yaxis/tickformatstop/_templateitemname.py index 0d908295b6d..60ea515a6af 100644 --- a/plotly/validators/layout/scene/yaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/scene/yaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/tickformatstop/_value.py b/plotly/validators/layout/scene/yaxis/tickformatstop/_value.py index dd3d4c95af5..a16b184eb85 100644 --- a/plotly/validators/layout/scene/yaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/scene/yaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/titlefont/_color.py b/plotly/validators/layout/scene/yaxis/titlefont/_color.py index b3d43466df9..10c078548b2 100644 --- a/plotly/validators/layout/scene/yaxis/titlefont/_color.py +++ b/plotly/validators/layout/scene/yaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/titlefont/_family.py b/plotly/validators/layout/scene/yaxis/titlefont/_family.py index e18a73f87ab..ef386fbbc61 100644 --- a/plotly/validators/layout/scene/yaxis/titlefont/_family.py +++ b/plotly/validators/layout/scene/yaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/yaxis/titlefont/_size.py b/plotly/validators/layout/scene/yaxis/titlefont/_size.py index 04b9021df29..c02524a36af 100644 --- a/plotly/validators/layout/scene/yaxis/titlefont/_size.py +++ b/plotly/validators/layout/scene/yaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_autorange.py b/plotly/validators/layout/scene/zaxis/_autorange.py index a5058739f2e..ee291d5e813 100644 --- a/plotly/validators/layout/scene/zaxis/_autorange.py +++ b/plotly/validators/layout/scene/zaxis/_autorange.py @@ -12,9 +12,9 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_backgroundcolor.py b/plotly/validators/layout/scene/zaxis/_backgroundcolor.py index 5f274501e13..738fe750dbf 100644 --- a/plotly/validators/layout/scene/zaxis/_backgroundcolor.py +++ b/plotly/validators/layout/scene/zaxis/_backgroundcolor.py @@ -12,7 +12,7 @@ def __init__( super(BackgroundcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_calendar.py b/plotly/validators/layout/scene/zaxis/_calendar.py index a838853ca91..26077878609 100644 --- a/plotly/validators/layout/scene/zaxis/_calendar.py +++ b/plotly/validators/layout/scene/zaxis/_calendar.py @@ -12,12 +12,15 @@ def __init__( super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_categoryarray.py b/plotly/validators/layout/scene/zaxis/_categoryarray.py index d584e12b8e6..65cf87b3fe2 100644 --- a/plotly/validators/layout/scene/zaxis/_categoryarray.py +++ b/plotly/validators/layout/scene/zaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_categoryarraysrc.py b/plotly/validators/layout/scene/zaxis/_categoryarraysrc.py index f700d1f41eb..4fb5152078a 100644 --- a/plotly/validators/layout/scene/zaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/scene/zaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_categoryorder.py b/plotly/validators/layout/scene/zaxis/_categoryorder.py index f0da7283712..e37aade6ad6 100644 --- a/plotly/validators/layout/scene/zaxis/_categoryorder.py +++ b/plotly/validators/layout/scene/zaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_color.py b/plotly/validators/layout/scene/zaxis/_color.py index 7e93fdc29b6..cd0dcfe124d 100644 --- a/plotly/validators/layout/scene/zaxis/_color.py +++ b/plotly/validators/layout/scene/zaxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_dtick.py b/plotly/validators/layout/scene/zaxis/_dtick.py index 940fc61bba9..54189063174 100644 --- a/plotly/validators/layout/scene/zaxis/_dtick.py +++ b/plotly/validators/layout/scene/zaxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_exponentformat.py b/plotly/validators/layout/scene/zaxis/_exponentformat.py index 72de21f753f..5c00e9baafa 100644 --- a/plotly/validators/layout/scene/zaxis/_exponentformat.py +++ b/plotly/validators/layout/scene/zaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_gridcolor.py b/plotly/validators/layout/scene/zaxis/_gridcolor.py index 8e17c6796eb..0d3f8555557 100644 --- a/plotly/validators/layout/scene/zaxis/_gridcolor.py +++ b/plotly/validators/layout/scene/zaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_gridwidth.py b/plotly/validators/layout/scene/zaxis/_gridwidth.py index 4a1688976e9..dac1ce8eb87 100644 --- a/plotly/validators/layout/scene/zaxis/_gridwidth.py +++ b/plotly/validators/layout/scene/zaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_hoverformat.py b/plotly/validators/layout/scene/zaxis/_hoverformat.py index a87ac69bc18..ebe6cce8d58 100644 --- a/plotly/validators/layout/scene/zaxis/_hoverformat.py +++ b/plotly/validators/layout/scene/zaxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_linecolor.py b/plotly/validators/layout/scene/zaxis/_linecolor.py index eeaa27af45f..a3ba342bd29 100644 --- a/plotly/validators/layout/scene/zaxis/_linecolor.py +++ b/plotly/validators/layout/scene/zaxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_linewidth.py b/plotly/validators/layout/scene/zaxis/_linewidth.py index 6afb1c1ff78..d63be2e6d38 100644 --- a/plotly/validators/layout/scene/zaxis/_linewidth.py +++ b/plotly/validators/layout/scene/zaxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_mirror.py b/plotly/validators/layout/scene/zaxis/_mirror.py index 1da116609d6..0993399579e 100644 --- a/plotly/validators/layout/scene/zaxis/_mirror.py +++ b/plotly/validators/layout/scene/zaxis/_mirror.py @@ -9,8 +9,10 @@ def __init__( super(MirrorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=[True, 'ticks', False, 'all', 'allticks'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [True, 'ticks', False, 'all', 'allticks'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_nticks.py b/plotly/validators/layout/scene/zaxis/_nticks.py index 6376e4b1f40..fc2b972f882 100644 --- a/plotly/validators/layout/scene/zaxis/_nticks.py +++ b/plotly/validators/layout/scene/zaxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_range.py b/plotly/validators/layout/scene/zaxis/_range.py index a31759cd123..5d0291155bf 100644 --- a/plotly/validators/layout/scene/zaxis/_range.py +++ b/plotly/validators/layout/scene/zaxis/_range.py @@ -9,23 +9,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'plot', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'plot', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'plot', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_rangemode.py b/plotly/validators/layout/scene/zaxis/_rangemode.py index d65c81e5ba1..8b2828e7e5a 100644 --- a/plotly/validators/layout/scene/zaxis/_rangemode.py +++ b/plotly/validators/layout/scene/zaxis/_rangemode.py @@ -12,8 +12,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_separatethousands.py b/plotly/validators/layout/scene/zaxis/_separatethousands.py index fa276cdfdf6..aec46e9f043 100644 --- a/plotly/validators/layout/scene/zaxis/_separatethousands.py +++ b/plotly/validators/layout/scene/zaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showaxeslabels.py b/plotly/validators/layout/scene/zaxis/_showaxeslabels.py index f7f1e9985d3..c09be11447e 100644 --- a/plotly/validators/layout/scene/zaxis/_showaxeslabels.py +++ b/plotly/validators/layout/scene/zaxis/_showaxeslabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowaxeslabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showbackground.py b/plotly/validators/layout/scene/zaxis/_showbackground.py index 000fb7fcb24..38f23d75a54 100644 --- a/plotly/validators/layout/scene/zaxis/_showbackground.py +++ b/plotly/validators/layout/scene/zaxis/_showbackground.py @@ -12,7 +12,7 @@ def __init__( super(ShowbackgroundValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showexponent.py b/plotly/validators/layout/scene/zaxis/_showexponent.py index c4a80fed31d..98367fb7c8a 100644 --- a/plotly/validators/layout/scene/zaxis/_showexponent.py +++ b/plotly/validators/layout/scene/zaxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showgrid.py b/plotly/validators/layout/scene/zaxis/_showgrid.py index eb90c9bfe81..eafaa59bd92 100644 --- a/plotly/validators/layout/scene/zaxis/_showgrid.py +++ b/plotly/validators/layout/scene/zaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showline.py b/plotly/validators/layout/scene/zaxis/_showline.py index ca7045215ce..377b1be75c4 100644 --- a/plotly/validators/layout/scene/zaxis/_showline.py +++ b/plotly/validators/layout/scene/zaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showspikes.py b/plotly/validators/layout/scene/zaxis/_showspikes.py index b947d296266..fe46a7e3e23 100644 --- a/plotly/validators/layout/scene/zaxis/_showspikes.py +++ b/plotly/validators/layout/scene/zaxis/_showspikes.py @@ -12,7 +12,7 @@ def __init__( super(ShowspikesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showticklabels.py b/plotly/validators/layout/scene/zaxis/_showticklabels.py index 324c98b2a80..b8d3a94fc13 100644 --- a/plotly/validators/layout/scene/zaxis/_showticklabels.py +++ b/plotly/validators/layout/scene/zaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showtickprefix.py b/plotly/validators/layout/scene/zaxis/_showtickprefix.py index f74cce4f554..4e0d4cb4b7e 100644 --- a/plotly/validators/layout/scene/zaxis/_showtickprefix.py +++ b/plotly/validators/layout/scene/zaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_showticksuffix.py b/plotly/validators/layout/scene/zaxis/_showticksuffix.py index 6286cfedd92..01ede698d1b 100644 --- a/plotly/validators/layout/scene/zaxis/_showticksuffix.py +++ b/plotly/validators/layout/scene/zaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_spikecolor.py b/plotly/validators/layout/scene/zaxis/_spikecolor.py index f6bc51b31e5..e38f26393d2 100644 --- a/plotly/validators/layout/scene/zaxis/_spikecolor.py +++ b/plotly/validators/layout/scene/zaxis/_spikecolor.py @@ -12,7 +12,7 @@ def __init__( super(SpikecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_spikesides.py b/plotly/validators/layout/scene/zaxis/_spikesides.py index a766b4e52ee..f65fdbc7307 100644 --- a/plotly/validators/layout/scene/zaxis/_spikesides.py +++ b/plotly/validators/layout/scene/zaxis/_spikesides.py @@ -12,7 +12,7 @@ def __init__( super(SpikesidesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_spikethickness.py b/plotly/validators/layout/scene/zaxis/_spikethickness.py index ff221d85b90..354ccd45ade 100644 --- a/plotly/validators/layout/scene/zaxis/_spikethickness.py +++ b/plotly/validators/layout/scene/zaxis/_spikethickness.py @@ -12,8 +12,8 @@ def __init__( super(SpikethicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tick0.py b/plotly/validators/layout/scene/zaxis/_tick0.py index 45cf4b86ea6..7c65089f3bc 100644 --- a/plotly/validators/layout/scene/zaxis/_tick0.py +++ b/plotly/validators/layout/scene/zaxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickangle.py b/plotly/validators/layout/scene/zaxis/_tickangle.py index 6a90288e498..0676f6f8701 100644 --- a/plotly/validators/layout/scene/zaxis/_tickangle.py +++ b/plotly/validators/layout/scene/zaxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickcolor.py b/plotly/validators/layout/scene/zaxis/_tickcolor.py index 3a673e206fb..fa3a90abf75 100644 --- a/plotly/validators/layout/scene/zaxis/_tickcolor.py +++ b/plotly/validators/layout/scene/zaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickfont.py b/plotly/validators/layout/scene/zaxis/_tickfont.py index 435f3a73d36..379d7b29a1c 100644 --- a/plotly/validators/layout/scene/zaxis/_tickfont.py +++ b/plotly/validators/layout/scene/zaxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickformat.py b/plotly/validators/layout/scene/zaxis/_tickformat.py index e1e4478e670..6f58816100f 100644 --- a/plotly/validators/layout/scene/zaxis/_tickformat.py +++ b/plotly/validators/layout/scene/zaxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickformatstops.py b/plotly/validators/layout/scene/zaxis/_tickformatstops.py index 6f10f3c4924..9fc047ce666 100644 --- a/plotly/validators/layout/scene/zaxis/_tickformatstops.py +++ b/plotly/validators/layout/scene/zaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_ticklen.py b/plotly/validators/layout/scene/zaxis/_ticklen.py index f19ee3175ca..378f4cf0725 100644 --- a/plotly/validators/layout/scene/zaxis/_ticklen.py +++ b/plotly/validators/layout/scene/zaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickmode.py b/plotly/validators/layout/scene/zaxis/_tickmode.py index 380dfc899c3..c95da5f697e 100644 --- a/plotly/validators/layout/scene/zaxis/_tickmode.py +++ b/plotly/validators/layout/scene/zaxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickprefix.py b/plotly/validators/layout/scene/zaxis/_tickprefix.py index ae238758478..e4710ec73bf 100644 --- a/plotly/validators/layout/scene/zaxis/_tickprefix.py +++ b/plotly/validators/layout/scene/zaxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_ticks.py b/plotly/validators/layout/scene/zaxis/_ticks.py index de6ff94557b..12f4bae65f6 100644 --- a/plotly/validators/layout/scene/zaxis/_ticks.py +++ b/plotly/validators/layout/scene/zaxis/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_ticksuffix.py b/plotly/validators/layout/scene/zaxis/_ticksuffix.py index 0d802ac1c1d..b25fe974aed 100644 --- a/plotly/validators/layout/scene/zaxis/_ticksuffix.py +++ b/plotly/validators/layout/scene/zaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_ticktext.py b/plotly/validators/layout/scene/zaxis/_ticktext.py index 14e100b8525..a6b1301aacb 100644 --- a/plotly/validators/layout/scene/zaxis/_ticktext.py +++ b/plotly/validators/layout/scene/zaxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_ticktextsrc.py b/plotly/validators/layout/scene/zaxis/_ticktextsrc.py index e1906c898e0..9cec1b77779 100644 --- a/plotly/validators/layout/scene/zaxis/_ticktextsrc.py +++ b/plotly/validators/layout/scene/zaxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickvals.py b/plotly/validators/layout/scene/zaxis/_tickvals.py index cdd5fc56dfd..0abbb9548ee 100644 --- a/plotly/validators/layout/scene/zaxis/_tickvals.py +++ b/plotly/validators/layout/scene/zaxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickvalssrc.py b/plotly/validators/layout/scene/zaxis/_tickvalssrc.py index 068ea577559..b18e8e58905 100644 --- a/plotly/validators/layout/scene/zaxis/_tickvalssrc.py +++ b/plotly/validators/layout/scene/zaxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_tickwidth.py b/plotly/validators/layout/scene/zaxis/_tickwidth.py index 0a8f757f211..c19fa84133d 100644 --- a/plotly/validators/layout/scene/zaxis/_tickwidth.py +++ b/plotly/validators/layout/scene/zaxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_title.py b/plotly/validators/layout/scene/zaxis/_title.py index 496a7de9356..4cf0c74a2fd 100644 --- a/plotly/validators/layout/scene/zaxis/_title.py +++ b/plotly/validators/layout/scene/zaxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_titlefont.py b/plotly/validators/layout/scene/zaxis/_titlefont.py index 408d6590156..a122f8a27cf 100644 --- a/plotly/validators/layout/scene/zaxis/_titlefont.py +++ b/plotly/validators/layout/scene/zaxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_type.py b/plotly/validators/layout/scene/zaxis/_type.py index 8c8116f9066..22f34f90d0b 100644 --- a/plotly/validators/layout/scene/zaxis/_type.py +++ b/plotly/validators/layout/scene/zaxis/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['-', 'linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['-', 'linear', 'log', 'date', 'category'] + ), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_visible.py b/plotly/validators/layout/scene/zaxis/_visible.py index 4c3e2950309..5fbe822d580 100644 --- a/plotly/validators/layout/scene/zaxis/_visible.py +++ b/plotly/validators/layout/scene/zaxis/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_zeroline.py b/plotly/validators/layout/scene/zaxis/_zeroline.py index f0e5475528e..ef617d8d3a4 100644 --- a/plotly/validators/layout/scene/zaxis/_zeroline.py +++ b/plotly/validators/layout/scene/zaxis/_zeroline.py @@ -12,7 +12,7 @@ def __init__( super(ZerolineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_zerolinecolor.py b/plotly/validators/layout/scene/zaxis/_zerolinecolor.py index ad8cc743cb9..078a98b7294 100644 --- a/plotly/validators/layout/scene/zaxis/_zerolinecolor.py +++ b/plotly/validators/layout/scene/zaxis/_zerolinecolor.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/_zerolinewidth.py b/plotly/validators/layout/scene/zaxis/_zerolinewidth.py index a3902d44b55..c7248b9508b 100644 --- a/plotly/validators/layout/scene/zaxis/_zerolinewidth.py +++ b/plotly/validators/layout/scene/zaxis/_zerolinewidth.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickfont/_color.py b/plotly/validators/layout/scene/zaxis/tickfont/_color.py index c9c85093d3b..de6c17953d9 100644 --- a/plotly/validators/layout/scene/zaxis/tickfont/_color.py +++ b/plotly/validators/layout/scene/zaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickfont/_family.py b/plotly/validators/layout/scene/zaxis/tickfont/_family.py index c4c417659fa..3a9659f3d4c 100644 --- a/plotly/validators/layout/scene/zaxis/tickfont/_family.py +++ b/plotly/validators/layout/scene/zaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickfont/_size.py b/plotly/validators/layout/scene/zaxis/tickfont/_size.py index b16f7206740..9f3b86c8b2a 100644 --- a/plotly/validators/layout/scene/zaxis/tickfont/_size.py +++ b/plotly/validators/layout/scene/zaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/scene/zaxis/tickformatstop/_dtickrange.py index 552ba079a21..4b1691aa527 100644 --- a/plotly/validators/layout/scene/zaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/scene/zaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickformatstop/_enabled.py b/plotly/validators/layout/scene/zaxis/tickformatstop/_enabled.py index 98181a5cec6..d83e16407bb 100644 --- a/plotly/validators/layout/scene/zaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/scene/zaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickformatstop/_name.py b/plotly/validators/layout/scene/zaxis/tickformatstop/_name.py index e187e4ecf13..d5e2a9e4a58 100644 --- a/plotly/validators/layout/scene/zaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/scene/zaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/scene/zaxis/tickformatstop/_templateitemname.py index 68f301a5281..b228a58e54c 100644 --- a/plotly/validators/layout/scene/zaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/scene/zaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/tickformatstop/_value.py b/plotly/validators/layout/scene/zaxis/tickformatstop/_value.py index 478ee8d4082..020756a4c6c 100644 --- a/plotly/validators/layout/scene/zaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/scene/zaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/titlefont/_color.py b/plotly/validators/layout/scene/zaxis/titlefont/_color.py index d7f6be574e3..1c40861846f 100644 --- a/plotly/validators/layout/scene/zaxis/titlefont/_color.py +++ b/plotly/validators/layout/scene/zaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/titlefont/_family.py b/plotly/validators/layout/scene/zaxis/titlefont/_family.py index 9cc136be6fd..cbec1144daa 100644 --- a/plotly/validators/layout/scene/zaxis/titlefont/_family.py +++ b/plotly/validators/layout/scene/zaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/scene/zaxis/titlefont/_size.py b/plotly/validators/layout/scene/zaxis/titlefont/_size.py index 937fc83d4e9..fa6ed1bc0cf 100644 --- a/plotly/validators/layout/scene/zaxis/titlefont/_size.py +++ b/plotly/validators/layout/scene/zaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/shape/_fillcolor.py b/plotly/validators/layout/shape/_fillcolor.py index e8eccb2077e..1eb225a4299 100644 --- a/plotly/validators/layout/shape/_fillcolor.py +++ b/plotly/validators/layout/shape/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_layer.py b/plotly/validators/layout/shape/_layer.py index 9b6b57b0a18..64d5abcbdb0 100644 --- a/plotly/validators/layout/shape/_layer.py +++ b/plotly/validators/layout/shape/_layer.py @@ -9,8 +9,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['below', 'above'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['below', 'above']), **kwargs ) diff --git a/plotly/validators/layout/shape/_line.py b/plotly/validators/layout/shape/_line.py index 504731ab404..f601236be44 100644 --- a/plotly/validators/layout/shape/_line.py +++ b/plotly/validators/layout/shape/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -20,6 +21,7 @@ def __init__( dash length list in px (eg "5px,10px,2px,2px"). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/shape/_name.py b/plotly/validators/layout/shape/_name.py index 9d4df45c3d3..8eed3ee7ca6 100644 --- a/plotly/validators/layout/shape/_name.py +++ b/plotly/validators/layout/shape/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/shape/_opacity.py b/plotly/validators/layout/shape/_opacity.py index 0f0538dd58d..9e0f7e66e82 100644 --- a/plotly/validators/layout/shape/_opacity.py +++ b/plotly/validators/layout/shape/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=1, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_path.py b/plotly/validators/layout/shape/_path.py index dbb838def15..ec72d43efe1 100644 --- a/plotly/validators/layout/shape/_path.py +++ b/plotly/validators/layout/shape/_path.py @@ -9,7 +9,7 @@ def __init__( super(PathValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_templateitemname.py b/plotly/validators/layout/shape/_templateitemname.py index 30499731111..3836ccc4cd6 100644 --- a/plotly/validators/layout/shape/_templateitemname.py +++ b/plotly/validators/layout/shape/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_type.py b/plotly/validators/layout/shape/_type.py index 4923b9c99a4..dd474ecb1a9 100644 --- a/plotly/validators/layout/shape/_type.py +++ b/plotly/validators/layout/shape/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', - values=['circle', 'rect', 'path', 'line'], + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['circle', 'rect', 'path', 'line']), **kwargs ) diff --git a/plotly/validators/layout/shape/_visible.py b/plotly/validators/layout/shape/_visible.py index 03a81585a3b..116c8dd773c 100644 --- a/plotly/validators/layout/shape/_visible.py +++ b/plotly/validators/layout/shape/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_x0.py b/plotly/validators/layout/shape/_x0.py index 10107cc9b4b..367a62c03e3 100644 --- a/plotly/validators/layout/shape/_x0.py +++ b/plotly/validators/layout/shape/_x0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x0', parent_name='layout.shape', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_x1.py b/plotly/validators/layout/shape/_x1.py index 05642f4292e..e57784ece34 100644 --- a/plotly/validators/layout/shape/_x1.py +++ b/plotly/validators/layout/shape/_x1.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x1', parent_name='layout.shape', **kwargs): super(X1Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_xanchor.py b/plotly/validators/layout/shape/_xanchor.py index b807a3531b2..6fc3f7976a6 100644 --- a/plotly/validators/layout/shape/_xanchor.py +++ b/plotly/validators/layout/shape/_xanchor.py @@ -9,7 +9,7 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_xref.py b/plotly/validators/layout/shape/_xref.py index 99243453bcc..8de76132d37 100644 --- a/plotly/validators/layout/shape/_xref.py +++ b/plotly/validators/layout/shape/_xref.py @@ -9,8 +9,10 @@ def __init__( super(XrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['paper', '/^x([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['paper', '/^x([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/shape/_xsizemode.py b/plotly/validators/layout/shape/_xsizemode.py index 92982d57f2b..53791c0c63d 100644 --- a/plotly/validators/layout/shape/_xsizemode.py +++ b/plotly/validators/layout/shape/_xsizemode.py @@ -9,8 +9,8 @@ def __init__( super(XsizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', - values=['scaled', 'pixel'], + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['scaled', 'pixel']), **kwargs ) diff --git a/plotly/validators/layout/shape/_y0.py b/plotly/validators/layout/shape/_y0.py index 8963a51a870..8c61dc5d405 100644 --- a/plotly/validators/layout/shape/_y0.py +++ b/plotly/validators/layout/shape/_y0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y0', parent_name='layout.shape', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_y1.py b/plotly/validators/layout/shape/_y1.py index 647df3c5e73..a62bcf5246b 100644 --- a/plotly/validators/layout/shape/_y1.py +++ b/plotly/validators/layout/shape/_y1.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y1', parent_name='layout.shape', **kwargs): super(Y1Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_yanchor.py b/plotly/validators/layout/shape/_yanchor.py index 51098d492c0..1985170c79f 100644 --- a/plotly/validators/layout/shape/_yanchor.py +++ b/plotly/validators/layout/shape/_yanchor.py @@ -9,7 +9,7 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/shape/_yref.py b/plotly/validators/layout/shape/_yref.py index 62ecddac7d7..a48251b4521 100644 --- a/plotly/validators/layout/shape/_yref.py +++ b/plotly/validators/layout/shape/_yref.py @@ -9,8 +9,10 @@ def __init__( super(YrefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['paper', '/^y([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['paper', '/^y([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/shape/_ysizemode.py b/plotly/validators/layout/shape/_ysizemode.py index c586dcdb615..9bbf27f6736 100644 --- a/plotly/validators/layout/shape/_ysizemode.py +++ b/plotly/validators/layout/shape/_ysizemode.py @@ -9,8 +9,8 @@ def __init__( super(YsizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - role='info', - values=['scaled', 'pixel'], + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['scaled', 'pixel']), **kwargs ) diff --git a/plotly/validators/layout/shape/line/_color.py b/plotly/validators/layout/shape/line/_color.py index 5615766e00a..3af438d414e 100644 --- a/plotly/validators/layout/shape/line/_color.py +++ b/plotly/validators/layout/shape/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/shape/line/_dash.py b/plotly/validators/layout/shape/line/_dash.py index 8df2b971f27..0a168ffd07c 100644 --- a/plotly/validators/layout/shape/line/_dash.py +++ b/plotly/validators/layout/shape/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/layout/shape/line/_width.py b/plotly/validators/layout/shape/line/_width.py index a8d4d19aa34..63088afdccd 100644 --- a/plotly/validators/layout/shape/line/_width.py +++ b/plotly/validators/layout/shape/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc+arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_active.py b/plotly/validators/layout/slider/_active.py index 6471267f8bc..396a0064ed7 100644 --- a/plotly/validators/layout/slider/_active.py +++ b/plotly/validators/layout/slider/_active.py @@ -9,8 +9,8 @@ def __init__( super(ActiveValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/_activebgcolor.py b/plotly/validators/layout/slider/_activebgcolor.py index 77809195fe8..3360958c599 100644 --- a/plotly/validators/layout/slider/_activebgcolor.py +++ b/plotly/validators/layout/slider/_activebgcolor.py @@ -12,7 +12,7 @@ def __init__( super(ActivebgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_bgcolor.py b/plotly/validators/layout/slider/_bgcolor.py index 0dc66f871c2..28267f9eae8 100644 --- a/plotly/validators/layout/slider/_bgcolor.py +++ b/plotly/validators/layout/slider/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_bordercolor.py b/plotly/validators/layout/slider/_bordercolor.py index 3036731064f..836eb88445e 100644 --- a/plotly/validators/layout/slider/_bordercolor.py +++ b/plotly/validators/layout/slider/_bordercolor.py @@ -9,7 +9,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_borderwidth.py b/plotly/validators/layout/slider/_borderwidth.py index 266f93aa282..6923c634566 100644 --- a/plotly/validators/layout/slider/_borderwidth.py +++ b/plotly/validators/layout/slider/_borderwidth.py @@ -9,8 +9,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_currentvalue.py b/plotly/validators/layout/slider/_currentvalue.py index 257ca791f95..ffc999a940f 100644 --- a/plotly/validators/layout/slider/_currentvalue.py +++ b/plotly/validators/layout/slider/_currentvalue.py @@ -12,8 +12,9 @@ def __init__( super(CurrentvalueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Currentvalue', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Currentvalue'), + data_docs=kwargs.pop( + 'data_docs', """ font Sets the font of the current value label text. offset @@ -31,6 +32,7 @@ def __init__( xanchor The alignment of the value readout relative to the length of the slider. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/slider/_font.py b/plotly/validators/layout/slider/_font.py index dcaa92116c0..91ef99d2bc9 100644 --- a/plotly/validators/layout/slider/_font.py +++ b/plotly/validators/layout/slider/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/slider/_len.py b/plotly/validators/layout/slider/_len.py index 8fdaf5297ee..30e11dbd393 100644 --- a/plotly/validators/layout/slider/_len.py +++ b/plotly/validators/layout/slider/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_lenmode.py b/plotly/validators/layout/slider/_lenmode.py index f9d2603a7b6..644f340406e 100644 --- a/plotly/validators/layout/slider/_lenmode.py +++ b/plotly/validators/layout/slider/_lenmode.py @@ -9,8 +9,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/layout/slider/_minorticklen.py b/plotly/validators/layout/slider/_minorticklen.py index 20db9f0db01..8e983133f50 100644 --- a/plotly/validators/layout/slider/_minorticklen.py +++ b/plotly/validators/layout/slider/_minorticklen.py @@ -12,8 +12,8 @@ def __init__( super(MinorticklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_name.py b/plotly/validators/layout/slider/_name.py index d72c38c1399..00109cf04b6 100644 --- a/plotly/validators/layout/slider/_name.py +++ b/plotly/validators/layout/slider/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_pad.py b/plotly/validators/layout/slider/_pad.py index 009f4d91ccd..4c596a4903d 100644 --- a/plotly/validators/layout/slider/_pad.py +++ b/plotly/validators/layout/slider/_pad.py @@ -9,8 +9,9 @@ def __init__( super(PadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Pad', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Pad'), + data_docs=kwargs.pop( + 'data_docs', """ b The amount of padding (in px) along the bottom of the component. @@ -23,6 +24,7 @@ def __init__( t The amount of padding (in px) along the top of the component. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/slider/_steps.py b/plotly/validators/layout/slider/_steps.py index 7f3b3a77dd4..bdb4c293e75 100644 --- a/plotly/validators/layout/slider/_steps.py +++ b/plotly/validators/layout/slider/_steps.py @@ -9,8 +9,9 @@ def __init__( super(StepsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Step', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Step'), + data_docs=kwargs.pop( + 'data_docs', """ args Sets the arguments values to be passed to the Plotly method set in `method` on slide. @@ -62,6 +63,7 @@ def __init__( visible Determines whether or not this step is included in the slider. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/slider/_templateitemname.py b/plotly/validators/layout/slider/_templateitemname.py index 288efecda2d..1c32e56a8b4 100644 --- a/plotly/validators/layout/slider/_templateitemname.py +++ b/plotly/validators/layout/slider/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/_tickcolor.py b/plotly/validators/layout/slider/_tickcolor.py index 7b375f085d9..95971f76753 100644 --- a/plotly/validators/layout/slider/_tickcolor.py +++ b/plotly/validators/layout/slider/_tickcolor.py @@ -9,7 +9,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_ticklen.py b/plotly/validators/layout/slider/_ticklen.py index 52de8ed7fe2..675850e6295 100644 --- a/plotly/validators/layout/slider/_ticklen.py +++ b/plotly/validators/layout/slider/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_tickwidth.py b/plotly/validators/layout/slider/_tickwidth.py index a93810f29fd..b8916e48b4e 100644 --- a/plotly/validators/layout/slider/_tickwidth.py +++ b/plotly/validators/layout/slider/_tickwidth.py @@ -9,8 +9,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_transition.py b/plotly/validators/layout/slider/_transition.py index 4a32c8db3f9..f830c9b220d 100644 --- a/plotly/validators/layout/slider/_transition.py +++ b/plotly/validators/layout/slider/_transition.py @@ -9,13 +9,15 @@ def __init__( super(TransitionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Transition', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Transition'), + data_docs=kwargs.pop( + 'data_docs', """ duration Sets the duration of the slider transition easing Sets the easing function of the slider transition -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/slider/_visible.py b/plotly/validators/layout/slider/_visible.py index a1447bcee0c..f995ba73d10 100644 --- a/plotly/validators/layout/slider/_visible.py +++ b/plotly/validators/layout/slider/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/_x.py b/plotly/validators/layout/slider/_x.py index 0e494725d9b..ef062688d51 100644 --- a/plotly/validators/layout/slider/_x.py +++ b/plotly/validators/layout/slider/_x.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='x', parent_name='layout.slider', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_xanchor.py b/plotly/validators/layout/slider/_xanchor.py index 03cfffcd571..2641587858f 100644 --- a/plotly/validators/layout/slider/_xanchor.py +++ b/plotly/validators/layout/slider/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['auto', 'left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/slider/_y.py b/plotly/validators/layout/slider/_y.py index 1401253a3e4..e19f0655623 100644 --- a/plotly/validators/layout/slider/_y.py +++ b/plotly/validators/layout/slider/_y.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='y', parent_name='layout.slider', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/_yanchor.py b/plotly/validators/layout/slider/_yanchor.py index 97ad9a3c602..5346b801aa5 100644 --- a/plotly/validators/layout/slider/_yanchor.py +++ b/plotly/validators/layout/slider/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['auto', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/_font.py b/plotly/validators/layout/slider/currentvalue/_font.py index 19a32bb86be..c6a5b572c26 100644 --- a/plotly/validators/layout/slider/currentvalue/_font.py +++ b/plotly/validators/layout/slider/currentvalue/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/_offset.py b/plotly/validators/layout/slider/currentvalue/_offset.py index 885c5fe4499..5ee69aa7228 100644 --- a/plotly/validators/layout/slider/currentvalue/_offset.py +++ b/plotly/validators/layout/slider/currentvalue/_offset.py @@ -12,7 +12,7 @@ def __init__( super(OffsetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/_prefix.py b/plotly/validators/layout/slider/currentvalue/_prefix.py index 19fa9305794..1154ab2961b 100644 --- a/plotly/validators/layout/slider/currentvalue/_prefix.py +++ b/plotly/validators/layout/slider/currentvalue/_prefix.py @@ -12,7 +12,7 @@ def __init__( super(PrefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/_suffix.py b/plotly/validators/layout/slider/currentvalue/_suffix.py index e1ea3551d6e..4d534e51ea9 100644 --- a/plotly/validators/layout/slider/currentvalue/_suffix.py +++ b/plotly/validators/layout/slider/currentvalue/_suffix.py @@ -12,7 +12,7 @@ def __init__( super(SuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/_visible.py b/plotly/validators/layout/slider/currentvalue/_visible.py index 32827440f0b..c0f5af93683 100644 --- a/plotly/validators/layout/slider/currentvalue/_visible.py +++ b/plotly/validators/layout/slider/currentvalue/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/_xanchor.py b/plotly/validators/layout/slider/currentvalue/_xanchor.py index 55369232fb8..a3a8f3fb68f 100644 --- a/plotly/validators/layout/slider/currentvalue/_xanchor.py +++ b/plotly/validators/layout/slider/currentvalue/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/font/_color.py b/plotly/validators/layout/slider/currentvalue/font/_color.py index c0a9c947eb6..539d78574ce 100644 --- a/plotly/validators/layout/slider/currentvalue/font/_color.py +++ b/plotly/validators/layout/slider/currentvalue/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/font/_family.py b/plotly/validators/layout/slider/currentvalue/font/_family.py index 6350bcbe4e8..dcca9138907 100644 --- a/plotly/validators/layout/slider/currentvalue/font/_family.py +++ b/plotly/validators/layout/slider/currentvalue/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'arraydraw'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/slider/currentvalue/font/_size.py b/plotly/validators/layout/slider/currentvalue/font/_size.py index add3667ea6a..887559d08f6 100644 --- a/plotly/validators/layout/slider/currentvalue/font/_size.py +++ b/plotly/validators/layout/slider/currentvalue/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/font/_color.py b/plotly/validators/layout/slider/font/_color.py index d39eef86ca3..09f9e74b20f 100644 --- a/plotly/validators/layout/slider/font/_color.py +++ b/plotly/validators/layout/slider/font/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/font/_family.py b/plotly/validators/layout/slider/font/_family.py index 866ce30db65..6229ca56393 100644 --- a/plotly/validators/layout/slider/font/_family.py +++ b/plotly/validators/layout/slider/font/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'arraydraw'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/slider/font/_size.py b/plotly/validators/layout/slider/font/_size.py index 572f54bc9ca..c6ea0a989c3 100644 --- a/plotly/validators/layout/slider/font/_size.py +++ b/plotly/validators/layout/slider/font/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/pad/_b.py b/plotly/validators/layout/slider/pad/_b.py index ced20c128f5..8ed9f7a026f 100644 --- a/plotly/validators/layout/slider/pad/_b.py +++ b/plotly/validators/layout/slider/pad/_b.py @@ -9,7 +9,7 @@ def __init__( super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/pad/_l.py b/plotly/validators/layout/slider/pad/_l.py index f2f34b15e6e..be5fd61c3ee 100644 --- a/plotly/validators/layout/slider/pad/_l.py +++ b/plotly/validators/layout/slider/pad/_l.py @@ -9,7 +9,7 @@ def __init__( super(LValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/pad/_r.py b/plotly/validators/layout/slider/pad/_r.py index a1b022bcce5..a946c7d04d1 100644 --- a/plotly/validators/layout/slider/pad/_r.py +++ b/plotly/validators/layout/slider/pad/_r.py @@ -9,7 +9,7 @@ def __init__( super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/pad/_t.py b/plotly/validators/layout/slider/pad/_t.py index 40c4a457b9e..71f8189b683 100644 --- a/plotly/validators/layout/slider/pad/_t.py +++ b/plotly/validators/layout/slider/pad/_t.py @@ -9,7 +9,7 @@ def __init__( super(TValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_args.py b/plotly/validators/layout/slider/step/_args.py index 68cfd8dd9f6..7e7066069b9 100644 --- a/plotly/validators/layout/slider/step/_args.py +++ b/plotly/validators/layout/slider/step/_args.py @@ -9,20 +9,22 @@ def __init__( super(ArgsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - free_length=True, - items=[ - { - 'valType': 'any', - 'editType': 'arraydraw' - }, { - 'valType': 'any', - 'editType': 'arraydraw' - }, { - 'valType': 'any', - 'editType': 'arraydraw' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'arraydraw' + }, { + 'valType': 'any', + 'editType': 'arraydraw' + }, { + 'valType': 'any', + 'editType': 'arraydraw' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_execute.py b/plotly/validators/layout/slider/step/_execute.py index 475b13e9e03..f43eea2c39a 100644 --- a/plotly/validators/layout/slider/step/_execute.py +++ b/plotly/validators/layout/slider/step/_execute.py @@ -12,7 +12,7 @@ def __init__( super(ExecuteValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_label.py b/plotly/validators/layout/slider/step/_label.py index b6d16814f48..aa40a30cd69 100644 --- a/plotly/validators/layout/slider/step/_label.py +++ b/plotly/validators/layout/slider/step/_label.py @@ -9,7 +9,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_method.py b/plotly/validators/layout/slider/step/_method.py index 16f00f81fe5..424b1e9a587 100644 --- a/plotly/validators/layout/slider/step/_method.py +++ b/plotly/validators/layout/slider/step/_method.py @@ -9,8 +9,10 @@ def __init__( super(MethodValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['restyle', 'relayout', 'animate', 'update', 'skip'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['restyle', 'relayout', 'animate', 'update', 'skip'] + ), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_name.py b/plotly/validators/layout/slider/step/_name.py index cfae12489bb..c393b9c13e9 100644 --- a/plotly/validators/layout/slider/step/_name.py +++ b/plotly/validators/layout/slider/step/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_templateitemname.py b/plotly/validators/layout/slider/step/_templateitemname.py index cd918c83ec1..9ab58f356a6 100644 --- a/plotly/validators/layout/slider/step/_templateitemname.py +++ b/plotly/validators/layout/slider/step/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_value.py b/plotly/validators/layout/slider/step/_value.py index eb2ab86140f..a1231f75a07 100644 --- a/plotly/validators/layout/slider/step/_value.py +++ b/plotly/validators/layout/slider/step/_value.py @@ -9,7 +9,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/step/_visible.py b/plotly/validators/layout/slider/step/_visible.py index 428a30d483a..d0bf83bf33c 100644 --- a/plotly/validators/layout/slider/step/_visible.py +++ b/plotly/validators/layout/slider/step/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/transition/_duration.py b/plotly/validators/layout/slider/transition/_duration.py index e63dda45939..76009eea763 100644 --- a/plotly/validators/layout/slider/transition/_duration.py +++ b/plotly/validators/layout/slider/transition/_duration.py @@ -12,8 +12,8 @@ def __init__( super(DurationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/slider/transition/_easing.py b/plotly/validators/layout/slider/transition/_easing.py index f4430d0d497..4a4c4d06245 100644 --- a/plotly/validators/layout/slider/transition/_easing.py +++ b/plotly/validators/layout/slider/transition/_easing.py @@ -12,17 +12,20 @@ def __init__( super(EasingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=[ - 'linear', 'quad', 'cubic', 'sin', 'exp', 'circle', 'elastic', - 'back', 'bounce', 'linear-in', 'quad-in', 'cubic-in', 'sin-in', - 'exp-in', 'circle-in', 'elastic-in', 'back-in', 'bounce-in', - 'linear-out', 'quad-out', 'cubic-out', 'sin-out', 'exp-out', - 'circle-out', 'elastic-out', 'back-out', 'bounce-out', - 'linear-in-out', 'quad-in-out', 'cubic-in-out', 'sin-in-out', - 'exp-in-out', 'circle-in-out', 'elastic-in-out', 'back-in-out', - 'bounce-in-out' - ], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'linear', 'quad', 'cubic', 'sin', 'exp', 'circle', + 'elastic', 'back', 'bounce', 'linear-in', 'quad-in', + 'cubic-in', 'sin-in', 'exp-in', 'circle-in', 'elastic-in', + 'back-in', 'bounce-in', 'linear-out', 'quad-out', + 'cubic-out', 'sin-out', 'exp-out', 'circle-out', + 'elastic-out', 'back-out', 'bounce-out', 'linear-in-out', + 'quad-in-out', 'cubic-in-out', 'sin-in-out', 'exp-in-out', + 'circle-in-out', 'elastic-in-out', 'back-in-out', + 'bounce-in-out' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/_aaxis.py b/plotly/validators/layout/ternary/_aaxis.py index e93a900dafa..8be4a9137f3 100644 --- a/plotly/validators/layout/ternary/_aaxis.py +++ b/plotly/validators/layout/ternary/_aaxis.py @@ -9,8 +9,9 @@ def __init__( super(AaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Aaxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Aaxis'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets default for all colors associated with this axis all at once: line, font, tick, and @@ -199,6 +200,7 @@ def __init__( Sets the title of this axis. titlefont Sets this axis' title font. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/_baxis.py b/plotly/validators/layout/ternary/_baxis.py index 94d21aaa6a6..ad298abfea7 100644 --- a/plotly/validators/layout/ternary/_baxis.py +++ b/plotly/validators/layout/ternary/_baxis.py @@ -9,8 +9,9 @@ def __init__( super(BaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Baxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Baxis'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets default for all colors associated with this axis all at once: line, font, tick, and @@ -199,6 +200,7 @@ def __init__( Sets the title of this axis. titlefont Sets this axis' title font. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/_bgcolor.py b/plotly/validators/layout/ternary/_bgcolor.py index 473a6c02604..a04d0c94e66 100644 --- a/plotly/validators/layout/ternary/_bgcolor.py +++ b/plotly/validators/layout/ternary/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/_caxis.py b/plotly/validators/layout/ternary/_caxis.py index daac82fda8f..aa9836599f8 100644 --- a/plotly/validators/layout/ternary/_caxis.py +++ b/plotly/validators/layout/ternary/_caxis.py @@ -9,8 +9,9 @@ def __init__( super(CaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Caxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Caxis'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets default for all colors associated with this axis all at once: line, font, tick, and @@ -199,6 +200,7 @@ def __init__( Sets the title of this axis. titlefont Sets this axis' title font. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/_domain.py b/plotly/validators/layout/ternary/_domain.py index e785c93ca3d..15bd8e6697c 100644 --- a/plotly/validators/layout/ternary/_domain.py +++ b/plotly/validators/layout/ternary/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this ternary @@ -24,6 +25,7 @@ def __init__( y Sets the vertical domain of this ternary subplot (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/_sum.py b/plotly/validators/layout/ternary/_sum.py index 6a517f64929..0d4b0d5d536 100644 --- a/plotly/validators/layout/ternary/_sum.py +++ b/plotly/validators/layout/ternary/_sum.py @@ -9,8 +9,8 @@ def __init__( super(SumValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_color.py b/plotly/validators/layout/ternary/aaxis/_color.py index d441e40f902..2101f246cb9 100644 --- a/plotly/validators/layout/ternary/aaxis/_color.py +++ b/plotly/validators/layout/ternary/aaxis/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_dtick.py b/plotly/validators/layout/ternary/aaxis/_dtick.py index b2c84618f39..2945f53b0f7 100644 --- a/plotly/validators/layout/ternary/aaxis/_dtick.py +++ b/plotly/validators/layout/ternary/aaxis/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_exponentformat.py b/plotly/validators/layout/ternary/aaxis/_exponentformat.py index d18b11eb8a6..49db800054e 100644 --- a/plotly/validators/layout/ternary/aaxis/_exponentformat.py +++ b/plotly/validators/layout/ternary/aaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_gridcolor.py b/plotly/validators/layout/ternary/aaxis/_gridcolor.py index 066ea53b24c..ae204c38af3 100644 --- a/plotly/validators/layout/ternary/aaxis/_gridcolor.py +++ b/plotly/validators/layout/ternary/aaxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_gridwidth.py b/plotly/validators/layout/ternary/aaxis/_gridwidth.py index 77cd8321eda..d368aad8afc 100644 --- a/plotly/validators/layout/ternary/aaxis/_gridwidth.py +++ b/plotly/validators/layout/ternary/aaxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_hoverformat.py b/plotly/validators/layout/ternary/aaxis/_hoverformat.py index 9bb07e342ad..66fb3079f26 100644 --- a/plotly/validators/layout/ternary/aaxis/_hoverformat.py +++ b/plotly/validators/layout/ternary/aaxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_layer.py b/plotly/validators/layout/ternary/aaxis/_layer.py index e45dd5d8431..fb1b7e05c7a 100644 --- a/plotly/validators/layout/ternary/aaxis/_layer.py +++ b/plotly/validators/layout/ternary/aaxis/_layer.py @@ -12,8 +12,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_linecolor.py b/plotly/validators/layout/ternary/aaxis/_linecolor.py index 852cf4e9a3f..b9316745108 100644 --- a/plotly/validators/layout/ternary/aaxis/_linecolor.py +++ b/plotly/validators/layout/ternary/aaxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_linewidth.py b/plotly/validators/layout/ternary/aaxis/_linewidth.py index 024167e7709..fbb62a2d707 100644 --- a/plotly/validators/layout/ternary/aaxis/_linewidth.py +++ b/plotly/validators/layout/ternary/aaxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_min.py b/plotly/validators/layout/ternary/aaxis/_min.py index 07ba72f8a82..9e6baa5f721 100644 --- a/plotly/validators/layout/ternary/aaxis/_min.py +++ b/plotly/validators/layout/ternary/aaxis/_min.py @@ -9,8 +9,8 @@ def __init__( super(MinValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_nticks.py b/plotly/validators/layout/ternary/aaxis/_nticks.py index d6b34623738..01e2cf18e78 100644 --- a/plotly/validators/layout/ternary/aaxis/_nticks.py +++ b/plotly/validators/layout/ternary/aaxis/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_separatethousands.py b/plotly/validators/layout/ternary/aaxis/_separatethousands.py index bf429b3da8a..81bfbe02107 100644 --- a/plotly/validators/layout/ternary/aaxis/_separatethousands.py +++ b/plotly/validators/layout/ternary/aaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_showexponent.py b/plotly/validators/layout/ternary/aaxis/_showexponent.py index 3e8274469e6..339b1512d2d 100644 --- a/plotly/validators/layout/ternary/aaxis/_showexponent.py +++ b/plotly/validators/layout/ternary/aaxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_showgrid.py b/plotly/validators/layout/ternary/aaxis/_showgrid.py index 57bff07a602..eaa6120b8b8 100644 --- a/plotly/validators/layout/ternary/aaxis/_showgrid.py +++ b/plotly/validators/layout/ternary/aaxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_showline.py b/plotly/validators/layout/ternary/aaxis/_showline.py index 0ff54103c7c..032079e368b 100644 --- a/plotly/validators/layout/ternary/aaxis/_showline.py +++ b/plotly/validators/layout/ternary/aaxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_showticklabels.py b/plotly/validators/layout/ternary/aaxis/_showticklabels.py index 7dab3e37e65..da90ad4a644 100644 --- a/plotly/validators/layout/ternary/aaxis/_showticklabels.py +++ b/plotly/validators/layout/ternary/aaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_showtickprefix.py b/plotly/validators/layout/ternary/aaxis/_showtickprefix.py index f5be7b7098b..9143d58bfc8 100644 --- a/plotly/validators/layout/ternary/aaxis/_showtickprefix.py +++ b/plotly/validators/layout/ternary/aaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_showticksuffix.py b/plotly/validators/layout/ternary/aaxis/_showticksuffix.py index 2a1b061ea73..a1768b8aea5 100644 --- a/plotly/validators/layout/ternary/aaxis/_showticksuffix.py +++ b/plotly/validators/layout/ternary/aaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tick0.py b/plotly/validators/layout/ternary/aaxis/_tick0.py index d97ab75e4a0..fae550ea26c 100644 --- a/plotly/validators/layout/ternary/aaxis/_tick0.py +++ b/plotly/validators/layout/ternary/aaxis/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickangle.py b/plotly/validators/layout/ternary/aaxis/_tickangle.py index cd9e79c7e97..0d2dd4b5ecb 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickangle.py +++ b/plotly/validators/layout/ternary/aaxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickcolor.py b/plotly/validators/layout/ternary/aaxis/_tickcolor.py index 2321ccf9805..acb2b52c904 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickcolor.py +++ b/plotly/validators/layout/ternary/aaxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickfont.py b/plotly/validators/layout/ternary/aaxis/_tickfont.py index 9eaa08b7fb2..7537495175e 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickfont.py +++ b/plotly/validators/layout/ternary/aaxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickformat.py b/plotly/validators/layout/ternary/aaxis/_tickformat.py index 06ff393ba83..c4e690806bf 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickformat.py +++ b/plotly/validators/layout/ternary/aaxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickformatstops.py b/plotly/validators/layout/ternary/aaxis/_tickformatstops.py index 435ddca5e06..1d0c66169a5 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickformatstops.py +++ b/plotly/validators/layout/ternary/aaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_ticklen.py b/plotly/validators/layout/ternary/aaxis/_ticklen.py index ab667f5820b..fdc74cabf55 100644 --- a/plotly/validators/layout/ternary/aaxis/_ticklen.py +++ b/plotly/validators/layout/ternary/aaxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickmode.py b/plotly/validators/layout/ternary/aaxis/_tickmode.py index b9402f1b37d..f67eb67b3d2 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickmode.py +++ b/plotly/validators/layout/ternary/aaxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickprefix.py b/plotly/validators/layout/ternary/aaxis/_tickprefix.py index 6ca696a3e5e..dccc9c5c144 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickprefix.py +++ b/plotly/validators/layout/ternary/aaxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_ticks.py b/plotly/validators/layout/ternary/aaxis/_ticks.py index cc66cac6c5f..484a83846b7 100644 --- a/plotly/validators/layout/ternary/aaxis/_ticks.py +++ b/plotly/validators/layout/ternary/aaxis/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_ticksuffix.py b/plotly/validators/layout/ternary/aaxis/_ticksuffix.py index 0124937eefc..ab922f73dad 100644 --- a/plotly/validators/layout/ternary/aaxis/_ticksuffix.py +++ b/plotly/validators/layout/ternary/aaxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_ticktext.py b/plotly/validators/layout/ternary/aaxis/_ticktext.py index fa44613761b..fb5ec006057 100644 --- a/plotly/validators/layout/ternary/aaxis/_ticktext.py +++ b/plotly/validators/layout/ternary/aaxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_ticktextsrc.py b/plotly/validators/layout/ternary/aaxis/_ticktextsrc.py index 28410e966d9..47a4ea445af 100644 --- a/plotly/validators/layout/ternary/aaxis/_ticktextsrc.py +++ b/plotly/validators/layout/ternary/aaxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickvals.py b/plotly/validators/layout/ternary/aaxis/_tickvals.py index 628d0f4e4c7..afde5f90449 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickvals.py +++ b/plotly/validators/layout/ternary/aaxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickvalssrc.py b/plotly/validators/layout/ternary/aaxis/_tickvalssrc.py index 2ef093ec763..a0b30a784a5 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickvalssrc.py +++ b/plotly/validators/layout/ternary/aaxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_tickwidth.py b/plotly/validators/layout/ternary/aaxis/_tickwidth.py index b9f87db77ab..fa7f3fbeeb7 100644 --- a/plotly/validators/layout/ternary/aaxis/_tickwidth.py +++ b/plotly/validators/layout/ternary/aaxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_title.py b/plotly/validators/layout/ternary/aaxis/_title.py index 240164d66ca..701b465155d 100644 --- a/plotly/validators/layout/ternary/aaxis/_title.py +++ b/plotly/validators/layout/ternary/aaxis/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/_titlefont.py b/plotly/validators/layout/ternary/aaxis/_titlefont.py index b59ffbc68f6..2d4839b10b1 100644 --- a/plotly/validators/layout/ternary/aaxis/_titlefont.py +++ b/plotly/validators/layout/ternary/aaxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickfont/_color.py b/plotly/validators/layout/ternary/aaxis/tickfont/_color.py index 70e4f68159a..f5c97e8d901 100644 --- a/plotly/validators/layout/ternary/aaxis/tickfont/_color.py +++ b/plotly/validators/layout/ternary/aaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickfont/_family.py b/plotly/validators/layout/ternary/aaxis/tickfont/_family.py index 865440fd43c..32b0b3efceb 100644 --- a/plotly/validators/layout/ternary/aaxis/tickfont/_family.py +++ b/plotly/validators/layout/ternary/aaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickfont/_size.py b/plotly/validators/layout/ternary/aaxis/tickfont/_size.py index 77b69b065fe..03dcb0fb209 100644 --- a/plotly/validators/layout/ternary/aaxis/tickfont/_size.py +++ b/plotly/validators/layout/ternary/aaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/ternary/aaxis/tickformatstop/_dtickrange.py index aa28f8e3d29..65041bdc6d1 100644 --- a/plotly/validators/layout/ternary/aaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/ternary/aaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickformatstop/_enabled.py b/plotly/validators/layout/ternary/aaxis/tickformatstop/_enabled.py index 9eae39c1731..c7bf2948e12 100644 --- a/plotly/validators/layout/ternary/aaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/ternary/aaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickformatstop/_name.py b/plotly/validators/layout/ternary/aaxis/tickformatstop/_name.py index 207a14ba9b1..542ae038db3 100644 --- a/plotly/validators/layout/ternary/aaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/ternary/aaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/ternary/aaxis/tickformatstop/_templateitemname.py index c25cef78b26..649e03aae43 100644 --- a/plotly/validators/layout/ternary/aaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/ternary/aaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/tickformatstop/_value.py b/plotly/validators/layout/ternary/aaxis/tickformatstop/_value.py index 5ea6ba7eda3..8b52c645429 100644 --- a/plotly/validators/layout/ternary/aaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/ternary/aaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/titlefont/_color.py b/plotly/validators/layout/ternary/aaxis/titlefont/_color.py index a3c44e9d122..02afea899be 100644 --- a/plotly/validators/layout/ternary/aaxis/titlefont/_color.py +++ b/plotly/validators/layout/ternary/aaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/titlefont/_family.py b/plotly/validators/layout/ternary/aaxis/titlefont/_family.py index a7eb0d74229..f02035c6313 100644 --- a/plotly/validators/layout/ternary/aaxis/titlefont/_family.py +++ b/plotly/validators/layout/ternary/aaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/ternary/aaxis/titlefont/_size.py b/plotly/validators/layout/ternary/aaxis/titlefont/_size.py index d12a8e5df2d..c455f6edf8d 100644 --- a/plotly/validators/layout/ternary/aaxis/titlefont/_size.py +++ b/plotly/validators/layout/ternary/aaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_color.py b/plotly/validators/layout/ternary/baxis/_color.py index 4391dd55e03..e5b2b520e51 100644 --- a/plotly/validators/layout/ternary/baxis/_color.py +++ b/plotly/validators/layout/ternary/baxis/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_dtick.py b/plotly/validators/layout/ternary/baxis/_dtick.py index ade5dcfa702..bde38bf338d 100644 --- a/plotly/validators/layout/ternary/baxis/_dtick.py +++ b/plotly/validators/layout/ternary/baxis/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_exponentformat.py b/plotly/validators/layout/ternary/baxis/_exponentformat.py index 74a3b4b941c..f58222abb73 100644 --- a/plotly/validators/layout/ternary/baxis/_exponentformat.py +++ b/plotly/validators/layout/ternary/baxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_gridcolor.py b/plotly/validators/layout/ternary/baxis/_gridcolor.py index 584ca2b1047..c8c288900d8 100644 --- a/plotly/validators/layout/ternary/baxis/_gridcolor.py +++ b/plotly/validators/layout/ternary/baxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_gridwidth.py b/plotly/validators/layout/ternary/baxis/_gridwidth.py index f2f2fa60b6e..f8d05651922 100644 --- a/plotly/validators/layout/ternary/baxis/_gridwidth.py +++ b/plotly/validators/layout/ternary/baxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_hoverformat.py b/plotly/validators/layout/ternary/baxis/_hoverformat.py index e9273917989..6bdbdc3a3a6 100644 --- a/plotly/validators/layout/ternary/baxis/_hoverformat.py +++ b/plotly/validators/layout/ternary/baxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_layer.py b/plotly/validators/layout/ternary/baxis/_layer.py index e4088b6a515..3dc8f9d6c22 100644 --- a/plotly/validators/layout/ternary/baxis/_layer.py +++ b/plotly/validators/layout/ternary/baxis/_layer.py @@ -12,8 +12,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_linecolor.py b/plotly/validators/layout/ternary/baxis/_linecolor.py index 153d7475d32..3d15919cc4d 100644 --- a/plotly/validators/layout/ternary/baxis/_linecolor.py +++ b/plotly/validators/layout/ternary/baxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_linewidth.py b/plotly/validators/layout/ternary/baxis/_linewidth.py index 998e7822439..a816a43eef7 100644 --- a/plotly/validators/layout/ternary/baxis/_linewidth.py +++ b/plotly/validators/layout/ternary/baxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_min.py b/plotly/validators/layout/ternary/baxis/_min.py index 7d823c967ea..ffadc6f84f8 100644 --- a/plotly/validators/layout/ternary/baxis/_min.py +++ b/plotly/validators/layout/ternary/baxis/_min.py @@ -9,8 +9,8 @@ def __init__( super(MinValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_nticks.py b/plotly/validators/layout/ternary/baxis/_nticks.py index 6132a9906ab..80db887f032 100644 --- a/plotly/validators/layout/ternary/baxis/_nticks.py +++ b/plotly/validators/layout/ternary/baxis/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_separatethousands.py b/plotly/validators/layout/ternary/baxis/_separatethousands.py index 35167c623f3..86e215084d9 100644 --- a/plotly/validators/layout/ternary/baxis/_separatethousands.py +++ b/plotly/validators/layout/ternary/baxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_showexponent.py b/plotly/validators/layout/ternary/baxis/_showexponent.py index 585a48ee50b..b3851db070f 100644 --- a/plotly/validators/layout/ternary/baxis/_showexponent.py +++ b/plotly/validators/layout/ternary/baxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_showgrid.py b/plotly/validators/layout/ternary/baxis/_showgrid.py index dafbbc2123c..919c70d9d22 100644 --- a/plotly/validators/layout/ternary/baxis/_showgrid.py +++ b/plotly/validators/layout/ternary/baxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_showline.py b/plotly/validators/layout/ternary/baxis/_showline.py index 84f94916f45..52babbd90f8 100644 --- a/plotly/validators/layout/ternary/baxis/_showline.py +++ b/plotly/validators/layout/ternary/baxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_showticklabels.py b/plotly/validators/layout/ternary/baxis/_showticklabels.py index c3df6bf0916..46be89ff32f 100644 --- a/plotly/validators/layout/ternary/baxis/_showticklabels.py +++ b/plotly/validators/layout/ternary/baxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_showtickprefix.py b/plotly/validators/layout/ternary/baxis/_showtickprefix.py index 4e756eb0324..d8beb821666 100644 --- a/plotly/validators/layout/ternary/baxis/_showtickprefix.py +++ b/plotly/validators/layout/ternary/baxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_showticksuffix.py b/plotly/validators/layout/ternary/baxis/_showticksuffix.py index a175c798b07..7d5c1c1d7d0 100644 --- a/plotly/validators/layout/ternary/baxis/_showticksuffix.py +++ b/plotly/validators/layout/ternary/baxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tick0.py b/plotly/validators/layout/ternary/baxis/_tick0.py index dfe0a0f0f6d..21184a47ece 100644 --- a/plotly/validators/layout/ternary/baxis/_tick0.py +++ b/plotly/validators/layout/ternary/baxis/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickangle.py b/plotly/validators/layout/ternary/baxis/_tickangle.py index 7ed94b3c12c..bbad8c0fa3f 100644 --- a/plotly/validators/layout/ternary/baxis/_tickangle.py +++ b/plotly/validators/layout/ternary/baxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickcolor.py b/plotly/validators/layout/ternary/baxis/_tickcolor.py index a64845042af..6f585b821ba 100644 --- a/plotly/validators/layout/ternary/baxis/_tickcolor.py +++ b/plotly/validators/layout/ternary/baxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickfont.py b/plotly/validators/layout/ternary/baxis/_tickfont.py index ba3bd7d44f7..7067892aa4c 100644 --- a/plotly/validators/layout/ternary/baxis/_tickfont.py +++ b/plotly/validators/layout/ternary/baxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickformat.py b/plotly/validators/layout/ternary/baxis/_tickformat.py index 28a0d8ce66e..647c1345ea9 100644 --- a/plotly/validators/layout/ternary/baxis/_tickformat.py +++ b/plotly/validators/layout/ternary/baxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickformatstops.py b/plotly/validators/layout/ternary/baxis/_tickformatstops.py index f42aaa4d484..b4a883cf523 100644 --- a/plotly/validators/layout/ternary/baxis/_tickformatstops.py +++ b/plotly/validators/layout/ternary/baxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_ticklen.py b/plotly/validators/layout/ternary/baxis/_ticklen.py index 0c6f773f867..be14eea4f2c 100644 --- a/plotly/validators/layout/ternary/baxis/_ticklen.py +++ b/plotly/validators/layout/ternary/baxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickmode.py b/plotly/validators/layout/ternary/baxis/_tickmode.py index f0210146787..a15db462b76 100644 --- a/plotly/validators/layout/ternary/baxis/_tickmode.py +++ b/plotly/validators/layout/ternary/baxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickprefix.py b/plotly/validators/layout/ternary/baxis/_tickprefix.py index 85a633d6603..465dd7092db 100644 --- a/plotly/validators/layout/ternary/baxis/_tickprefix.py +++ b/plotly/validators/layout/ternary/baxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_ticks.py b/plotly/validators/layout/ternary/baxis/_ticks.py index 0e24f78c091..f024ab1080c 100644 --- a/plotly/validators/layout/ternary/baxis/_ticks.py +++ b/plotly/validators/layout/ternary/baxis/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_ticksuffix.py b/plotly/validators/layout/ternary/baxis/_ticksuffix.py index 865dc608f12..856bcfdf9ce 100644 --- a/plotly/validators/layout/ternary/baxis/_ticksuffix.py +++ b/plotly/validators/layout/ternary/baxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_ticktext.py b/plotly/validators/layout/ternary/baxis/_ticktext.py index ec603f76962..fd62922120a 100644 --- a/plotly/validators/layout/ternary/baxis/_ticktext.py +++ b/plotly/validators/layout/ternary/baxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_ticktextsrc.py b/plotly/validators/layout/ternary/baxis/_ticktextsrc.py index 5403a266ee1..497ac505e4d 100644 --- a/plotly/validators/layout/ternary/baxis/_ticktextsrc.py +++ b/plotly/validators/layout/ternary/baxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickvals.py b/plotly/validators/layout/ternary/baxis/_tickvals.py index 224535b96f6..037d393ff26 100644 --- a/plotly/validators/layout/ternary/baxis/_tickvals.py +++ b/plotly/validators/layout/ternary/baxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickvalssrc.py b/plotly/validators/layout/ternary/baxis/_tickvalssrc.py index def987635c9..28915d2b0d1 100644 --- a/plotly/validators/layout/ternary/baxis/_tickvalssrc.py +++ b/plotly/validators/layout/ternary/baxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_tickwidth.py b/plotly/validators/layout/ternary/baxis/_tickwidth.py index 03d4585e185..46594443642 100644 --- a/plotly/validators/layout/ternary/baxis/_tickwidth.py +++ b/plotly/validators/layout/ternary/baxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_title.py b/plotly/validators/layout/ternary/baxis/_title.py index 896d61447ac..a4a47aaed1e 100644 --- a/plotly/validators/layout/ternary/baxis/_title.py +++ b/plotly/validators/layout/ternary/baxis/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/_titlefont.py b/plotly/validators/layout/ternary/baxis/_titlefont.py index 81de8685e2f..728497a9865 100644 --- a/plotly/validators/layout/ternary/baxis/_titlefont.py +++ b/plotly/validators/layout/ternary/baxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickfont/_color.py b/plotly/validators/layout/ternary/baxis/tickfont/_color.py index 04088ad0018..6405c694bce 100644 --- a/plotly/validators/layout/ternary/baxis/tickfont/_color.py +++ b/plotly/validators/layout/ternary/baxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickfont/_family.py b/plotly/validators/layout/ternary/baxis/tickfont/_family.py index 7ae0cf3f749..fc6420ee4de 100644 --- a/plotly/validators/layout/ternary/baxis/tickfont/_family.py +++ b/plotly/validators/layout/ternary/baxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickfont/_size.py b/plotly/validators/layout/ternary/baxis/tickfont/_size.py index 76465822b69..f440d19f38c 100644 --- a/plotly/validators/layout/ternary/baxis/tickfont/_size.py +++ b/plotly/validators/layout/ternary/baxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/ternary/baxis/tickformatstop/_dtickrange.py index 6269ecdb4c5..acd92f6f1b4 100644 --- a/plotly/validators/layout/ternary/baxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/ternary/baxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickformatstop/_enabled.py b/plotly/validators/layout/ternary/baxis/tickformatstop/_enabled.py index 76f2e844779..850fea7e638 100644 --- a/plotly/validators/layout/ternary/baxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/ternary/baxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickformatstop/_name.py b/plotly/validators/layout/ternary/baxis/tickformatstop/_name.py index 0cd0f9e7d77..8ac3faa1699 100644 --- a/plotly/validators/layout/ternary/baxis/tickformatstop/_name.py +++ b/plotly/validators/layout/ternary/baxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/ternary/baxis/tickformatstop/_templateitemname.py index a634a7972d7..287ce86ea6d 100644 --- a/plotly/validators/layout/ternary/baxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/ternary/baxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/tickformatstop/_value.py b/plotly/validators/layout/ternary/baxis/tickformatstop/_value.py index b1eebb1c05c..8d843eae934 100644 --- a/plotly/validators/layout/ternary/baxis/tickformatstop/_value.py +++ b/plotly/validators/layout/ternary/baxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/titlefont/_color.py b/plotly/validators/layout/ternary/baxis/titlefont/_color.py index af517b764b6..a7f3711447e 100644 --- a/plotly/validators/layout/ternary/baxis/titlefont/_color.py +++ b/plotly/validators/layout/ternary/baxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/titlefont/_family.py b/plotly/validators/layout/ternary/baxis/titlefont/_family.py index 0f43c4396a8..0d041d336c6 100644 --- a/plotly/validators/layout/ternary/baxis/titlefont/_family.py +++ b/plotly/validators/layout/ternary/baxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/ternary/baxis/titlefont/_size.py b/plotly/validators/layout/ternary/baxis/titlefont/_size.py index 77c2f957816..29ee59b99c0 100644 --- a/plotly/validators/layout/ternary/baxis/titlefont/_size.py +++ b/plotly/validators/layout/ternary/baxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_color.py b/plotly/validators/layout/ternary/caxis/_color.py index 5f0fff69f3f..124c8b73b6e 100644 --- a/plotly/validators/layout/ternary/caxis/_color.py +++ b/plotly/validators/layout/ternary/caxis/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_dtick.py b/plotly/validators/layout/ternary/caxis/_dtick.py index 16afac0e071..bbe1a1cd623 100644 --- a/plotly/validators/layout/ternary/caxis/_dtick.py +++ b/plotly/validators/layout/ternary/caxis/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_exponentformat.py b/plotly/validators/layout/ternary/caxis/_exponentformat.py index aefd4c6579f..0d18cfe5abe 100644 --- a/plotly/validators/layout/ternary/caxis/_exponentformat.py +++ b/plotly/validators/layout/ternary/caxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_gridcolor.py b/plotly/validators/layout/ternary/caxis/_gridcolor.py index cb8e6e6db57..6b7242ffab9 100644 --- a/plotly/validators/layout/ternary/caxis/_gridcolor.py +++ b/plotly/validators/layout/ternary/caxis/_gridcolor.py @@ -12,7 +12,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_gridwidth.py b/plotly/validators/layout/ternary/caxis/_gridwidth.py index cfb689b0452..cb0425c1dc2 100644 --- a/plotly/validators/layout/ternary/caxis/_gridwidth.py +++ b/plotly/validators/layout/ternary/caxis/_gridwidth.py @@ -12,8 +12,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_hoverformat.py b/plotly/validators/layout/ternary/caxis/_hoverformat.py index 8203aebb432..32d3d228c01 100644 --- a/plotly/validators/layout/ternary/caxis/_hoverformat.py +++ b/plotly/validators/layout/ternary/caxis/_hoverformat.py @@ -12,7 +12,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_layer.py b/plotly/validators/layout/ternary/caxis/_layer.py index 2f59d031daf..7c1aa3d7fd1 100644 --- a/plotly/validators/layout/ternary/caxis/_layer.py +++ b/plotly/validators/layout/ternary/caxis/_layer.py @@ -12,8 +12,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_linecolor.py b/plotly/validators/layout/ternary/caxis/_linecolor.py index 70028369452..0e483b94831 100644 --- a/plotly/validators/layout/ternary/caxis/_linecolor.py +++ b/plotly/validators/layout/ternary/caxis/_linecolor.py @@ -12,7 +12,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_linewidth.py b/plotly/validators/layout/ternary/caxis/_linewidth.py index 10f7e82791c..d48e4110ae3 100644 --- a/plotly/validators/layout/ternary/caxis/_linewidth.py +++ b/plotly/validators/layout/ternary/caxis/_linewidth.py @@ -12,8 +12,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_min.py b/plotly/validators/layout/ternary/caxis/_min.py index ccaebbc6d39..4dde66c2ce4 100644 --- a/plotly/validators/layout/ternary/caxis/_min.py +++ b/plotly/validators/layout/ternary/caxis/_min.py @@ -9,8 +9,8 @@ def __init__( super(MinValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_nticks.py b/plotly/validators/layout/ternary/caxis/_nticks.py index a62c2cfc8f1..06b93f517bd 100644 --- a/plotly/validators/layout/ternary/caxis/_nticks.py +++ b/plotly/validators/layout/ternary/caxis/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_separatethousands.py b/plotly/validators/layout/ternary/caxis/_separatethousands.py index bc5db6e3175..9c68d34b7c5 100644 --- a/plotly/validators/layout/ternary/caxis/_separatethousands.py +++ b/plotly/validators/layout/ternary/caxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_showexponent.py b/plotly/validators/layout/ternary/caxis/_showexponent.py index 9c90d3a0a56..b2f601b91a1 100644 --- a/plotly/validators/layout/ternary/caxis/_showexponent.py +++ b/plotly/validators/layout/ternary/caxis/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_showgrid.py b/plotly/validators/layout/ternary/caxis/_showgrid.py index d6ac7db5117..590f899268d 100644 --- a/plotly/validators/layout/ternary/caxis/_showgrid.py +++ b/plotly/validators/layout/ternary/caxis/_showgrid.py @@ -12,7 +12,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_showline.py b/plotly/validators/layout/ternary/caxis/_showline.py index 4037b6290b8..48e1461f8e9 100644 --- a/plotly/validators/layout/ternary/caxis/_showline.py +++ b/plotly/validators/layout/ternary/caxis/_showline.py @@ -12,7 +12,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_showticklabels.py b/plotly/validators/layout/ternary/caxis/_showticklabels.py index 1901c31bc85..fad0c36202c 100644 --- a/plotly/validators/layout/ternary/caxis/_showticklabels.py +++ b/plotly/validators/layout/ternary/caxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_showtickprefix.py b/plotly/validators/layout/ternary/caxis/_showtickprefix.py index 2ff314369bf..7da7f82729f 100644 --- a/plotly/validators/layout/ternary/caxis/_showtickprefix.py +++ b/plotly/validators/layout/ternary/caxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_showticksuffix.py b/plotly/validators/layout/ternary/caxis/_showticksuffix.py index 99e77ec707f..0c4fc7c8579 100644 --- a/plotly/validators/layout/ternary/caxis/_showticksuffix.py +++ b/plotly/validators/layout/ternary/caxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tick0.py b/plotly/validators/layout/ternary/caxis/_tick0.py index e3b637e8ef5..2aaf7ff2a38 100644 --- a/plotly/validators/layout/ternary/caxis/_tick0.py +++ b/plotly/validators/layout/ternary/caxis/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickangle.py b/plotly/validators/layout/ternary/caxis/_tickangle.py index 291d15d7161..305b76a5449 100644 --- a/plotly/validators/layout/ternary/caxis/_tickangle.py +++ b/plotly/validators/layout/ternary/caxis/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickcolor.py b/plotly/validators/layout/ternary/caxis/_tickcolor.py index e670cbd2b59..298bb70e6d5 100644 --- a/plotly/validators/layout/ternary/caxis/_tickcolor.py +++ b/plotly/validators/layout/ternary/caxis/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickfont.py b/plotly/validators/layout/ternary/caxis/_tickfont.py index 839cc71b8d6..3a40fbb9b0c 100644 --- a/plotly/validators/layout/ternary/caxis/_tickfont.py +++ b/plotly/validators/layout/ternary/caxis/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickformat.py b/plotly/validators/layout/ternary/caxis/_tickformat.py index 96324f181a7..f1f596fedea 100644 --- a/plotly/validators/layout/ternary/caxis/_tickformat.py +++ b/plotly/validators/layout/ternary/caxis/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickformatstops.py b/plotly/validators/layout/ternary/caxis/_tickformatstops.py index 9a06c09cef1..2e816a8ceaa 100644 --- a/plotly/validators/layout/ternary/caxis/_tickformatstops.py +++ b/plotly/validators/layout/ternary/caxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_ticklen.py b/plotly/validators/layout/ternary/caxis/_ticklen.py index 665e4bddbce..336dcc41471 100644 --- a/plotly/validators/layout/ternary/caxis/_ticklen.py +++ b/plotly/validators/layout/ternary/caxis/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickmode.py b/plotly/validators/layout/ternary/caxis/_tickmode.py index a4fe018a0c8..bc25dd84be2 100644 --- a/plotly/validators/layout/ternary/caxis/_tickmode.py +++ b/plotly/validators/layout/ternary/caxis/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickprefix.py b/plotly/validators/layout/ternary/caxis/_tickprefix.py index 4c11381469c..8745dc45e85 100644 --- a/plotly/validators/layout/ternary/caxis/_tickprefix.py +++ b/plotly/validators/layout/ternary/caxis/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_ticks.py b/plotly/validators/layout/ternary/caxis/_ticks.py index f66a5b7f3f0..fe9101ccf99 100644 --- a/plotly/validators/layout/ternary/caxis/_ticks.py +++ b/plotly/validators/layout/ternary/caxis/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_ticksuffix.py b/plotly/validators/layout/ternary/caxis/_ticksuffix.py index 6131feeae05..da921549137 100644 --- a/plotly/validators/layout/ternary/caxis/_ticksuffix.py +++ b/plotly/validators/layout/ternary/caxis/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_ticktext.py b/plotly/validators/layout/ternary/caxis/_ticktext.py index 925ec1f1e3e..972eb717ed4 100644 --- a/plotly/validators/layout/ternary/caxis/_ticktext.py +++ b/plotly/validators/layout/ternary/caxis/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_ticktextsrc.py b/plotly/validators/layout/ternary/caxis/_ticktextsrc.py index c91d693a48f..8330a27188c 100644 --- a/plotly/validators/layout/ternary/caxis/_ticktextsrc.py +++ b/plotly/validators/layout/ternary/caxis/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickvals.py b/plotly/validators/layout/ternary/caxis/_tickvals.py index 35a4558d981..16176806187 100644 --- a/plotly/validators/layout/ternary/caxis/_tickvals.py +++ b/plotly/validators/layout/ternary/caxis/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='data', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickvalssrc.py b/plotly/validators/layout/ternary/caxis/_tickvalssrc.py index 3bc58d1f6ce..4d6eb3e3fd8 100644 --- a/plotly/validators/layout/ternary/caxis/_tickvalssrc.py +++ b/plotly/validators/layout/ternary/caxis/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_tickwidth.py b/plotly/validators/layout/ternary/caxis/_tickwidth.py index 0471d0cd38c..c26520e084f 100644 --- a/plotly/validators/layout/ternary/caxis/_tickwidth.py +++ b/plotly/validators/layout/ternary/caxis/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_title.py b/plotly/validators/layout/ternary/caxis/_title.py index 35f1193eb77..5684abba698 100644 --- a/plotly/validators/layout/ternary/caxis/_title.py +++ b/plotly/validators/layout/ternary/caxis/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/_titlefont.py b/plotly/validators/layout/ternary/caxis/_titlefont.py index 9b00bf778da..d1d6a4b5b5c 100644 --- a/plotly/validators/layout/ternary/caxis/_titlefont.py +++ b/plotly/validators/layout/ternary/caxis/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickfont/_color.py b/plotly/validators/layout/ternary/caxis/tickfont/_color.py index a9e8aec7300..741df153c7c 100644 --- a/plotly/validators/layout/ternary/caxis/tickfont/_color.py +++ b/plotly/validators/layout/ternary/caxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickfont/_family.py b/plotly/validators/layout/ternary/caxis/tickfont/_family.py index 27d19f1d487..dcc6acc6597 100644 --- a/plotly/validators/layout/ternary/caxis/tickfont/_family.py +++ b/plotly/validators/layout/ternary/caxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickfont/_size.py b/plotly/validators/layout/ternary/caxis/tickfont/_size.py index 6c8d59b34fa..4c12ae75e5d 100644 --- a/plotly/validators/layout/ternary/caxis/tickfont/_size.py +++ b/plotly/validators/layout/ternary/caxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/ternary/caxis/tickformatstop/_dtickrange.py index 2f6af43c745..1e9679f1e1d 100644 --- a/plotly/validators/layout/ternary/caxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/ternary/caxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickformatstop/_enabled.py b/plotly/validators/layout/ternary/caxis/tickformatstop/_enabled.py index b4b17c872b7..ba773f627c5 100644 --- a/plotly/validators/layout/ternary/caxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/ternary/caxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickformatstop/_name.py b/plotly/validators/layout/ternary/caxis/tickformatstop/_name.py index 9b3fc7316df..7cb11eae81d 100644 --- a/plotly/validators/layout/ternary/caxis/tickformatstop/_name.py +++ b/plotly/validators/layout/ternary/caxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/ternary/caxis/tickformatstop/_templateitemname.py index 9d78abf60cb..ae7806f8c52 100644 --- a/plotly/validators/layout/ternary/caxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/ternary/caxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/tickformatstop/_value.py b/plotly/validators/layout/ternary/caxis/tickformatstop/_value.py index 506f864a763..9dbb6b3e857 100644 --- a/plotly/validators/layout/ternary/caxis/tickformatstop/_value.py +++ b/plotly/validators/layout/ternary/caxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/titlefont/_color.py b/plotly/validators/layout/ternary/caxis/titlefont/_color.py index 98db7cd7cc5..67632c44093 100644 --- a/plotly/validators/layout/ternary/caxis/titlefont/_color.py +++ b/plotly/validators/layout/ternary/caxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/titlefont/_family.py b/plotly/validators/layout/ternary/caxis/titlefont/_family.py index 2f2ee2c616a..0a9428ddda6 100644 --- a/plotly/validators/layout/ternary/caxis/titlefont/_family.py +++ b/plotly/validators/layout/ternary/caxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/ternary/caxis/titlefont/_size.py b/plotly/validators/layout/ternary/caxis/titlefont/_size.py index f18c706c30f..e281ed67e86 100644 --- a/plotly/validators/layout/ternary/caxis/titlefont/_size.py +++ b/plotly/validators/layout/ternary/caxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/ternary/domain/_column.py b/plotly/validators/layout/ternary/domain/_column.py index b544391c86a..755159c8cf8 100644 --- a/plotly/validators/layout/ternary/domain/_column.py +++ b/plotly/validators/layout/ternary/domain/_column.py @@ -12,8 +12,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/domain/_row.py b/plotly/validators/layout/ternary/domain/_row.py index 6afb3a6aa3b..a1218702d9c 100644 --- a/plotly/validators/layout/ternary/domain/_row.py +++ b/plotly/validators/layout/ternary/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/domain/_x.py b/plotly/validators/layout/ternary/domain/_x.py index 430d5927c10..791c4d7eb62 100644 --- a/plotly/validators/layout/ternary/domain/_x.py +++ b/plotly/validators/layout/ternary/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/ternary/domain/_y.py b/plotly/validators/layout/ternary/domain/_y.py index 2bdfd672f3a..919d1076c1c 100644 --- a/plotly/validators/layout/ternary/domain/_y.py +++ b/plotly/validators/layout/ternary/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/titlefont/_color.py b/plotly/validators/layout/titlefont/_color.py index 85d3ef705e8..8c66e2f99f4 100644 --- a/plotly/validators/layout/titlefont/_color.py +++ b/plotly/validators/layout/titlefont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - role='style', + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/titlefont/_family.py b/plotly/validators/layout/titlefont/_family.py index 1380a458543..c20c0f27eac 100644 --- a/plotly/validators/layout/titlefont/_family.py +++ b/plotly/validators/layout/titlefont/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/titlefont/_size.py b/plotly/validators/layout/titlefont/_size.py index 4ddbee6a6e1..308df5caf69 100644 --- a/plotly/validators/layout/titlefont/_size.py +++ b/plotly/validators/layout/titlefont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_active.py b/plotly/validators/layout/updatemenu/_active.py index e1f5fd239b2..9b948678671 100644 --- a/plotly/validators/layout/updatemenu/_active.py +++ b/plotly/validators/layout/updatemenu/_active.py @@ -9,8 +9,8 @@ def __init__( super(ActiveValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=-1, - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_bgcolor.py b/plotly/validators/layout/updatemenu/_bgcolor.py index 87220d96b6d..cf897d867a3 100644 --- a/plotly/validators/layout/updatemenu/_bgcolor.py +++ b/plotly/validators/layout/updatemenu/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_bordercolor.py b/plotly/validators/layout/updatemenu/_bordercolor.py index aa624ad8401..ca5dfe24460 100644 --- a/plotly/validators/layout/updatemenu/_bordercolor.py +++ b/plotly/validators/layout/updatemenu/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_borderwidth.py b/plotly/validators/layout/updatemenu/_borderwidth.py index 5a16f9dba2c..61d0f9adc13 100644 --- a/plotly/validators/layout/updatemenu/_borderwidth.py +++ b/plotly/validators/layout/updatemenu/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_buttons.py b/plotly/validators/layout/updatemenu/_buttons.py index 9dbb32827a6..561c1f8551a 100644 --- a/plotly/validators/layout/updatemenu/_buttons.py +++ b/plotly/validators/layout/updatemenu/_buttons.py @@ -9,8 +9,9 @@ def __init__( super(ButtonsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Button', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Button'), + data_docs=kwargs.pop( + 'data_docs', """ args Sets the arguments values to be passed to the Plotly method set in `method` on click. @@ -58,6 +59,7 @@ def __init__( visible Determines whether or not this button is visible. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_direction.py b/plotly/validators/layout/updatemenu/_direction.py index 056dff83273..5cb71f353bf 100644 --- a/plotly/validators/layout/updatemenu/_direction.py +++ b/plotly/validators/layout/updatemenu/_direction.py @@ -12,8 +12,8 @@ def __init__( super(DirectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['left', 'right', 'up', 'down'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['left', 'right', 'up', 'down']), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_font.py b/plotly/validators/layout/updatemenu/_font.py index 80ba3b8e6cc..ed6e1f61f22 100644 --- a/plotly/validators/layout/updatemenu/_font.py +++ b/plotly/validators/layout/updatemenu/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_name.py b/plotly/validators/layout/updatemenu/_name.py index e4151b21477..8a92b541c02 100644 --- a/plotly/validators/layout/updatemenu/_name.py +++ b/plotly/validators/layout/updatemenu/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_pad.py b/plotly/validators/layout/updatemenu/_pad.py index fd633e299fe..69f43e4a088 100644 --- a/plotly/validators/layout/updatemenu/_pad.py +++ b/plotly/validators/layout/updatemenu/_pad.py @@ -9,8 +9,9 @@ def __init__( super(PadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Pad', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Pad'), + data_docs=kwargs.pop( + 'data_docs', """ b The amount of padding (in px) along the bottom of the component. @@ -23,6 +24,7 @@ def __init__( t The amount of padding (in px) along the top of the component. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_showactive.py b/plotly/validators/layout/updatemenu/_showactive.py index 3689dbf3527..7950864132e 100644 --- a/plotly/validators/layout/updatemenu/_showactive.py +++ b/plotly/validators/layout/updatemenu/_showactive.py @@ -12,7 +12,7 @@ def __init__( super(ShowactiveValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_templateitemname.py b/plotly/validators/layout/updatemenu/_templateitemname.py index a8c7b7aaa92..a70664530e1 100644 --- a/plotly/validators/layout/updatemenu/_templateitemname.py +++ b/plotly/validators/layout/updatemenu/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_type.py b/plotly/validators/layout/updatemenu/_type.py index ce2a0eb08e6..1f037a2e940 100644 --- a/plotly/validators/layout/updatemenu/_type.py +++ b/plotly/validators/layout/updatemenu/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['dropdown', 'buttons'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['dropdown', 'buttons']), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_visible.py b/plotly/validators/layout/updatemenu/_visible.py index ddbbb842fcb..302adcc2169 100644 --- a/plotly/validators/layout/updatemenu/_visible.py +++ b/plotly/validators/layout/updatemenu/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_x.py b/plotly/validators/layout/updatemenu/_x.py index cf3c9e56a45..0e1451dd356 100644 --- a/plotly/validators/layout/updatemenu/_x.py +++ b/plotly/validators/layout/updatemenu/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_xanchor.py b/plotly/validators/layout/updatemenu/_xanchor.py index d8bf19a691c..6e3c3571067 100644 --- a/plotly/validators/layout/updatemenu/_xanchor.py +++ b/plotly/validators/layout/updatemenu/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['auto', 'left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_y.py b/plotly/validators/layout/updatemenu/_y.py index d31b553b48f..1fae6e1b4c3 100644 --- a/plotly/validators/layout/updatemenu/_y.py +++ b/plotly/validators/layout/updatemenu/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/_yanchor.py b/plotly/validators/layout/updatemenu/_yanchor.py index d37e4e58323..9aee33babde 100644 --- a/plotly/validators/layout/updatemenu/_yanchor.py +++ b/plotly/validators/layout/updatemenu/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['auto', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_args.py b/plotly/validators/layout/updatemenu/button/_args.py index ecb568d879b..10b3f0543ae 100644 --- a/plotly/validators/layout/updatemenu/button/_args.py +++ b/plotly/validators/layout/updatemenu/button/_args.py @@ -12,20 +12,22 @@ def __init__( super(ArgsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - free_length=True, - items=[ - { - 'valType': 'any', - 'editType': 'arraydraw' - }, { - 'valType': 'any', - 'editType': 'arraydraw' - }, { - 'valType': 'any', - 'editType': 'arraydraw' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'arraydraw' + }, { + 'valType': 'any', + 'editType': 'arraydraw' + }, { + 'valType': 'any', + 'editType': 'arraydraw' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_execute.py b/plotly/validators/layout/updatemenu/button/_execute.py index 7f0dfab31bc..24b0d0810d7 100644 --- a/plotly/validators/layout/updatemenu/button/_execute.py +++ b/plotly/validators/layout/updatemenu/button/_execute.py @@ -12,7 +12,7 @@ def __init__( super(ExecuteValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_label.py b/plotly/validators/layout/updatemenu/button/_label.py index 900d98fc59d..b0c99b77571 100644 --- a/plotly/validators/layout/updatemenu/button/_label.py +++ b/plotly/validators/layout/updatemenu/button/_label.py @@ -12,7 +12,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_method.py b/plotly/validators/layout/updatemenu/button/_method.py index c78b9214b69..a0b54d96ccc 100644 --- a/plotly/validators/layout/updatemenu/button/_method.py +++ b/plotly/validators/layout/updatemenu/button/_method.py @@ -12,8 +12,10 @@ def __init__( super(MethodValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', - values=['restyle', 'relayout', 'animate', 'update', 'skip'], + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['restyle', 'relayout', 'animate', 'update', 'skip'] + ), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_name.py b/plotly/validators/layout/updatemenu/button/_name.py index 3cb7075383f..7b117fe0d96 100644 --- a/plotly/validators/layout/updatemenu/button/_name.py +++ b/plotly/validators/layout/updatemenu/button/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_templateitemname.py b/plotly/validators/layout/updatemenu/button/_templateitemname.py index aeaa4554fc2..e528b46b023 100644 --- a/plotly/validators/layout/updatemenu/button/_templateitemname.py +++ b/plotly/validators/layout/updatemenu/button/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/button/_visible.py b/plotly/validators/layout/updatemenu/button/_visible.py index 6ae2c284b31..417068d4182 100644 --- a/plotly/validators/layout/updatemenu/button/_visible.py +++ b/plotly/validators/layout/updatemenu/button/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='info', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/font/_color.py b/plotly/validators/layout/updatemenu/font/_color.py index 37a02d6323a..f247b7f2583 100644 --- a/plotly/validators/layout/updatemenu/font/_color.py +++ b/plotly/validators/layout/updatemenu/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/font/_family.py b/plotly/validators/layout/updatemenu/font/_family.py index ccab0cddaa5..5d12ad7412a 100644 --- a/plotly/validators/layout/updatemenu/font/_family.py +++ b/plotly/validators/layout/updatemenu/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'arraydraw'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/font/_size.py b/plotly/validators/layout/updatemenu/font/_size.py index 67121f2c960..9629a283e9e 100644 --- a/plotly/validators/layout/updatemenu/font/_size.py +++ b/plotly/validators/layout/updatemenu/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/pad/_b.py b/plotly/validators/layout/updatemenu/pad/_b.py index 9a97a3154e5..e5bb26c3be8 100644 --- a/plotly/validators/layout/updatemenu/pad/_b.py +++ b/plotly/validators/layout/updatemenu/pad/_b.py @@ -9,7 +9,7 @@ def __init__( super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/pad/_l.py b/plotly/validators/layout/updatemenu/pad/_l.py index 7fa5d5626d9..cdaf4cfde8e 100644 --- a/plotly/validators/layout/updatemenu/pad/_l.py +++ b/plotly/validators/layout/updatemenu/pad/_l.py @@ -9,7 +9,7 @@ def __init__( super(LValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/pad/_r.py b/plotly/validators/layout/updatemenu/pad/_r.py index 4e67b17b1f7..c25eaaf78d6 100644 --- a/plotly/validators/layout/updatemenu/pad/_r.py +++ b/plotly/validators/layout/updatemenu/pad/_r.py @@ -9,7 +9,7 @@ def __init__( super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/updatemenu/pad/_t.py b/plotly/validators/layout/updatemenu/pad/_t.py index 9d0bcd91c2e..4e538595bdc 100644 --- a/plotly/validators/layout/updatemenu/pad/_t.py +++ b/plotly/validators/layout/updatemenu/pad/_t.py @@ -9,7 +9,7 @@ def __init__( super(TValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='arraydraw', - role='style', + edit_type=kwargs.pop('edit_type', 'arraydraw'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_anchor.py b/plotly/validators/layout/xaxis/_anchor.py index 09489a35763..db4ae08fdaf 100644 --- a/plotly/validators/layout/xaxis/_anchor.py +++ b/plotly/validators/layout/xaxis/_anchor.py @@ -9,11 +9,13 @@ def __init__( super(AnchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'free', '/^x([2-9]|[1-9][0-9]+)?$/', - '/^y([2-9]|[1-9][0-9]+)?$/' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'free', '/^x([2-9]|[1-9][0-9]+)?$/', + '/^y([2-9]|[1-9][0-9]+)?$/' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_automargin.py b/plotly/validators/layout/xaxis/_automargin.py index 207077c4c77..ecacfbcbe53 100644 --- a/plotly/validators/layout/xaxis/_automargin.py +++ b/plotly/validators/layout/xaxis/_automargin.py @@ -9,7 +9,7 @@ def __init__( super(AutomarginValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_autorange.py b/plotly/validators/layout/xaxis/_autorange.py index 930e545dd57..6a9983824df 100644 --- a/plotly/validators/layout/xaxis/_autorange.py +++ b/plotly/validators/layout/xaxis/_autorange.py @@ -9,9 +9,9 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='axrange', - implied_edits={}, - role='info', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'axrange'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_calendar.py b/plotly/validators/layout/xaxis/_calendar.py index 533fb455267..91871302555 100644 --- a/plotly/validators/layout/xaxis/_calendar.py +++ b/plotly/validators/layout/xaxis/_calendar.py @@ -9,12 +9,15 @@ def __init__( super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_categoryarray.py b/plotly/validators/layout/xaxis/_categoryarray.py index da2c037bc4f..87c1814d18b 100644 --- a/plotly/validators/layout/xaxis/_categoryarray.py +++ b/plotly/validators/layout/xaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_categoryarraysrc.py b/plotly/validators/layout/xaxis/_categoryarraysrc.py index 4835a61871f..4c3efccb71e 100644 --- a/plotly/validators/layout/xaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/xaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_categoryorder.py b/plotly/validators/layout/xaxis/_categoryorder.py index 198f67e2ab3..14ba3d61142 100644 --- a/plotly/validators/layout/xaxis/_categoryorder.py +++ b/plotly/validators/layout/xaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_color.py b/plotly/validators/layout/xaxis/_color.py index ad3b5e5d203..597a1fb05f8 100644 --- a/plotly/validators/layout/xaxis/_color.py +++ b/plotly/validators/layout/xaxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_constrain.py b/plotly/validators/layout/xaxis/_constrain.py index ff14c1d4c32..8c038a339f2 100644 --- a/plotly/validators/layout/xaxis/_constrain.py +++ b/plotly/validators/layout/xaxis/_constrain.py @@ -9,8 +9,8 @@ def __init__( super(ConstrainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['range', 'domain'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['range', 'domain']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_constraintoward.py b/plotly/validators/layout/xaxis/_constraintoward.py index 3b0ab33a40b..a2c331cfd9f 100644 --- a/plotly/validators/layout/xaxis/_constraintoward.py +++ b/plotly/validators/layout/xaxis/_constraintoward.py @@ -14,8 +14,11 @@ def __init__( super(ConstraintowardValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['left', 'center', 'right', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', + ['left', 'center', 'right', 'top', 'middle', 'bottom'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_domain.py b/plotly/validators/layout/xaxis/_domain.py index 61327be100c..c75a47b7d2b 100644 --- a/plotly/validators/layout/xaxis/_domain.py +++ b/plotly/validators/layout/xaxis/_domain.py @@ -9,20 +9,22 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_dtick.py b/plotly/validators/layout/xaxis/_dtick.py index f8565f9bdc8..dec17a66a5f 100644 --- a/plotly/validators/layout/xaxis/_dtick.py +++ b/plotly/validators/layout/xaxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_exponentformat.py b/plotly/validators/layout/xaxis/_exponentformat.py index 7bb7d14ef6c..a96e75a54e0 100644 --- a/plotly/validators/layout/xaxis/_exponentformat.py +++ b/plotly/validators/layout/xaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_fixedrange.py b/plotly/validators/layout/xaxis/_fixedrange.py index c3eae04f175..91c768a5a9f 100644 --- a/plotly/validators/layout/xaxis/_fixedrange.py +++ b/plotly/validators/layout/xaxis/_fixedrange.py @@ -9,7 +9,7 @@ def __init__( super(FixedrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_gridcolor.py b/plotly/validators/layout/xaxis/_gridcolor.py index 8de1c9b76a0..ba1e8c55970 100644 --- a/plotly/validators/layout/xaxis/_gridcolor.py +++ b/plotly/validators/layout/xaxis/_gridcolor.py @@ -9,7 +9,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_gridwidth.py b/plotly/validators/layout/xaxis/_gridwidth.py index de98ef003ea..495c6307481 100644 --- a/plotly/validators/layout/xaxis/_gridwidth.py +++ b/plotly/validators/layout/xaxis/_gridwidth.py @@ -9,8 +9,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_hoverformat.py b/plotly/validators/layout/xaxis/_hoverformat.py index 2da7907fc88..9fb095f8896 100644 --- a/plotly/validators/layout/xaxis/_hoverformat.py +++ b/plotly/validators/layout/xaxis/_hoverformat.py @@ -9,7 +9,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_layer.py b/plotly/validators/layout/xaxis/_layer.py index 434ac626734..729855f9427 100644 --- a/plotly/validators/layout/xaxis/_layer.py +++ b/plotly/validators/layout/xaxis/_layer.py @@ -9,8 +9,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_linecolor.py b/plotly/validators/layout/xaxis/_linecolor.py index 311c32831f5..8e8333ccbcb 100644 --- a/plotly/validators/layout/xaxis/_linecolor.py +++ b/plotly/validators/layout/xaxis/_linecolor.py @@ -9,7 +9,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - role='style', + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_linewidth.py b/plotly/validators/layout/xaxis/_linewidth.py index 633a6f03ff2..84f3ff8f9fe 100644 --- a/plotly/validators/layout/xaxis/_linewidth.py +++ b/plotly/validators/layout/xaxis/_linewidth.py @@ -9,8 +9,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks+layoutstyle', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks+layoutstyle'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_mirror.py b/plotly/validators/layout/xaxis/_mirror.py index 5a35ada1fff..32d8cf98661 100644 --- a/plotly/validators/layout/xaxis/_mirror.py +++ b/plotly/validators/layout/xaxis/_mirror.py @@ -9,8 +9,10 @@ def __init__( super(MirrorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks+layoutstyle', - role='style', - values=[True, 'ticks', False, 'all', 'allticks'], + edit_type=kwargs.pop('edit_type', 'ticks+layoutstyle'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [True, 'ticks', False, 'all', 'allticks'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_nticks.py b/plotly/validators/layout/xaxis/_nticks.py index 2ee3a0be47c..49ec824869a 100644 --- a/plotly/validators/layout/xaxis/_nticks.py +++ b/plotly/validators/layout/xaxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_overlaying.py b/plotly/validators/layout/xaxis/_overlaying.py index 1d941ea1e56..6fbaa94cc30 100644 --- a/plotly/validators/layout/xaxis/_overlaying.py +++ b/plotly/validators/layout/xaxis/_overlaying.py @@ -9,11 +9,13 @@ def __init__( super(OverlayingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'free', '/^x([2-9]|[1-9][0-9]+)?$/', - '/^y([2-9]|[1-9][0-9]+)?$/' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'free', '/^x([2-9]|[1-9][0-9]+)?$/', + '/^y([2-9]|[1-9][0-9]+)?$/' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_position.py b/plotly/validators/layout/xaxis/_position.py index d570e2ae997..0379a660a55 100644 --- a/plotly/validators/layout/xaxis/_position.py +++ b/plotly/validators/layout/xaxis/_position.py @@ -9,9 +9,9 @@ def __init__( super(PositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_range.py b/plotly/validators/layout/xaxis/_range.py index 2c7fe2cefca..b633dcb1f3c 100644 --- a/plotly/validators/layout/xaxis/_range.py +++ b/plotly/validators/layout/xaxis/_range.py @@ -9,23 +9,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='axrange', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'axrange', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'axrange'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'axrange', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'axrange', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'axrange', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_rangemode.py b/plotly/validators/layout/xaxis/_rangemode.py index 057f8bba5ab..ffe615b31a3 100644 --- a/plotly/validators/layout/xaxis/_rangemode.py +++ b/plotly/validators/layout/xaxis/_rangemode.py @@ -9,8 +9,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_rangeselector.py b/plotly/validators/layout/xaxis/_rangeselector.py index 28f46f67902..f6313481b45 100644 --- a/plotly/validators/layout/xaxis/_rangeselector.py +++ b/plotly/validators/layout/xaxis/_rangeselector.py @@ -12,8 +12,9 @@ def __init__( super(RangeselectorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Rangeselector', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Rangeselector'), + data_docs=kwargs.pop( + 'data_docs', """ activecolor Sets the background color of the active range selector button. @@ -54,6 +55,7 @@ def __init__( anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the range selector. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_rangeslider.py b/plotly/validators/layout/xaxis/_rangeslider.py index b17f2c9a3e3..2cbf81f7f62 100644 --- a/plotly/validators/layout/xaxis/_rangeslider.py +++ b/plotly/validators/layout/xaxis/_rangeslider.py @@ -9,8 +9,9 @@ def __init__( super(RangesliderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Rangeslider', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Rangeslider'), + data_docs=kwargs.pop( + 'data_docs', """ autorange Determines whether or not the range slider range is computed in relation to the input @@ -44,6 +45,7 @@ def __init__( yaxis plotly.graph_objs.layout.xaxis.rangeslider.YAxi s instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_scaleanchor.py b/plotly/validators/layout/xaxis/_scaleanchor.py index d857702fc4c..0a7a050405e 100644 --- a/plotly/validators/layout/xaxis/_scaleanchor.py +++ b/plotly/validators/layout/xaxis/_scaleanchor.py @@ -9,8 +9,11 @@ def __init__( super(ScaleanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['/^x([2-9]|[1-9][0-9]+)?$/', '/^y([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', + ['/^x([2-9]|[1-9][0-9]+)?$/', '/^y([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_scaleratio.py b/plotly/validators/layout/xaxis/_scaleratio.py index a37ada20f32..165fe014b67 100644 --- a/plotly/validators/layout/xaxis/_scaleratio.py +++ b/plotly/validators/layout/xaxis/_scaleratio.py @@ -9,8 +9,8 @@ def __init__( super(ScaleratioValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_separatethousands.py b/plotly/validators/layout/xaxis/_separatethousands.py index 0fbe1171205..4aea44dff85 100644 --- a/plotly/validators/layout/xaxis/_separatethousands.py +++ b/plotly/validators/layout/xaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showexponent.py b/plotly/validators/layout/xaxis/_showexponent.py index 2925190e42f..f1d3448ac5f 100644 --- a/plotly/validators/layout/xaxis/_showexponent.py +++ b/plotly/validators/layout/xaxis/_showexponent.py @@ -9,8 +9,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showgrid.py b/plotly/validators/layout/xaxis/_showgrid.py index 08fe3638253..eb4359f081c 100644 --- a/plotly/validators/layout/xaxis/_showgrid.py +++ b/plotly/validators/layout/xaxis/_showgrid.py @@ -9,7 +9,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showline.py b/plotly/validators/layout/xaxis/_showline.py index b388b9ffe66..108456e3e19 100644 --- a/plotly/validators/layout/xaxis/_showline.py +++ b/plotly/validators/layout/xaxis/_showline.py @@ -9,7 +9,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks+layoutstyle', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks+layoutstyle'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showspikes.py b/plotly/validators/layout/xaxis/_showspikes.py index 24a0a76fd37..e28c09c35c0 100644 --- a/plotly/validators/layout/xaxis/_showspikes.py +++ b/plotly/validators/layout/xaxis/_showspikes.py @@ -9,7 +9,7 @@ def __init__( super(ShowspikesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='modebar', - role='style', + edit_type=kwargs.pop('edit_type', 'modebar'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showticklabels.py b/plotly/validators/layout/xaxis/_showticklabels.py index 8c0bb706afd..ccf55f71145 100644 --- a/plotly/validators/layout/xaxis/_showticklabels.py +++ b/plotly/validators/layout/xaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showtickprefix.py b/plotly/validators/layout/xaxis/_showtickprefix.py index 6363040125c..4627b700b5d 100644 --- a/plotly/validators/layout/xaxis/_showtickprefix.py +++ b/plotly/validators/layout/xaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_showticksuffix.py b/plotly/validators/layout/xaxis/_showticksuffix.py index 4c157dad901..2da5870d170 100644 --- a/plotly/validators/layout/xaxis/_showticksuffix.py +++ b/plotly/validators/layout/xaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_side.py b/plotly/validators/layout/xaxis/_side.py index c969e384ddd..221fa2b6994 100644 --- a/plotly/validators/layout/xaxis/_side.py +++ b/plotly/validators/layout/xaxis/_side.py @@ -9,8 +9,8 @@ def __init__( super(SideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['top', 'bottom', 'left', 'right'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['top', 'bottom', 'left', 'right']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_spikecolor.py b/plotly/validators/layout/xaxis/_spikecolor.py index 5e7cdfd17c4..19e30b3507c 100644 --- a/plotly/validators/layout/xaxis/_spikecolor.py +++ b/plotly/validators/layout/xaxis/_spikecolor.py @@ -9,7 +9,7 @@ def __init__( super(SpikecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_spikedash.py b/plotly/validators/layout/xaxis/_spikedash.py index 076606299a4..edf376b4095 100644 --- a/plotly/validators/layout/xaxis/_spikedash.py +++ b/plotly/validators/layout/xaxis/_spikedash.py @@ -9,10 +9,11 @@ def __init__( super(SpikedashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_spikemode.py b/plotly/validators/layout/xaxis/_spikemode.py index d520d78d548..637bbec5653 100644 --- a/plotly/validators/layout/xaxis/_spikemode.py +++ b/plotly/validators/layout/xaxis/_spikemode.py @@ -9,8 +9,8 @@ def __init__( super(SpikemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - flags=['toaxis', 'across', 'marker'], - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + flags=kwargs.pop('flags', ['toaxis', 'across', 'marker']), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_spikesnap.py b/plotly/validators/layout/xaxis/_spikesnap.py index 81a84da1bf7..d26db99376b 100644 --- a/plotly/validators/layout/xaxis/_spikesnap.py +++ b/plotly/validators/layout/xaxis/_spikesnap.py @@ -9,8 +9,8 @@ def __init__( super(SpikesnapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', - values=['data', 'cursor'], + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['data', 'cursor']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_spikethickness.py b/plotly/validators/layout/xaxis/_spikethickness.py index e6a15c442bf..1c4e907a263 100644 --- a/plotly/validators/layout/xaxis/_spikethickness.py +++ b/plotly/validators/layout/xaxis/_spikethickness.py @@ -12,7 +12,7 @@ def __init__( super(SpikethicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tick0.py b/plotly/validators/layout/xaxis/_tick0.py index aab819e9088..7c9918cec64 100644 --- a/plotly/validators/layout/xaxis/_tick0.py +++ b/plotly/validators/layout/xaxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickangle.py b/plotly/validators/layout/xaxis/_tickangle.py index 7aa6283a801..35cbb0f9cf5 100644 --- a/plotly/validators/layout/xaxis/_tickangle.py +++ b/plotly/validators/layout/xaxis/_tickangle.py @@ -9,7 +9,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickcolor.py b/plotly/validators/layout/xaxis/_tickcolor.py index 621bbb11578..cbd50e78704 100644 --- a/plotly/validators/layout/xaxis/_tickcolor.py +++ b/plotly/validators/layout/xaxis/_tickcolor.py @@ -9,7 +9,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickfont.py b/plotly/validators/layout/xaxis/_tickfont.py index bd5ae5bbfb5..e5fe89527df 100644 --- a/plotly/validators/layout/xaxis/_tickfont.py +++ b/plotly/validators/layout/xaxis/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickformat.py b/plotly/validators/layout/xaxis/_tickformat.py index 40b91dd0baf..f3d8cb6f80e 100644 --- a/plotly/validators/layout/xaxis/_tickformat.py +++ b/plotly/validators/layout/xaxis/_tickformat.py @@ -9,7 +9,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickformatstops.py b/plotly/validators/layout/xaxis/_tickformatstops.py index 3e834932a5a..13a12bfbc83 100644 --- a/plotly/validators/layout/xaxis/_tickformatstops.py +++ b/plotly/validators/layout/xaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_ticklen.py b/plotly/validators/layout/xaxis/_ticklen.py index eaf4ee5aef8..8484185539b 100644 --- a/plotly/validators/layout/xaxis/_ticklen.py +++ b/plotly/validators/layout/xaxis/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickmode.py b/plotly/validators/layout/xaxis/_tickmode.py index 10e669acdd9..22e45044e75 100644 --- a/plotly/validators/layout/xaxis/_tickmode.py +++ b/plotly/validators/layout/xaxis/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'ticks'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickprefix.py b/plotly/validators/layout/xaxis/_tickprefix.py index d256920cae4..9e95f47c598 100644 --- a/plotly/validators/layout/xaxis/_tickprefix.py +++ b/plotly/validators/layout/xaxis/_tickprefix.py @@ -9,7 +9,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_ticks.py b/plotly/validators/layout/xaxis/_ticks.py index b29c452a8d1..09343bb01e0 100644 --- a/plotly/validators/layout/xaxis/_ticks.py +++ b/plotly/validators/layout/xaxis/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_ticksuffix.py b/plotly/validators/layout/xaxis/_ticksuffix.py index c99f6a93a2a..611056ed46c 100644 --- a/plotly/validators/layout/xaxis/_ticksuffix.py +++ b/plotly/validators/layout/xaxis/_ticksuffix.py @@ -9,7 +9,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_ticktext.py b/plotly/validators/layout/xaxis/_ticktext.py index 7b4cda12ac2..2930380f0c6 100644 --- a/plotly/validators/layout/xaxis/_ticktext.py +++ b/plotly/validators/layout/xaxis/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='data', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_ticktextsrc.py b/plotly/validators/layout/xaxis/_ticktextsrc.py index fea46d0df32..6b0ebacc0c5 100644 --- a/plotly/validators/layout/xaxis/_ticktextsrc.py +++ b/plotly/validators/layout/xaxis/_ticktextsrc.py @@ -9,7 +9,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickvals.py b/plotly/validators/layout/xaxis/_tickvals.py index f3bf2d3e02d..3a6adfbb005 100644 --- a/plotly/validators/layout/xaxis/_tickvals.py +++ b/plotly/validators/layout/xaxis/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='data', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickvalssrc.py b/plotly/validators/layout/xaxis/_tickvalssrc.py index 8b38359f008..3b45ab43c87 100644 --- a/plotly/validators/layout/xaxis/_tickvalssrc.py +++ b/plotly/validators/layout/xaxis/_tickvalssrc.py @@ -9,7 +9,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_tickwidth.py b/plotly/validators/layout/xaxis/_tickwidth.py index 5f171b1ecf1..8b0d68c6dda 100644 --- a/plotly/validators/layout/xaxis/_tickwidth.py +++ b/plotly/validators/layout/xaxis/_tickwidth.py @@ -9,8 +9,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_title.py b/plotly/validators/layout/xaxis/_title.py index 0ddf29109b3..6ec1a8aea35 100644 --- a/plotly/validators/layout/xaxis/_title.py +++ b/plotly/validators/layout/xaxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='info', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_titlefont.py b/plotly/validators/layout/xaxis/_titlefont.py index 86e66a3e6f8..0631280751c 100644 --- a/plotly/validators/layout/xaxis/_titlefont.py +++ b/plotly/validators/layout/xaxis/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_type.py b/plotly/validators/layout/xaxis/_type.py index e2be543d56b..1712dd33adb 100644 --- a/plotly/validators/layout/xaxis/_type.py +++ b/plotly/validators/layout/xaxis/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['-', 'linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['-', 'linear', 'log', 'date', 'category'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_visible.py b/plotly/validators/layout/xaxis/_visible.py index e8da310c79e..e4e1b09ef83 100644 --- a/plotly/validators/layout/xaxis/_visible.py +++ b/plotly/validators/layout/xaxis/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_zeroline.py b/plotly/validators/layout/xaxis/_zeroline.py index 72021b77c3d..c5a6f4f5bb0 100644 --- a/plotly/validators/layout/xaxis/_zeroline.py +++ b/plotly/validators/layout/xaxis/_zeroline.py @@ -9,7 +9,7 @@ def __init__( super(ZerolineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_zerolinecolor.py b/plotly/validators/layout/xaxis/_zerolinecolor.py index 52af9a239ac..ad2cf1a2987 100644 --- a/plotly/validators/layout/xaxis/_zerolinecolor.py +++ b/plotly/validators/layout/xaxis/_zerolinecolor.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/_zerolinewidth.py b/plotly/validators/layout/xaxis/_zerolinewidth.py index 79711a48ba5..7e7d554b842 100644 --- a/plotly/validators/layout/xaxis/_zerolinewidth.py +++ b/plotly/validators/layout/xaxis/_zerolinewidth.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_activecolor.py b/plotly/validators/layout/xaxis/rangeselector/_activecolor.py index 5a64c525b0b..33539d1efb9 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_activecolor.py +++ b/plotly/validators/layout/xaxis/rangeselector/_activecolor.py @@ -12,7 +12,7 @@ def __init__( super(ActivecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_bgcolor.py b/plotly/validators/layout/xaxis/rangeselector/_bgcolor.py index 3ac9e6adf47..52c034256d8 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_bgcolor.py +++ b/plotly/validators/layout/xaxis/rangeselector/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_bordercolor.py b/plotly/validators/layout/xaxis/rangeselector/_bordercolor.py index 34ab202d442..4523360222d 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_bordercolor.py +++ b/plotly/validators/layout/xaxis/rangeselector/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_borderwidth.py b/plotly/validators/layout/xaxis/rangeselector/_borderwidth.py index b9576f12ede..000d6991a0d 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_borderwidth.py +++ b/plotly/validators/layout/xaxis/rangeselector/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_buttons.py b/plotly/validators/layout/xaxis/rangeselector/_buttons.py index 79ac1ee53fb..d6514371363 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_buttons.py +++ b/plotly/validators/layout/xaxis/rangeselector/_buttons.py @@ -12,8 +12,9 @@ def __init__( super(ButtonsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Button', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Button'), + data_docs=kwargs.pop( + 'data_docs', """ count Sets the number of steps to take to update the range. Use with `step` to specify the update @@ -59,6 +60,7 @@ def __init__( visible Determines whether or not this button is visible. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_font.py b/plotly/validators/layout/xaxis/rangeselector/_font.py index b8b2a5d55d5..c8ed59fa886 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_font.py +++ b/plotly/validators/layout/xaxis/rangeselector/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_visible.py b/plotly/validators/layout/xaxis/rangeselector/_visible.py index c41edd03623..960ce77f710 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_visible.py +++ b/plotly/validators/layout/xaxis/rangeselector/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_x.py b/plotly/validators/layout/xaxis/rangeselector/_x.py index 3a3878b90b3..0155d359cec 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_x.py +++ b/plotly/validators/layout/xaxis/rangeselector/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_xanchor.py b/plotly/validators/layout/xaxis/rangeselector/_xanchor.py index a67aebbe2c9..de4ea004def 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_xanchor.py +++ b/plotly/validators/layout/xaxis/rangeselector/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['auto', 'left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_y.py b/plotly/validators/layout/xaxis/rangeselector/_y.py index b5dd6879e7c..d039a638995 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_y.py +++ b/plotly/validators/layout/xaxis/rangeselector/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/_yanchor.py b/plotly/validators/layout/xaxis/rangeselector/_yanchor.py index 9b5f188a5fb..3a75cca91c1 100644 --- a/plotly/validators/layout/xaxis/rangeselector/_yanchor.py +++ b/plotly/validators/layout/xaxis/rangeselector/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['auto', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_count.py b/plotly/validators/layout/xaxis/rangeselector/button/_count.py index 5e513293c02..542f73d91ef 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_count.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_count.py @@ -12,8 +12,8 @@ def __init__( super(CountValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_label.py b/plotly/validators/layout/xaxis/rangeselector/button/_label.py index 660ec719cbb..4c3d04f2ad2 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_label.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_label.py @@ -12,7 +12,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_name.py b/plotly/validators/layout/xaxis/rangeselector/button/_name.py index c604b33ff40..820a8ba0c1f 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_name.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_step.py b/plotly/validators/layout/xaxis/rangeselector/button/_step.py index 6ceb3d438e6..27345e9d2a1 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_step.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_step.py @@ -12,8 +12,11 @@ def __init__( super(StepValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['month', 'year', 'day', 'hour', 'minute', 'second', 'all'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', + ['month', 'year', 'day', 'hour', 'minute', 'second', 'all'] + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_stepmode.py b/plotly/validators/layout/xaxis/rangeselector/button/_stepmode.py index 64cc451271f..abfb8196723 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_stepmode.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_stepmode.py @@ -12,8 +12,8 @@ def __init__( super(StepmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['backward', 'todate'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['backward', 'todate']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_templateitemname.py b/plotly/validators/layout/xaxis/rangeselector/button/_templateitemname.py index 4d7cb04cedb..49057acd78b 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_templateitemname.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/button/_visible.py b/plotly/validators/layout/xaxis/rangeselector/button/_visible.py index e210fb633b8..e1900a214c7 100644 --- a/plotly/validators/layout/xaxis/rangeselector/button/_visible.py +++ b/plotly/validators/layout/xaxis/rangeselector/button/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/font/_color.py b/plotly/validators/layout/xaxis/rangeselector/font/_color.py index 80034b026e7..1cccfa1696f 100644 --- a/plotly/validators/layout/xaxis/rangeselector/font/_color.py +++ b/plotly/validators/layout/xaxis/rangeselector/font/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/font/_family.py b/plotly/validators/layout/xaxis/rangeselector/font/_family.py index 92260ba6a7e..c13f2986536 100644 --- a/plotly/validators/layout/xaxis/rangeselector/font/_family.py +++ b/plotly/validators/layout/xaxis/rangeselector/font/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'plot'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeselector/font/_size.py b/plotly/validators/layout/xaxis/rangeselector/font/_size.py index fb0d1a805b1..679e7964cb3 100644 --- a/plotly/validators/layout/xaxis/rangeselector/font/_size.py +++ b/plotly/validators/layout/xaxis/rangeselector/font/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_autorange.py b/plotly/validators/layout/xaxis/rangeslider/_autorange.py index 13225205e66..38a9d78fee4 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_autorange.py +++ b/plotly/validators/layout/xaxis/rangeslider/_autorange.py @@ -12,8 +12,8 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_bgcolor.py b/plotly/validators/layout/xaxis/rangeslider/_bgcolor.py index 15ddbbfe078..e339c05a2e2 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_bgcolor.py +++ b/plotly/validators/layout/xaxis/rangeslider/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_bordercolor.py b/plotly/validators/layout/xaxis/rangeslider/_bordercolor.py index 54c27f9bbec..9fb8a25aedc 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_bordercolor.py +++ b/plotly/validators/layout/xaxis/rangeslider/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_borderwidth.py b/plotly/validators/layout/xaxis/rangeslider/_borderwidth.py index 1b7f1ae61d2..0f9f42dfffe 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_borderwidth.py +++ b/plotly/validators/layout/xaxis/rangeslider/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_range.py b/plotly/validators/layout/xaxis/rangeslider/_range.py index c5ab15441c9..017288276af 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_range.py +++ b/plotly/validators/layout/xaxis/rangeslider/_range.py @@ -12,23 +12,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'calc', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'calc', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'calc', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_thickness.py b/plotly/validators/layout/xaxis/rangeslider/_thickness.py index f135c06b99d..ee59a3ff006 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_thickness.py +++ b/plotly/validators/layout/xaxis/rangeslider/_thickness.py @@ -12,9 +12,9 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_visible.py b/plotly/validators/layout/xaxis/rangeslider/_visible.py index e6ec6c6c775..4d1a6f04707 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_visible.py +++ b/plotly/validators/layout/xaxis/rangeslider/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/_yaxis.py b/plotly/validators/layout/xaxis/rangeslider/_yaxis.py index fe4de4ee8eb..0e5ea218264 100644 --- a/plotly/validators/layout/xaxis/rangeslider/_yaxis.py +++ b/plotly/validators/layout/xaxis/rangeslider/_yaxis.py @@ -12,8 +12,9 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='YAxis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'YAxis'), + data_docs=kwargs.pop( + 'data_docs', """ range Sets the range of this axis for the rangeslider. @@ -25,6 +26,7 @@ def __init__( the `range` is used. If "match", the current range of the corresponding y-axis on the main subplot is used. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/yaxis/_range.py b/plotly/validators/layout/xaxis/rangeslider/yaxis/_range.py index 84003e27107..64b26b6947b 100644 --- a/plotly/validators/layout/xaxis/rangeslider/yaxis/_range.py +++ b/plotly/validators/layout/xaxis/rangeslider/yaxis/_range.py @@ -12,16 +12,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'any', - 'editType': 'plot' - }, { - 'valType': 'any', - 'editType': 'plot' - } - ], - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'plot' + }, { + 'valType': 'any', + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/rangeslider/yaxis/_rangemode.py b/plotly/validators/layout/xaxis/rangeslider/yaxis/_rangemode.py index 86956f31930..ec7ed15cdb7 100644 --- a/plotly/validators/layout/xaxis/rangeslider/yaxis/_rangemode.py +++ b/plotly/validators/layout/xaxis/rangeslider/yaxis/_rangemode.py @@ -12,8 +12,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['auto', 'fixed', 'match'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['auto', 'fixed', 'match']), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickfont/_color.py b/plotly/validators/layout/xaxis/tickfont/_color.py index 5832b64fbc9..9fd0e041dbf 100644 --- a/plotly/validators/layout/xaxis/tickfont/_color.py +++ b/plotly/validators/layout/xaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickfont/_family.py b/plotly/validators/layout/xaxis/tickfont/_family.py index b3d507ec819..116a0b7fb67 100644 --- a/plotly/validators/layout/xaxis/tickfont/_family.py +++ b/plotly/validators/layout/xaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'ticks'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickfont/_size.py b/plotly/validators/layout/xaxis/tickfont/_size.py index c2675b3a0f2..5d216103be3 100644 --- a/plotly/validators/layout/xaxis/tickfont/_size.py +++ b/plotly/validators/layout/xaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/xaxis/tickformatstop/_dtickrange.py index 0cc69d2c17b..bdf414d092a 100644 --- a/plotly/validators/layout/xaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/xaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - items=[ - { - 'valType': 'any', - 'editType': 'ticks' - }, { - 'valType': 'any', - 'editType': 'ticks' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'ticks'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'ticks' + }, { + 'valType': 'any', + 'editType': 'ticks' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickformatstop/_enabled.py b/plotly/validators/layout/xaxis/tickformatstop/_enabled.py index 2bb55c7d573..fbbd33d072b 100644 --- a/plotly/validators/layout/xaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/xaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='info', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickformatstop/_name.py b/plotly/validators/layout/xaxis/tickformatstop/_name.py index e877a911736..162361ff60f 100644 --- a/plotly/validators/layout/xaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/xaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/xaxis/tickformatstop/_templateitemname.py index 4c94a5ceac6..5b8b7d557df 100644 --- a/plotly/validators/layout/xaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/xaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/tickformatstop/_value.py b/plotly/validators/layout/xaxis/tickformatstop/_value.py index 32d058e0556..93338a3cf32 100644 --- a/plotly/validators/layout/xaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/xaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/titlefont/_color.py b/plotly/validators/layout/xaxis/titlefont/_color.py index de945cfe8b3..c3caae6925b 100644 --- a/plotly/validators/layout/xaxis/titlefont/_color.py +++ b/plotly/validators/layout/xaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/xaxis/titlefont/_family.py b/plotly/validators/layout/xaxis/titlefont/_family.py index 2e5022177a1..94eff82f2dd 100644 --- a/plotly/validators/layout/xaxis/titlefont/_family.py +++ b/plotly/validators/layout/xaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'ticks'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/xaxis/titlefont/_size.py b/plotly/validators/layout/xaxis/titlefont/_size.py index a0f8b1c995b..38bda5d0c13 100644 --- a/plotly/validators/layout/xaxis/titlefont/_size.py +++ b/plotly/validators/layout/xaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_anchor.py b/plotly/validators/layout/yaxis/_anchor.py index 4d2833ced98..ebcb7537f7d 100644 --- a/plotly/validators/layout/yaxis/_anchor.py +++ b/plotly/validators/layout/yaxis/_anchor.py @@ -9,11 +9,13 @@ def __init__( super(AnchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'free', '/^x([2-9]|[1-9][0-9]+)?$/', - '/^y([2-9]|[1-9][0-9]+)?$/' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'free', '/^x([2-9]|[1-9][0-9]+)?$/', + '/^y([2-9]|[1-9][0-9]+)?$/' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_automargin.py b/plotly/validators/layout/yaxis/_automargin.py index 71a8efcd999..e42d40fb124 100644 --- a/plotly/validators/layout/yaxis/_automargin.py +++ b/plotly/validators/layout/yaxis/_automargin.py @@ -9,7 +9,7 @@ def __init__( super(AutomarginValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_autorange.py b/plotly/validators/layout/yaxis/_autorange.py index 93ebbb84c27..a122f0401ac 100644 --- a/plotly/validators/layout/yaxis/_autorange.py +++ b/plotly/validators/layout/yaxis/_autorange.py @@ -9,9 +9,9 @@ def __init__( super(AutorangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='axrange', - implied_edits={}, - role='info', - values=[True, False, 'reversed'], + edit_type=kwargs.pop('edit_type', 'axrange'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'reversed']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_calendar.py b/plotly/validators/layout/yaxis/_calendar.py index 7bdf8555722..25d5a176ba9 100644 --- a/plotly/validators/layout/yaxis/_calendar.py +++ b/plotly/validators/layout/yaxis/_calendar.py @@ -9,12 +9,15 @@ def __init__( super(CalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_categoryarray.py b/plotly/validators/layout/yaxis/_categoryarray.py index 584af9ed783..0faf80f512a 100644 --- a/plotly/validators/layout/yaxis/_categoryarray.py +++ b/plotly/validators/layout/yaxis/_categoryarray.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_categoryarraysrc.py b/plotly/validators/layout/yaxis/_categoryarraysrc.py index 6c755ae0e20..29c030467b3 100644 --- a/plotly/validators/layout/yaxis/_categoryarraysrc.py +++ b/plotly/validators/layout/yaxis/_categoryarraysrc.py @@ -12,7 +12,7 @@ def __init__( super(CategoryarraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_categoryorder.py b/plotly/validators/layout/yaxis/_categoryorder.py index 700973f4324..5394d1a3f9f 100644 --- a/plotly/validators/layout/yaxis/_categoryorder.py +++ b/plotly/validators/layout/yaxis/_categoryorder.py @@ -12,10 +12,13 @@ def __init__( super(CategoryorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'trace', 'category ascending', 'category descending', 'array' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'trace', 'category ascending', 'category descending', + 'array' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_color.py b/plotly/validators/layout/yaxis/_color.py index 809f4692ea8..7dcb9007b6c 100644 --- a/plotly/validators/layout/yaxis/_color.py +++ b/plotly/validators/layout/yaxis/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_constrain.py b/plotly/validators/layout/yaxis/_constrain.py index 0bb8dfc8332..2e87ae7ba5e 100644 --- a/plotly/validators/layout/yaxis/_constrain.py +++ b/plotly/validators/layout/yaxis/_constrain.py @@ -9,8 +9,8 @@ def __init__( super(ConstrainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['range', 'domain'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['range', 'domain']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_constraintoward.py b/plotly/validators/layout/yaxis/_constraintoward.py index 7b123526ffe..208f1e39162 100644 --- a/plotly/validators/layout/yaxis/_constraintoward.py +++ b/plotly/validators/layout/yaxis/_constraintoward.py @@ -14,8 +14,11 @@ def __init__( super(ConstraintowardValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['left', 'center', 'right', 'top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', + ['left', 'center', 'right', 'top', 'middle', 'bottom'] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_domain.py b/plotly/validators/layout/yaxis/_domain.py index bed4bdaaaf2..d643e400a24 100644 --- a/plotly/validators/layout/yaxis/_domain.py +++ b/plotly/validators/layout/yaxis/_domain.py @@ -9,20 +9,22 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'plot' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'plot' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_dtick.py b/plotly/validators/layout/yaxis/_dtick.py index 3bccdb37c39..418e2cccdf2 100644 --- a/plotly/validators/layout/yaxis/_dtick.py +++ b/plotly/validators/layout/yaxis/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_exponentformat.py b/plotly/validators/layout/yaxis/_exponentformat.py index 7e626c4037e..7a7d04507b9 100644 --- a/plotly/validators/layout/yaxis/_exponentformat.py +++ b/plotly/validators/layout/yaxis/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_fixedrange.py b/plotly/validators/layout/yaxis/_fixedrange.py index 2c10b146dcd..f0a67d59361 100644 --- a/plotly/validators/layout/yaxis/_fixedrange.py +++ b/plotly/validators/layout/yaxis/_fixedrange.py @@ -9,7 +9,7 @@ def __init__( super(FixedrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_gridcolor.py b/plotly/validators/layout/yaxis/_gridcolor.py index 95e1987c620..6c20c35c674 100644 --- a/plotly/validators/layout/yaxis/_gridcolor.py +++ b/plotly/validators/layout/yaxis/_gridcolor.py @@ -9,7 +9,7 @@ def __init__( super(GridcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_gridwidth.py b/plotly/validators/layout/yaxis/_gridwidth.py index ba1b6fc95d4..b536b7beaa5 100644 --- a/plotly/validators/layout/yaxis/_gridwidth.py +++ b/plotly/validators/layout/yaxis/_gridwidth.py @@ -9,8 +9,8 @@ def __init__( super(GridwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_hoverformat.py b/plotly/validators/layout/yaxis/_hoverformat.py index 59859139cf5..ba5e069d5f7 100644 --- a/plotly/validators/layout/yaxis/_hoverformat.py +++ b/plotly/validators/layout/yaxis/_hoverformat.py @@ -9,7 +9,7 @@ def __init__( super(HoverformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_layer.py b/plotly/validators/layout/yaxis/_layer.py index e5c972732a9..320fe3c8f3d 100644 --- a/plotly/validators/layout/yaxis/_layer.py +++ b/plotly/validators/layout/yaxis/_layer.py @@ -9,8 +9,8 @@ def __init__( super(LayerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['above traces', 'below traces'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['above traces', 'below traces']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_linecolor.py b/plotly/validators/layout/yaxis/_linecolor.py index 2a7542aff9c..873f24fb371 100644 --- a/plotly/validators/layout/yaxis/_linecolor.py +++ b/plotly/validators/layout/yaxis/_linecolor.py @@ -9,7 +9,7 @@ def __init__( super(LinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='layoutstyle', - role='style', + edit_type=kwargs.pop('edit_type', 'layoutstyle'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_linewidth.py b/plotly/validators/layout/yaxis/_linewidth.py index 066f978738d..8ecc110ada3 100644 --- a/plotly/validators/layout/yaxis/_linewidth.py +++ b/plotly/validators/layout/yaxis/_linewidth.py @@ -9,8 +9,8 @@ def __init__( super(LinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks+layoutstyle', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks+layoutstyle'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_mirror.py b/plotly/validators/layout/yaxis/_mirror.py index a03956fbca9..66687db81b7 100644 --- a/plotly/validators/layout/yaxis/_mirror.py +++ b/plotly/validators/layout/yaxis/_mirror.py @@ -9,8 +9,10 @@ def __init__( super(MirrorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks+layoutstyle', - role='style', - values=[True, 'ticks', False, 'all', 'allticks'], + edit_type=kwargs.pop('edit_type', 'ticks+layoutstyle'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [True, 'ticks', False, 'all', 'allticks'] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_nticks.py b/plotly/validators/layout/yaxis/_nticks.py index 46fc8dad07e..2e728882710 100644 --- a/plotly/validators/layout/yaxis/_nticks.py +++ b/plotly/validators/layout/yaxis/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_overlaying.py b/plotly/validators/layout/yaxis/_overlaying.py index fa09cf1a458..7f75ae847ab 100644 --- a/plotly/validators/layout/yaxis/_overlaying.py +++ b/plotly/validators/layout/yaxis/_overlaying.py @@ -9,11 +9,13 @@ def __init__( super(OverlayingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=[ - 'free', '/^x([2-9]|[1-9][0-9]+)?$/', - '/^y([2-9]|[1-9][0-9]+)?$/' - ], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'free', '/^x([2-9]|[1-9][0-9]+)?$/', + '/^y([2-9]|[1-9][0-9]+)?$/' + ] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_position.py b/plotly/validators/layout/yaxis/_position.py index 9b3329bd359..274f844b9a6 100644 --- a/plotly/validators/layout/yaxis/_position.py +++ b/plotly/validators/layout/yaxis/_position.py @@ -9,9 +9,9 @@ def __init__( super(PositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_range.py b/plotly/validators/layout/yaxis/_range.py index babd69daf91..96d97e16d68 100644 --- a/plotly/validators/layout/yaxis/_range.py +++ b/plotly/validators/layout/yaxis/_range.py @@ -9,23 +9,25 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='axrange', - implied_edits={'autorange': False}, - items=[ - { - 'valType': 'any', - 'editType': 'axrange', - 'impliedEdits': { - '^autorange': False + edit_type=kwargs.pop('edit_type', 'axrange'), + implied_edits=kwargs.pop('implied_edits', {'autorange': False}), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'axrange', + 'impliedEdits': { + '^autorange': False + } + }, { + 'valType': 'any', + 'editType': 'axrange', + 'impliedEdits': { + '^autorange': False + } } - }, { - 'valType': 'any', - 'editType': 'axrange', - 'impliedEdits': { - '^autorange': False - } - } - ], - role='info', + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_rangemode.py b/plotly/validators/layout/yaxis/_rangemode.py index 9657575518b..0d5c8898286 100644 --- a/plotly/validators/layout/yaxis/_rangemode.py +++ b/plotly/validators/layout/yaxis/_rangemode.py @@ -9,8 +9,8 @@ def __init__( super(RangemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['normal', 'tozero', 'nonnegative'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['normal', 'tozero', 'nonnegative']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_scaleanchor.py b/plotly/validators/layout/yaxis/_scaleanchor.py index 627de4a88b0..ff32e70cfed 100644 --- a/plotly/validators/layout/yaxis/_scaleanchor.py +++ b/plotly/validators/layout/yaxis/_scaleanchor.py @@ -9,8 +9,11 @@ def __init__( super(ScaleanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['/^x([2-9]|[1-9][0-9]+)?$/', '/^y([2-9]|[1-9][0-9]+)?$/'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', + ['/^x([2-9]|[1-9][0-9]+)?$/', '/^y([2-9]|[1-9][0-9]+)?$/'] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_scaleratio.py b/plotly/validators/layout/yaxis/_scaleratio.py index bfcb7a1c460..8ed9895e8a4 100644 --- a/plotly/validators/layout/yaxis/_scaleratio.py +++ b/plotly/validators/layout/yaxis/_scaleratio.py @@ -9,8 +9,8 @@ def __init__( super(ScaleratioValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_separatethousands.py b/plotly/validators/layout/yaxis/_separatethousands.py index 251fa922d8e..699a65bfd6d 100644 --- a/plotly/validators/layout/yaxis/_separatethousands.py +++ b/plotly/validators/layout/yaxis/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showexponent.py b/plotly/validators/layout/yaxis/_showexponent.py index d3509c1362d..290bdbdd0cc 100644 --- a/plotly/validators/layout/yaxis/_showexponent.py +++ b/plotly/validators/layout/yaxis/_showexponent.py @@ -9,8 +9,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showgrid.py b/plotly/validators/layout/yaxis/_showgrid.py index 78acc0c96c2..914ffec768e 100644 --- a/plotly/validators/layout/yaxis/_showgrid.py +++ b/plotly/validators/layout/yaxis/_showgrid.py @@ -9,7 +9,7 @@ def __init__( super(ShowgridValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showline.py b/plotly/validators/layout/yaxis/_showline.py index 1eda18c4f81..c075ace665e 100644 --- a/plotly/validators/layout/yaxis/_showline.py +++ b/plotly/validators/layout/yaxis/_showline.py @@ -9,7 +9,7 @@ def __init__( super(ShowlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks+layoutstyle', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks+layoutstyle'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showspikes.py b/plotly/validators/layout/yaxis/_showspikes.py index d7bfb944499..eaf5bfb8457 100644 --- a/plotly/validators/layout/yaxis/_showspikes.py +++ b/plotly/validators/layout/yaxis/_showspikes.py @@ -9,7 +9,7 @@ def __init__( super(ShowspikesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='modebar', - role='style', + edit_type=kwargs.pop('edit_type', 'modebar'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showticklabels.py b/plotly/validators/layout/yaxis/_showticklabels.py index 63e72bd3527..435423a5d27 100644 --- a/plotly/validators/layout/yaxis/_showticklabels.py +++ b/plotly/validators/layout/yaxis/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showtickprefix.py b/plotly/validators/layout/yaxis/_showtickprefix.py index 6dcc22d1d04..c72e64168b2 100644 --- a/plotly/validators/layout/yaxis/_showtickprefix.py +++ b/plotly/validators/layout/yaxis/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_showticksuffix.py b/plotly/validators/layout/yaxis/_showticksuffix.py index 2257e59fa04..6f5fd56c784 100644 --- a/plotly/validators/layout/yaxis/_showticksuffix.py +++ b/plotly/validators/layout/yaxis/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_side.py b/plotly/validators/layout/yaxis/_side.py index 88f1601ce72..18085bd34aa 100644 --- a/plotly/validators/layout/yaxis/_side.py +++ b/plotly/validators/layout/yaxis/_side.py @@ -9,8 +9,8 @@ def __init__( super(SideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['top', 'bottom', 'left', 'right'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['top', 'bottom', 'left', 'right']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_spikecolor.py b/plotly/validators/layout/yaxis/_spikecolor.py index bc0d1612c17..79a16f8e817 100644 --- a/plotly/validators/layout/yaxis/_spikecolor.py +++ b/plotly/validators/layout/yaxis/_spikecolor.py @@ -9,7 +9,7 @@ def __init__( super(SpikecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_spikedash.py b/plotly/validators/layout/yaxis/_spikedash.py index 2915b562656..60731a4061c 100644 --- a/plotly/validators/layout/yaxis/_spikedash.py +++ b/plotly/validators/layout/yaxis/_spikedash.py @@ -9,10 +9,11 @@ def __init__( super(SpikedashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_spikemode.py b/plotly/validators/layout/yaxis/_spikemode.py index dab0b51e5b1..aff142db923 100644 --- a/plotly/validators/layout/yaxis/_spikemode.py +++ b/plotly/validators/layout/yaxis/_spikemode.py @@ -9,8 +9,8 @@ def __init__( super(SpikemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - flags=['toaxis', 'across', 'marker'], - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + flags=kwargs.pop('flags', ['toaxis', 'across', 'marker']), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_spikesnap.py b/plotly/validators/layout/yaxis/_spikesnap.py index ce684bfaae4..db5665e531d 100644 --- a/plotly/validators/layout/yaxis/_spikesnap.py +++ b/plotly/validators/layout/yaxis/_spikesnap.py @@ -9,8 +9,8 @@ def __init__( super(SpikesnapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', - values=['data', 'cursor'], + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['data', 'cursor']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_spikethickness.py b/plotly/validators/layout/yaxis/_spikethickness.py index 0a91af77ee8..6ed7e707d33 100644 --- a/plotly/validators/layout/yaxis/_spikethickness.py +++ b/plotly/validators/layout/yaxis/_spikethickness.py @@ -12,7 +12,7 @@ def __init__( super(SpikethicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tick0.py b/plotly/validators/layout/yaxis/_tick0.py index 644b397b57f..63b5776b252 100644 --- a/plotly/validators/layout/yaxis/_tick0.py +++ b/plotly/validators/layout/yaxis/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickangle.py b/plotly/validators/layout/yaxis/_tickangle.py index 09f056d60cb..2c14d39ba8c 100644 --- a/plotly/validators/layout/yaxis/_tickangle.py +++ b/plotly/validators/layout/yaxis/_tickangle.py @@ -9,7 +9,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickcolor.py b/plotly/validators/layout/yaxis/_tickcolor.py index a874e713134..6affd9d1cb0 100644 --- a/plotly/validators/layout/yaxis/_tickcolor.py +++ b/plotly/validators/layout/yaxis/_tickcolor.py @@ -9,7 +9,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickfont.py b/plotly/validators/layout/yaxis/_tickfont.py index 64a2f54f1a3..96df07b396f 100644 --- a/plotly/validators/layout/yaxis/_tickfont.py +++ b/plotly/validators/layout/yaxis/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickformat.py b/plotly/validators/layout/yaxis/_tickformat.py index d13037552cb..471401e53ab 100644 --- a/plotly/validators/layout/yaxis/_tickformat.py +++ b/plotly/validators/layout/yaxis/_tickformat.py @@ -9,7 +9,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickformatstops.py b/plotly/validators/layout/yaxis/_tickformatstops.py index ba4e18451bb..09f293a2707 100644 --- a/plotly/validators/layout/yaxis/_tickformatstops.py +++ b/plotly/validators/layout/yaxis/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_ticklen.py b/plotly/validators/layout/yaxis/_ticklen.py index efc5770290f..b9a0648e5b4 100644 --- a/plotly/validators/layout/yaxis/_ticklen.py +++ b/plotly/validators/layout/yaxis/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickmode.py b/plotly/validators/layout/yaxis/_tickmode.py index d8a492a05aa..0696f24c659 100644 --- a/plotly/validators/layout/yaxis/_tickmode.py +++ b/plotly/validators/layout/yaxis/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'ticks'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickprefix.py b/plotly/validators/layout/yaxis/_tickprefix.py index 005cc19de93..5076767a1bf 100644 --- a/plotly/validators/layout/yaxis/_tickprefix.py +++ b/plotly/validators/layout/yaxis/_tickprefix.py @@ -9,7 +9,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_ticks.py b/plotly/validators/layout/yaxis/_ticks.py index 96d762d0c91..b2d4075dd1f 100644 --- a/plotly/validators/layout/yaxis/_ticks.py +++ b/plotly/validators/layout/yaxis/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_ticksuffix.py b/plotly/validators/layout/yaxis/_ticksuffix.py index 45f0ef6a8b4..eb129628c67 100644 --- a/plotly/validators/layout/yaxis/_ticksuffix.py +++ b/plotly/validators/layout/yaxis/_ticksuffix.py @@ -9,7 +9,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_ticktext.py b/plotly/validators/layout/yaxis/_ticktext.py index c9d8eeea328..b7de2b2881b 100644 --- a/plotly/validators/layout/yaxis/_ticktext.py +++ b/plotly/validators/layout/yaxis/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='data', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_ticktextsrc.py b/plotly/validators/layout/yaxis/_ticktextsrc.py index 394389e1b29..5e71a469211 100644 --- a/plotly/validators/layout/yaxis/_ticktextsrc.py +++ b/plotly/validators/layout/yaxis/_ticktextsrc.py @@ -9,7 +9,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickvals.py b/plotly/validators/layout/yaxis/_tickvals.py index 412efba3bce..7a757f849a7 100644 --- a/plotly/validators/layout/yaxis/_tickvals.py +++ b/plotly/validators/layout/yaxis/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='data', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickvalssrc.py b/plotly/validators/layout/yaxis/_tickvalssrc.py index 3bce10d8cdf..6482600b42c 100644 --- a/plotly/validators/layout/yaxis/_tickvalssrc.py +++ b/plotly/validators/layout/yaxis/_tickvalssrc.py @@ -9,7 +9,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_tickwidth.py b/plotly/validators/layout/yaxis/_tickwidth.py index 21956ac2717..64ea4f65704 100644 --- a/plotly/validators/layout/yaxis/_tickwidth.py +++ b/plotly/validators/layout/yaxis/_tickwidth.py @@ -9,8 +9,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_title.py b/plotly/validators/layout/yaxis/_title.py index 08ceebe849c..e72d70676d1 100644 --- a/plotly/validators/layout/yaxis/_title.py +++ b/plotly/validators/layout/yaxis/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='info', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_titlefont.py b/plotly/validators/layout/yaxis/_titlefont.py index 16dc441f02e..02727e7431a 100644 --- a/plotly/validators/layout/yaxis/_titlefont.py +++ b/plotly/validators/layout/yaxis/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_type.py b/plotly/validators/layout/yaxis/_type.py index 042502b17f3..5da4a4e5503 100644 --- a/plotly/validators/layout/yaxis/_type.py +++ b/plotly/validators/layout/yaxis/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['-', 'linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['-', 'linear', 'log', 'date', 'category'] + ), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_visible.py b/plotly/validators/layout/yaxis/_visible.py index 2d2394384d8..be1017f748a 100644 --- a/plotly/validators/layout/yaxis/_visible.py +++ b/plotly/validators/layout/yaxis/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_zeroline.py b/plotly/validators/layout/yaxis/_zeroline.py index 94f420c43de..473271df8c4 100644 --- a/plotly/validators/layout/yaxis/_zeroline.py +++ b/plotly/validators/layout/yaxis/_zeroline.py @@ -9,7 +9,7 @@ def __init__( super(ZerolineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_zerolinecolor.py b/plotly/validators/layout/yaxis/_zerolinecolor.py index cc2cd1dd3cc..bc21378ad59 100644 --- a/plotly/validators/layout/yaxis/_zerolinecolor.py +++ b/plotly/validators/layout/yaxis/_zerolinecolor.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/_zerolinewidth.py b/plotly/validators/layout/yaxis/_zerolinewidth.py index 7317469197d..90c95a6d1e9 100644 --- a/plotly/validators/layout/yaxis/_zerolinewidth.py +++ b/plotly/validators/layout/yaxis/_zerolinewidth.py @@ -12,7 +12,7 @@ def __init__( super(ZerolinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickfont/_color.py b/plotly/validators/layout/yaxis/tickfont/_color.py index ed36d1af620..e8959c33077 100644 --- a/plotly/validators/layout/yaxis/tickfont/_color.py +++ b/plotly/validators/layout/yaxis/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickfont/_family.py b/plotly/validators/layout/yaxis/tickfont/_family.py index c1ddbd01e24..598adb1736d 100644 --- a/plotly/validators/layout/yaxis/tickfont/_family.py +++ b/plotly/validators/layout/yaxis/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'ticks'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickfont/_size.py b/plotly/validators/layout/yaxis/tickfont/_size.py index 9d3b2776b4b..b765e7dfcf2 100644 --- a/plotly/validators/layout/yaxis/tickfont/_size.py +++ b/plotly/validators/layout/yaxis/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickformatstop/_dtickrange.py b/plotly/validators/layout/yaxis/tickformatstop/_dtickrange.py index 16db8e164d7..29784e4305a 100644 --- a/plotly/validators/layout/yaxis/tickformatstop/_dtickrange.py +++ b/plotly/validators/layout/yaxis/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - items=[ - { - 'valType': 'any', - 'editType': 'ticks' - }, { - 'valType': 'any', - 'editType': 'ticks' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'ticks'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'ticks' + }, { + 'valType': 'any', + 'editType': 'ticks' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickformatstop/_enabled.py b/plotly/validators/layout/yaxis/tickformatstop/_enabled.py index 6a1cf9e44d8..44ee33c5b26 100644 --- a/plotly/validators/layout/yaxis/tickformatstop/_enabled.py +++ b/plotly/validators/layout/yaxis/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='info', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickformatstop/_name.py b/plotly/validators/layout/yaxis/tickformatstop/_name.py index 39dded3044f..d7b63848653 100644 --- a/plotly/validators/layout/yaxis/tickformatstop/_name.py +++ b/plotly/validators/layout/yaxis/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickformatstop/_templateitemname.py b/plotly/validators/layout/yaxis/tickformatstop/_templateitemname.py index 068f8db2410..8982de44e04 100644 --- a/plotly/validators/layout/yaxis/tickformatstop/_templateitemname.py +++ b/plotly/validators/layout/yaxis/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/tickformatstop/_value.py b/plotly/validators/layout/yaxis/tickformatstop/_value.py index d01355410db..6ff1a3a4768 100644 --- a/plotly/validators/layout/yaxis/tickformatstop/_value.py +++ b/plotly/validators/layout/yaxis/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/titlefont/_color.py b/plotly/validators/layout/yaxis/titlefont/_color.py index b483a8b09b6..b9f9a61a68e 100644 --- a/plotly/validators/layout/yaxis/titlefont/_color.py +++ b/plotly/validators/layout/yaxis/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/layout/yaxis/titlefont/_family.py b/plotly/validators/layout/yaxis/titlefont/_family.py index ca362904a15..b0431c390fb 100644 --- a/plotly/validators/layout/yaxis/titlefont/_family.py +++ b/plotly/validators/layout/yaxis/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'ticks'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/layout/yaxis/titlefont/_size.py b/plotly/validators/layout/yaxis/titlefont/_size.py index 57f950ea5b9..e25c269d063 100644 --- a/plotly/validators/layout/yaxis/titlefont/_size.py +++ b/plotly/validators/layout/yaxis/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='ticks', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'ticks'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_alphahull.py b/plotly/validators/mesh3d/_alphahull.py index dc491dd3c07..2246b1bb35f 100644 --- a/plotly/validators/mesh3d/_alphahull.py +++ b/plotly/validators/mesh3d/_alphahull.py @@ -9,7 +9,7 @@ def __init__( super(AlphahullValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_autocolorscale.py b/plotly/validators/mesh3d/_autocolorscale.py index f3d206e9168..a84f6c3bc5a 100644 --- a/plotly/validators/mesh3d/_autocolorscale.py +++ b/plotly/validators/mesh3d/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_cauto.py b/plotly/validators/mesh3d/_cauto.py index ac457ecffc5..577ab9b43de 100644 --- a/plotly/validators/mesh3d/_cauto.py +++ b/plotly/validators/mesh3d/_cauto.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cauto', parent_name='mesh3d', **kwargs): super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_cmax.py b/plotly/validators/mesh3d/_cmax.py index 551848429ec..be1475a8487 100644 --- a/plotly/validators/mesh3d/_cmax.py +++ b/plotly/validators/mesh3d/_cmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmax', parent_name='mesh3d', **kwargs): super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_cmin.py b/plotly/validators/mesh3d/_cmin.py index cb633e87d36..db499ab5a6e 100644 --- a/plotly/validators/mesh3d/_cmin.py +++ b/plotly/validators/mesh3d/_cmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmin', parent_name='mesh3d', **kwargs): super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_color.py b/plotly/validators/mesh3d/_color.py index af840f394ff..b5436051a75 100644 --- a/plotly/validators/mesh3d/_color.py +++ b/plotly/validators/mesh3d/_color.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='color', parent_name='mesh3d', **kwargs): super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - colorscale_path='mesh3d.colorscale', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop('colorscale_path', 'mesh3d.colorscale'), **kwargs ) diff --git a/plotly/validators/mesh3d/_colorbar.py b/plotly/validators/mesh3d/_colorbar.py index 05910ba604f..939d5923c34 100644 --- a/plotly/validators/mesh3d/_colorbar.py +++ b/plotly/validators/mesh3d/_colorbar.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='colorbar', parent_name='mesh3d', **kwargs): super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -203,6 +204,7 @@ def __init__(self, plotly_name='colorbar', parent_name='mesh3d', **kwargs): ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_colorscale.py b/plotly/validators/mesh3d/_colorscale.py index 4644b6de8b5..eb775815c9f 100644 --- a/plotly/validators/mesh3d/_colorscale.py +++ b/plotly/validators/mesh3d/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_contour.py b/plotly/validators/mesh3d/_contour.py index f147387bd5a..beb08921275 100644 --- a/plotly/validators/mesh3d/_contour.py +++ b/plotly/validators/mesh3d/_contour.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='contour', parent_name='mesh3d', **kwargs): super(ContourValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contour', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contour'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour lines. show @@ -16,6 +17,7 @@ def __init__(self, plotly_name='contour', parent_name='mesh3d', **kwargs): on hover width Sets the width of the contour lines. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_customdata.py b/plotly/validators/mesh3d/_customdata.py index 8f6364b141a..22deeb617f0 100644 --- a/plotly/validators/mesh3d/_customdata.py +++ b/plotly/validators/mesh3d/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_customdatasrc.py b/plotly/validators/mesh3d/_customdatasrc.py index ad22066771b..e803c484ee2 100644 --- a/plotly/validators/mesh3d/_customdatasrc.py +++ b/plotly/validators/mesh3d/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_delaunayaxis.py b/plotly/validators/mesh3d/_delaunayaxis.py index e605fbeaaf1..e57f14db458 100644 --- a/plotly/validators/mesh3d/_delaunayaxis.py +++ b/plotly/validators/mesh3d/_delaunayaxis.py @@ -9,8 +9,8 @@ def __init__( super(DelaunayaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['x', 'y', 'z'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['x', 'y', 'z']), **kwargs ) diff --git a/plotly/validators/mesh3d/_facecolor.py b/plotly/validators/mesh3d/_facecolor.py index 2a16608b018..14f12517b5f 100644 --- a/plotly/validators/mesh3d/_facecolor.py +++ b/plotly/validators/mesh3d/_facecolor.py @@ -9,7 +9,7 @@ def __init__( super(FacecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_facecolorsrc.py b/plotly/validators/mesh3d/_facecolorsrc.py index 62b006e8696..5d9b2362edb 100644 --- a/plotly/validators/mesh3d/_facecolorsrc.py +++ b/plotly/validators/mesh3d/_facecolorsrc.py @@ -9,7 +9,7 @@ def __init__( super(FacecolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_flatshading.py b/plotly/validators/mesh3d/_flatshading.py index 088966a04be..d92036206cd 100644 --- a/plotly/validators/mesh3d/_flatshading.py +++ b/plotly/validators/mesh3d/_flatshading.py @@ -9,7 +9,7 @@ def __init__( super(FlatshadingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_hoverinfo.py b/plotly/validators/mesh3d/_hoverinfo.py index 98ccceec423..53b49be7023 100644 --- a/plotly/validators/mesh3d/_hoverinfo.py +++ b/plotly/validators/mesh3d/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_hoverinfosrc.py b/plotly/validators/mesh3d/_hoverinfosrc.py index 5b13c3e1a16..5f378e4c95a 100644 --- a/plotly/validators/mesh3d/_hoverinfosrc.py +++ b/plotly/validators/mesh3d/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_hoverlabel.py b/plotly/validators/mesh3d/_hoverlabel.py index 6b964110075..3433aa754eb 100644 --- a/plotly/validators/mesh3d/_hoverlabel.py +++ b/plotly/validators/mesh3d/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_i.py b/plotly/validators/mesh3d/_i.py index c6d92cd4063..4e8020c9a9c 100644 --- a/plotly/validators/mesh3d/_i.py +++ b/plotly/validators/mesh3d/_i.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='i', parent_name='mesh3d', **kwargs): super(IValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_ids.py b/plotly/validators/mesh3d/_ids.py index 20bfa878f44..9a1b098273d 100644 --- a/plotly/validators/mesh3d/_ids.py +++ b/plotly/validators/mesh3d/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='mesh3d', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_idssrc.py b/plotly/validators/mesh3d/_idssrc.py index 9b642217c23..8e1d253807b 100644 --- a/plotly/validators/mesh3d/_idssrc.py +++ b/plotly/validators/mesh3d/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='mesh3d', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_intensity.py b/plotly/validators/mesh3d/_intensity.py index 112e0298b39..5fc0f66458a 100644 --- a/plotly/validators/mesh3d/_intensity.py +++ b/plotly/validators/mesh3d/_intensity.py @@ -9,7 +9,7 @@ def __init__( super(IntensityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_intensitysrc.py b/plotly/validators/mesh3d/_intensitysrc.py index 14593a10486..b682d9a8819 100644 --- a/plotly/validators/mesh3d/_intensitysrc.py +++ b/plotly/validators/mesh3d/_intensitysrc.py @@ -9,7 +9,7 @@ def __init__( super(IntensitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_isrc.py b/plotly/validators/mesh3d/_isrc.py index c75a2fc7a48..2a11622a6e7 100644 --- a/plotly/validators/mesh3d/_isrc.py +++ b/plotly/validators/mesh3d/_isrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='isrc', parent_name='mesh3d', **kwargs): super(IsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_j.py b/plotly/validators/mesh3d/_j.py index 84f9872cfdf..8deb42ada53 100644 --- a/plotly/validators/mesh3d/_j.py +++ b/plotly/validators/mesh3d/_j.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='j', parent_name='mesh3d', **kwargs): super(JValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_jsrc.py b/plotly/validators/mesh3d/_jsrc.py index 2d1e18d7dba..26b692252d3 100644 --- a/plotly/validators/mesh3d/_jsrc.py +++ b/plotly/validators/mesh3d/_jsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='jsrc', parent_name='mesh3d', **kwargs): super(JsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_k.py b/plotly/validators/mesh3d/_k.py index c0fc4333e71..0dd9b1a6dda 100644 --- a/plotly/validators/mesh3d/_k.py +++ b/plotly/validators/mesh3d/_k.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='k', parent_name='mesh3d', **kwargs): super(KValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_ksrc.py b/plotly/validators/mesh3d/_ksrc.py index e99440fcce6..a9b00e7ac42 100644 --- a/plotly/validators/mesh3d/_ksrc.py +++ b/plotly/validators/mesh3d/_ksrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ksrc', parent_name='mesh3d', **kwargs): super(KsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_legendgroup.py b/plotly/validators/mesh3d/_legendgroup.py index 2baa72ef9d2..68daf44a3c6 100644 --- a/plotly/validators/mesh3d/_legendgroup.py +++ b/plotly/validators/mesh3d/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_lighting.py b/plotly/validators/mesh3d/_lighting.py index 2f81754b04a..0ffefc349be 100644 --- a/plotly/validators/mesh3d/_lighting.py +++ b/plotly/validators/mesh3d/_lighting.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='lighting', parent_name='mesh3d', **kwargs): super(LightingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lighting', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lighting'), + data_docs=kwargs.pop( + 'data_docs', """ ambient Ambient light increases overall color visibility but can wash out the image. @@ -33,6 +34,7 @@ def __init__(self, plotly_name='lighting', parent_name='mesh3d', **kwargs): vertexnormalsepsilon Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_lightposition.py b/plotly/validators/mesh3d/_lightposition.py index 69fd073f0aa..0fce4badbb4 100644 --- a/plotly/validators/mesh3d/_lightposition.py +++ b/plotly/validators/mesh3d/_lightposition.py @@ -9,8 +9,9 @@ def __init__( super(LightpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lightposition', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lightposition'), + data_docs=kwargs.pop( + 'data_docs', """ x Numeric vector, representing the X coordinate for each vertex. @@ -20,6 +21,7 @@ def __init__( z Numeric vector, representing the Z coordinate for each vertex. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_name.py b/plotly/validators/mesh3d/_name.py index 779c0ae7407..87620122b10 100644 --- a/plotly/validators/mesh3d/_name.py +++ b/plotly/validators/mesh3d/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='mesh3d', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_opacity.py b/plotly/validators/mesh3d/_opacity.py index 0d27e83c6f9..1c8ddc796d7 100644 --- a/plotly/validators/mesh3d/_opacity.py +++ b/plotly/validators/mesh3d/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='mesh3d', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_reversescale.py b/plotly/validators/mesh3d/_reversescale.py index e3053a1ffc2..22b2f32fb69 100644 --- a/plotly/validators/mesh3d/_reversescale.py +++ b/plotly/validators/mesh3d/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/_scene.py b/plotly/validators/mesh3d/_scene.py index 6032eb1b0ca..d23ae359ed0 100644 --- a/plotly/validators/mesh3d/_scene.py +++ b/plotly/validators/mesh3d/_scene.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='scene', parent_name='mesh3d', **kwargs): super(SceneValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='scene', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'scene'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_selectedpoints.py b/plotly/validators/mesh3d/_selectedpoints.py index 4bd46372baa..006807356a7 100644 --- a/plotly/validators/mesh3d/_selectedpoints.py +++ b/plotly/validators/mesh3d/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_showlegend.py b/plotly/validators/mesh3d/_showlegend.py index 2d918842145..94a9af5a80a 100644 --- a/plotly/validators/mesh3d/_showlegend.py +++ b/plotly/validators/mesh3d/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_showscale.py b/plotly/validators/mesh3d/_showscale.py index 2ae327015bf..aa2308fc71a 100644 --- a/plotly/validators/mesh3d/_showscale.py +++ b/plotly/validators/mesh3d/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_stream.py b/plotly/validators/mesh3d/_stream.py index 5212cd16ef7..df152d3ef2d 100644 --- a/plotly/validators/mesh3d/_stream.py +++ b/plotly/validators/mesh3d/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='mesh3d', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='mesh3d', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_text.py b/plotly/validators/mesh3d/_text.py index 6c95ffd874c..94dba69cdd3 100644 --- a/plotly/validators/mesh3d/_text.py +++ b/plotly/validators/mesh3d/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='mesh3d', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_textsrc.py b/plotly/validators/mesh3d/_textsrc.py index 12b8f1cffe5..2b33e570b2a 100644 --- a/plotly/validators/mesh3d/_textsrc.py +++ b/plotly/validators/mesh3d/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='mesh3d', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_uid.py b/plotly/validators/mesh3d/_uid.py index c57d282868f..fdb367a3558 100644 --- a/plotly/validators/mesh3d/_uid.py +++ b/plotly/validators/mesh3d/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='mesh3d', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_vertexcolor.py b/plotly/validators/mesh3d/_vertexcolor.py index 3dce760b41a..d1bca23deb0 100644 --- a/plotly/validators/mesh3d/_vertexcolor.py +++ b/plotly/validators/mesh3d/_vertexcolor.py @@ -9,7 +9,7 @@ def __init__( super(VertexcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_vertexcolorsrc.py b/plotly/validators/mesh3d/_vertexcolorsrc.py index 5097affe169..da08fb19360 100644 --- a/plotly/validators/mesh3d/_vertexcolorsrc.py +++ b/plotly/validators/mesh3d/_vertexcolorsrc.py @@ -9,7 +9,7 @@ def __init__( super(VertexcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_visible.py b/plotly/validators/mesh3d/_visible.py index 8c0da09bb8d..a765d7199ba 100644 --- a/plotly/validators/mesh3d/_visible.py +++ b/plotly/validators/mesh3d/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='mesh3d', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/mesh3d/_x.py b/plotly/validators/mesh3d/_x.py index 0f015b2a363..5d9731c2cbe 100644 --- a/plotly/validators/mesh3d/_x.py +++ b/plotly/validators/mesh3d/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='mesh3d', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_xcalendar.py b/plotly/validators/mesh3d/_xcalendar.py index 227c4c13a3f..01558f7da78 100644 --- a/plotly/validators/mesh3d/_xcalendar.py +++ b/plotly/validators/mesh3d/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_xsrc.py b/plotly/validators/mesh3d/_xsrc.py index 91bd41000fa..e2121d99c4b 100644 --- a/plotly/validators/mesh3d/_xsrc.py +++ b/plotly/validators/mesh3d/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='mesh3d', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_y.py b/plotly/validators/mesh3d/_y.py index d05c7b81fd1..650d3008c65 100644 --- a/plotly/validators/mesh3d/_y.py +++ b/plotly/validators/mesh3d/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='mesh3d', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_ycalendar.py b/plotly/validators/mesh3d/_ycalendar.py index 0c0b6f5dbe4..87022bddd5e 100644 --- a/plotly/validators/mesh3d/_ycalendar.py +++ b/plotly/validators/mesh3d/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_ysrc.py b/plotly/validators/mesh3d/_ysrc.py index 1659e8a0dae..46717645318 100644 --- a/plotly/validators/mesh3d/_ysrc.py +++ b/plotly/validators/mesh3d/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='mesh3d', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/_z.py b/plotly/validators/mesh3d/_z.py index 63aeecb6f35..0643a1f41ec 100644 --- a/plotly/validators/mesh3d/_z.py +++ b/plotly/validators/mesh3d/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='mesh3d', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/_zcalendar.py b/plotly/validators/mesh3d/_zcalendar.py index 801f441f6db..4f3d21640f9 100644 --- a/plotly/validators/mesh3d/_zcalendar.py +++ b/plotly/validators/mesh3d/_zcalendar.py @@ -9,12 +9,15 @@ def __init__( super(ZcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/mesh3d/_zsrc.py b/plotly/validators/mesh3d/_zsrc.py index 2b0be5fa4b2..54a53e6b938 100644 --- a/plotly/validators/mesh3d/_zsrc.py +++ b/plotly/validators/mesh3d/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='mesh3d', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_bgcolor.py b/plotly/validators/mesh3d/colorbar/_bgcolor.py index 8e9d8830322..4d1cbbce725 100644 --- a/plotly/validators/mesh3d/colorbar/_bgcolor.py +++ b/plotly/validators/mesh3d/colorbar/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_bordercolor.py b/plotly/validators/mesh3d/colorbar/_bordercolor.py index 1730d64842f..923b28b55d6 100644 --- a/plotly/validators/mesh3d/colorbar/_bordercolor.py +++ b/plotly/validators/mesh3d/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_borderwidth.py b/plotly/validators/mesh3d/colorbar/_borderwidth.py index f1d69d1cf86..5c6fdfd8b50 100644 --- a/plotly/validators/mesh3d/colorbar/_borderwidth.py +++ b/plotly/validators/mesh3d/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_dtick.py b/plotly/validators/mesh3d/colorbar/_dtick.py index 5719c8a96b2..9e5d0ba8d93 100644 --- a/plotly/validators/mesh3d/colorbar/_dtick.py +++ b/plotly/validators/mesh3d/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_exponentformat.py b/plotly/validators/mesh3d/colorbar/_exponentformat.py index b78a8f9a180..7d861f1add6 100644 --- a/plotly/validators/mesh3d/colorbar/_exponentformat.py +++ b/plotly/validators/mesh3d/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_len.py b/plotly/validators/mesh3d/colorbar/_len.py index 2420b7a1d0d..893031b7a35 100644 --- a/plotly/validators/mesh3d/colorbar/_len.py +++ b/plotly/validators/mesh3d/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_lenmode.py b/plotly/validators/mesh3d/colorbar/_lenmode.py index 8c53751bdc4..42fbc076f5c 100644 --- a/plotly/validators/mesh3d/colorbar/_lenmode.py +++ b/plotly/validators/mesh3d/colorbar/_lenmode.py @@ -9,8 +9,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_nticks.py b/plotly/validators/mesh3d/colorbar/_nticks.py index bcbd0c0a476..b6c44e41842 100644 --- a/plotly/validators/mesh3d/colorbar/_nticks.py +++ b/plotly/validators/mesh3d/colorbar/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_outlinecolor.py b/plotly/validators/mesh3d/colorbar/_outlinecolor.py index ee674c4d558..b3da36366f7 100644 --- a/plotly/validators/mesh3d/colorbar/_outlinecolor.py +++ b/plotly/validators/mesh3d/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_outlinewidth.py b/plotly/validators/mesh3d/colorbar/_outlinewidth.py index 63610b41a5b..6f0eba47fd6 100644 --- a/plotly/validators/mesh3d/colorbar/_outlinewidth.py +++ b/plotly/validators/mesh3d/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_separatethousands.py b/plotly/validators/mesh3d/colorbar/_separatethousands.py index 4c49630a944..331190bb99e 100644 --- a/plotly/validators/mesh3d/colorbar/_separatethousands.py +++ b/plotly/validators/mesh3d/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_showexponent.py b/plotly/validators/mesh3d/colorbar/_showexponent.py index 51a76e92f27..05bf207b6fa 100644 --- a/plotly/validators/mesh3d/colorbar/_showexponent.py +++ b/plotly/validators/mesh3d/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_showticklabels.py b/plotly/validators/mesh3d/colorbar/_showticklabels.py index 4229bdec935..930dae0b003 100644 --- a/plotly/validators/mesh3d/colorbar/_showticklabels.py +++ b/plotly/validators/mesh3d/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_showtickprefix.py b/plotly/validators/mesh3d/colorbar/_showtickprefix.py index 577135a714b..70254e3a56d 100644 --- a/plotly/validators/mesh3d/colorbar/_showtickprefix.py +++ b/plotly/validators/mesh3d/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_showticksuffix.py b/plotly/validators/mesh3d/colorbar/_showticksuffix.py index 18bd15a2f68..feb05e61716 100644 --- a/plotly/validators/mesh3d/colorbar/_showticksuffix.py +++ b/plotly/validators/mesh3d/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_thickness.py b/plotly/validators/mesh3d/colorbar/_thickness.py index 6887a3ae215..7a3ffe0c9b0 100644 --- a/plotly/validators/mesh3d/colorbar/_thickness.py +++ b/plotly/validators/mesh3d/colorbar/_thickness.py @@ -9,8 +9,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_thicknessmode.py b/plotly/validators/mesh3d/colorbar/_thicknessmode.py index 132727e224b..c861c492b88 100644 --- a/plotly/validators/mesh3d/colorbar/_thicknessmode.py +++ b/plotly/validators/mesh3d/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tick0.py b/plotly/validators/mesh3d/colorbar/_tick0.py index 9a3255d9c77..3eac4a32cea 100644 --- a/plotly/validators/mesh3d/colorbar/_tick0.py +++ b/plotly/validators/mesh3d/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickangle.py b/plotly/validators/mesh3d/colorbar/_tickangle.py index 4a04937e82d..5af8eaf35ee 100644 --- a/plotly/validators/mesh3d/colorbar/_tickangle.py +++ b/plotly/validators/mesh3d/colorbar/_tickangle.py @@ -9,7 +9,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickcolor.py b/plotly/validators/mesh3d/colorbar/_tickcolor.py index 918012fc7de..4a96933a36f 100644 --- a/plotly/validators/mesh3d/colorbar/_tickcolor.py +++ b/plotly/validators/mesh3d/colorbar/_tickcolor.py @@ -9,7 +9,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickfont.py b/plotly/validators/mesh3d/colorbar/_tickfont.py index 4e2b042bf55..da481681b21 100644 --- a/plotly/validators/mesh3d/colorbar/_tickfont.py +++ b/plotly/validators/mesh3d/colorbar/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickformat.py b/plotly/validators/mesh3d/colorbar/_tickformat.py index fd9a52f98f5..0a0fb3c7ece 100644 --- a/plotly/validators/mesh3d/colorbar/_tickformat.py +++ b/plotly/validators/mesh3d/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickformatstops.py b/plotly/validators/mesh3d/colorbar/_tickformatstops.py index 5ea8d23173c..10a4ceafc1f 100644 --- a/plotly/validators/mesh3d/colorbar/_tickformatstops.py +++ b/plotly/validators/mesh3d/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_ticklen.py b/plotly/validators/mesh3d/colorbar/_ticklen.py index 3f0a8f38898..fd3f88cadd6 100644 --- a/plotly/validators/mesh3d/colorbar/_ticklen.py +++ b/plotly/validators/mesh3d/colorbar/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickmode.py b/plotly/validators/mesh3d/colorbar/_tickmode.py index 9f88d458b13..849daaaeca7 100644 --- a/plotly/validators/mesh3d/colorbar/_tickmode.py +++ b/plotly/validators/mesh3d/colorbar/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickprefix.py b/plotly/validators/mesh3d/colorbar/_tickprefix.py index cbba069bba5..d94030734c9 100644 --- a/plotly/validators/mesh3d/colorbar/_tickprefix.py +++ b/plotly/validators/mesh3d/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_ticks.py b/plotly/validators/mesh3d/colorbar/_ticks.py index 6cee91740f1..8028457c8a8 100644 --- a/plotly/validators/mesh3d/colorbar/_ticks.py +++ b/plotly/validators/mesh3d/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_ticksuffix.py b/plotly/validators/mesh3d/colorbar/_ticksuffix.py index 11e14d528d0..366b7025b45 100644 --- a/plotly/validators/mesh3d/colorbar/_ticksuffix.py +++ b/plotly/validators/mesh3d/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_ticktext.py b/plotly/validators/mesh3d/colorbar/_ticktext.py index dc44ccc41c3..6c2162ce32d 100644 --- a/plotly/validators/mesh3d/colorbar/_ticktext.py +++ b/plotly/validators/mesh3d/colorbar/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_ticktextsrc.py b/plotly/validators/mesh3d/colorbar/_ticktextsrc.py index 204d9563ed1..49791187528 100644 --- a/plotly/validators/mesh3d/colorbar/_ticktextsrc.py +++ b/plotly/validators/mesh3d/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickvals.py b/plotly/validators/mesh3d/colorbar/_tickvals.py index b49259fee7d..e4e2b89d54a 100644 --- a/plotly/validators/mesh3d/colorbar/_tickvals.py +++ b/plotly/validators/mesh3d/colorbar/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickvalssrc.py b/plotly/validators/mesh3d/colorbar/_tickvalssrc.py index 814162f8b2e..46de01b1063 100644 --- a/plotly/validators/mesh3d/colorbar/_tickvalssrc.py +++ b/plotly/validators/mesh3d/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_tickwidth.py b/plotly/validators/mesh3d/colorbar/_tickwidth.py index c686087f9b2..7fea1b904c9 100644 --- a/plotly/validators/mesh3d/colorbar/_tickwidth.py +++ b/plotly/validators/mesh3d/colorbar/_tickwidth.py @@ -9,8 +9,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_title.py b/plotly/validators/mesh3d/colorbar/_title.py index 4f6895d3a65..66e2bf95804 100644 --- a/plotly/validators/mesh3d/colorbar/_title.py +++ b/plotly/validators/mesh3d/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_titlefont.py b/plotly/validators/mesh3d/colorbar/_titlefont.py index 667e05bd4da..0c0f8fc886e 100644 --- a/plotly/validators/mesh3d/colorbar/_titlefont.py +++ b/plotly/validators/mesh3d/colorbar/_titlefont.py @@ -9,8 +9,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_titleside.py b/plotly/validators/mesh3d/colorbar/_titleside.py index 9438d01d088..54f2df1e1d8 100644 --- a/plotly/validators/mesh3d/colorbar/_titleside.py +++ b/plotly/validators/mesh3d/colorbar/_titleside.py @@ -9,8 +9,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_x.py b/plotly/validators/mesh3d/colorbar/_x.py index d1434433dfb..38aa078fb5e 100644 --- a/plotly/validators/mesh3d/colorbar/_x.py +++ b/plotly/validators/mesh3d/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_xanchor.py b/plotly/validators/mesh3d/colorbar/_xanchor.py index da9d825be5d..2cf09b38108 100644 --- a/plotly/validators/mesh3d/colorbar/_xanchor.py +++ b/plotly/validators/mesh3d/colorbar/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_xpad.py b/plotly/validators/mesh3d/colorbar/_xpad.py index 5f0c36fa5b3..1659a8661da 100644 --- a/plotly/validators/mesh3d/colorbar/_xpad.py +++ b/plotly/validators/mesh3d/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_y.py b/plotly/validators/mesh3d/colorbar/_y.py index aa622e0bf42..c6557c79f6c 100644 --- a/plotly/validators/mesh3d/colorbar/_y.py +++ b/plotly/validators/mesh3d/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_yanchor.py b/plotly/validators/mesh3d/colorbar/_yanchor.py index 712e9feaedb..1a487defa52 100644 --- a/plotly/validators/mesh3d/colorbar/_yanchor.py +++ b/plotly/validators/mesh3d/colorbar/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/_ypad.py b/plotly/validators/mesh3d/colorbar/_ypad.py index 11d553575ed..ad2f0a93748 100644 --- a/plotly/validators/mesh3d/colorbar/_ypad.py +++ b/plotly/validators/mesh3d/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickfont/_color.py b/plotly/validators/mesh3d/colorbar/tickfont/_color.py index dff377a31e2..2a6d4f484c2 100644 --- a/plotly/validators/mesh3d/colorbar/tickfont/_color.py +++ b/plotly/validators/mesh3d/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickfont/_family.py b/plotly/validators/mesh3d/colorbar/tickfont/_family.py index a1a8349dcb2..f7263b27e2f 100644 --- a/plotly/validators/mesh3d/colorbar/tickfont/_family.py +++ b/plotly/validators/mesh3d/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickfont/_size.py b/plotly/validators/mesh3d/colorbar/tickfont/_size.py index 58fca313386..0b755397553 100644 --- a/plotly/validators/mesh3d/colorbar/tickfont/_size.py +++ b/plotly/validators/mesh3d/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/mesh3d/colorbar/tickformatstop/_dtickrange.py index 1c6a3893ec0..43e822e0de6 100644 --- a/plotly/validators/mesh3d/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/mesh3d/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickformatstop/_enabled.py b/plotly/validators/mesh3d/colorbar/tickformatstop/_enabled.py index e32736066e2..140553d49f6 100644 --- a/plotly/validators/mesh3d/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/mesh3d/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickformatstop/_name.py b/plotly/validators/mesh3d/colorbar/tickformatstop/_name.py index 8e4c9943268..4b886385364 100644 --- a/plotly/validators/mesh3d/colorbar/tickformatstop/_name.py +++ b/plotly/validators/mesh3d/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/mesh3d/colorbar/tickformatstop/_templateitemname.py index 35de4bc726a..8d6fad7c176 100644 --- a/plotly/validators/mesh3d/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/mesh3d/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/tickformatstop/_value.py b/plotly/validators/mesh3d/colorbar/tickformatstop/_value.py index 562621f9834..e41e81afb43 100644 --- a/plotly/validators/mesh3d/colorbar/tickformatstop/_value.py +++ b/plotly/validators/mesh3d/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/titlefont/_color.py b/plotly/validators/mesh3d/colorbar/titlefont/_color.py index 7d6a93c5a0a..7d93c4f54d6 100644 --- a/plotly/validators/mesh3d/colorbar/titlefont/_color.py +++ b/plotly/validators/mesh3d/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/titlefont/_family.py b/plotly/validators/mesh3d/colorbar/titlefont/_family.py index 911fc83d5a1..c579e6b6e9d 100644 --- a/plotly/validators/mesh3d/colorbar/titlefont/_family.py +++ b/plotly/validators/mesh3d/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/mesh3d/colorbar/titlefont/_size.py b/plotly/validators/mesh3d/colorbar/titlefont/_size.py index b1e23a8a430..b659908b3ed 100644 --- a/plotly/validators/mesh3d/colorbar/titlefont/_size.py +++ b/plotly/validators/mesh3d/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/contour/_color.py b/plotly/validators/mesh3d/contour/_color.py index 36766c1ce99..dbfb51d6465 100644 --- a/plotly/validators/mesh3d/contour/_color.py +++ b/plotly/validators/mesh3d/contour/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/contour/_show.py b/plotly/validators/mesh3d/contour/_show.py index e744a6b5457..b06b7e99778 100644 --- a/plotly/validators/mesh3d/contour/_show.py +++ b/plotly/validators/mesh3d/contour/_show.py @@ -9,7 +9,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/contour/_width.py b/plotly/validators/mesh3d/contour/_width.py index 19a513d8fa3..e060e6033e6 100644 --- a/plotly/validators/mesh3d/contour/_width.py +++ b/plotly/validators/mesh3d/contour/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_bgcolor.py b/plotly/validators/mesh3d/hoverlabel/_bgcolor.py index 73a188d4164..e56db16e682 100644 --- a/plotly/validators/mesh3d/hoverlabel/_bgcolor.py +++ b/plotly/validators/mesh3d/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_bgcolorsrc.py b/plotly/validators/mesh3d/hoverlabel/_bgcolorsrc.py index 7c18d226e56..aa901b7d9c3 100644 --- a/plotly/validators/mesh3d/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/mesh3d/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_bordercolor.py b/plotly/validators/mesh3d/hoverlabel/_bordercolor.py index 1abe775da23..a8912290be6 100644 --- a/plotly/validators/mesh3d/hoverlabel/_bordercolor.py +++ b/plotly/validators/mesh3d/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_bordercolorsrc.py b/plotly/validators/mesh3d/hoverlabel/_bordercolorsrc.py index 8438985f195..d891035388c 100644 --- a/plotly/validators/mesh3d/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/mesh3d/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_font.py b/plotly/validators/mesh3d/hoverlabel/_font.py index 55766195a98..898aade081b 100644 --- a/plotly/validators/mesh3d/hoverlabel/_font.py +++ b/plotly/validators/mesh3d/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_namelength.py b/plotly/validators/mesh3d/hoverlabel/_namelength.py index 4b5effe3369..ead5916ddd2 100644 --- a/plotly/validators/mesh3d/hoverlabel/_namelength.py +++ b/plotly/validators/mesh3d/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/_namelengthsrc.py b/plotly/validators/mesh3d/hoverlabel/_namelengthsrc.py index e485be09770..2f2514c61d4 100644 --- a/plotly/validators/mesh3d/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/mesh3d/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/font/_color.py b/plotly/validators/mesh3d/hoverlabel/font/_color.py index 4f316bd5ee5..44b3bb7c05a 100644 --- a/plotly/validators/mesh3d/hoverlabel/font/_color.py +++ b/plotly/validators/mesh3d/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/font/_colorsrc.py b/plotly/validators/mesh3d/hoverlabel/font/_colorsrc.py index cd5d629e2c8..93c32026f13 100644 --- a/plotly/validators/mesh3d/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/mesh3d/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/font/_family.py b/plotly/validators/mesh3d/hoverlabel/font/_family.py index 78218576093..ce4bece5fd7 100644 --- a/plotly/validators/mesh3d/hoverlabel/font/_family.py +++ b/plotly/validators/mesh3d/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/font/_familysrc.py b/plotly/validators/mesh3d/hoverlabel/font/_familysrc.py index d3f20b4007a..a5741d1fac9 100644 --- a/plotly/validators/mesh3d/hoverlabel/font/_familysrc.py +++ b/plotly/validators/mesh3d/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/font/_size.py b/plotly/validators/mesh3d/hoverlabel/font/_size.py index 521c132459d..19996bd8236 100644 --- a/plotly/validators/mesh3d/hoverlabel/font/_size.py +++ b/plotly/validators/mesh3d/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/hoverlabel/font/_sizesrc.py b/plotly/validators/mesh3d/hoverlabel/font/_sizesrc.py index 9da22e5cf18..794adf08540 100644 --- a/plotly/validators/mesh3d/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/mesh3d/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_ambient.py b/plotly/validators/mesh3d/lighting/_ambient.py index 5101522d78e..0c56e18c4bd 100644 --- a/plotly/validators/mesh3d/lighting/_ambient.py +++ b/plotly/validators/mesh3d/lighting/_ambient.py @@ -9,9 +9,9 @@ def __init__( super(AmbientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_diffuse.py b/plotly/validators/mesh3d/lighting/_diffuse.py index 9734daa4037..45407531fc1 100644 --- a/plotly/validators/mesh3d/lighting/_diffuse.py +++ b/plotly/validators/mesh3d/lighting/_diffuse.py @@ -9,9 +9,9 @@ def __init__( super(DiffuseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_facenormalsepsilon.py b/plotly/validators/mesh3d/lighting/_facenormalsepsilon.py index dc466194359..77ed53ab40e 100644 --- a/plotly/validators/mesh3d/lighting/_facenormalsepsilon.py +++ b/plotly/validators/mesh3d/lighting/_facenormalsepsilon.py @@ -14,9 +14,9 @@ def __init__( super(FacenormalsepsilonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_fresnel.py b/plotly/validators/mesh3d/lighting/_fresnel.py index 01ac8fcbc73..5493e696e07 100644 --- a/plotly/validators/mesh3d/lighting/_fresnel.py +++ b/plotly/validators/mesh3d/lighting/_fresnel.py @@ -9,9 +9,9 @@ def __init__( super(FresnelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=5, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 5), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_roughness.py b/plotly/validators/mesh3d/lighting/_roughness.py index 5b69e67d2cd..79e36fe7752 100644 --- a/plotly/validators/mesh3d/lighting/_roughness.py +++ b/plotly/validators/mesh3d/lighting/_roughness.py @@ -9,9 +9,9 @@ def __init__( super(RoughnessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_specular.py b/plotly/validators/mesh3d/lighting/_specular.py index 71f17a393dc..239c10ac614 100644 --- a/plotly/validators/mesh3d/lighting/_specular.py +++ b/plotly/validators/mesh3d/lighting/_specular.py @@ -9,9 +9,9 @@ def __init__( super(SpecularValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lighting/_vertexnormalsepsilon.py b/plotly/validators/mesh3d/lighting/_vertexnormalsepsilon.py index eab584a83bc..1db0695a516 100644 --- a/plotly/validators/mesh3d/lighting/_vertexnormalsepsilon.py +++ b/plotly/validators/mesh3d/lighting/_vertexnormalsepsilon.py @@ -14,9 +14,9 @@ def __init__( super(VertexnormalsepsilonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lightposition/_x.py b/plotly/validators/mesh3d/lightposition/_x.py index b5263f94e41..c3573d1e837 100644 --- a/plotly/validators/mesh3d/lightposition/_x.py +++ b/plotly/validators/mesh3d/lightposition/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lightposition/_y.py b/plotly/validators/mesh3d/lightposition/_y.py index b525b90747e..e22d9b236d3 100644 --- a/plotly/validators/mesh3d/lightposition/_y.py +++ b/plotly/validators/mesh3d/lightposition/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/lightposition/_z.py b/plotly/validators/mesh3d/lightposition/_z.py index 47cf86119d1..ff56372ed11 100644 --- a/plotly/validators/mesh3d/lightposition/_z.py +++ b/plotly/validators/mesh3d/lightposition/_z.py @@ -9,9 +9,9 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/mesh3d/stream/_maxpoints.py b/plotly/validators/mesh3d/stream/_maxpoints.py index d56c87aecb6..7f93399241f 100644 --- a/plotly/validators/mesh3d/stream/_maxpoints.py +++ b/plotly/validators/mesh3d/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/mesh3d/stream/_token.py b/plotly/validators/mesh3d/stream/_token.py index 1995b1f4851..7acbac7c339 100644 --- a/plotly/validators/mesh3d/stream/_token.py +++ b/plotly/validators/mesh3d/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/ohlc/_close.py b/plotly/validators/ohlc/_close.py index 052fe7f6724..36f778c08e9 100644 --- a/plotly/validators/ohlc/_close.py +++ b/plotly/validators/ohlc/_close.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='close', parent_name='ohlc', **kwargs): super(CloseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_closesrc.py b/plotly/validators/ohlc/_closesrc.py index f63178f92ee..7d192cb7910 100644 --- a/plotly/validators/ohlc/_closesrc.py +++ b/plotly/validators/ohlc/_closesrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='closesrc', parent_name='ohlc', **kwargs): super(ClosesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_customdata.py b/plotly/validators/ohlc/_customdata.py index 26def4c0ab5..2c66c2a39f7 100644 --- a/plotly/validators/ohlc/_customdata.py +++ b/plotly/validators/ohlc/_customdata.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='customdata', parent_name='ohlc', **kwargs): super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_customdatasrc.py b/plotly/validators/ohlc/_customdatasrc.py index e5e8892f324..2b9b5719255 100644 --- a/plotly/validators/ohlc/_customdatasrc.py +++ b/plotly/validators/ohlc/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_decreasing.py b/plotly/validators/ohlc/_decreasing.py index c2efdfb9dfe..ef1c5c99377 100644 --- a/plotly/validators/ohlc/_decreasing.py +++ b/plotly/validators/ohlc/_decreasing.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='decreasing', parent_name='ohlc', **kwargs): super(DecreasingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Decreasing', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Decreasing'), + data_docs=kwargs.pop( + 'data_docs', """ line plotly.graph_objs.ohlc.decreasing.Line instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/_high.py b/plotly/validators/ohlc/_high.py index 15f2dd9a7d8..f2457218a74 100644 --- a/plotly/validators/ohlc/_high.py +++ b/plotly/validators/ohlc/_high.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='high', parent_name='ohlc', **kwargs): super(HighValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_highsrc.py b/plotly/validators/ohlc/_highsrc.py index 2d3f3661028..6f43d6d915c 100644 --- a/plotly/validators/ohlc/_highsrc.py +++ b/plotly/validators/ohlc/_highsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='highsrc', parent_name='ohlc', **kwargs): super(HighsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_hoverinfo.py b/plotly/validators/ohlc/_hoverinfo.py index fd36db18025..a09b4829521 100644 --- a/plotly/validators/ohlc/_hoverinfo.py +++ b/plotly/validators/ohlc/_hoverinfo.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='hoverinfo', parent_name='ohlc', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_hoverinfosrc.py b/plotly/validators/ohlc/_hoverinfosrc.py index e84a01e79b4..3b05a7dabf8 100644 --- a/plotly/validators/ohlc/_hoverinfosrc.py +++ b/plotly/validators/ohlc/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_hoverlabel.py b/plotly/validators/ohlc/_hoverlabel.py index 0429dcade1a..4305e21b717 100644 --- a/plotly/validators/ohlc/_hoverlabel.py +++ b/plotly/validators/ohlc/_hoverlabel.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='hoverlabel', parent_name='ohlc', **kwargs): super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -35,6 +36,7 @@ def __init__(self, plotly_name='hoverlabel', parent_name='ohlc', **kwargs): namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/_ids.py b/plotly/validators/ohlc/_ids.py index 76e15bcfe98..936d4183672 100644 --- a/plotly/validators/ohlc/_ids.py +++ b/plotly/validators/ohlc/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='ohlc', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_idssrc.py b/plotly/validators/ohlc/_idssrc.py index 346f5bcc30a..ca70bd08601 100644 --- a/plotly/validators/ohlc/_idssrc.py +++ b/plotly/validators/ohlc/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='ohlc', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_increasing.py b/plotly/validators/ohlc/_increasing.py index b985f9d012c..ef13cb44184 100644 --- a/plotly/validators/ohlc/_increasing.py +++ b/plotly/validators/ohlc/_increasing.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='increasing', parent_name='ohlc', **kwargs): super(IncreasingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Increasing', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Increasing'), + data_docs=kwargs.pop( + 'data_docs', """ line plotly.graph_objs.ohlc.increasing.Line instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/_legendgroup.py b/plotly/validators/ohlc/_legendgroup.py index a3859cb4826..5d480981b54 100644 --- a/plotly/validators/ohlc/_legendgroup.py +++ b/plotly/validators/ohlc/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_line.py b/plotly/validators/ohlc/_line.py index b23caef9d60..e4d122f4abb 100644 --- a/plotly/validators/ohlc/_line.py +++ b/plotly/validators/ohlc/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='ohlc', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ dash Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", @@ -22,6 +23,7 @@ def __init__(self, plotly_name='line', parent_name='ohlc', **kwargs): can also be set per direction via `increasing.line.width` and `decreasing.line.width`. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/_low.py b/plotly/validators/ohlc/_low.py index a1f130890fb..a0ca915e2d7 100644 --- a/plotly/validators/ohlc/_low.py +++ b/plotly/validators/ohlc/_low.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='low', parent_name='ohlc', **kwargs): super(LowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_lowsrc.py b/plotly/validators/ohlc/_lowsrc.py index 52ff485d92b..7bdd508ded3 100644 --- a/plotly/validators/ohlc/_lowsrc.py +++ b/plotly/validators/ohlc/_lowsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='lowsrc', parent_name='ohlc', **kwargs): super(LowsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_name.py b/plotly/validators/ohlc/_name.py index 1f01d3f161f..0233cfbd147 100644 --- a/plotly/validators/ohlc/_name.py +++ b/plotly/validators/ohlc/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='ohlc', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_opacity.py b/plotly/validators/ohlc/_opacity.py index af8bef20031..892f7050105 100644 --- a/plotly/validators/ohlc/_opacity.py +++ b/plotly/validators/ohlc/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='ohlc', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/_open.py b/plotly/validators/ohlc/_open.py index 39035fb507a..2c6dbea78da 100644 --- a/plotly/validators/ohlc/_open.py +++ b/plotly/validators/ohlc/_open.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='open', parent_name='ohlc', **kwargs): super(OpenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_opensrc.py b/plotly/validators/ohlc/_opensrc.py index c72e294f8fd..45e552d9a1e 100644 --- a/plotly/validators/ohlc/_opensrc.py +++ b/plotly/validators/ohlc/_opensrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='opensrc', parent_name='ohlc', **kwargs): super(OpensrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_selectedpoints.py b/plotly/validators/ohlc/_selectedpoints.py index e2f5b2342fc..c7d558782f4 100644 --- a/plotly/validators/ohlc/_selectedpoints.py +++ b/plotly/validators/ohlc/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_showlegend.py b/plotly/validators/ohlc/_showlegend.py index e6431bede51..ae2b251d3af 100644 --- a/plotly/validators/ohlc/_showlegend.py +++ b/plotly/validators/ohlc/_showlegend.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showlegend', parent_name='ohlc', **kwargs): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_stream.py b/plotly/validators/ohlc/_stream.py index ec412173f9d..220fefb9231 100644 --- a/plotly/validators/ohlc/_stream.py +++ b/plotly/validators/ohlc/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='ohlc', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='ohlc', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/_text.py b/plotly/validators/ohlc/_text.py index d73e6ef87cf..98c4c3f4337 100644 --- a/plotly/validators/ohlc/_text.py +++ b/plotly/validators/ohlc/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='ohlc', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_textsrc.py b/plotly/validators/ohlc/_textsrc.py index 904c3c8c66e..d81964b3c36 100644 --- a/plotly/validators/ohlc/_textsrc.py +++ b/plotly/validators/ohlc/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='ohlc', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_tickwidth.py b/plotly/validators/ohlc/_tickwidth.py index bc1298dd339..0ee2f2d9267 100644 --- a/plotly/validators/ohlc/_tickwidth.py +++ b/plotly/validators/ohlc/_tickwidth.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='tickwidth', parent_name='ohlc', **kwargs): super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=0.5, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 0.5), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/_uid.py b/plotly/validators/ohlc/_uid.py index cccb2ce792c..9c296de7306 100644 --- a/plotly/validators/ohlc/_uid.py +++ b/plotly/validators/ohlc/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='ohlc', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_visible.py b/plotly/validators/ohlc/_visible.py index 62778fc1370..46a164319a3 100644 --- a/plotly/validators/ohlc/_visible.py +++ b/plotly/validators/ohlc/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='ohlc', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/ohlc/_x.py b/plotly/validators/ohlc/_x.py index eecc5a5efdb..e6fe30c9b6e 100644 --- a/plotly/validators/ohlc/_x.py +++ b/plotly/validators/ohlc/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='ohlc', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/ohlc/_xaxis.py b/plotly/validators/ohlc/_xaxis.py index 4bc8f38b148..8c78f8d59b1 100644 --- a/plotly/validators/ohlc/_xaxis.py +++ b/plotly/validators/ohlc/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='ohlc', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_xcalendar.py b/plotly/validators/ohlc/_xcalendar.py index 36a30a0640d..8bfd0e3f859 100644 --- a/plotly/validators/ohlc/_xcalendar.py +++ b/plotly/validators/ohlc/_xcalendar.py @@ -7,12 +7,15 @@ def __init__(self, plotly_name='xcalendar', parent_name='ohlc', **kwargs): super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/ohlc/_xsrc.py b/plotly/validators/ohlc/_xsrc.py index d067dfb1160..d15e1f1337f 100644 --- a/plotly/validators/ohlc/_xsrc.py +++ b/plotly/validators/ohlc/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='ohlc', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/_yaxis.py b/plotly/validators/ohlc/_yaxis.py index 3ea6ba45081..69c25219f93 100644 --- a/plotly/validators/ohlc/_yaxis.py +++ b/plotly/validators/ohlc/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='ohlc', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/decreasing/_line.py b/plotly/validators/ohlc/decreasing/_line.py index 306d60c084c..0237b3c9ecf 100644 --- a/plotly/validators/ohlc/decreasing/_line.py +++ b/plotly/validators/ohlc/decreasing/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -20,6 +21,7 @@ def __init__( dash length list in px (eg "5px,10px,2px,2px"). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/decreasing/line/_color.py b/plotly/validators/ohlc/decreasing/line/_color.py index 6d541d1d5b5..de7c4269af2 100644 --- a/plotly/validators/ohlc/decreasing/line/_color.py +++ b/plotly/validators/ohlc/decreasing/line/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/decreasing/line/_dash.py b/plotly/validators/ohlc/decreasing/line/_dash.py index c2c2d73b34e..3291318f937 100644 --- a/plotly/validators/ohlc/decreasing/line/_dash.py +++ b/plotly/validators/ohlc/decreasing/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/ohlc/decreasing/line/_width.py b/plotly/validators/ohlc/decreasing/line/_width.py index 6fb1868f3ee..02677227ece 100644 --- a/plotly/validators/ohlc/decreasing/line/_width.py +++ b/plotly/validators/ohlc/decreasing/line/_width.py @@ -12,8 +12,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_bgcolor.py b/plotly/validators/ohlc/hoverlabel/_bgcolor.py index c25cf3230c5..eb82a64b715 100644 --- a/plotly/validators/ohlc/hoverlabel/_bgcolor.py +++ b/plotly/validators/ohlc/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_bgcolorsrc.py b/plotly/validators/ohlc/hoverlabel/_bgcolorsrc.py index 3436387a5e7..734dc9bb0b7 100644 --- a/plotly/validators/ohlc/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/ohlc/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_bordercolor.py b/plotly/validators/ohlc/hoverlabel/_bordercolor.py index bc27f43b990..d8fd83a1d4d 100644 --- a/plotly/validators/ohlc/hoverlabel/_bordercolor.py +++ b/plotly/validators/ohlc/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_bordercolorsrc.py b/plotly/validators/ohlc/hoverlabel/_bordercolorsrc.py index f54eb761b07..f0fb598c980 100644 --- a/plotly/validators/ohlc/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/ohlc/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_font.py b/plotly/validators/ohlc/hoverlabel/_font.py index 187e9232345..1828cf8985e 100644 --- a/plotly/validators/ohlc/hoverlabel/_font.py +++ b/plotly/validators/ohlc/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_namelength.py b/plotly/validators/ohlc/hoverlabel/_namelength.py index 244311d4a50..df589f695f2 100644 --- a/plotly/validators/ohlc/hoverlabel/_namelength.py +++ b/plotly/validators/ohlc/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/_namelengthsrc.py b/plotly/validators/ohlc/hoverlabel/_namelengthsrc.py index f49b451d713..713c6d97fd0 100644 --- a/plotly/validators/ohlc/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/ohlc/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/font/_color.py b/plotly/validators/ohlc/hoverlabel/font/_color.py index f651cf3671f..36ba783c87f 100644 --- a/plotly/validators/ohlc/hoverlabel/font/_color.py +++ b/plotly/validators/ohlc/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/font/_colorsrc.py b/plotly/validators/ohlc/hoverlabel/font/_colorsrc.py index f24b8b349c7..9ccd8f5c4c4 100644 --- a/plotly/validators/ohlc/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/ohlc/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/font/_family.py b/plotly/validators/ohlc/hoverlabel/font/_family.py index ed00602d11f..1ab8e5654db 100644 --- a/plotly/validators/ohlc/hoverlabel/font/_family.py +++ b/plotly/validators/ohlc/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/font/_familysrc.py b/plotly/validators/ohlc/hoverlabel/font/_familysrc.py index dad66ff1f70..fef950d3f0f 100644 --- a/plotly/validators/ohlc/hoverlabel/font/_familysrc.py +++ b/plotly/validators/ohlc/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/font/_size.py b/plotly/validators/ohlc/hoverlabel/font/_size.py index 73ede29190e..0675601f54b 100644 --- a/plotly/validators/ohlc/hoverlabel/font/_size.py +++ b/plotly/validators/ohlc/hoverlabel/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/hoverlabel/font/_sizesrc.py b/plotly/validators/ohlc/hoverlabel/font/_sizesrc.py index a2116df28aa..c0867345c4e 100644 --- a/plotly/validators/ohlc/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/ohlc/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/increasing/_line.py b/plotly/validators/ohlc/increasing/_line.py index 8baacaded2b..dd548e7e4ae 100644 --- a/plotly/validators/ohlc/increasing/_line.py +++ b/plotly/validators/ohlc/increasing/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -20,6 +21,7 @@ def __init__( dash length list in px (eg "5px,10px,2px,2px"). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/ohlc/increasing/line/_color.py b/plotly/validators/ohlc/increasing/line/_color.py index 7a71a118956..ff1c0cdc9db 100644 --- a/plotly/validators/ohlc/increasing/line/_color.py +++ b/plotly/validators/ohlc/increasing/line/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/increasing/line/_dash.py b/plotly/validators/ohlc/increasing/line/_dash.py index f0bf53b1e24..faeccb3a9e4 100644 --- a/plotly/validators/ohlc/increasing/line/_dash.py +++ b/plotly/validators/ohlc/increasing/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/ohlc/increasing/line/_width.py b/plotly/validators/ohlc/increasing/line/_width.py index 935b03d7369..b7c66e0218c 100644 --- a/plotly/validators/ohlc/increasing/line/_width.py +++ b/plotly/validators/ohlc/increasing/line/_width.py @@ -12,8 +12,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/line/_dash.py b/plotly/validators/ohlc/line/_dash.py index b8d818ec6e9..604c4ea783c 100644 --- a/plotly/validators/ohlc/line/_dash.py +++ b/plotly/validators/ohlc/line/_dash.py @@ -7,10 +7,11 @@ def __init__(self, plotly_name='dash', parent_name='ohlc.line', **kwargs): super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/ohlc/line/_width.py b/plotly/validators/ohlc/line/_width.py index 0168bc252e2..3e29483fc21 100644 --- a/plotly/validators/ohlc/line/_width.py +++ b/plotly/validators/ohlc/line/_width.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='width', parent_name='ohlc.line', **kwargs): super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/ohlc/stream/_maxpoints.py b/plotly/validators/ohlc/stream/_maxpoints.py index 561cfdced37..e31c0ece464 100644 --- a/plotly/validators/ohlc/stream/_maxpoints.py +++ b/plotly/validators/ohlc/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/ohlc/stream/_token.py b/plotly/validators/ohlc/stream/_token.py index 34cc15f8bce..3c6d475c898 100644 --- a/plotly/validators/ohlc/stream/_token.py +++ b/plotly/validators/ohlc/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/_customdata.py b/plotly/validators/parcoords/_customdata.py index 0f282379bd9..8b68382c0d6 100644 --- a/plotly/validators/parcoords/_customdata.py +++ b/plotly/validators/parcoords/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/_customdatasrc.py b/plotly/validators/parcoords/_customdatasrc.py index 9ffdaecd717..84e9ee1c7ca 100644 --- a/plotly/validators/parcoords/_customdatasrc.py +++ b/plotly/validators/parcoords/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_dimensions.py b/plotly/validators/parcoords/_dimensions.py index 9b23a2672ba..bbf3600d5ab 100644 --- a/plotly/validators/parcoords/_dimensions.py +++ b/plotly/validators/parcoords/_dimensions.py @@ -9,8 +9,9 @@ def __init__( super(DimensionsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Dimension', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Dimension'), + data_docs=kwargs.pop( + 'data_docs', """ constraintrange The domain range to which the filter on the dimension is constrained. Must be an array of @@ -82,6 +83,7 @@ def __init__( visible Shows the dimension when set to `true` (the default). Hides the dimension for `false`. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_domain.py b/plotly/validators/parcoords/_domain.py index 57ff2c32346..aefbab88793 100644 --- a/plotly/validators/parcoords/_domain.py +++ b/plotly/validators/parcoords/_domain.py @@ -9,8 +9,9 @@ def __init__( super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this parcoords @@ -24,6 +25,7 @@ def __init__( y Sets the vertical domain of this parcoords trace (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_hoverinfo.py b/plotly/validators/parcoords/_hoverinfo.py index dbb9b122666..f9b630c89d6 100644 --- a/plotly/validators/parcoords/_hoverinfo.py +++ b/plotly/validators/parcoords/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_hoverinfosrc.py b/plotly/validators/parcoords/_hoverinfosrc.py index 95c666d4132..cc4665a3413 100644 --- a/plotly/validators/parcoords/_hoverinfosrc.py +++ b/plotly/validators/parcoords/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_hoverlabel.py b/plotly/validators/parcoords/_hoverlabel.py index eee8bb0d0ca..5ba0bec8c24 100644 --- a/plotly/validators/parcoords/_hoverlabel.py +++ b/plotly/validators/parcoords/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_ids.py b/plotly/validators/parcoords/_ids.py index 6ca3dcef356..c37f6198b6e 100644 --- a/plotly/validators/parcoords/_ids.py +++ b/plotly/validators/parcoords/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='parcoords', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/_idssrc.py b/plotly/validators/parcoords/_idssrc.py index bfd918b4f8f..abb87b46320 100644 --- a/plotly/validators/parcoords/_idssrc.py +++ b/plotly/validators/parcoords/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_labelfont.py b/plotly/validators/parcoords/_labelfont.py index b5449ac9f1c..d89fc13b284 100644 --- a/plotly/validators/parcoords/_labelfont.py +++ b/plotly/validators/parcoords/_labelfont.py @@ -9,8 +9,9 @@ def __init__( super(LabelfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Labelfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Labelfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_legendgroup.py b/plotly/validators/parcoords/_legendgroup.py index d60f947a36a..fa7999f0df6 100644 --- a/plotly/validators/parcoords/_legendgroup.py +++ b/plotly/validators/parcoords/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_line.py b/plotly/validators/parcoords/_line.py index 0c7df27260d..9cea942ab02 100644 --- a/plotly/validators/parcoords/_line.py +++ b/plotly/validators/parcoords/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='parcoords', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -77,6 +78,7 @@ def __init__(self, plotly_name='line', parent_name='parcoords', **kwargs): Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `line.color`is set to a numerical array. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_name.py b/plotly/validators/parcoords/_name.py index 58a62f3b54f..545c655e79f 100644 --- a/plotly/validators/parcoords/_name.py +++ b/plotly/validators/parcoords/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='parcoords', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_opacity.py b/plotly/validators/parcoords/_opacity.py index c0ce1eb23e3..298c04956ac 100644 --- a/plotly/validators/parcoords/_opacity.py +++ b/plotly/validators/parcoords/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/_rangefont.py b/plotly/validators/parcoords/_rangefont.py index 763e7efc166..02d1e526289 100644 --- a/plotly/validators/parcoords/_rangefont.py +++ b/plotly/validators/parcoords/_rangefont.py @@ -9,8 +9,9 @@ def __init__( super(RangefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Rangefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Rangefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_selectedpoints.py b/plotly/validators/parcoords/_selectedpoints.py index abfa4ca1b21..06e7b297dd7 100644 --- a/plotly/validators/parcoords/_selectedpoints.py +++ b/plotly/validators/parcoords/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_showlegend.py b/plotly/validators/parcoords/_showlegend.py index 73052c32332..54155b92ee0 100644 --- a/plotly/validators/parcoords/_showlegend.py +++ b/plotly/validators/parcoords/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_stream.py b/plotly/validators/parcoords/_stream.py index c702bb53954..e589dceb969 100644 --- a/plotly/validators/parcoords/_stream.py +++ b/plotly/validators/parcoords/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_tickfont.py b/plotly/validators/parcoords/_tickfont.py index 5d7ace64e6d..88c82340cdd 100644 --- a/plotly/validators/parcoords/_tickfont.py +++ b/plotly/validators/parcoords/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/_uid.py b/plotly/validators/parcoords/_uid.py index 6823f6f5e9b..1b0fc695146 100644 --- a/plotly/validators/parcoords/_uid.py +++ b/plotly/validators/parcoords/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='parcoords', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/_visible.py b/plotly/validators/parcoords/_visible.py index ff7ad5c9be9..5243db2b9e3 100644 --- a/plotly/validators/parcoords/_visible.py +++ b/plotly/validators/parcoords/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_constraintrange.py b/plotly/validators/parcoords/dimension/_constraintrange.py index efe803fc310..f0a28d14303 100644 --- a/plotly/validators/parcoords/dimension/_constraintrange.py +++ b/plotly/validators/parcoords/dimension/_constraintrange.py @@ -14,18 +14,20 @@ def __init__( super(ConstraintrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dimensions='1-2', - edit_type='calc', - free_length=True, - items=[ - { - 'valType': 'number', - 'editType': 'calc' - }, { - 'valType': 'number', - 'editType': 'calc' - } - ], - role='info', + dimensions=kwargs.pop('dimensions', '1-2'), + edit_type=kwargs.pop('edit_type', 'calc'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'calc' + }, { + 'valType': 'number', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_label.py b/plotly/validators/parcoords/dimension/_label.py index c64cb0985e9..75f01439392 100644 --- a/plotly/validators/parcoords/dimension/_label.py +++ b/plotly/validators/parcoords/dimension/_label.py @@ -9,7 +9,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_multiselect.py b/plotly/validators/parcoords/dimension/_multiselect.py index 046f5e33124..7d6fcee9ab6 100644 --- a/plotly/validators/parcoords/dimension/_multiselect.py +++ b/plotly/validators/parcoords/dimension/_multiselect.py @@ -12,7 +12,7 @@ def __init__( super(MultiselectValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_name.py b/plotly/validators/parcoords/dimension/_name.py index 5a346f006c7..1b897f9e02c 100644 --- a/plotly/validators/parcoords/dimension/_name.py +++ b/plotly/validators/parcoords/dimension/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_range.py b/plotly/validators/parcoords/dimension/_range.py index 6929f036f79..0183c30078c 100644 --- a/plotly/validators/parcoords/dimension/_range.py +++ b/plotly/validators/parcoords/dimension/_range.py @@ -9,16 +9,18 @@ def __init__( super(RangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'editType': 'calc' - }, { - 'valType': 'number', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'editType': 'calc' + }, { + 'valType': 'number', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_templateitemname.py b/plotly/validators/parcoords/dimension/_templateitemname.py index a6797fb9536..c4ca04c1bea 100644 --- a/plotly/validators/parcoords/dimension/_templateitemname.py +++ b/plotly/validators/parcoords/dimension/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_tickformat.py b/plotly/validators/parcoords/dimension/_tickformat.py index e1e71e6f049..eb1bd9449b5 100644 --- a/plotly/validators/parcoords/dimension/_tickformat.py +++ b/plotly/validators/parcoords/dimension/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_ticktext.py b/plotly/validators/parcoords/dimension/_ticktext.py index f81661669d2..b02d7a35eb8 100644 --- a/plotly/validators/parcoords/dimension/_ticktext.py +++ b/plotly/validators/parcoords/dimension/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_ticktextsrc.py b/plotly/validators/parcoords/dimension/_ticktextsrc.py index 56214c37794..819259893a6 100644 --- a/plotly/validators/parcoords/dimension/_ticktextsrc.py +++ b/plotly/validators/parcoords/dimension/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_tickvals.py b/plotly/validators/parcoords/dimension/_tickvals.py index 6da6f69605a..a90c94a98eb 100644 --- a/plotly/validators/parcoords/dimension/_tickvals.py +++ b/plotly/validators/parcoords/dimension/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_tickvalssrc.py b/plotly/validators/parcoords/dimension/_tickvalssrc.py index c37273381d4..ea74f22377b 100644 --- a/plotly/validators/parcoords/dimension/_tickvalssrc.py +++ b/plotly/validators/parcoords/dimension/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_values.py b/plotly/validators/parcoords/dimension/_values.py index 82ba21bfefb..0d3271301cc 100644 --- a/plotly/validators/parcoords/dimension/_values.py +++ b/plotly/validators/parcoords/dimension/_values.py @@ -12,7 +12,7 @@ def __init__( super(ValuesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_valuessrc.py b/plotly/validators/parcoords/dimension/_valuessrc.py index 75b17a5b8f0..05fd3e0cb10 100644 --- a/plotly/validators/parcoords/dimension/_valuessrc.py +++ b/plotly/validators/parcoords/dimension/_valuessrc.py @@ -12,7 +12,7 @@ def __init__( super(ValuessrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/dimension/_visible.py b/plotly/validators/parcoords/dimension/_visible.py index 400410a3244..b41ac3b2582 100644 --- a/plotly/validators/parcoords/dimension/_visible.py +++ b/plotly/validators/parcoords/dimension/_visible.py @@ -12,7 +12,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/domain/_column.py b/plotly/validators/parcoords/domain/_column.py index d8a49c26582..29c06eddc78 100644 --- a/plotly/validators/parcoords/domain/_column.py +++ b/plotly/validators/parcoords/domain/_column.py @@ -9,8 +9,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/domain/_row.py b/plotly/validators/parcoords/domain/_row.py index d43a0c9ed99..eafa74635e2 100644 --- a/plotly/validators/parcoords/domain/_row.py +++ b/plotly/validators/parcoords/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/domain/_x.py b/plotly/validators/parcoords/domain/_x.py index 1bdeedaa003..4ac5dc23c2b 100644 --- a/plotly/validators/parcoords/domain/_x.py +++ b/plotly/validators/parcoords/domain/_x.py @@ -9,20 +9,22 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/domain/_y.py b/plotly/validators/parcoords/domain/_y.py index e0fbf83430f..359e185490e 100644 --- a/plotly/validators/parcoords/domain/_y.py +++ b/plotly/validators/parcoords/domain/_y.py @@ -9,20 +9,22 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_bgcolor.py b/plotly/validators/parcoords/hoverlabel/_bgcolor.py index 6a1853199c1..2e64667f5eb 100644 --- a/plotly/validators/parcoords/hoverlabel/_bgcolor.py +++ b/plotly/validators/parcoords/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_bgcolorsrc.py b/plotly/validators/parcoords/hoverlabel/_bgcolorsrc.py index e1d6f8248af..acd34093ae2 100644 --- a/plotly/validators/parcoords/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/parcoords/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_bordercolor.py b/plotly/validators/parcoords/hoverlabel/_bordercolor.py index ca42cb4e41a..0f711088f98 100644 --- a/plotly/validators/parcoords/hoverlabel/_bordercolor.py +++ b/plotly/validators/parcoords/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_bordercolorsrc.py b/plotly/validators/parcoords/hoverlabel/_bordercolorsrc.py index 61796482720..e6b4f9aa753 100644 --- a/plotly/validators/parcoords/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/parcoords/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_font.py b/plotly/validators/parcoords/hoverlabel/_font.py index 322a6a6a800..350f7dde8a3 100644 --- a/plotly/validators/parcoords/hoverlabel/_font.py +++ b/plotly/validators/parcoords/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_namelength.py b/plotly/validators/parcoords/hoverlabel/_namelength.py index 3170bf9eed0..5c1287934a2 100644 --- a/plotly/validators/parcoords/hoverlabel/_namelength.py +++ b/plotly/validators/parcoords/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/_namelengthsrc.py b/plotly/validators/parcoords/hoverlabel/_namelengthsrc.py index f8393b23c15..2211fb1bc50 100644 --- a/plotly/validators/parcoords/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/parcoords/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/font/_color.py b/plotly/validators/parcoords/hoverlabel/font/_color.py index 2510ae8d6e6..a095cf9c69a 100644 --- a/plotly/validators/parcoords/hoverlabel/font/_color.py +++ b/plotly/validators/parcoords/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/font/_colorsrc.py b/plotly/validators/parcoords/hoverlabel/font/_colorsrc.py index ae68feac7b1..12629720f02 100644 --- a/plotly/validators/parcoords/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/parcoords/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/font/_family.py b/plotly/validators/parcoords/hoverlabel/font/_family.py index de0bc8c4ca0..d7112e8d8fe 100644 --- a/plotly/validators/parcoords/hoverlabel/font/_family.py +++ b/plotly/validators/parcoords/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/font/_familysrc.py b/plotly/validators/parcoords/hoverlabel/font/_familysrc.py index e7ca5d7f9a8..71ad7c8cfd7 100644 --- a/plotly/validators/parcoords/hoverlabel/font/_familysrc.py +++ b/plotly/validators/parcoords/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/font/_size.py b/plotly/validators/parcoords/hoverlabel/font/_size.py index ff157ed0652..a1abbeb5e88 100644 --- a/plotly/validators/parcoords/hoverlabel/font/_size.py +++ b/plotly/validators/parcoords/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/hoverlabel/font/_sizesrc.py b/plotly/validators/parcoords/hoverlabel/font/_sizesrc.py index b5dd2eb3725..8efeb80d580 100644 --- a/plotly/validators/parcoords/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/parcoords/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/labelfont/_color.py b/plotly/validators/parcoords/labelfont/_color.py index 11d1c6aa41f..bc5f0c846a8 100644 --- a/plotly/validators/parcoords/labelfont/_color.py +++ b/plotly/validators/parcoords/labelfont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/labelfont/_family.py b/plotly/validators/parcoords/labelfont/_family.py index edc7ebe250d..8e4281c7dee 100644 --- a/plotly/validators/parcoords/labelfont/_family.py +++ b/plotly/validators/parcoords/labelfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/labelfont/_size.py b/plotly/validators/parcoords/labelfont/_size.py index 74b28647452..400acccb284 100644 --- a/plotly/validators/parcoords/labelfont/_size.py +++ b/plotly/validators/parcoords/labelfont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_autocolorscale.py b/plotly/validators/parcoords/line/_autocolorscale.py index 1ab8031c4b8..cab4610d077 100644 --- a/plotly/validators/parcoords/line/_autocolorscale.py +++ b/plotly/validators/parcoords/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_cauto.py b/plotly/validators/parcoords/line/_cauto.py index 6296fb91151..3e9a5c87bf5 100644 --- a/plotly/validators/parcoords/line/_cauto.py +++ b/plotly/validators/parcoords/line/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_cmax.py b/plotly/validators/parcoords/line/_cmax.py index 294a1c33cb5..53819d315c0 100644 --- a/plotly/validators/parcoords/line/_cmax.py +++ b/plotly/validators/parcoords/line/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_cmin.py b/plotly/validators/parcoords/line/_cmin.py index e3aab862fce..96becb37561 100644 --- a/plotly/validators/parcoords/line/_cmin.py +++ b/plotly/validators/parcoords/line/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_color.py b/plotly/validators/parcoords/line/_color.py index 6ccf432239f..bd2c1479409 100644 --- a/plotly/validators/parcoords/line/_color.py +++ b/plotly/validators/parcoords/line/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='parcoords.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'parcoords.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/parcoords/line/_colorbar.py b/plotly/validators/parcoords/line/_colorbar.py index 8e12265fddc..f55d53fd74d 100644 --- a/plotly/validators/parcoords/line/_colorbar.py +++ b/plotly/validators/parcoords/line/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/line/_colorscale.py b/plotly/validators/parcoords/line/_colorscale.py index 215238110dc..9ff3e17363b 100644 --- a/plotly/validators/parcoords/line/_colorscale.py +++ b/plotly/validators/parcoords/line/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_colorsrc.py b/plotly/validators/parcoords/line/_colorsrc.py index 9dd8d363d6f..906731808fd 100644 --- a/plotly/validators/parcoords/line/_colorsrc.py +++ b/plotly/validators/parcoords/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_reversescale.py b/plotly/validators/parcoords/line/_reversescale.py index 679eeb2af0d..483faa1c1ff 100644 --- a/plotly/validators/parcoords/line/_reversescale.py +++ b/plotly/validators/parcoords/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/_showscale.py b/plotly/validators/parcoords/line/_showscale.py index 5b081c3da0e..83bf43ee0b1 100644 --- a/plotly/validators/parcoords/line/_showscale.py +++ b/plotly/validators/parcoords/line/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_bgcolor.py b/plotly/validators/parcoords/line/colorbar/_bgcolor.py index a6b7dd759a9..dd9429e0a09 100644 --- a/plotly/validators/parcoords/line/colorbar/_bgcolor.py +++ b/plotly/validators/parcoords/line/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_bordercolor.py b/plotly/validators/parcoords/line/colorbar/_bordercolor.py index 04022e4a54a..430ae86c5d5 100644 --- a/plotly/validators/parcoords/line/colorbar/_bordercolor.py +++ b/plotly/validators/parcoords/line/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_borderwidth.py b/plotly/validators/parcoords/line/colorbar/_borderwidth.py index f0b7641c2e9..488dd277c10 100644 --- a/plotly/validators/parcoords/line/colorbar/_borderwidth.py +++ b/plotly/validators/parcoords/line/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_dtick.py b/plotly/validators/parcoords/line/colorbar/_dtick.py index 90204cac6a5..9af9d8f023b 100644 --- a/plotly/validators/parcoords/line/colorbar/_dtick.py +++ b/plotly/validators/parcoords/line/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_exponentformat.py b/plotly/validators/parcoords/line/colorbar/_exponentformat.py index fb3a62b08e4..addc3178315 100644 --- a/plotly/validators/parcoords/line/colorbar/_exponentformat.py +++ b/plotly/validators/parcoords/line/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_len.py b/plotly/validators/parcoords/line/colorbar/_len.py index c782bfb8c56..873b5f05954 100644 --- a/plotly/validators/parcoords/line/colorbar/_len.py +++ b/plotly/validators/parcoords/line/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_lenmode.py b/plotly/validators/parcoords/line/colorbar/_lenmode.py index 838886fabdc..80b4ccc17b3 100644 --- a/plotly/validators/parcoords/line/colorbar/_lenmode.py +++ b/plotly/validators/parcoords/line/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_nticks.py b/plotly/validators/parcoords/line/colorbar/_nticks.py index fd32e0b6461..a34222da158 100644 --- a/plotly/validators/parcoords/line/colorbar/_nticks.py +++ b/plotly/validators/parcoords/line/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_outlinecolor.py b/plotly/validators/parcoords/line/colorbar/_outlinecolor.py index 2520b5a5e48..a2c2b607d1e 100644 --- a/plotly/validators/parcoords/line/colorbar/_outlinecolor.py +++ b/plotly/validators/parcoords/line/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_outlinewidth.py b/plotly/validators/parcoords/line/colorbar/_outlinewidth.py index 0d99a42f037..dd024ec86ce 100644 --- a/plotly/validators/parcoords/line/colorbar/_outlinewidth.py +++ b/plotly/validators/parcoords/line/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_separatethousands.py b/plotly/validators/parcoords/line/colorbar/_separatethousands.py index 50e91344f69..0f79d13c402 100644 --- a/plotly/validators/parcoords/line/colorbar/_separatethousands.py +++ b/plotly/validators/parcoords/line/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_showexponent.py b/plotly/validators/parcoords/line/colorbar/_showexponent.py index 29bd34c129d..f093ad22cdd 100644 --- a/plotly/validators/parcoords/line/colorbar/_showexponent.py +++ b/plotly/validators/parcoords/line/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_showticklabels.py b/plotly/validators/parcoords/line/colorbar/_showticklabels.py index 865e80e33f3..5be6814e9ae 100644 --- a/plotly/validators/parcoords/line/colorbar/_showticklabels.py +++ b/plotly/validators/parcoords/line/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_showtickprefix.py b/plotly/validators/parcoords/line/colorbar/_showtickprefix.py index 2038d0c2b8f..7ad33c80f79 100644 --- a/plotly/validators/parcoords/line/colorbar/_showtickprefix.py +++ b/plotly/validators/parcoords/line/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_showticksuffix.py b/plotly/validators/parcoords/line/colorbar/_showticksuffix.py index ae7cae3c70f..ddd71dfa98d 100644 --- a/plotly/validators/parcoords/line/colorbar/_showticksuffix.py +++ b/plotly/validators/parcoords/line/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_thickness.py b/plotly/validators/parcoords/line/colorbar/_thickness.py index 069d4da6653..cc659955776 100644 --- a/plotly/validators/parcoords/line/colorbar/_thickness.py +++ b/plotly/validators/parcoords/line/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_thicknessmode.py b/plotly/validators/parcoords/line/colorbar/_thicknessmode.py index ed04ae32f74..5a7a2533712 100644 --- a/plotly/validators/parcoords/line/colorbar/_thicknessmode.py +++ b/plotly/validators/parcoords/line/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tick0.py b/plotly/validators/parcoords/line/colorbar/_tick0.py index 645535a4287..6a9a370d856 100644 --- a/plotly/validators/parcoords/line/colorbar/_tick0.py +++ b/plotly/validators/parcoords/line/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickangle.py b/plotly/validators/parcoords/line/colorbar/_tickangle.py index 3f3e55b0750..aec4e6b76f3 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickangle.py +++ b/plotly/validators/parcoords/line/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickcolor.py b/plotly/validators/parcoords/line/colorbar/_tickcolor.py index ba2e6e5dd36..b2d97fe2dd4 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickcolor.py +++ b/plotly/validators/parcoords/line/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickfont.py b/plotly/validators/parcoords/line/colorbar/_tickfont.py index 7d4b6ae1217..03bd8aed458 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickfont.py +++ b/plotly/validators/parcoords/line/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickformat.py b/plotly/validators/parcoords/line/colorbar/_tickformat.py index 782fff449bc..439810fb5b8 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickformat.py +++ b/plotly/validators/parcoords/line/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickformatstops.py b/plotly/validators/parcoords/line/colorbar/_tickformatstops.py index 85b589ee3a2..acb4c0c07bb 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickformatstops.py +++ b/plotly/validators/parcoords/line/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_ticklen.py b/plotly/validators/parcoords/line/colorbar/_ticklen.py index c2932bf85ff..28de317e7d2 100644 --- a/plotly/validators/parcoords/line/colorbar/_ticklen.py +++ b/plotly/validators/parcoords/line/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickmode.py b/plotly/validators/parcoords/line/colorbar/_tickmode.py index 5b248b9a534..2d49276e30e 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickmode.py +++ b/plotly/validators/parcoords/line/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickprefix.py b/plotly/validators/parcoords/line/colorbar/_tickprefix.py index cc30662eba0..783b6db38f1 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickprefix.py +++ b/plotly/validators/parcoords/line/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_ticks.py b/plotly/validators/parcoords/line/colorbar/_ticks.py index d10dc4068bb..d7e80ca44b5 100644 --- a/plotly/validators/parcoords/line/colorbar/_ticks.py +++ b/plotly/validators/parcoords/line/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_ticksuffix.py b/plotly/validators/parcoords/line/colorbar/_ticksuffix.py index 111036348a5..c2436ef7e76 100644 --- a/plotly/validators/parcoords/line/colorbar/_ticksuffix.py +++ b/plotly/validators/parcoords/line/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_ticktext.py b/plotly/validators/parcoords/line/colorbar/_ticktext.py index c06c46fb4a8..65c4772173e 100644 --- a/plotly/validators/parcoords/line/colorbar/_ticktext.py +++ b/plotly/validators/parcoords/line/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_ticktextsrc.py b/plotly/validators/parcoords/line/colorbar/_ticktextsrc.py index 47b314df47d..2f39587fc73 100644 --- a/plotly/validators/parcoords/line/colorbar/_ticktextsrc.py +++ b/plotly/validators/parcoords/line/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickvals.py b/plotly/validators/parcoords/line/colorbar/_tickvals.py index 2323975e1ac..8a1827af0a8 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickvals.py +++ b/plotly/validators/parcoords/line/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickvalssrc.py b/plotly/validators/parcoords/line/colorbar/_tickvalssrc.py index f4a3b6521ec..f84a65bc1cf 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickvalssrc.py +++ b/plotly/validators/parcoords/line/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_tickwidth.py b/plotly/validators/parcoords/line/colorbar/_tickwidth.py index fad1a8f6071..db292fc598a 100644 --- a/plotly/validators/parcoords/line/colorbar/_tickwidth.py +++ b/plotly/validators/parcoords/line/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_title.py b/plotly/validators/parcoords/line/colorbar/_title.py index a9e8e0206d0..e3078ebf8ad 100644 --- a/plotly/validators/parcoords/line/colorbar/_title.py +++ b/plotly/validators/parcoords/line/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_titlefont.py b/plotly/validators/parcoords/line/colorbar/_titlefont.py index 12fb9307726..915903e086b 100644 --- a/plotly/validators/parcoords/line/colorbar/_titlefont.py +++ b/plotly/validators/parcoords/line/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_titleside.py b/plotly/validators/parcoords/line/colorbar/_titleside.py index ec305740b51..00e85312a46 100644 --- a/plotly/validators/parcoords/line/colorbar/_titleside.py +++ b/plotly/validators/parcoords/line/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_x.py b/plotly/validators/parcoords/line/colorbar/_x.py index 5c9d2a0d048..c2f65da4a25 100644 --- a/plotly/validators/parcoords/line/colorbar/_x.py +++ b/plotly/validators/parcoords/line/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_xanchor.py b/plotly/validators/parcoords/line/colorbar/_xanchor.py index 6e1d006d39b..4b4526a32b5 100644 --- a/plotly/validators/parcoords/line/colorbar/_xanchor.py +++ b/plotly/validators/parcoords/line/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_xpad.py b/plotly/validators/parcoords/line/colorbar/_xpad.py index afa7ab7c8db..283dcc913de 100644 --- a/plotly/validators/parcoords/line/colorbar/_xpad.py +++ b/plotly/validators/parcoords/line/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_y.py b/plotly/validators/parcoords/line/colorbar/_y.py index 329e54c7210..b5d1f00a9a4 100644 --- a/plotly/validators/parcoords/line/colorbar/_y.py +++ b/plotly/validators/parcoords/line/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_yanchor.py b/plotly/validators/parcoords/line/colorbar/_yanchor.py index cd9707ed5ec..f82f92a36e3 100644 --- a/plotly/validators/parcoords/line/colorbar/_yanchor.py +++ b/plotly/validators/parcoords/line/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/_ypad.py b/plotly/validators/parcoords/line/colorbar/_ypad.py index 0dd7e356cbc..dd43b339c2e 100644 --- a/plotly/validators/parcoords/line/colorbar/_ypad.py +++ b/plotly/validators/parcoords/line/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickfont/_color.py b/plotly/validators/parcoords/line/colorbar/tickfont/_color.py index 8aa96450277..95444708665 100644 --- a/plotly/validators/parcoords/line/colorbar/tickfont/_color.py +++ b/plotly/validators/parcoords/line/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickfont/_family.py b/plotly/validators/parcoords/line/colorbar/tickfont/_family.py index 81b0f6ae18d..ef9f3ae373a 100644 --- a/plotly/validators/parcoords/line/colorbar/tickfont/_family.py +++ b/plotly/validators/parcoords/line/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickfont/_size.py b/plotly/validators/parcoords/line/colorbar/tickfont/_size.py index 906d86fafcd..bdaf2c72a17 100644 --- a/plotly/validators/parcoords/line/colorbar/tickfont/_size.py +++ b/plotly/validators/parcoords/line/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/parcoords/line/colorbar/tickformatstop/_dtickrange.py index 44bc2ff8071..c4dc3ac3eeb 100644 --- a/plotly/validators/parcoords/line/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/parcoords/line/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickformatstop/_enabled.py b/plotly/validators/parcoords/line/colorbar/tickformatstop/_enabled.py index f3bd78efa66..c68f7fe8eab 100644 --- a/plotly/validators/parcoords/line/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/parcoords/line/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickformatstop/_name.py b/plotly/validators/parcoords/line/colorbar/tickformatstop/_name.py index ced7152ff78..d7854afd34c 100644 --- a/plotly/validators/parcoords/line/colorbar/tickformatstop/_name.py +++ b/plotly/validators/parcoords/line/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/parcoords/line/colorbar/tickformatstop/_templateitemname.py index d3ced6330c0..6d5caefafdc 100644 --- a/plotly/validators/parcoords/line/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/parcoords/line/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/tickformatstop/_value.py b/plotly/validators/parcoords/line/colorbar/tickformatstop/_value.py index 2097961a64a..d722002536a 100644 --- a/plotly/validators/parcoords/line/colorbar/tickformatstop/_value.py +++ b/plotly/validators/parcoords/line/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/titlefont/_color.py b/plotly/validators/parcoords/line/colorbar/titlefont/_color.py index 7964517d612..16325925d6c 100644 --- a/plotly/validators/parcoords/line/colorbar/titlefont/_color.py +++ b/plotly/validators/parcoords/line/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/titlefont/_family.py b/plotly/validators/parcoords/line/colorbar/titlefont/_family.py index f19d8643452..8379483ff6a 100644 --- a/plotly/validators/parcoords/line/colorbar/titlefont/_family.py +++ b/plotly/validators/parcoords/line/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/line/colorbar/titlefont/_size.py b/plotly/validators/parcoords/line/colorbar/titlefont/_size.py index 8ad5477e1ae..7579124c50a 100644 --- a/plotly/validators/parcoords/line/colorbar/titlefont/_size.py +++ b/plotly/validators/parcoords/line/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/rangefont/_color.py b/plotly/validators/parcoords/rangefont/_color.py index b91843bb891..3d0cdad53b5 100644 --- a/plotly/validators/parcoords/rangefont/_color.py +++ b/plotly/validators/parcoords/rangefont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/rangefont/_family.py b/plotly/validators/parcoords/rangefont/_family.py index f2a002abce4..f9427c92142 100644 --- a/plotly/validators/parcoords/rangefont/_family.py +++ b/plotly/validators/parcoords/rangefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/rangefont/_size.py b/plotly/validators/parcoords/rangefont/_size.py index 4a7450fcd12..1336e7f4c92 100644 --- a/plotly/validators/parcoords/rangefont/_size.py +++ b/plotly/validators/parcoords/rangefont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/stream/_maxpoints.py b/plotly/validators/parcoords/stream/_maxpoints.py index 44bd0e056ae..d432d66bca4 100644 --- a/plotly/validators/parcoords/stream/_maxpoints.py +++ b/plotly/validators/parcoords/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/parcoords/stream/_token.py b/plotly/validators/parcoords/stream/_token.py index 0c4ac62d5a3..465a12c430e 100644 --- a/plotly/validators/parcoords/stream/_token.py +++ b/plotly/validators/parcoords/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/tickfont/_color.py b/plotly/validators/parcoords/tickfont/_color.py index 31c3a0b3dd6..aa3c272fab2 100644 --- a/plotly/validators/parcoords/tickfont/_color.py +++ b/plotly/validators/parcoords/tickfont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/parcoords/tickfont/_family.py b/plotly/validators/parcoords/tickfont/_family.py index 8de8d5041e0..6e78a1f4d02 100644 --- a/plotly/validators/parcoords/tickfont/_family.py +++ b/plotly/validators/parcoords/tickfont/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/parcoords/tickfont/_size.py b/plotly/validators/parcoords/tickfont/_size.py index 6f1207b53bc..91ae5a607c2 100644 --- a/plotly/validators/parcoords/tickfont/_size.py +++ b/plotly/validators/parcoords/tickfont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/_customdata.py b/plotly/validators/pie/_customdata.py index 3e4f8ee7545..16590e8364d 100644 --- a/plotly/validators/pie/_customdata.py +++ b/plotly/validators/pie/_customdata.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='customdata', parent_name='pie', **kwargs): super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pie/_customdatasrc.py b/plotly/validators/pie/_customdatasrc.py index 40f54097e56..49c1dc575b4 100644 --- a/plotly/validators/pie/_customdatasrc.py +++ b/plotly/validators/pie/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_direction.py b/plotly/validators/pie/_direction.py index d60981a0703..9d15e5ca1f3 100644 --- a/plotly/validators/pie/_direction.py +++ b/plotly/validators/pie/_direction.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='direction', parent_name='pie', **kwargs): super(DirectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['clockwise', 'counterclockwise'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['clockwise', 'counterclockwise']), **kwargs ) diff --git a/plotly/validators/pie/_dlabel.py b/plotly/validators/pie/_dlabel.py index a293c36cbf1..44de3483220 100644 --- a/plotly/validators/pie/_dlabel.py +++ b/plotly/validators/pie/_dlabel.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dlabel', parent_name='pie', **kwargs): super(DlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_domain.py b/plotly/validators/pie/_domain.py index d4eebbf6e54..c97f35560d3 100644 --- a/plotly/validators/pie/_domain.py +++ b/plotly/validators/pie/_domain.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='domain', parent_name='pie', **kwargs): super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this pie trace . @@ -21,6 +22,7 @@ def __init__(self, plotly_name='domain', parent_name='pie', **kwargs): y Sets the vertical domain of this pie trace (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_hole.py b/plotly/validators/pie/_hole.py index e62b16a0e0b..51547c47195 100644 --- a/plotly/validators/pie/_hole.py +++ b/plotly/validators/pie/_hole.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='hole', parent_name='pie', **kwargs): super(HoleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/_hoverinfo.py b/plotly/validators/pie/_hoverinfo.py index 8fa18b5b499..7c640a36ec2 100644 --- a/plotly/validators/pie/_hoverinfo.py +++ b/plotly/validators/pie/_hoverinfo.py @@ -7,10 +7,12 @@ def __init__(self, plotly_name='hoverinfo', parent_name='pie', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['label', 'text', 'value', 'percent', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop( + 'flags', ['label', 'text', 'value', 'percent', 'name'] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_hoverinfosrc.py b/plotly/validators/pie/_hoverinfosrc.py index 3bd832754f9..ac052921711 100644 --- a/plotly/validators/pie/_hoverinfosrc.py +++ b/plotly/validators/pie/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_hoverlabel.py b/plotly/validators/pie/_hoverlabel.py index f62789a3dda..d23cfc2c75f 100644 --- a/plotly/validators/pie/_hoverlabel.py +++ b/plotly/validators/pie/_hoverlabel.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='hoverlabel', parent_name='pie', **kwargs): super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -35,6 +36,7 @@ def __init__(self, plotly_name='hoverlabel', parent_name='pie', **kwargs): namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_hovertext.py b/plotly/validators/pie/_hovertext.py index 795c18bd89a..04ce4c53762 100644 --- a/plotly/validators/pie/_hovertext.py +++ b/plotly/validators/pie/_hovertext.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='hovertext', parent_name='pie', **kwargs): super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_hovertextsrc.py b/plotly/validators/pie/_hovertextsrc.py index 9cd83921e7c..e3b3acf59d6 100644 --- a/plotly/validators/pie/_hovertextsrc.py +++ b/plotly/validators/pie/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_ids.py b/plotly/validators/pie/_ids.py index 70960cb703b..a2d04b8c48c 100644 --- a/plotly/validators/pie/_ids.py +++ b/plotly/validators/pie/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='pie', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pie/_idssrc.py b/plotly/validators/pie/_idssrc.py index 96268b8acec..76ba7046a48 100644 --- a/plotly/validators/pie/_idssrc.py +++ b/plotly/validators/pie/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='pie', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_insidetextfont.py b/plotly/validators/pie/_insidetextfont.py index 7aacce092a7..3fba499a100 100644 --- a/plotly/validators/pie/_insidetextfont.py +++ b/plotly/validators/pie/_insidetextfont.py @@ -9,8 +9,9 @@ def __init__( super(InsidetextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Insidetextfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Insidetextfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_label0.py b/plotly/validators/pie/_label0.py index e940a67c0cd..e9bf47f83d5 100644 --- a/plotly/validators/pie/_label0.py +++ b/plotly/validators/pie/_label0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='label0', parent_name='pie', **kwargs): super(Label0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_labels.py b/plotly/validators/pie/_labels.py index 8576c597102..4c2bad8a49f 100644 --- a/plotly/validators/pie/_labels.py +++ b/plotly/validators/pie/_labels.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='labels', parent_name='pie', **kwargs): super(LabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pie/_labelssrc.py b/plotly/validators/pie/_labelssrc.py index 83bfa7dcb7c..e1a1696989f 100644 --- a/plotly/validators/pie/_labelssrc.py +++ b/plotly/validators/pie/_labelssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='labelssrc', parent_name='pie', **kwargs): super(LabelssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_legendgroup.py b/plotly/validators/pie/_legendgroup.py index 16e182fbd49..6ccede257ce 100644 --- a/plotly/validators/pie/_legendgroup.py +++ b/plotly/validators/pie/_legendgroup.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='legendgroup', parent_name='pie', **kwargs): super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_marker.py b/plotly/validators/pie/_marker.py index 15bebc6845f..99ddc5400f2 100644 --- a/plotly/validators/pie/_marker.py +++ b/plotly/validators/pie/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='pie', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ colors Sets the color of each sector of this pie chart. If not specified, the default trace @@ -19,6 +20,7 @@ def __init__(self, plotly_name='marker', parent_name='pie', **kwargs): line plotly.graph_objs.pie.marker.Line instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_name.py b/plotly/validators/pie/_name.py index 500ef350cb0..9f0c9d45cfd 100644 --- a/plotly/validators/pie/_name.py +++ b/plotly/validators/pie/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='pie', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_opacity.py b/plotly/validators/pie/_opacity.py index 194dd4d50ea..cb52688f465 100644 --- a/plotly/validators/pie/_opacity.py +++ b/plotly/validators/pie/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='pie', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/_outsidetextfont.py b/plotly/validators/pie/_outsidetextfont.py index 4ebb4934de7..053993314f2 100644 --- a/plotly/validators/pie/_outsidetextfont.py +++ b/plotly/validators/pie/_outsidetextfont.py @@ -9,8 +9,9 @@ def __init__( super(OutsidetextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Outsidetextfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Outsidetextfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_pull.py b/plotly/validators/pie/_pull.py index 39a62cd7a99..df2a7a410ac 100644 --- a/plotly/validators/pie/_pull.py +++ b/plotly/validators/pie/_pull.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='pull', parent_name='pie', **kwargs): super(PullValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/_pullsrc.py b/plotly/validators/pie/_pullsrc.py index 32922d9c416..8a14af24f38 100644 --- a/plotly/validators/pie/_pullsrc.py +++ b/plotly/validators/pie/_pullsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='pullsrc', parent_name='pie', **kwargs): super(PullsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_rotation.py b/plotly/validators/pie/_rotation.py index b3939ef2acb..38193ea4197 100644 --- a/plotly/validators/pie/_rotation.py +++ b/plotly/validators/pie/_rotation.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='rotation', parent_name='pie', **kwargs): super(RotationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=360, - min=-360, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 360), + min=kwargs.pop('min', -360), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/_scalegroup.py b/plotly/validators/pie/_scalegroup.py index dde7d84340e..9022ce5e1c6 100644 --- a/plotly/validators/pie/_scalegroup.py +++ b/plotly/validators/pie/_scalegroup.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='scalegroup', parent_name='pie', **kwargs): super(ScalegroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_selectedpoints.py b/plotly/validators/pie/_selectedpoints.py index 1a0469c6af1..ff1cc826102 100644 --- a/plotly/validators/pie/_selectedpoints.py +++ b/plotly/validators/pie/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_showlegend.py b/plotly/validators/pie/_showlegend.py index 89110417fdf..c20afb8c47b 100644 --- a/plotly/validators/pie/_showlegend.py +++ b/plotly/validators/pie/_showlegend.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='showlegend', parent_name='pie', **kwargs): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_sort.py b/plotly/validators/pie/_sort.py index a133de8915a..dd6962aae9a 100644 --- a/plotly/validators/pie/_sort.py +++ b/plotly/validators/pie/_sort.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='sort', parent_name='pie', **kwargs): super(SortValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/_stream.py b/plotly/validators/pie/_stream.py index 9f9ac1ebc33..ee74df77482 100644 --- a/plotly/validators/pie/_stream.py +++ b/plotly/validators/pie/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='pie', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='pie', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_text.py b/plotly/validators/pie/_text.py index 6eebf4f5dea..f4d6b8dd871 100644 --- a/plotly/validators/pie/_text.py +++ b/plotly/validators/pie/_text.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='text', parent_name='pie', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pie/_textfont.py b/plotly/validators/pie/_textfont.py index 76fe6217902..15769f467a7 100644 --- a/plotly/validators/pie/_textfont.py +++ b/plotly/validators/pie/_textfont.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='textfont', parent_name='pie', **kwargs): super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -29,6 +30,7 @@ def __init__(self, plotly_name='textfont', parent_name='pie', **kwargs): Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/_textinfo.py b/plotly/validators/pie/_textinfo.py index e5f304c877e..535f06b2e6c 100644 --- a/plotly/validators/pie/_textinfo.py +++ b/plotly/validators/pie/_textinfo.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='textinfo', parent_name='pie', **kwargs): super(TextinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['label', 'text', 'value', 'percent'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['label', 'text', 'value', 'percent']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_textposition.py b/plotly/validators/pie/_textposition.py index 6dcf154f520..0b053a2a40e 100644 --- a/plotly/validators/pie/_textposition.py +++ b/plotly/validators/pie/_textposition.py @@ -9,9 +9,9 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', - values=['inside', 'outside', 'auto', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['inside', 'outside', 'auto', 'none']), **kwargs ) diff --git a/plotly/validators/pie/_textpositionsrc.py b/plotly/validators/pie/_textpositionsrc.py index b1a4d2f3bad..75a7b20bf62 100644 --- a/plotly/validators/pie/_textpositionsrc.py +++ b/plotly/validators/pie/_textpositionsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_textsrc.py b/plotly/validators/pie/_textsrc.py index 0ebc19a248a..8aaba46f209 100644 --- a/plotly/validators/pie/_textsrc.py +++ b/plotly/validators/pie/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='pie', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_uid.py b/plotly/validators/pie/_uid.py index 39dee1550b5..12bef8c16c0 100644 --- a/plotly/validators/pie/_uid.py +++ b/plotly/validators/pie/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='pie', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_values.py b/plotly/validators/pie/_values.py index efee8fc9d3f..463dbce641f 100644 --- a/plotly/validators/pie/_values.py +++ b/plotly/validators/pie/_values.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='values', parent_name='pie', **kwargs): super(ValuesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pie/_valuessrc.py b/plotly/validators/pie/_valuessrc.py index 7588e4cf8c1..862750242d3 100644 --- a/plotly/validators/pie/_valuessrc.py +++ b/plotly/validators/pie/_valuessrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='valuessrc', parent_name='pie', **kwargs): super(ValuessrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/_visible.py b/plotly/validators/pie/_visible.py index 909e01aa417..8ffa8240740 100644 --- a/plotly/validators/pie/_visible.py +++ b/plotly/validators/pie/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='pie', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/pie/domain/_column.py b/plotly/validators/pie/domain/_column.py index 9eaa7fd4bc5..bae15637942 100644 --- a/plotly/validators/pie/domain/_column.py +++ b/plotly/validators/pie/domain/_column.py @@ -9,8 +9,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/domain/_row.py b/plotly/validators/pie/domain/_row.py index 5998f28915d..933e9aa7457 100644 --- a/plotly/validators/pie/domain/_row.py +++ b/plotly/validators/pie/domain/_row.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='row', parent_name='pie.domain', **kwargs): super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/domain/_x.py b/plotly/validators/pie/domain/_x.py index a61d36454c6..31829480401 100644 --- a/plotly/validators/pie/domain/_x.py +++ b/plotly/validators/pie/domain/_x.py @@ -7,20 +7,22 @@ def __init__(self, plotly_name='x', parent_name='pie.domain', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/domain/_y.py b/plotly/validators/pie/domain/_y.py index 7eda3735aab..5f0fa159f54 100644 --- a/plotly/validators/pie/domain/_y.py +++ b/plotly/validators/pie/domain/_y.py @@ -7,20 +7,22 @@ def __init__(self, plotly_name='y', parent_name='pie.domain', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_bgcolor.py b/plotly/validators/pie/hoverlabel/_bgcolor.py index 84d4851d5fa..b87e223afcc 100644 --- a/plotly/validators/pie/hoverlabel/_bgcolor.py +++ b/plotly/validators/pie/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_bgcolorsrc.py b/plotly/validators/pie/hoverlabel/_bgcolorsrc.py index fba04e3db02..0865582d8eb 100644 --- a/plotly/validators/pie/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/pie/hoverlabel/_bgcolorsrc.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_bordercolor.py b/plotly/validators/pie/hoverlabel/_bordercolor.py index e86ba04086c..422a993796c 100644 --- a/plotly/validators/pie/hoverlabel/_bordercolor.py +++ b/plotly/validators/pie/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_bordercolorsrc.py b/plotly/validators/pie/hoverlabel/_bordercolorsrc.py index a362975d765..ed2ba4e2df1 100644 --- a/plotly/validators/pie/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/pie/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_font.py b/plotly/validators/pie/hoverlabel/_font.py index c3df507cfbe..09d0ffee4fb 100644 --- a/plotly/validators/pie/hoverlabel/_font.py +++ b/plotly/validators/pie/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_namelength.py b/plotly/validators/pie/hoverlabel/_namelength.py index f12de382bee..d07f122aa51 100644 --- a/plotly/validators/pie/hoverlabel/_namelength.py +++ b/plotly/validators/pie/hoverlabel/_namelength.py @@ -9,9 +9,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/_namelengthsrc.py b/plotly/validators/pie/hoverlabel/_namelengthsrc.py index 69569926193..9ba13a5b2ec 100644 --- a/plotly/validators/pie/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/pie/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/font/_color.py b/plotly/validators/pie/hoverlabel/font/_color.py index 23ac9e5d464..7b5d3fa0b0c 100644 --- a/plotly/validators/pie/hoverlabel/font/_color.py +++ b/plotly/validators/pie/hoverlabel/font/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/font/_colorsrc.py b/plotly/validators/pie/hoverlabel/font/_colorsrc.py index 367451fa751..cbdeff8dfff 100644 --- a/plotly/validators/pie/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/pie/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/font/_family.py b/plotly/validators/pie/hoverlabel/font/_family.py index 18aa28530d9..5a2668d6ef0 100644 --- a/plotly/validators/pie/hoverlabel/font/_family.py +++ b/plotly/validators/pie/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/font/_familysrc.py b/plotly/validators/pie/hoverlabel/font/_familysrc.py index df5d2922137..d724443c25d 100644 --- a/plotly/validators/pie/hoverlabel/font/_familysrc.py +++ b/plotly/validators/pie/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/font/_size.py b/plotly/validators/pie/hoverlabel/font/_size.py index 031d0107bbe..21491ef3981 100644 --- a/plotly/validators/pie/hoverlabel/font/_size.py +++ b/plotly/validators/pie/hoverlabel/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/hoverlabel/font/_sizesrc.py b/plotly/validators/pie/hoverlabel/font/_sizesrc.py index 24327ec9614..fd8e94f7710 100644 --- a/plotly/validators/pie/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/pie/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/insidetextfont/_color.py b/plotly/validators/pie/insidetextfont/_color.py index 06cf042b7f3..ef8b539d8b2 100644 --- a/plotly/validators/pie/insidetextfont/_color.py +++ b/plotly/validators/pie/insidetextfont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/insidetextfont/_family.py b/plotly/validators/pie/insidetextfont/_family.py index 7c49fbf36e1..3ba611ad600 100644 --- a/plotly/validators/pie/insidetextfont/_family.py +++ b/plotly/validators/pie/insidetextfont/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/pie/insidetextfont/_size.py b/plotly/validators/pie/insidetextfont/_size.py index 75845903c40..8449ea24e94 100644 --- a/plotly/validators/pie/insidetextfont/_size.py +++ b/plotly/validators/pie/insidetextfont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/marker/_colors.py b/plotly/validators/pie/marker/_colors.py index 6dba4d263b8..f2431665648 100644 --- a/plotly/validators/pie/marker/_colors.py +++ b/plotly/validators/pie/marker/_colors.py @@ -9,7 +9,7 @@ def __init__( super(ColorsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pie/marker/_colorssrc.py b/plotly/validators/pie/marker/_colorssrc.py index cba3b3bad9e..7198e3499a3 100644 --- a/plotly/validators/pie/marker/_colorssrc.py +++ b/plotly/validators/pie/marker/_colorssrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/marker/_line.py b/plotly/validators/pie/marker/_line.py index 9e2b8358436..f45b40baf8a 100644 --- a/plotly/validators/pie/marker/_line.py +++ b/plotly/validators/pie/marker/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='pie.marker', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the line enclosing each sector. @@ -21,6 +22,7 @@ def __init__(self, plotly_name='line', parent_name='pie.marker', **kwargs): widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pie/marker/line/_color.py b/plotly/validators/pie/marker/line/_color.py index a8398fc2748..b66b358d887 100644 --- a/plotly/validators/pie/marker/line/_color.py +++ b/plotly/validators/pie/marker/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/marker/line/_colorsrc.py b/plotly/validators/pie/marker/line/_colorsrc.py index 51b8c579cf7..686c0d57d50 100644 --- a/plotly/validators/pie/marker/line/_colorsrc.py +++ b/plotly/validators/pie/marker/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/marker/line/_width.py b/plotly/validators/pie/marker/line/_width.py index 370749437d5..941a159cd95 100644 --- a/plotly/validators/pie/marker/line/_width.py +++ b/plotly/validators/pie/marker/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/marker/line/_widthsrc.py b/plotly/validators/pie/marker/line/_widthsrc.py index 74b33555461..05b69861831 100644 --- a/plotly/validators/pie/marker/line/_widthsrc.py +++ b/plotly/validators/pie/marker/line/_widthsrc.py @@ -9,7 +9,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/outsidetextfont/_color.py b/plotly/validators/pie/outsidetextfont/_color.py index f0272c05592..3939814bd0f 100644 --- a/plotly/validators/pie/outsidetextfont/_color.py +++ b/plotly/validators/pie/outsidetextfont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/outsidetextfont/_family.py b/plotly/validators/pie/outsidetextfont/_family.py index 8dcf0e6e28e..1b2e7955cb9 100644 --- a/plotly/validators/pie/outsidetextfont/_family.py +++ b/plotly/validators/pie/outsidetextfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/pie/outsidetextfont/_size.py b/plotly/validators/pie/outsidetextfont/_size.py index 0c80cae062a..baddb020e93 100644 --- a/plotly/validators/pie/outsidetextfont/_size.py +++ b/plotly/validators/pie/outsidetextfont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/stream/_maxpoints.py b/plotly/validators/pie/stream/_maxpoints.py index 977d2c89942..f7b7045537b 100644 --- a/plotly/validators/pie/stream/_maxpoints.py +++ b/plotly/validators/pie/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pie/stream/_token.py b/plotly/validators/pie/stream/_token.py index 93a7b13de77..6d091487de0 100644 --- a/plotly/validators/pie/stream/_token.py +++ b/plotly/validators/pie/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/pie/textfont/_color.py b/plotly/validators/pie/textfont/_color.py index 53c10cfb20a..ddf2eb239b0 100644 --- a/plotly/validators/pie/textfont/_color.py +++ b/plotly/validators/pie/textfont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pie/textfont/_family.py b/plotly/validators/pie/textfont/_family.py index b7bf00aad6b..730130f83c2 100644 --- a/plotly/validators/pie/textfont/_family.py +++ b/plotly/validators/pie/textfont/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/pie/textfont/_size.py b/plotly/validators/pie/textfont/_size.py index e9c6b85168f..7ea72d28853 100644 --- a/plotly/validators/pie/textfont/_size.py +++ b/plotly/validators/pie/textfont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/_customdata.py b/plotly/validators/pointcloud/_customdata.py index ec75a34dde3..d5c61c3716a 100644 --- a/plotly/validators/pointcloud/_customdata.py +++ b/plotly/validators/pointcloud/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_customdatasrc.py b/plotly/validators/pointcloud/_customdatasrc.py index 583b32d62c2..1f825cf09ea 100644 --- a/plotly/validators/pointcloud/_customdatasrc.py +++ b/plotly/validators/pointcloud/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_hoverinfo.py b/plotly/validators/pointcloud/_hoverinfo.py index d6314d86df8..5c2c873a6cb 100644 --- a/plotly/validators/pointcloud/_hoverinfo.py +++ b/plotly/validators/pointcloud/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_hoverinfosrc.py b/plotly/validators/pointcloud/_hoverinfosrc.py index 9b2e1320dee..c837c4686d9 100644 --- a/plotly/validators/pointcloud/_hoverinfosrc.py +++ b/plotly/validators/pointcloud/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_hoverlabel.py b/plotly/validators/pointcloud/_hoverlabel.py index cc069c9d2cd..23d4aef6b70 100644 --- a/plotly/validators/pointcloud/_hoverlabel.py +++ b/plotly/validators/pointcloud/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pointcloud/_ids.py b/plotly/validators/pointcloud/_ids.py index 828312f9604..67a3a514021 100644 --- a/plotly/validators/pointcloud/_ids.py +++ b/plotly/validators/pointcloud/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='pointcloud', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_idssrc.py b/plotly/validators/pointcloud/_idssrc.py index 3f184998374..1eb6981fdad 100644 --- a/plotly/validators/pointcloud/_idssrc.py +++ b/plotly/validators/pointcloud/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_indices.py b/plotly/validators/pointcloud/_indices.py index 024d5f00312..ba6b36f0370 100644 --- a/plotly/validators/pointcloud/_indices.py +++ b/plotly/validators/pointcloud/_indices.py @@ -9,7 +9,7 @@ def __init__( super(IndicesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_indicessrc.py b/plotly/validators/pointcloud/_indicessrc.py index 10ad364b5cd..d66a9b9c5c5 100644 --- a/plotly/validators/pointcloud/_indicessrc.py +++ b/plotly/validators/pointcloud/_indicessrc.py @@ -9,7 +9,7 @@ def __init__( super(IndicessrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_legendgroup.py b/plotly/validators/pointcloud/_legendgroup.py index 0a9b9066e8f..e5283786f85 100644 --- a/plotly/validators/pointcloud/_legendgroup.py +++ b/plotly/validators/pointcloud/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_marker.py b/plotly/validators/pointcloud/_marker.py index 86ba8e350f5..c96c871410d 100644 --- a/plotly/validators/pointcloud/_marker.py +++ b/plotly/validators/pointcloud/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ blend Determines if colors are blended together for a translucency effect in case `opacity` is @@ -41,6 +42,7 @@ def __init__( Sets the minimum size (in px) of the rendered marker points, effective when the `pointcloud` shows a million or more points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pointcloud/_name.py b/plotly/validators/pointcloud/_name.py index 8665bd0f6d2..e6a0325db31 100644 --- a/plotly/validators/pointcloud/_name.py +++ b/plotly/validators/pointcloud/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='pointcloud', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_opacity.py b/plotly/validators/pointcloud/_opacity.py index 058be661861..7a304648940 100644 --- a/plotly/validators/pointcloud/_opacity.py +++ b/plotly/validators/pointcloud/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/_selectedpoints.py b/plotly/validators/pointcloud/_selectedpoints.py index 7bfe76e3969..eb200885f9f 100644 --- a/plotly/validators/pointcloud/_selectedpoints.py +++ b/plotly/validators/pointcloud/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_showlegend.py b/plotly/validators/pointcloud/_showlegend.py index a285292ffe1..c23200954b5 100644 --- a/plotly/validators/pointcloud/_showlegend.py +++ b/plotly/validators/pointcloud/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_stream.py b/plotly/validators/pointcloud/_stream.py index c1887a0b54e..ee60ff59aa0 100644 --- a/plotly/validators/pointcloud/_stream.py +++ b/plotly/validators/pointcloud/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pointcloud/_text.py b/plotly/validators/pointcloud/_text.py index 190e6c84ad7..85e1c9bce83 100644 --- a/plotly/validators/pointcloud/_text.py +++ b/plotly/validators/pointcloud/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='pointcloud', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_textsrc.py b/plotly/validators/pointcloud/_textsrc.py index f26ddbed18d..5c92994bea3 100644 --- a/plotly/validators/pointcloud/_textsrc.py +++ b/plotly/validators/pointcloud/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_uid.py b/plotly/validators/pointcloud/_uid.py index 90daffe5605..841e30a18d8 100644 --- a/plotly/validators/pointcloud/_uid.py +++ b/plotly/validators/pointcloud/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='pointcloud', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_visible.py b/plotly/validators/pointcloud/_visible.py index c5894a72cb1..9610129e7b6 100644 --- a/plotly/validators/pointcloud/_visible.py +++ b/plotly/validators/pointcloud/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/pointcloud/_x.py b/plotly/validators/pointcloud/_x.py index cca06c73aac..b0851df251f 100644 --- a/plotly/validators/pointcloud/_x.py +++ b/plotly/validators/pointcloud/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='pointcloud', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_xaxis.py b/plotly/validators/pointcloud/_xaxis.py index 35ef3aad31f..17606aec5ca 100644 --- a/plotly/validators/pointcloud/_xaxis.py +++ b/plotly/validators/pointcloud/_xaxis.py @@ -9,8 +9,8 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_xbounds.py b/plotly/validators/pointcloud/_xbounds.py index de42cc7e9d5..b42f08c06b7 100644 --- a/plotly/validators/pointcloud/_xbounds.py +++ b/plotly/validators/pointcloud/_xbounds.py @@ -9,7 +9,7 @@ def __init__( super(XboundsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_xboundssrc.py b/plotly/validators/pointcloud/_xboundssrc.py index fadf2e74497..868f2973d24 100644 --- a/plotly/validators/pointcloud/_xboundssrc.py +++ b/plotly/validators/pointcloud/_xboundssrc.py @@ -9,7 +9,7 @@ def __init__( super(XboundssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_xsrc.py b/plotly/validators/pointcloud/_xsrc.py index 955badbf7df..6d03c85ff8d 100644 --- a/plotly/validators/pointcloud/_xsrc.py +++ b/plotly/validators/pointcloud/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='pointcloud', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_xy.py b/plotly/validators/pointcloud/_xy.py index 7a16f1e1fb0..f9dac1b2dc7 100644 --- a/plotly/validators/pointcloud/_xy.py +++ b/plotly/validators/pointcloud/_xy.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xy', parent_name='pointcloud', **kwargs): super(XyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_xysrc.py b/plotly/validators/pointcloud/_xysrc.py index d70acc8d4a1..d76bd7de33c 100644 --- a/plotly/validators/pointcloud/_xysrc.py +++ b/plotly/validators/pointcloud/_xysrc.py @@ -9,7 +9,7 @@ def __init__( super(XysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_y.py b/plotly/validators/pointcloud/_y.py index dfc46fe4209..ef04cf2081d 100644 --- a/plotly/validators/pointcloud/_y.py +++ b/plotly/validators/pointcloud/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='pointcloud', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_yaxis.py b/plotly/validators/pointcloud/_yaxis.py index b64a42d1862..fe261ee4d50 100644 --- a/plotly/validators/pointcloud/_yaxis.py +++ b/plotly/validators/pointcloud/_yaxis.py @@ -9,8 +9,8 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_ybounds.py b/plotly/validators/pointcloud/_ybounds.py index 4e58e10752e..c0e3a0afe05 100644 --- a/plotly/validators/pointcloud/_ybounds.py +++ b/plotly/validators/pointcloud/_ybounds.py @@ -9,7 +9,7 @@ def __init__( super(YboundsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/pointcloud/_yboundssrc.py b/plotly/validators/pointcloud/_yboundssrc.py index 87828953a6b..5115763d339 100644 --- a/plotly/validators/pointcloud/_yboundssrc.py +++ b/plotly/validators/pointcloud/_yboundssrc.py @@ -9,7 +9,7 @@ def __init__( super(YboundssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/_ysrc.py b/plotly/validators/pointcloud/_ysrc.py index f9853f28c21..52f13d21dd3 100644 --- a/plotly/validators/pointcloud/_ysrc.py +++ b/plotly/validators/pointcloud/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='pointcloud', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_bgcolor.py b/plotly/validators/pointcloud/hoverlabel/_bgcolor.py index 7130e359537..a95ced1300f 100644 --- a/plotly/validators/pointcloud/hoverlabel/_bgcolor.py +++ b/plotly/validators/pointcloud/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_bgcolorsrc.py b/plotly/validators/pointcloud/hoverlabel/_bgcolorsrc.py index 9e87b548270..66eef14ce25 100644 --- a/plotly/validators/pointcloud/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/pointcloud/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_bordercolor.py b/plotly/validators/pointcloud/hoverlabel/_bordercolor.py index 06b746c264a..682c9e54c07 100644 --- a/plotly/validators/pointcloud/hoverlabel/_bordercolor.py +++ b/plotly/validators/pointcloud/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_bordercolorsrc.py b/plotly/validators/pointcloud/hoverlabel/_bordercolorsrc.py index f44e3915ab6..f62dd389077 100644 --- a/plotly/validators/pointcloud/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/pointcloud/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_font.py b/plotly/validators/pointcloud/hoverlabel/_font.py index 7dc7c9ae0e2..0658a02fe7a 100644 --- a/plotly/validators/pointcloud/hoverlabel/_font.py +++ b/plotly/validators/pointcloud/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_namelength.py b/plotly/validators/pointcloud/hoverlabel/_namelength.py index 099fba38dbe..c85bf17747b 100644 --- a/plotly/validators/pointcloud/hoverlabel/_namelength.py +++ b/plotly/validators/pointcloud/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/_namelengthsrc.py b/plotly/validators/pointcloud/hoverlabel/_namelengthsrc.py index f6703f48874..75cc2b9edb9 100644 --- a/plotly/validators/pointcloud/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/pointcloud/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/font/_color.py b/plotly/validators/pointcloud/hoverlabel/font/_color.py index fa8f6c111d8..e5583f7c37c 100644 --- a/plotly/validators/pointcloud/hoverlabel/font/_color.py +++ b/plotly/validators/pointcloud/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/font/_colorsrc.py b/plotly/validators/pointcloud/hoverlabel/font/_colorsrc.py index 0ffd80cdd35..e603396ca53 100644 --- a/plotly/validators/pointcloud/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/pointcloud/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/font/_family.py b/plotly/validators/pointcloud/hoverlabel/font/_family.py index 197cbc31d2b..dc8e7186aab 100644 --- a/plotly/validators/pointcloud/hoverlabel/font/_family.py +++ b/plotly/validators/pointcloud/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/font/_familysrc.py b/plotly/validators/pointcloud/hoverlabel/font/_familysrc.py index e0da7b34161..9f38d4e8e36 100644 --- a/plotly/validators/pointcloud/hoverlabel/font/_familysrc.py +++ b/plotly/validators/pointcloud/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/font/_size.py b/plotly/validators/pointcloud/hoverlabel/font/_size.py index 476c14b880b..5003351f66b 100644 --- a/plotly/validators/pointcloud/hoverlabel/font/_size.py +++ b/plotly/validators/pointcloud/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/hoverlabel/font/_sizesrc.py b/plotly/validators/pointcloud/hoverlabel/font/_sizesrc.py index f379c7cc837..e6bc103e559 100644 --- a/plotly/validators/pointcloud/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/pointcloud/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/_blend.py b/plotly/validators/pointcloud/marker/_blend.py index 078dea73f94..6c933de0b13 100644 --- a/plotly/validators/pointcloud/marker/_blend.py +++ b/plotly/validators/pointcloud/marker/_blend.py @@ -9,7 +9,7 @@ def __init__( super(BlendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/_border.py b/plotly/validators/pointcloud/marker/_border.py index 98650d663f6..37c0e225992 100644 --- a/plotly/validators/pointcloud/marker/_border.py +++ b/plotly/validators/pointcloud/marker/_border.py @@ -9,8 +9,9 @@ def __init__( super(BorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Border', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Border'), + data_docs=kwargs.pop( + 'data_docs', """ arearatio Specifies what fraction of the marker area is covered with the border. @@ -19,6 +20,7 @@ def __init__( color. If the color is not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/_color.py b/plotly/validators/pointcloud/marker/_color.py index 2f8560ae1da..abd6c4aa8ca 100644 --- a/plotly/validators/pointcloud/marker/_color.py +++ b/plotly/validators/pointcloud/marker/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/_opacity.py b/plotly/validators/pointcloud/marker/_opacity.py index 67375cbb23e..bb1e09e2338 100644 --- a/plotly/validators/pointcloud/marker/_opacity.py +++ b/plotly/validators/pointcloud/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/_sizemax.py b/plotly/validators/pointcloud/marker/_sizemax.py index 182636c9b08..f2f6a627ac9 100644 --- a/plotly/validators/pointcloud/marker/_sizemax.py +++ b/plotly/validators/pointcloud/marker/_sizemax.py @@ -9,8 +9,8 @@ def __init__( super(SizemaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0.1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0.1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/_sizemin.py b/plotly/validators/pointcloud/marker/_sizemin.py index 1cb21258f8d..2a715f22539 100644 --- a/plotly/validators/pointcloud/marker/_sizemin.py +++ b/plotly/validators/pointcloud/marker/_sizemin.py @@ -9,9 +9,9 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=0.1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', 0.1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/border/_arearatio.py b/plotly/validators/pointcloud/marker/border/_arearatio.py index dac4745b575..01dd87d6664 100644 --- a/plotly/validators/pointcloud/marker/border/_arearatio.py +++ b/plotly/validators/pointcloud/marker/border/_arearatio.py @@ -12,9 +12,9 @@ def __init__( super(ArearatioValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/marker/border/_color.py b/plotly/validators/pointcloud/marker/border/_color.py index 306cf91de0f..c274d3c67d5 100644 --- a/plotly/validators/pointcloud/marker/border/_color.py +++ b/plotly/validators/pointcloud/marker/border/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/pointcloud/stream/_maxpoints.py b/plotly/validators/pointcloud/stream/_maxpoints.py index 9fc4a85c501..0507c08853a 100644 --- a/plotly/validators/pointcloud/stream/_maxpoints.py +++ b/plotly/validators/pointcloud/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/pointcloud/stream/_token.py b/plotly/validators/pointcloud/stream/_token.py index c6f9f8d5e5f..d1af03bcfe6 100644 --- a/plotly/validators/pointcloud/stream/_token.py +++ b/plotly/validators/pointcloud/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/sankey/_arrangement.py b/plotly/validators/sankey/_arrangement.py index 2d0c270a721..badd295394c 100644 --- a/plotly/validators/sankey/_arrangement.py +++ b/plotly/validators/sankey/_arrangement.py @@ -9,8 +9,10 @@ def __init__( super(ArrangementValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['snap', 'perpendicular', 'freeform', 'fixed'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['snap', 'perpendicular', 'freeform', 'fixed'] + ), **kwargs ) diff --git a/plotly/validators/sankey/_customdata.py b/plotly/validators/sankey/_customdata.py index 85e02d10baf..24e9c6170ef 100644 --- a/plotly/validators/sankey/_customdata.py +++ b/plotly/validators/sankey/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/_customdatasrc.py b/plotly/validators/sankey/_customdatasrc.py index 0a38947a618..1c734d9d984 100644 --- a/plotly/validators/sankey/_customdatasrc.py +++ b/plotly/validators/sankey/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_domain.py b/plotly/validators/sankey/_domain.py index 4f2b9161e41..34225edb5fd 100644 --- a/plotly/validators/sankey/_domain.py +++ b/plotly/validators/sankey/_domain.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='domain', parent_name='sankey', **kwargs): super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this sankey trace . @@ -21,6 +22,7 @@ def __init__(self, plotly_name='domain', parent_name='sankey', **kwargs): y Sets the vertical domain of this sankey trace (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/_hoverinfo.py b/plotly/validators/sankey/_hoverinfo.py index cf9c41559a6..76a93953234 100644 --- a/plotly/validators/sankey/_hoverinfo.py +++ b/plotly/validators/sankey/_hoverinfo.py @@ -9,10 +9,12 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['label', 'text', 'value', 'percent', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop( + 'flags', ['label', 'text', 'value', 'percent', 'name'] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_hoverinfosrc.py b/plotly/validators/sankey/_hoverinfosrc.py index f80d2a2c72f..75ad2d08437 100644 --- a/plotly/validators/sankey/_hoverinfosrc.py +++ b/plotly/validators/sankey/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_hoverlabel.py b/plotly/validators/sankey/_hoverlabel.py index a14f711126c..a7e5725fd4f 100644 --- a/plotly/validators/sankey/_hoverlabel.py +++ b/plotly/validators/sankey/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/_ids.py b/plotly/validators/sankey/_ids.py index 19aa72e9449..60303e3b818 100644 --- a/plotly/validators/sankey/_ids.py +++ b/plotly/validators/sankey/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='sankey', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/_idssrc.py b/plotly/validators/sankey/_idssrc.py index e0208f3950e..69addcb64f3 100644 --- a/plotly/validators/sankey/_idssrc.py +++ b/plotly/validators/sankey/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='sankey', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_legendgroup.py b/plotly/validators/sankey/_legendgroup.py index f8a29f7c580..ee3a802cd80 100644 --- a/plotly/validators/sankey/_legendgroup.py +++ b/plotly/validators/sankey/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_link.py b/plotly/validators/sankey/_link.py index 4f193c8451c..199d3075c5e 100644 --- a/plotly/validators/sankey/_link.py +++ b/plotly/validators/sankey/_link.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='link', parent_name='sankey', **kwargs): super(LinkValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Link', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Link'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the `link` color. It can be a single value, or an array for specifying color for @@ -44,6 +45,7 @@ def __init__(self, plotly_name='link', parent_name='sankey', **kwargs): valuesrc Sets the source reference on plot.ly for value . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/_name.py b/plotly/validators/sankey/_name.py index 99ffb172723..f1878dcd10c 100644 --- a/plotly/validators/sankey/_name.py +++ b/plotly/validators/sankey/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='sankey', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_node.py b/plotly/validators/sankey/_node.py index 3d472ac9e8a..961b68ab246 100644 --- a/plotly/validators/sankey/_node.py +++ b/plotly/validators/sankey/_node.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='node', parent_name='sankey', **kwargs): super(NodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Node', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Node'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the `node` color. It can be a single value, or an array for specifying color for @@ -32,6 +33,7 @@ def __init__(self, plotly_name='node', parent_name='sankey', **kwargs): Sets the padding (in px) between the `nodes`. thickness Sets the thickness (in px) of the `nodes`. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/_opacity.py b/plotly/validators/sankey/_opacity.py index 4abc244c2c3..87f9f0be136 100644 --- a/plotly/validators/sankey/_opacity.py +++ b/plotly/validators/sankey/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='sankey', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/_orientation.py b/plotly/validators/sankey/_orientation.py index 5f5685ebe53..f07e61376ed 100644 --- a/plotly/validators/sankey/_orientation.py +++ b/plotly/validators/sankey/_orientation.py @@ -9,8 +9,8 @@ def __init__( super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['v', 'h'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['v', 'h']), **kwargs ) diff --git a/plotly/validators/sankey/_selectedpoints.py b/plotly/validators/sankey/_selectedpoints.py index 8b5b8593e41..3d8cbfeaabf 100644 --- a/plotly/validators/sankey/_selectedpoints.py +++ b/plotly/validators/sankey/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_showlegend.py b/plotly/validators/sankey/_showlegend.py index 6904f428cbb..14c4a248587 100644 --- a/plotly/validators/sankey/_showlegend.py +++ b/plotly/validators/sankey/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_stream.py b/plotly/validators/sankey/_stream.py index 9dd13949e79..81d5ab93916 100644 --- a/plotly/validators/sankey/_stream.py +++ b/plotly/validators/sankey/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='sankey', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='sankey', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/_textfont.py b/plotly/validators/sankey/_textfont.py index f1b676a181c..14412d6c22e 100644 --- a/plotly/validators/sankey/_textfont.py +++ b/plotly/validators/sankey/_textfont.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='textfont', parent_name='sankey', **kwargs): super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -29,6 +30,7 @@ def __init__(self, plotly_name='textfont', parent_name='sankey', **kwargs): Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/_uid.py b/plotly/validators/sankey/_uid.py index 6a2a2b5be54..458027abc55 100644 --- a/plotly/validators/sankey/_uid.py +++ b/plotly/validators/sankey/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='sankey', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/_valueformat.py b/plotly/validators/sankey/_valueformat.py index 41ce42f7c6c..4ce7d64ee26 100644 --- a/plotly/validators/sankey/_valueformat.py +++ b/plotly/validators/sankey/_valueformat.py @@ -9,7 +9,7 @@ def __init__( super(ValueformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/_valuesuffix.py b/plotly/validators/sankey/_valuesuffix.py index c1aeb319ddd..13746524fff 100644 --- a/plotly/validators/sankey/_valuesuffix.py +++ b/plotly/validators/sankey/_valuesuffix.py @@ -9,7 +9,7 @@ def __init__( super(ValuesuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/_visible.py b/plotly/validators/sankey/_visible.py index 1545826991b..4c7c3328091 100644 --- a/plotly/validators/sankey/_visible.py +++ b/plotly/validators/sankey/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='sankey', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/sankey/domain/_column.py b/plotly/validators/sankey/domain/_column.py index a3f9a1e78e6..2cf44059ff1 100644 --- a/plotly/validators/sankey/domain/_column.py +++ b/plotly/validators/sankey/domain/_column.py @@ -9,8 +9,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/domain/_row.py b/plotly/validators/sankey/domain/_row.py index db8cc67addd..eebf2574178 100644 --- a/plotly/validators/sankey/domain/_row.py +++ b/plotly/validators/sankey/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/domain/_x.py b/plotly/validators/sankey/domain/_x.py index 0a933cabf24..ed4ff7ad754 100644 --- a/plotly/validators/sankey/domain/_x.py +++ b/plotly/validators/sankey/domain/_x.py @@ -7,20 +7,22 @@ def __init__(self, plotly_name='x', parent_name='sankey.domain', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/domain/_y.py b/plotly/validators/sankey/domain/_y.py index 1cba2d730fe..cbe1f476a74 100644 --- a/plotly/validators/sankey/domain/_y.py +++ b/plotly/validators/sankey/domain/_y.py @@ -7,20 +7,22 @@ def __init__(self, plotly_name='y', parent_name='sankey.domain', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_bgcolor.py b/plotly/validators/sankey/hoverlabel/_bgcolor.py index b0c5770a86d..88af384bf82 100644 --- a/plotly/validators/sankey/hoverlabel/_bgcolor.py +++ b/plotly/validators/sankey/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_bgcolorsrc.py b/plotly/validators/sankey/hoverlabel/_bgcolorsrc.py index dc03e3fde5e..73b711456b2 100644 --- a/plotly/validators/sankey/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/sankey/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_bordercolor.py b/plotly/validators/sankey/hoverlabel/_bordercolor.py index 87f79ff9697..e78aa8ed5c9 100644 --- a/plotly/validators/sankey/hoverlabel/_bordercolor.py +++ b/plotly/validators/sankey/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_bordercolorsrc.py b/plotly/validators/sankey/hoverlabel/_bordercolorsrc.py index 33d627e6689..96445e864df 100644 --- a/plotly/validators/sankey/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/sankey/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_font.py b/plotly/validators/sankey/hoverlabel/_font.py index 95ab9afede7..86f3f69beab 100644 --- a/plotly/validators/sankey/hoverlabel/_font.py +++ b/plotly/validators/sankey/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_namelength.py b/plotly/validators/sankey/hoverlabel/_namelength.py index 5d4679d262c..d0652d6e7e5 100644 --- a/plotly/validators/sankey/hoverlabel/_namelength.py +++ b/plotly/validators/sankey/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/_namelengthsrc.py b/plotly/validators/sankey/hoverlabel/_namelengthsrc.py index 1c6c86773d1..19c4e15c451 100644 --- a/plotly/validators/sankey/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/sankey/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/font/_color.py b/plotly/validators/sankey/hoverlabel/font/_color.py index 634f5660f57..90fb9c7d861 100644 --- a/plotly/validators/sankey/hoverlabel/font/_color.py +++ b/plotly/validators/sankey/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/font/_colorsrc.py b/plotly/validators/sankey/hoverlabel/font/_colorsrc.py index b2016456f2b..57572067cd5 100644 --- a/plotly/validators/sankey/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/sankey/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/font/_family.py b/plotly/validators/sankey/hoverlabel/font/_family.py index f542cb6e7bc..cf2bbe603b3 100644 --- a/plotly/validators/sankey/hoverlabel/font/_family.py +++ b/plotly/validators/sankey/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/font/_familysrc.py b/plotly/validators/sankey/hoverlabel/font/_familysrc.py index eafaaeba7f2..9904968ae5c 100644 --- a/plotly/validators/sankey/hoverlabel/font/_familysrc.py +++ b/plotly/validators/sankey/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/font/_size.py b/plotly/validators/sankey/hoverlabel/font/_size.py index 5080a697432..49293799689 100644 --- a/plotly/validators/sankey/hoverlabel/font/_size.py +++ b/plotly/validators/sankey/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/hoverlabel/font/_sizesrc.py b/plotly/validators/sankey/hoverlabel/font/_sizesrc.py index 286ce77ddf2..e01e2030a55 100644 --- a/plotly/validators/sankey/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/sankey/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/_color.py b/plotly/validators/sankey/link/_color.py index e5ce2b1cd99..25e584348c5 100644 --- a/plotly/validators/sankey/link/_color.py +++ b/plotly/validators/sankey/link/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/link/_colorsrc.py b/plotly/validators/sankey/link/_colorsrc.py index 6bcce65c4f5..bb3ffde249e 100644 --- a/plotly/validators/sankey/link/_colorsrc.py +++ b/plotly/validators/sankey/link/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/_label.py b/plotly/validators/sankey/link/_label.py index bfd4778434d..3058ef7510f 100644 --- a/plotly/validators/sankey/link/_label.py +++ b/plotly/validators/sankey/link/_label.py @@ -9,7 +9,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/link/_labelsrc.py b/plotly/validators/sankey/link/_labelsrc.py index ba5efc397b0..559e18aeef3 100644 --- a/plotly/validators/sankey/link/_labelsrc.py +++ b/plotly/validators/sankey/link/_labelsrc.py @@ -9,7 +9,7 @@ def __init__( super(LabelsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/_line.py b/plotly/validators/sankey/link/_line.py index 23321cc70c4..736e37825bb 100644 --- a/plotly/validators/sankey/link/_line.py +++ b/plotly/validators/sankey/link/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the `line` around each `link`. @@ -23,6 +24,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/link/_source.py b/plotly/validators/sankey/link/_source.py index f260d89fe37..42cd392de61 100644 --- a/plotly/validators/sankey/link/_source.py +++ b/plotly/validators/sankey/link/_source.py @@ -9,7 +9,7 @@ def __init__( super(SourceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/link/_sourcesrc.py b/plotly/validators/sankey/link/_sourcesrc.py index 6b779d8e8f8..5cb27bd98c7 100644 --- a/plotly/validators/sankey/link/_sourcesrc.py +++ b/plotly/validators/sankey/link/_sourcesrc.py @@ -9,7 +9,7 @@ def __init__( super(SourcesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/_target.py b/plotly/validators/sankey/link/_target.py index 03e31e8bd83..c2bc4d4d333 100644 --- a/plotly/validators/sankey/link/_target.py +++ b/plotly/validators/sankey/link/_target.py @@ -9,7 +9,7 @@ def __init__( super(TargetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/link/_targetsrc.py b/plotly/validators/sankey/link/_targetsrc.py index 2de66b37c00..986f36f72b9 100644 --- a/plotly/validators/sankey/link/_targetsrc.py +++ b/plotly/validators/sankey/link/_targetsrc.py @@ -9,7 +9,7 @@ def __init__( super(TargetsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/_value.py b/plotly/validators/sankey/link/_value.py index 86b912215d0..0ddc405ab58 100644 --- a/plotly/validators/sankey/link/_value.py +++ b/plotly/validators/sankey/link/_value.py @@ -9,7 +9,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/link/_valuesrc.py b/plotly/validators/sankey/link/_valuesrc.py index 5f911467260..9858b058d9d 100644 --- a/plotly/validators/sankey/link/_valuesrc.py +++ b/plotly/validators/sankey/link/_valuesrc.py @@ -9,7 +9,7 @@ def __init__( super(ValuesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/line/_color.py b/plotly/validators/sankey/link/line/_color.py index e520c4a4285..61ed537c660 100644 --- a/plotly/validators/sankey/link/line/_color.py +++ b/plotly/validators/sankey/link/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/link/line/_colorsrc.py b/plotly/validators/sankey/link/line/_colorsrc.py index 7efd47ee6ac..db5ffdb11f4 100644 --- a/plotly/validators/sankey/link/line/_colorsrc.py +++ b/plotly/validators/sankey/link/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/link/line/_width.py b/plotly/validators/sankey/link/line/_width.py index 8446d3b672f..85bb1753c18 100644 --- a/plotly/validators/sankey/link/line/_width.py +++ b/plotly/validators/sankey/link/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/link/line/_widthsrc.py b/plotly/validators/sankey/link/line/_widthsrc.py index cf3474bc10b..9c4796d6819 100644 --- a/plotly/validators/sankey/link/line/_widthsrc.py +++ b/plotly/validators/sankey/link/line/_widthsrc.py @@ -9,7 +9,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/node/_color.py b/plotly/validators/sankey/node/_color.py index b4d89a04bb3..9759c62ae0f 100644 --- a/plotly/validators/sankey/node/_color.py +++ b/plotly/validators/sankey/node/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/node/_colorsrc.py b/plotly/validators/sankey/node/_colorsrc.py index 4e9760a83ec..fff6e360753 100644 --- a/plotly/validators/sankey/node/_colorsrc.py +++ b/plotly/validators/sankey/node/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/node/_label.py b/plotly/validators/sankey/node/_label.py index d9906dd1232..7ab74a19749 100644 --- a/plotly/validators/sankey/node/_label.py +++ b/plotly/validators/sankey/node/_label.py @@ -9,7 +9,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/sankey/node/_labelsrc.py b/plotly/validators/sankey/node/_labelsrc.py index 5bb27ff28f9..49e9a4d83f1 100644 --- a/plotly/validators/sankey/node/_labelsrc.py +++ b/plotly/validators/sankey/node/_labelsrc.py @@ -9,7 +9,7 @@ def __init__( super(LabelsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/node/_line.py b/plotly/validators/sankey/node/_line.py index 0bd64030210..c163cca8cac 100644 --- a/plotly/validators/sankey/node/_line.py +++ b/plotly/validators/sankey/node/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the `line` around each `node`. @@ -23,6 +24,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/sankey/node/_pad.py b/plotly/validators/sankey/node/_pad.py index 15265bf83aa..89336dc3fa6 100644 --- a/plotly/validators/sankey/node/_pad.py +++ b/plotly/validators/sankey/node/_pad.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='pad', parent_name='sankey.node', **kwargs): super(PadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/node/_thickness.py b/plotly/validators/sankey/node/_thickness.py index b66dcc2396f..01a73464d84 100644 --- a/plotly/validators/sankey/node/_thickness.py +++ b/plotly/validators/sankey/node/_thickness.py @@ -9,9 +9,9 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/node/line/_color.py b/plotly/validators/sankey/node/line/_color.py index 132cab85b58..b811279cf90 100644 --- a/plotly/validators/sankey/node/line/_color.py +++ b/plotly/validators/sankey/node/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/node/line/_colorsrc.py b/plotly/validators/sankey/node/line/_colorsrc.py index dc54cb5ac2d..65b5c9cd0c8 100644 --- a/plotly/validators/sankey/node/line/_colorsrc.py +++ b/plotly/validators/sankey/node/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/node/line/_width.py b/plotly/validators/sankey/node/line/_width.py index 57f9dde075a..9c03095c764 100644 --- a/plotly/validators/sankey/node/line/_width.py +++ b/plotly/validators/sankey/node/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/node/line/_widthsrc.py b/plotly/validators/sankey/node/line/_widthsrc.py index 9e9fa56234d..9d610fc3b57 100644 --- a/plotly/validators/sankey/node/line/_widthsrc.py +++ b/plotly/validators/sankey/node/line/_widthsrc.py @@ -9,7 +9,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/stream/_maxpoints.py b/plotly/validators/sankey/stream/_maxpoints.py index 285e226f2d7..d24694ac380 100644 --- a/plotly/validators/sankey/stream/_maxpoints.py +++ b/plotly/validators/sankey/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/sankey/stream/_token.py b/plotly/validators/sankey/stream/_token.py index 0df6cdd53cd..e7162402943 100644 --- a/plotly/validators/sankey/stream/_token.py +++ b/plotly/validators/sankey/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/sankey/textfont/_color.py b/plotly/validators/sankey/textfont/_color.py index e6a10fec6cd..bce0efe936b 100644 --- a/plotly/validators/sankey/textfont/_color.py +++ b/plotly/validators/sankey/textfont/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/sankey/textfont/_family.py b/plotly/validators/sankey/textfont/_family.py index 7356e428719..a939c228ab3 100644 --- a/plotly/validators/sankey/textfont/_family.py +++ b/plotly/validators/sankey/textfont/_family.py @@ -9,9 +9,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/sankey/textfont/_size.py b/plotly/validators/sankey/textfont/_size.py index 587a62a7ebc..17d3981f2e2 100644 --- a/plotly/validators/sankey/textfont/_size.py +++ b/plotly/validators/sankey/textfont/_size.py @@ -9,8 +9,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/_cliponaxis.py b/plotly/validators/scatter/_cliponaxis.py index 39363ffdf31..aa4a2717cbc 100644 --- a/plotly/validators/scatter/_cliponaxis.py +++ b/plotly/validators/scatter/_cliponaxis.py @@ -9,7 +9,7 @@ def __init__( super(CliponaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_connectgaps.py b/plotly/validators/scatter/_connectgaps.py index 71d85fe48e7..bb447d1b39a 100644 --- a/plotly/validators/scatter/_connectgaps.py +++ b/plotly/validators/scatter/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_customdata.py b/plotly/validators/scatter/_customdata.py index ad5b805ce0e..289de3d13fd 100644 --- a/plotly/validators/scatter/_customdata.py +++ b/plotly/validators/scatter/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/_customdatasrc.py b/plotly/validators/scatter/_customdatasrc.py index 37721e13760..5ec5f5c0b34 100644 --- a/plotly/validators/scatter/_customdatasrc.py +++ b/plotly/validators/scatter/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_dx.py b/plotly/validators/scatter/_dx.py index d1a1f249102..ad8bf4fc11f 100644 --- a/plotly/validators/scatter/_dx.py +++ b/plotly/validators/scatter/_dx.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dx', parent_name='scatter', **kwargs): super(DxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_dy.py b/plotly/validators/scatter/_dy.py index 91cd707a026..1cda6780f08 100644 --- a/plotly/validators/scatter/_dy.py +++ b/plotly/validators/scatter/_dy.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dy', parent_name='scatter', **kwargs): super(DyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_error_x.py b/plotly/validators/scatter/_error_x.py index 350bf2b0c64..77521688d98 100644 --- a/plotly/validators/scatter/_error_x.py +++ b/plotly/validators/scatter/_error_x.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='error_x', parent_name='scatter', **kwargs): super(ErrorXValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorX', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorX'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -66,6 +67,7 @@ def __init__(self, plotly_name='error_x', parent_name='scatter', **kwargs): width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_error_y.py b/plotly/validators/scatter/_error_y.py index d272325dc66..6a2b8dee81d 100644 --- a/plotly/validators/scatter/_error_y.py +++ b/plotly/validators/scatter/_error_y.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='error_y', parent_name='scatter', **kwargs): super(ErrorYValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorY', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorY'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -64,6 +65,7 @@ def __init__(self, plotly_name='error_y', parent_name='scatter', **kwargs): width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_fill.py b/plotly/validators/scatter/_fill.py index 1ccb43aaae4..b1dcdeb006e 100644 --- a/plotly/validators/scatter/_fill.py +++ b/plotly/validators/scatter/_fill.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='fill', parent_name='scatter', **kwargs): super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx', 'toself', - 'tonext' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx', + 'toself', 'tonext' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter/_fillcolor.py b/plotly/validators/scatter/_fillcolor.py index 0a569aa9fef..b1ec7cc5619 100644 --- a/plotly/validators/scatter/_fillcolor.py +++ b/plotly/validators/scatter/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/_hoverinfo.py b/plotly/validators/scatter/_hoverinfo.py index 48e7534c031..b3e22da6753 100644 --- a/plotly/validators/scatter/_hoverinfo.py +++ b/plotly/validators/scatter/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_hoverinfosrc.py b/plotly/validators/scatter/_hoverinfosrc.py index cc8ae461eb5..17b4226ac45 100644 --- a/plotly/validators/scatter/_hoverinfosrc.py +++ b/plotly/validators/scatter/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_hoverlabel.py b/plotly/validators/scatter/_hoverlabel.py index 21effae6253..b7c56d65ab4 100644 --- a/plotly/validators/scatter/_hoverlabel.py +++ b/plotly/validators/scatter/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_hoveron.py b/plotly/validators/scatter/_hoveron.py index 996364e2c3c..fcb5b2cfe6e 100644 --- a/plotly/validators/scatter/_hoveron.py +++ b/plotly/validators/scatter/_hoveron.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='hoveron', parent_name='scatter', **kwargs): super(HoveronValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - flags=['points', 'fills'], - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + flags=kwargs.pop('flags', ['points', 'fills']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_hovertext.py b/plotly/validators/scatter/_hovertext.py index d0836432608..4af137b9471 100644 --- a/plotly/validators/scatter/_hovertext.py +++ b/plotly/validators/scatter/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_hovertextsrc.py b/plotly/validators/scatter/_hovertextsrc.py index e65653d6d86..9a1692c0282 100644 --- a/plotly/validators/scatter/_hovertextsrc.py +++ b/plotly/validators/scatter/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_ids.py b/plotly/validators/scatter/_ids.py index 54a499f0880..26b5f5fc4ae 100644 --- a/plotly/validators/scatter/_ids.py +++ b/plotly/validators/scatter/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='scatter', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/_idssrc.py b/plotly/validators/scatter/_idssrc.py index 1f441a8be96..6aaa884589e 100644 --- a/plotly/validators/scatter/_idssrc.py +++ b/plotly/validators/scatter/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='scatter', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_legendgroup.py b/plotly/validators/scatter/_legendgroup.py index b579eab72c7..7d38b1a157f 100644 --- a/plotly/validators/scatter/_legendgroup.py +++ b/plotly/validators/scatter/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_line.py b/plotly/validators/scatter/_line.py index c619abb0e69..fb3e2a5c68a 100644 --- a/plotly/validators/scatter/_line.py +++ b/plotly/validators/scatter/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='scatter', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -34,6 +35,7 @@ def __init__(self, plotly_name='line', parent_name='scatter', **kwargs): "linear" shape). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_marker.py b/plotly/validators/scatter/_marker.py index faa3a654922..16477ee0356 100644 --- a/plotly/validators/scatter/_marker.py +++ b/plotly/validators/scatter/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='scatter', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -120,6 +121,7 @@ def __init__(self, plotly_name='marker', parent_name='scatter', **kwargs): symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_mode.py b/plotly/validators/scatter/_mode.py index fe63e7c5f45..617260bfe87 100644 --- a/plotly/validators/scatter/_mode.py +++ b/plotly/validators/scatter/_mode.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='mode', parent_name='scatter', **kwargs): super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_name.py b/plotly/validators/scatter/_name.py index a3cc62f2672..566370864b0 100644 --- a/plotly/validators/scatter/_name.py +++ b/plotly/validators/scatter/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='scatter', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_opacity.py b/plotly/validators/scatter/_opacity.py index 8d46dbb0d9e..e16ca4603fa 100644 --- a/plotly/validators/scatter/_opacity.py +++ b/plotly/validators/scatter/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='scatter', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/_r.py b/plotly/validators/scatter/_r.py index 943884122e6..f1f628a1dad 100644 --- a/plotly/validators/scatter/_r.py +++ b/plotly/validators/scatter/_r.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='r', parent_name='scatter', **kwargs): super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/_rsrc.py b/plotly/validators/scatter/_rsrc.py index 4195f5a8e86..2693992e6b8 100644 --- a/plotly/validators/scatter/_rsrc.py +++ b/plotly/validators/scatter/_rsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='rsrc', parent_name='scatter', **kwargs): super(RsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_selected.py b/plotly/validators/scatter/_selected.py index 79fd7a54eed..360c8660369 100644 --- a/plotly/validators/scatter/_selected.py +++ b/plotly/validators/scatter/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatter.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scatter.selected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_selectedpoints.py b/plotly/validators/scatter/_selectedpoints.py index bebb91e1a4d..3b187c96cd1 100644 --- a/plotly/validators/scatter/_selectedpoints.py +++ b/plotly/validators/scatter/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_showlegend.py b/plotly/validators/scatter/_showlegend.py index eccad73730c..cc0cfc87db4 100644 --- a/plotly/validators/scatter/_showlegend.py +++ b/plotly/validators/scatter/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_stream.py b/plotly/validators/scatter/_stream.py index 49cdf8622ff..c28fa3fee18 100644 --- a/plotly/validators/scatter/_stream.py +++ b/plotly/validators/scatter/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='scatter', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='scatter', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_t.py b/plotly/validators/scatter/_t.py index 0b950c73a74..65ba483a9ad 100644 --- a/plotly/validators/scatter/_t.py +++ b/plotly/validators/scatter/_t.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='t', parent_name='scatter', **kwargs): super(TValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/_text.py b/plotly/validators/scatter/_text.py index 31e26004a2f..f56fb34fee1 100644 --- a/plotly/validators/scatter/_text.py +++ b/plotly/validators/scatter/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='scatter', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_textfont.py b/plotly/validators/scatter/_textfont.py index 7e6021faeb3..5ed0d0691b1 100644 --- a/plotly/validators/scatter/_textfont.py +++ b/plotly/validators/scatter/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_textposition.py b/plotly/validators/scatter/_textposition.py index 5213fcd6a77..0ba8559379e 100644 --- a/plotly/validators/scatter/_textposition.py +++ b/plotly/validators/scatter/_textposition.py @@ -9,13 +9,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter/_textpositionsrc.py b/plotly/validators/scatter/_textpositionsrc.py index f6cae84f711..3387f8fc03b 100644 --- a/plotly/validators/scatter/_textpositionsrc.py +++ b/plotly/validators/scatter/_textpositionsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_textsrc.py b/plotly/validators/scatter/_textsrc.py index 440a9c9c467..80484a2b9c3 100644 --- a/plotly/validators/scatter/_textsrc.py +++ b/plotly/validators/scatter/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='scatter', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_tsrc.py b/plotly/validators/scatter/_tsrc.py index e805a54e2a2..fad3c1d1627 100644 --- a/plotly/validators/scatter/_tsrc.py +++ b/plotly/validators/scatter/_tsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='tsrc', parent_name='scatter', **kwargs): super(TsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_uid.py b/plotly/validators/scatter/_uid.py index 4aa42d3a09a..5dbf8b907be 100644 --- a/plotly/validators/scatter/_uid.py +++ b/plotly/validators/scatter/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='scatter', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_unselected.py b/plotly/validators/scatter/_unselected.py index 38ae52e0025..4352a944808 100644 --- a/plotly/validators/scatter/_unselected.py +++ b/plotly/validators/scatter/_unselected.py @@ -9,14 +9,16 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatter.unselected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scatter.unselected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/_visible.py b/plotly/validators/scatter/_visible.py index 99f9024055d..95e1e1a801d 100644 --- a/plotly/validators/scatter/_visible.py +++ b/plotly/validators/scatter/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='scatter', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scatter/_x.py b/plotly/validators/scatter/_x.py index 176566388be..724550bb6c5 100644 --- a/plotly/validators/scatter/_x.py +++ b/plotly/validators/scatter/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='scatter', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/_x0.py b/plotly/validators/scatter/_x0.py index 5bb408ee68b..2d1dc381426 100644 --- a/plotly/validators/scatter/_x0.py +++ b/plotly/validators/scatter/_x0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x0', parent_name='scatter', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_xaxis.py b/plotly/validators/scatter/_xaxis.py index 4f39f1f6839..f5e7ed21f3c 100644 --- a/plotly/validators/scatter/_xaxis.py +++ b/plotly/validators/scatter/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='scatter', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_xcalendar.py b/plotly/validators/scatter/_xcalendar.py index 40cdcfda5f0..4f7e4ad4356 100644 --- a/plotly/validators/scatter/_xcalendar.py +++ b/plotly/validators/scatter/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter/_xsrc.py b/plotly/validators/scatter/_xsrc.py index 3926be13032..be1d8c2ec54 100644 --- a/plotly/validators/scatter/_xsrc.py +++ b/plotly/validators/scatter/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='scatter', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_y.py b/plotly/validators/scatter/_y.py index e322b02cd91..fe6f2634b68 100644 --- a/plotly/validators/scatter/_y.py +++ b/plotly/validators/scatter/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='scatter', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/_y0.py b/plotly/validators/scatter/_y0.py index e86065b2d2d..c2649eac848 100644 --- a/plotly/validators/scatter/_y0.py +++ b/plotly/validators/scatter/_y0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y0', parent_name='scatter', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_yaxis.py b/plotly/validators/scatter/_yaxis.py index 89899131392..13be404001f 100644 --- a/plotly/validators/scatter/_yaxis.py +++ b/plotly/validators/scatter/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='scatter', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/_ycalendar.py b/plotly/validators/scatter/_ycalendar.py index e9560d140bb..65bcb98967e 100644 --- a/plotly/validators/scatter/_ycalendar.py +++ b/plotly/validators/scatter/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter/_ysrc.py b/plotly/validators/scatter/_ysrc.py index 7c09e796b4a..1b62fa3792f 100644 --- a/plotly/validators/scatter/_ysrc.py +++ b/plotly/validators/scatter/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='scatter', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_array.py b/plotly/validators/scatter/error_x/_array.py index d3a503d2ba1..0e6584aa2ff 100644 --- a/plotly/validators/scatter/error_x/_array.py +++ b/plotly/validators/scatter/error_x/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_arrayminus.py b/plotly/validators/scatter/error_x/_arrayminus.py index 8fd67793d9a..f63ba57ddcf 100644 --- a/plotly/validators/scatter/error_x/_arrayminus.py +++ b/plotly/validators/scatter/error_x/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_arrayminussrc.py b/plotly/validators/scatter/error_x/_arrayminussrc.py index a5dc65985d5..19843aa224a 100644 --- a/plotly/validators/scatter/error_x/_arrayminussrc.py +++ b/plotly/validators/scatter/error_x/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_arraysrc.py b/plotly/validators/scatter/error_x/_arraysrc.py index 34fa1f35835..54e9b55238e 100644 --- a/plotly/validators/scatter/error_x/_arraysrc.py +++ b/plotly/validators/scatter/error_x/_arraysrc.py @@ -9,7 +9,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_color.py b/plotly/validators/scatter/error_x/_color.py index c522c35744c..11c75e3d667 100644 --- a/plotly/validators/scatter/error_x/_color.py +++ b/plotly/validators/scatter/error_x/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_copy_ystyle.py b/plotly/validators/scatter/error_x/_copy_ystyle.py index 2bfad72dd97..0ff5054ffae 100644 --- a/plotly/validators/scatter/error_x/_copy_ystyle.py +++ b/plotly/validators/scatter/error_x/_copy_ystyle.py @@ -12,7 +12,7 @@ def __init__( super(CopyYstyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_symmetric.py b/plotly/validators/scatter/error_x/_symmetric.py index 306ad7a8193..cdc784518a7 100644 --- a/plotly/validators/scatter/error_x/_symmetric.py +++ b/plotly/validators/scatter/error_x/_symmetric.py @@ -9,7 +9,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_thickness.py b/plotly/validators/scatter/error_x/_thickness.py index 0a8ec2c6326..aea6443dab7 100644 --- a/plotly/validators/scatter/error_x/_thickness.py +++ b/plotly/validators/scatter/error_x/_thickness.py @@ -9,8 +9,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_traceref.py b/plotly/validators/scatter/error_x/_traceref.py index 6a38309c46e..f194cca314b 100644 --- a/plotly/validators/scatter/error_x/_traceref.py +++ b/plotly/validators/scatter/error_x/_traceref.py @@ -9,8 +9,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_tracerefminus.py b/plotly/validators/scatter/error_x/_tracerefminus.py index 32900c4a8cf..81eb6fc4fb3 100644 --- a/plotly/validators/scatter/error_x/_tracerefminus.py +++ b/plotly/validators/scatter/error_x/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_type.py b/plotly/validators/scatter/error_x/_type.py index eb22c9317bd..72d9156b4c9 100644 --- a/plotly/validators/scatter/error_x/_type.py +++ b/plotly/validators/scatter/error_x/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_value.py b/plotly/validators/scatter/error_x/_value.py index 23fd13f766a..3b711d57f18 100644 --- a/plotly/validators/scatter/error_x/_value.py +++ b/plotly/validators/scatter/error_x/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_valueminus.py b/plotly/validators/scatter/error_x/_valueminus.py index f6858165ee0..bf601a64bbe 100644 --- a/plotly/validators/scatter/error_x/_valueminus.py +++ b/plotly/validators/scatter/error_x/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_visible.py b/plotly/validators/scatter/error_x/_visible.py index 422ba0a35ec..69e3d1a2ee9 100644 --- a/plotly/validators/scatter/error_x/_visible.py +++ b/plotly/validators/scatter/error_x/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_x/_width.py b/plotly/validators/scatter/error_x/_width.py index 51d182da7dc..aae9032919e 100644 --- a/plotly/validators/scatter/error_x/_width.py +++ b/plotly/validators/scatter/error_x/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_array.py b/plotly/validators/scatter/error_y/_array.py index caee62a5aa2..cb8d534f74d 100644 --- a/plotly/validators/scatter/error_y/_array.py +++ b/plotly/validators/scatter/error_y/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_arrayminus.py b/plotly/validators/scatter/error_y/_arrayminus.py index d7228a14b54..f95b0308b27 100644 --- a/plotly/validators/scatter/error_y/_arrayminus.py +++ b/plotly/validators/scatter/error_y/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_arrayminussrc.py b/plotly/validators/scatter/error_y/_arrayminussrc.py index 7853c3d634b..d5716ed9409 100644 --- a/plotly/validators/scatter/error_y/_arrayminussrc.py +++ b/plotly/validators/scatter/error_y/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_arraysrc.py b/plotly/validators/scatter/error_y/_arraysrc.py index 1438de19138..f826a036855 100644 --- a/plotly/validators/scatter/error_y/_arraysrc.py +++ b/plotly/validators/scatter/error_y/_arraysrc.py @@ -9,7 +9,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_color.py b/plotly/validators/scatter/error_y/_color.py index 9dd60dce1f0..7d6567ea1ed 100644 --- a/plotly/validators/scatter/error_y/_color.py +++ b/plotly/validators/scatter/error_y/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_symmetric.py b/plotly/validators/scatter/error_y/_symmetric.py index a160f911781..b252ebc85b4 100644 --- a/plotly/validators/scatter/error_y/_symmetric.py +++ b/plotly/validators/scatter/error_y/_symmetric.py @@ -9,7 +9,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_thickness.py b/plotly/validators/scatter/error_y/_thickness.py index ff4eba94ce4..a0d18c77b39 100644 --- a/plotly/validators/scatter/error_y/_thickness.py +++ b/plotly/validators/scatter/error_y/_thickness.py @@ -9,8 +9,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_traceref.py b/plotly/validators/scatter/error_y/_traceref.py index bdf61a30100..5cc657838bf 100644 --- a/plotly/validators/scatter/error_y/_traceref.py +++ b/plotly/validators/scatter/error_y/_traceref.py @@ -9,8 +9,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_tracerefminus.py b/plotly/validators/scatter/error_y/_tracerefminus.py index 9587d62c5de..d9d1f8aebc1 100644 --- a/plotly/validators/scatter/error_y/_tracerefminus.py +++ b/plotly/validators/scatter/error_y/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_type.py b/plotly/validators/scatter/error_y/_type.py index 750f4441322..a3c04bfba35 100644 --- a/plotly/validators/scatter/error_y/_type.py +++ b/plotly/validators/scatter/error_y/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_value.py b/plotly/validators/scatter/error_y/_value.py index 3868c8c61ef..c1e34dbe895 100644 --- a/plotly/validators/scatter/error_y/_value.py +++ b/plotly/validators/scatter/error_y/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_valueminus.py b/plotly/validators/scatter/error_y/_valueminus.py index 6a22ddea637..5f0ea4c8815 100644 --- a/plotly/validators/scatter/error_y/_valueminus.py +++ b/plotly/validators/scatter/error_y/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_visible.py b/plotly/validators/scatter/error_y/_visible.py index 414b15f3302..bfd139a8e80 100644 --- a/plotly/validators/scatter/error_y/_visible.py +++ b/plotly/validators/scatter/error_y/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/error_y/_width.py b/plotly/validators/scatter/error_y/_width.py index 447cdce3ddf..e4564810bb4 100644 --- a/plotly/validators/scatter/error_y/_width.py +++ b/plotly/validators/scatter/error_y/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_bgcolor.py b/plotly/validators/scatter/hoverlabel/_bgcolor.py index 4a31040a7d1..beb4a8cbbc2 100644 --- a/plotly/validators/scatter/hoverlabel/_bgcolor.py +++ b/plotly/validators/scatter/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_bgcolorsrc.py b/plotly/validators/scatter/hoverlabel/_bgcolorsrc.py index db7174bc6c2..402d4c4006f 100644 --- a/plotly/validators/scatter/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scatter/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_bordercolor.py b/plotly/validators/scatter/hoverlabel/_bordercolor.py index 3d892e5568e..f8bcdb703fe 100644 --- a/plotly/validators/scatter/hoverlabel/_bordercolor.py +++ b/plotly/validators/scatter/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_bordercolorsrc.py b/plotly/validators/scatter/hoverlabel/_bordercolorsrc.py index 97730957ae2..c2548c281be 100644 --- a/plotly/validators/scatter/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scatter/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_font.py b/plotly/validators/scatter/hoverlabel/_font.py index 8429737b774..455717a993d 100644 --- a/plotly/validators/scatter/hoverlabel/_font.py +++ b/plotly/validators/scatter/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_namelength.py b/plotly/validators/scatter/hoverlabel/_namelength.py index a6bfff8b306..cb10c034186 100644 --- a/plotly/validators/scatter/hoverlabel/_namelength.py +++ b/plotly/validators/scatter/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/_namelengthsrc.py b/plotly/validators/scatter/hoverlabel/_namelengthsrc.py index 4e9412d7af9..9dd3f75fed5 100644 --- a/plotly/validators/scatter/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scatter/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/font/_color.py b/plotly/validators/scatter/hoverlabel/font/_color.py index 141972857a2..2ed0978c74a 100644 --- a/plotly/validators/scatter/hoverlabel/font/_color.py +++ b/plotly/validators/scatter/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/font/_colorsrc.py b/plotly/validators/scatter/hoverlabel/font/_colorsrc.py index 72121366fd8..2a4f066d49e 100644 --- a/plotly/validators/scatter/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scatter/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/font/_family.py b/plotly/validators/scatter/hoverlabel/font/_family.py index 577466ecc64..c2199160c29 100644 --- a/plotly/validators/scatter/hoverlabel/font/_family.py +++ b/plotly/validators/scatter/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/font/_familysrc.py b/plotly/validators/scatter/hoverlabel/font/_familysrc.py index a96eb572b28..64e37ec2cd2 100644 --- a/plotly/validators/scatter/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scatter/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/font/_size.py b/plotly/validators/scatter/hoverlabel/font/_size.py index 5ddaa4c66f0..8f99447f2e3 100644 --- a/plotly/validators/scatter/hoverlabel/font/_size.py +++ b/plotly/validators/scatter/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/hoverlabel/font/_sizesrc.py b/plotly/validators/scatter/hoverlabel/font/_sizesrc.py index f3d29c8dae3..a233a06715c 100644 --- a/plotly/validators/scatter/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scatter/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/line/_color.py b/plotly/validators/scatter/line/_color.py index 41a417d81d0..a70234d10f4 100644 --- a/plotly/validators/scatter/line/_color.py +++ b/plotly/validators/scatter/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/line/_dash.py b/plotly/validators/scatter/line/_dash.py index f422e64d459..cdc102f977b 100644 --- a/plotly/validators/scatter/line/_dash.py +++ b/plotly/validators/scatter/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scatter/line/_shape.py b/plotly/validators/scatter/line/_shape.py index b2768e4d619..e6a8d60a4ff 100644 --- a/plotly/validators/scatter/line/_shape.py +++ b/plotly/validators/scatter/line/_shape.py @@ -9,8 +9,10 @@ def __init__( super(ShapeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['linear', 'spline', 'hv', 'vh', 'hvh', 'vhv'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['linear', 'spline', 'hv', 'vh', 'hvh', 'vhv'] + ), **kwargs ) diff --git a/plotly/validators/scatter/line/_simplify.py b/plotly/validators/scatter/line/_simplify.py index f48a13ea881..c61ed0b5270 100644 --- a/plotly/validators/scatter/line/_simplify.py +++ b/plotly/validators/scatter/line/_simplify.py @@ -9,7 +9,7 @@ def __init__( super(SimplifyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/line/_smoothing.py b/plotly/validators/scatter/line/_smoothing.py index 5d5534f1c5f..2e353c22355 100644 --- a/plotly/validators/scatter/line/_smoothing.py +++ b/plotly/validators/scatter/line/_smoothing.py @@ -9,9 +9,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/line/_width.py b/plotly/validators/scatter/line/_width.py index ceb46d56c56..c476a445807 100644 --- a/plotly/validators/scatter/line/_width.py +++ b/plotly/validators/scatter/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_autocolorscale.py b/plotly/validators/scatter/marker/_autocolorscale.py index 34352b21e2b..c75ddd56186 100644 --- a/plotly/validators/scatter/marker/_autocolorscale.py +++ b/plotly/validators/scatter/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_cauto.py b/plotly/validators/scatter/marker/_cauto.py index e22e8cde865..b4e3add9dfb 100644 --- a/plotly/validators/scatter/marker/_cauto.py +++ b/plotly/validators/scatter/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_cmax.py b/plotly/validators/scatter/marker/_cmax.py index d79bf3bbb2f..18647246586 100644 --- a/plotly/validators/scatter/marker/_cmax.py +++ b/plotly/validators/scatter/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_cmin.py b/plotly/validators/scatter/marker/_cmin.py index 6e0f514610c..c25be5af579 100644 --- a/plotly/validators/scatter/marker/_cmin.py +++ b/plotly/validators/scatter/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_color.py b/plotly/validators/scatter/marker/_color.py index 9d42161927b..40bbd2f1697 100644 --- a/plotly/validators/scatter/marker/_color.py +++ b/plotly/validators/scatter/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scatter.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatter.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/_colorbar.py b/plotly/validators/scatter/marker/_colorbar.py index b1107d15084..f3f8d8c418a 100644 --- a/plotly/validators/scatter/marker/_colorbar.py +++ b/plotly/validators/scatter/marker/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/_colorscale.py b/plotly/validators/scatter/marker/_colorscale.py index 919207c61d8..552626894a9 100644 --- a/plotly/validators/scatter/marker/_colorscale.py +++ b/plotly/validators/scatter/marker/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_colorsrc.py b/plotly/validators/scatter/marker/_colorsrc.py index cf5fc7a00cc..a682438371c 100644 --- a/plotly/validators/scatter/marker/_colorsrc.py +++ b/plotly/validators/scatter/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_gradient.py b/plotly/validators/scatter/marker/_gradient.py index 874035f4ec4..c7d8e7a3243 100644 --- a/plotly/validators/scatter/marker/_gradient.py +++ b/plotly/validators/scatter/marker/_gradient.py @@ -9,8 +9,9 @@ def __init__( super(GradientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Gradient', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Gradient'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the final color of the gradient fill: the center color for radial, the right for @@ -24,6 +25,7 @@ def __init__( typesrc Sets the source reference on plot.ly for type . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/_line.py b/plotly/validators/scatter/marker/_line.py index 4401cf42177..042c3bd1e1a 100644 --- a/plotly/validators/scatter/marker/_line.py +++ b/plotly/validators/scatter/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/_maxdisplayed.py b/plotly/validators/scatter/marker/_maxdisplayed.py index 1a96580bf30..b7feb751de5 100644 --- a/plotly/validators/scatter/marker/_maxdisplayed.py +++ b/plotly/validators/scatter/marker/_maxdisplayed.py @@ -12,8 +12,8 @@ def __init__( super(MaxdisplayedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_opacity.py b/plotly/validators/scatter/marker/_opacity.py index 027f62f5798..cc8bce97d8d 100644 --- a/plotly/validators/scatter/marker/_opacity.py +++ b/plotly/validators/scatter/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_opacitysrc.py b/plotly/validators/scatter/marker/_opacitysrc.py index 72d1a061d59..5d66bdcf687 100644 --- a/plotly/validators/scatter/marker/_opacitysrc.py +++ b/plotly/validators/scatter/marker/_opacitysrc.py @@ -9,7 +9,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_reversescale.py b/plotly/validators/scatter/marker/_reversescale.py index 762bba8d75a..75639a1d7e7 100644 --- a/plotly/validators/scatter/marker/_reversescale.py +++ b/plotly/validators/scatter/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_showscale.py b/plotly/validators/scatter/marker/_showscale.py index 0212bc04413..bb68d9eb51a 100644 --- a/plotly/validators/scatter/marker/_showscale.py +++ b/plotly/validators/scatter/marker/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_size.py b/plotly/validators/scatter/marker/_size.py index 69cd503247d..6080ef6e045 100644 --- a/plotly/validators/scatter/marker/_size.py +++ b/plotly/validators/scatter/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_sizemin.py b/plotly/validators/scatter/marker/_sizemin.py index 37cebbbb8c6..a8740b37207 100644 --- a/plotly/validators/scatter/marker/_sizemin.py +++ b/plotly/validators/scatter/marker/_sizemin.py @@ -9,8 +9,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_sizemode.py b/plotly/validators/scatter/marker/_sizemode.py index b8c3f88f138..ea55f09e365 100644 --- a/plotly/validators/scatter/marker/_sizemode.py +++ b/plotly/validators/scatter/marker/_sizemode.py @@ -9,8 +9,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scatter/marker/_sizeref.py b/plotly/validators/scatter/marker/_sizeref.py index e3f6ebca7fc..930e4bc4cb7 100644 --- a/plotly/validators/scatter/marker/_sizeref.py +++ b/plotly/validators/scatter/marker/_sizeref.py @@ -9,7 +9,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_sizesrc.py b/plotly/validators/scatter/marker/_sizesrc.py index 6e6887f9f77..793d10fd1b5 100644 --- a/plotly/validators/scatter/marker/_sizesrc.py +++ b/plotly/validators/scatter/marker/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/_symbol.py b/plotly/validators/scatter/marker/_symbol.py index f0d67a9ae6b..4fbc1914299 100644 --- a/plotly/validators/scatter/marker/_symbol.py +++ b/plotly/validators/scatter/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/_symbolsrc.py b/plotly/validators/scatter/marker/_symbolsrc.py index 5da994ca06e..23b49db4554 100644 --- a/plotly/validators/scatter/marker/_symbolsrc.py +++ b/plotly/validators/scatter/marker/_symbolsrc.py @@ -9,7 +9,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_bgcolor.py b/plotly/validators/scatter/marker/colorbar/_bgcolor.py index ec26617827e..ce3d43a6c0b 100644 --- a/plotly/validators/scatter/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scatter/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_bordercolor.py b/plotly/validators/scatter/marker/colorbar/_bordercolor.py index 04da426216a..45c799865ef 100644 --- a/plotly/validators/scatter/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scatter/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_borderwidth.py b/plotly/validators/scatter/marker/colorbar/_borderwidth.py index e23020a2dfa..b1a6ef11a2c 100644 --- a/plotly/validators/scatter/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scatter/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_dtick.py b/plotly/validators/scatter/marker/colorbar/_dtick.py index fd0565f58a5..61d31f5fd8a 100644 --- a/plotly/validators/scatter/marker/colorbar/_dtick.py +++ b/plotly/validators/scatter/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_exponentformat.py b/plotly/validators/scatter/marker/colorbar/_exponentformat.py index d83320683a8..4eb6c6116a9 100644 --- a/plotly/validators/scatter/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scatter/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_len.py b/plotly/validators/scatter/marker/colorbar/_len.py index 41813a0a8cc..551cd47cd78 100644 --- a/plotly/validators/scatter/marker/colorbar/_len.py +++ b/plotly/validators/scatter/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_lenmode.py b/plotly/validators/scatter/marker/colorbar/_lenmode.py index 9bc9af5a96f..3ab3e1ccb30 100644 --- a/plotly/validators/scatter/marker/colorbar/_lenmode.py +++ b/plotly/validators/scatter/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_nticks.py b/plotly/validators/scatter/marker/colorbar/_nticks.py index bf717e12db9..788003823fc 100644 --- a/plotly/validators/scatter/marker/colorbar/_nticks.py +++ b/plotly/validators/scatter/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_outlinecolor.py b/plotly/validators/scatter/marker/colorbar/_outlinecolor.py index b050ef5a31b..97b8ee8c27b 100644 --- a/plotly/validators/scatter/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scatter/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_outlinewidth.py b/plotly/validators/scatter/marker/colorbar/_outlinewidth.py index 6fb019bb766..70c9327a56a 100644 --- a/plotly/validators/scatter/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scatter/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_separatethousands.py b/plotly/validators/scatter/marker/colorbar/_separatethousands.py index f2b56b19e57..6d7ae384255 100644 --- a/plotly/validators/scatter/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scatter/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_showexponent.py b/plotly/validators/scatter/marker/colorbar/_showexponent.py index 02ef207cecc..cb88db580de 100644 --- a/plotly/validators/scatter/marker/colorbar/_showexponent.py +++ b/plotly/validators/scatter/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_showticklabels.py b/plotly/validators/scatter/marker/colorbar/_showticklabels.py index bf3af836441..2ebe4970ba4 100644 --- a/plotly/validators/scatter/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scatter/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_showtickprefix.py b/plotly/validators/scatter/marker/colorbar/_showtickprefix.py index 4aa9100adc4..b0a386c2a70 100644 --- a/plotly/validators/scatter/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scatter/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_showticksuffix.py b/plotly/validators/scatter/marker/colorbar/_showticksuffix.py index a35d53b883a..e50289d63d9 100644 --- a/plotly/validators/scatter/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scatter/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_thickness.py b/plotly/validators/scatter/marker/colorbar/_thickness.py index b6fabf1c56c..9877c35809a 100644 --- a/plotly/validators/scatter/marker/colorbar/_thickness.py +++ b/plotly/validators/scatter/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_thicknessmode.py b/plotly/validators/scatter/marker/colorbar/_thicknessmode.py index c4cddf56871..51a2072ce42 100644 --- a/plotly/validators/scatter/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scatter/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tick0.py b/plotly/validators/scatter/marker/colorbar/_tick0.py index 2a70ffaea3c..9e30277016a 100644 --- a/plotly/validators/scatter/marker/colorbar/_tick0.py +++ b/plotly/validators/scatter/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickangle.py b/plotly/validators/scatter/marker/colorbar/_tickangle.py index 0851e8d319e..e5f6653c2a6 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickangle.py +++ b/plotly/validators/scatter/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickcolor.py b/plotly/validators/scatter/marker/colorbar/_tickcolor.py index 44f0683db5e..b0333662641 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scatter/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickfont.py b/plotly/validators/scatter/marker/colorbar/_tickfont.py index 071a49f56d6..a3f8ea8d8a4 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickfont.py +++ b/plotly/validators/scatter/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickformat.py b/plotly/validators/scatter/marker/colorbar/_tickformat.py index f2fd2b3023c..3dcc2181b51 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickformat.py +++ b/plotly/validators/scatter/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickformatstops.py b/plotly/validators/scatter/marker/colorbar/_tickformatstops.py index f52ccc28db5..fe3e3559d9a 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scatter/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_ticklen.py b/plotly/validators/scatter/marker/colorbar/_ticklen.py index f7b606e7f8f..924afb452cd 100644 --- a/plotly/validators/scatter/marker/colorbar/_ticklen.py +++ b/plotly/validators/scatter/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickmode.py b/plotly/validators/scatter/marker/colorbar/_tickmode.py index 347470601b5..d18aeb16084 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickmode.py +++ b/plotly/validators/scatter/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickprefix.py b/plotly/validators/scatter/marker/colorbar/_tickprefix.py index 63d394d9e1f..f0977c17939 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scatter/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_ticks.py b/plotly/validators/scatter/marker/colorbar/_ticks.py index 100ffac2073..1f8b6d23b20 100644 --- a/plotly/validators/scatter/marker/colorbar/_ticks.py +++ b/plotly/validators/scatter/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_ticksuffix.py b/plotly/validators/scatter/marker/colorbar/_ticksuffix.py index 1eb745d440e..780149f2e0f 100644 --- a/plotly/validators/scatter/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scatter/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_ticktext.py b/plotly/validators/scatter/marker/colorbar/_ticktext.py index e6e83b5bfe0..b9322fe94af 100644 --- a/plotly/validators/scatter/marker/colorbar/_ticktext.py +++ b/plotly/validators/scatter/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_ticktextsrc.py b/plotly/validators/scatter/marker/colorbar/_ticktextsrc.py index 973944e7b6d..157d4911e38 100644 --- a/plotly/validators/scatter/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scatter/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickvals.py b/plotly/validators/scatter/marker/colorbar/_tickvals.py index d22f177d4d6..678aaf3daf2 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickvals.py +++ b/plotly/validators/scatter/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickvalssrc.py b/plotly/validators/scatter/marker/colorbar/_tickvalssrc.py index eb26a520367..cddb12d634c 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scatter/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_tickwidth.py b/plotly/validators/scatter/marker/colorbar/_tickwidth.py index 0cf0ab50672..040c1f9d6d4 100644 --- a/plotly/validators/scatter/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scatter/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_title.py b/plotly/validators/scatter/marker/colorbar/_title.py index a38dcbce250..1d15676d062 100644 --- a/plotly/validators/scatter/marker/colorbar/_title.py +++ b/plotly/validators/scatter/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_titlefont.py b/plotly/validators/scatter/marker/colorbar/_titlefont.py index cdbea148a8b..ce0b8e83098 100644 --- a/plotly/validators/scatter/marker/colorbar/_titlefont.py +++ b/plotly/validators/scatter/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_titleside.py b/plotly/validators/scatter/marker/colorbar/_titleside.py index 02c08dfe738..f6bfce1579b 100644 --- a/plotly/validators/scatter/marker/colorbar/_titleside.py +++ b/plotly/validators/scatter/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_x.py b/plotly/validators/scatter/marker/colorbar/_x.py index 0efe71b50d4..e4f173eedd0 100644 --- a/plotly/validators/scatter/marker/colorbar/_x.py +++ b/plotly/validators/scatter/marker/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_xanchor.py b/plotly/validators/scatter/marker/colorbar/_xanchor.py index 39800a18495..0eb91cc99c6 100644 --- a/plotly/validators/scatter/marker/colorbar/_xanchor.py +++ b/plotly/validators/scatter/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_xpad.py b/plotly/validators/scatter/marker/colorbar/_xpad.py index f6362f54ead..dc742be80c5 100644 --- a/plotly/validators/scatter/marker/colorbar/_xpad.py +++ b/plotly/validators/scatter/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_y.py b/plotly/validators/scatter/marker/colorbar/_y.py index 6a6ff10f896..e4bf8f520ab 100644 --- a/plotly/validators/scatter/marker/colorbar/_y.py +++ b/plotly/validators/scatter/marker/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_yanchor.py b/plotly/validators/scatter/marker/colorbar/_yanchor.py index 9e4118830ac..3b6c359c776 100644 --- a/plotly/validators/scatter/marker/colorbar/_yanchor.py +++ b/plotly/validators/scatter/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/_ypad.py b/plotly/validators/scatter/marker/colorbar/_ypad.py index 205ead54790..b6cdb621c71 100644 --- a/plotly/validators/scatter/marker/colorbar/_ypad.py +++ b/plotly/validators/scatter/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickfont/_color.py b/plotly/validators/scatter/marker/colorbar/tickfont/_color.py index b99dbbd6dbe..83ef02e7fe7 100644 --- a/plotly/validators/scatter/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scatter/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickfont/_family.py b/plotly/validators/scatter/marker/colorbar/tickfont/_family.py index b80871fe2c3..78b6f7c0ab0 100644 --- a/plotly/validators/scatter/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scatter/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickfont/_size.py b/plotly/validators/scatter/marker/colorbar/tickfont/_size.py index 08a8e2f420b..11dc2bb5d40 100644 --- a/plotly/validators/scatter/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scatter/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scatter/marker/colorbar/tickformatstop/_dtickrange.py index 5d16490c1d1..07c61b1df00 100644 --- a/plotly/validators/scatter/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scatter/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scatter/marker/colorbar/tickformatstop/_enabled.py index ac7c8a38098..73cc138e51e 100644 --- a/plotly/validators/scatter/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scatter/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scatter/marker/colorbar/tickformatstop/_name.py index f6c609d7ba4..35a2be852b9 100644 --- a/plotly/validators/scatter/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scatter/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scatter/marker/colorbar/tickformatstop/_templateitemname.py index e7acd26c364..8b8bf5a8af9 100644 --- a/plotly/validators/scatter/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scatter/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scatter/marker/colorbar/tickformatstop/_value.py index d0ee42a761d..534e66686c3 100644 --- a/plotly/validators/scatter/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scatter/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/titlefont/_color.py b/plotly/validators/scatter/marker/colorbar/titlefont/_color.py index d664c6d54aa..2cdae621066 100644 --- a/plotly/validators/scatter/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scatter/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/titlefont/_family.py b/plotly/validators/scatter/marker/colorbar/titlefont/_family.py index 43a3191e163..c00cd3ec16b 100644 --- a/plotly/validators/scatter/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scatter/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter/marker/colorbar/titlefont/_size.py b/plotly/validators/scatter/marker/colorbar/titlefont/_size.py index 36b6dc701fb..17f0fa43305 100644 --- a/plotly/validators/scatter/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scatter/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/gradient/_color.py b/plotly/validators/scatter/marker/gradient/_color.py index 57f552d6179..f523339dfa0 100644 --- a/plotly/validators/scatter/marker/gradient/_color.py +++ b/plotly/validators/scatter/marker/gradient/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/gradient/_colorsrc.py b/plotly/validators/scatter/marker/gradient/_colorsrc.py index 8b90bae6c0c..2dbfe33af92 100644 --- a/plotly/validators/scatter/marker/gradient/_colorsrc.py +++ b/plotly/validators/scatter/marker/gradient/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/gradient/_type.py b/plotly/validators/scatter/marker/gradient/_type.py index 0eae13a836b..9428aa3b43e 100644 --- a/plotly/validators/scatter/marker/gradient/_type.py +++ b/plotly/validators/scatter/marker/gradient/_type.py @@ -12,9 +12,11 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['radial', 'horizontal', 'vertical', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['radial', 'horizontal', 'vertical', 'none'] + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/gradient/_typesrc.py b/plotly/validators/scatter/marker/gradient/_typesrc.py index fc44e14c914..a5fa09a4015 100644 --- a/plotly/validators/scatter/marker/gradient/_typesrc.py +++ b/plotly/validators/scatter/marker/gradient/_typesrc.py @@ -12,7 +12,7 @@ def __init__( super(TypesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_autocolorscale.py b/plotly/validators/scatter/marker/line/_autocolorscale.py index 0563e198e23..b19174c8ad8 100644 --- a/plotly/validators/scatter/marker/line/_autocolorscale.py +++ b/plotly/validators/scatter/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_cauto.py b/plotly/validators/scatter/marker/line/_cauto.py index 884702a41a2..3347e987d7a 100644 --- a/plotly/validators/scatter/marker/line/_cauto.py +++ b/plotly/validators/scatter/marker/line/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_cmax.py b/plotly/validators/scatter/marker/line/_cmax.py index b83bb0334e7..58660a38141 100644 --- a/plotly/validators/scatter/marker/line/_cmax.py +++ b/plotly/validators/scatter/marker/line/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_cmin.py b/plotly/validators/scatter/marker/line/_cmin.py index b588f75f452..bbf6e167d37 100644 --- a/plotly/validators/scatter/marker/line/_cmin.py +++ b/plotly/validators/scatter/marker/line/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_color.py b/plotly/validators/scatter/marker/line/_color.py index 1f1acff8d07..036c49b0967 100644 --- a/plotly/validators/scatter/marker/line/_color.py +++ b/plotly/validators/scatter/marker/line/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scatter.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatter.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_colorscale.py b/plotly/validators/scatter/marker/line/_colorscale.py index 88d3da6d5a1..395c8dfbbea 100644 --- a/plotly/validators/scatter/marker/line/_colorscale.py +++ b/plotly/validators/scatter/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_colorsrc.py b/plotly/validators/scatter/marker/line/_colorsrc.py index 598bbf35576..5f06ca0e787 100644 --- a/plotly/validators/scatter/marker/line/_colorsrc.py +++ b/plotly/validators/scatter/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_reversescale.py b/plotly/validators/scatter/marker/line/_reversescale.py index 9e4faa0a6e6..22edb49169e 100644 --- a/plotly/validators/scatter/marker/line/_reversescale.py +++ b/plotly/validators/scatter/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_width.py b/plotly/validators/scatter/marker/line/_width.py index 108770c589b..242e6c4e27d 100644 --- a/plotly/validators/scatter/marker/line/_width.py +++ b/plotly/validators/scatter/marker/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/marker/line/_widthsrc.py b/plotly/validators/scatter/marker/line/_widthsrc.py index cb12bc4c812..f868a608443 100644 --- a/plotly/validators/scatter/marker/line/_widthsrc.py +++ b/plotly/validators/scatter/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/selected/_marker.py b/plotly/validators/scatter/selected/_marker.py index 5dd47e3669c..979f04c56ea 100644 --- a/plotly/validators/scatter/selected/_marker.py +++ b/plotly/validators/scatter/selected/_marker.py @@ -9,14 +9,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/selected/_textfont.py b/plotly/validators/scatter/selected/_textfont.py index 3d54aefd541..6ea628d66f5 100644 --- a/plotly/validators/scatter/selected/_textfont.py +++ b/plotly/validators/scatter/selected/_textfont.py @@ -9,10 +9,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/selected/marker/_color.py b/plotly/validators/scatter/selected/marker/_color.py index 203a7c2b6d7..500587512f2 100644 --- a/plotly/validators/scatter/selected/marker/_color.py +++ b/plotly/validators/scatter/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/selected/marker/_opacity.py b/plotly/validators/scatter/selected/marker/_opacity.py index 8f082eb7cda..2f9580cfc5d 100644 --- a/plotly/validators/scatter/selected/marker/_opacity.py +++ b/plotly/validators/scatter/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/selected/marker/_size.py b/plotly/validators/scatter/selected/marker/_size.py index 61b1de59d76..4f223796c97 100644 --- a/plotly/validators/scatter/selected/marker/_size.py +++ b/plotly/validators/scatter/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/selected/textfont/_color.py b/plotly/validators/scatter/selected/textfont/_color.py index 8c3a3170b0f..87515393cb0 100644 --- a/plotly/validators/scatter/selected/textfont/_color.py +++ b/plotly/validators/scatter/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/stream/_maxpoints.py b/plotly/validators/scatter/stream/_maxpoints.py index b382a75170d..7b8b5954305 100644 --- a/plotly/validators/scatter/stream/_maxpoints.py +++ b/plotly/validators/scatter/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/stream/_token.py b/plotly/validators/scatter/stream/_token.py index c053818fbc6..833a6de8155 100644 --- a/plotly/validators/scatter/stream/_token.py +++ b/plotly/validators/scatter/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter/textfont/_color.py b/plotly/validators/scatter/textfont/_color.py index b248315ea85..d8954c872c0 100644 --- a/plotly/validators/scatter/textfont/_color.py +++ b/plotly/validators/scatter/textfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/textfont/_colorsrc.py b/plotly/validators/scatter/textfont/_colorsrc.py index e180baf4309..98dc70d3a57 100644 --- a/plotly/validators/scatter/textfont/_colorsrc.py +++ b/plotly/validators/scatter/textfont/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/textfont/_family.py b/plotly/validators/scatter/textfont/_family.py index bd1b9df869a..36821ed7d7e 100644 --- a/plotly/validators/scatter/textfont/_family.py +++ b/plotly/validators/scatter/textfont/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter/textfont/_familysrc.py b/plotly/validators/scatter/textfont/_familysrc.py index aa553c52b92..c3243c0dcd7 100644 --- a/plotly/validators/scatter/textfont/_familysrc.py +++ b/plotly/validators/scatter/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/textfont/_size.py b/plotly/validators/scatter/textfont/_size.py index 1d5ae0a800c..15f2044db31 100644 --- a/plotly/validators/scatter/textfont/_size.py +++ b/plotly/validators/scatter/textfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/textfont/_sizesrc.py b/plotly/validators/scatter/textfont/_sizesrc.py index bf7db1a2e5a..8f6050ec3a8 100644 --- a/plotly/validators/scatter/textfont/_sizesrc.py +++ b/plotly/validators/scatter/textfont/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter/unselected/_marker.py b/plotly/validators/scatter/unselected/_marker.py index 6bebea0fb0d..6d9f26e90d0 100644 --- a/plotly/validators/scatter/unselected/_marker.py +++ b/plotly/validators/scatter/unselected/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -20,6 +21,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/unselected/_textfont.py b/plotly/validators/scatter/unselected/_textfont.py index b7ea7814e6e..000a2103b55 100644 --- a/plotly/validators/scatter/unselected/_textfont.py +++ b/plotly/validators/scatter/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter/unselected/marker/_color.py b/plotly/validators/scatter/unselected/marker/_color.py index fd9e455e4d6..8cf55739b27 100644 --- a/plotly/validators/scatter/unselected/marker/_color.py +++ b/plotly/validators/scatter/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/unselected/marker/_opacity.py b/plotly/validators/scatter/unselected/marker/_opacity.py index 59fbe6becb4..5a7b670fb37 100644 --- a/plotly/validators/scatter/unselected/marker/_opacity.py +++ b/plotly/validators/scatter/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/unselected/marker/_size.py b/plotly/validators/scatter/unselected/marker/_size.py index e90d45fdef8..b55f7847c1e 100644 --- a/plotly/validators/scatter/unselected/marker/_size.py +++ b/plotly/validators/scatter/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter/unselected/textfont/_color.py b/plotly/validators/scatter/unselected/textfont/_color.py index 5f041e3916d..b00e6d35370 100644 --- a/plotly/validators/scatter/unselected/textfont/_color.py +++ b/plotly/validators/scatter/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/_connectgaps.py b/plotly/validators/scatter3d/_connectgaps.py index 18abe400a64..993efa94e3d 100644 --- a/plotly/validators/scatter3d/_connectgaps.py +++ b/plotly/validators/scatter3d/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_customdata.py b/plotly/validators/scatter3d/_customdata.py index 923a5a45712..34378e8c6f2 100644 --- a/plotly/validators/scatter3d/_customdata.py +++ b/plotly/validators/scatter3d/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/_customdatasrc.py b/plotly/validators/scatter3d/_customdatasrc.py index 6b34e740515..0c5ef6707d1 100644 --- a/plotly/validators/scatter3d/_customdatasrc.py +++ b/plotly/validators/scatter3d/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_error_x.py b/plotly/validators/scatter3d/_error_x.py index 642e4ad87a9..b5851233da4 100644 --- a/plotly/validators/scatter3d/_error_x.py +++ b/plotly/validators/scatter3d/_error_x.py @@ -9,8 +9,9 @@ def __init__( super(ErrorXValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorX', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorX'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -68,6 +69,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_error_y.py b/plotly/validators/scatter3d/_error_y.py index 33efe263d48..0acfd6a7bbf 100644 --- a/plotly/validators/scatter3d/_error_y.py +++ b/plotly/validators/scatter3d/_error_y.py @@ -9,8 +9,9 @@ def __init__( super(ErrorYValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorY', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorY'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -68,6 +69,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_error_z.py b/plotly/validators/scatter3d/_error_z.py index 7d0ae0dfdb2..5be5bba9ee5 100644 --- a/plotly/validators/scatter3d/_error_z.py +++ b/plotly/validators/scatter3d/_error_z.py @@ -9,8 +9,9 @@ def __init__( super(ErrorZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorZ', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorZ'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -66,6 +67,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_hoverinfo.py b/plotly/validators/scatter3d/_hoverinfo.py index eea4401457b..b76a43319f3 100644 --- a/plotly/validators/scatter3d/_hoverinfo.py +++ b/plotly/validators/scatter3d/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_hoverinfosrc.py b/plotly/validators/scatter3d/_hoverinfosrc.py index a07bcd4676e..546bc93b128 100644 --- a/plotly/validators/scatter3d/_hoverinfosrc.py +++ b/plotly/validators/scatter3d/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_hoverlabel.py b/plotly/validators/scatter3d/_hoverlabel.py index 8dbaee5d1b5..b6b97c38a48 100644 --- a/plotly/validators/scatter3d/_hoverlabel.py +++ b/plotly/validators/scatter3d/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_hovertext.py b/plotly/validators/scatter3d/_hovertext.py index fe65590f900..853308605b4 100644 --- a/plotly/validators/scatter3d/_hovertext.py +++ b/plotly/validators/scatter3d/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_hovertextsrc.py b/plotly/validators/scatter3d/_hovertextsrc.py index 10ffb2816c6..5a272696c26 100644 --- a/plotly/validators/scatter3d/_hovertextsrc.py +++ b/plotly/validators/scatter3d/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_ids.py b/plotly/validators/scatter3d/_ids.py index a8be1e01435..47aa6634129 100644 --- a/plotly/validators/scatter3d/_ids.py +++ b/plotly/validators/scatter3d/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='scatter3d', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/_idssrc.py b/plotly/validators/scatter3d/_idssrc.py index 2d27b90352b..f8767f84202 100644 --- a/plotly/validators/scatter3d/_idssrc.py +++ b/plotly/validators/scatter3d/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_legendgroup.py b/plotly/validators/scatter3d/_legendgroup.py index c0de94437ed..18c998f83d3 100644 --- a/plotly/validators/scatter3d/_legendgroup.py +++ b/plotly/validators/scatter3d/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_line.py b/plotly/validators/scatter3d/_line.py index 85a7c749299..e056cb07def 100644 --- a/plotly/validators/scatter3d/_line.py +++ b/plotly/validators/scatter3d/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='scatter3d', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -74,6 +75,7 @@ def __init__(self, plotly_name='line', parent_name='scatter3d', **kwargs): `line.cmax` will correspond to the first color. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_marker.py b/plotly/validators/scatter3d/_marker.py index 24e46accb9a..6e05e14621c 100644 --- a/plotly/validators/scatter3d/_marker.py +++ b/plotly/validators/scatter3d/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -113,6 +114,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_mode.py b/plotly/validators/scatter3d/_mode.py index 950d0c1d53f..e7f933d7f02 100644 --- a/plotly/validators/scatter3d/_mode.py +++ b/plotly/validators/scatter3d/_mode.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='mode', parent_name='scatter3d', **kwargs): super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_name.py b/plotly/validators/scatter3d/_name.py index 6536449c3fe..b65e6123ac5 100644 --- a/plotly/validators/scatter3d/_name.py +++ b/plotly/validators/scatter3d/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='scatter3d', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_opacity.py b/plotly/validators/scatter3d/_opacity.py index 4ee5f5171aa..b384d55b3b5 100644 --- a/plotly/validators/scatter3d/_opacity.py +++ b/plotly/validators/scatter3d/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/_projection.py b/plotly/validators/scatter3d/_projection.py index 8f6be667ce5..a79945e73da 100644 --- a/plotly/validators/scatter3d/_projection.py +++ b/plotly/validators/scatter3d/_projection.py @@ -9,8 +9,9 @@ def __init__( super(ProjectionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Projection', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Projection'), + data_docs=kwargs.pop( + 'data_docs', """ x plotly.graph_objs.scatter3d.projection.X instance or dict with compatible properties @@ -20,6 +21,7 @@ def __init__( z plotly.graph_objs.scatter3d.projection.Z instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_scene.py b/plotly/validators/scatter3d/_scene.py index 801dc00a34a..36a44192049 100644 --- a/plotly/validators/scatter3d/_scene.py +++ b/plotly/validators/scatter3d/_scene.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='scene', parent_name='scatter3d', **kwargs): super(SceneValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='scene', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'scene'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_selectedpoints.py b/plotly/validators/scatter3d/_selectedpoints.py index 9dcad5de12f..851f9443c24 100644 --- a/plotly/validators/scatter3d/_selectedpoints.py +++ b/plotly/validators/scatter3d/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_showlegend.py b/plotly/validators/scatter3d/_showlegend.py index 12de31be3c4..81c5e2858a1 100644 --- a/plotly/validators/scatter3d/_showlegend.py +++ b/plotly/validators/scatter3d/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_stream.py b/plotly/validators/scatter3d/_stream.py index f79d3778543..c6a129f6048 100644 --- a/plotly/validators/scatter3d/_stream.py +++ b/plotly/validators/scatter3d/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_surfaceaxis.py b/plotly/validators/scatter3d/_surfaceaxis.py index 6414310c47e..897a53da053 100644 --- a/plotly/validators/scatter3d/_surfaceaxis.py +++ b/plotly/validators/scatter3d/_surfaceaxis.py @@ -9,8 +9,8 @@ def __init__( super(SurfaceaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[-1, 0, 1, 2], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [-1, 0, 1, 2]), **kwargs ) diff --git a/plotly/validators/scatter3d/_surfacecolor.py b/plotly/validators/scatter3d/_surfacecolor.py index bbcde73db85..bb9e543d154 100644 --- a/plotly/validators/scatter3d/_surfacecolor.py +++ b/plotly/validators/scatter3d/_surfacecolor.py @@ -9,7 +9,7 @@ def __init__( super(SurfacecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/_text.py b/plotly/validators/scatter3d/_text.py index 3f95c79ce5d..4cee5300332 100644 --- a/plotly/validators/scatter3d/_text.py +++ b/plotly/validators/scatter3d/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='scatter3d', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_textfont.py b/plotly/validators/scatter3d/_textfont.py index 758f032e194..d6541b838c5 100644 --- a/plotly/validators/scatter3d/_textfont.py +++ b/plotly/validators/scatter3d/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -37,6 +38,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_textposition.py b/plotly/validators/scatter3d/_textposition.py index 726bc729655..87bd9db8ca6 100644 --- a/plotly/validators/scatter3d/_textposition.py +++ b/plotly/validators/scatter3d/_textposition.py @@ -9,13 +9,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_textsrc.py b/plotly/validators/scatter3d/_textsrc.py index 585087d5003..36e512854c9 100644 --- a/plotly/validators/scatter3d/_textsrc.py +++ b/plotly/validators/scatter3d/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_uid.py b/plotly/validators/scatter3d/_uid.py index 49b6f7090cf..07dede9f6ec 100644 --- a/plotly/validators/scatter3d/_uid.py +++ b/plotly/validators/scatter3d/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='scatter3d', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_visible.py b/plotly/validators/scatter3d/_visible.py index 91c5030e453..908394ef2b3 100644 --- a/plotly/validators/scatter3d/_visible.py +++ b/plotly/validators/scatter3d/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scatter3d/_x.py b/plotly/validators/scatter3d/_x.py index f055cd0e1d1..88076b31de6 100644 --- a/plotly/validators/scatter3d/_x.py +++ b/plotly/validators/scatter3d/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='scatter3d', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/_xcalendar.py b/plotly/validators/scatter3d/_xcalendar.py index 3b4aeb47126..636add91b04 100644 --- a/plotly/validators/scatter3d/_xcalendar.py +++ b/plotly/validators/scatter3d/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_xsrc.py b/plotly/validators/scatter3d/_xsrc.py index fa8b202138f..28065c5f70c 100644 --- a/plotly/validators/scatter3d/_xsrc.py +++ b/plotly/validators/scatter3d/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='scatter3d', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_y.py b/plotly/validators/scatter3d/_y.py index 31064291647..42cf6ac1d1b 100644 --- a/plotly/validators/scatter3d/_y.py +++ b/plotly/validators/scatter3d/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='scatter3d', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/_ycalendar.py b/plotly/validators/scatter3d/_ycalendar.py index 9158392fa6a..827bd2e4198 100644 --- a/plotly/validators/scatter3d/_ycalendar.py +++ b/plotly/validators/scatter3d/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_ysrc.py b/plotly/validators/scatter3d/_ysrc.py index 8e9e8a5e8be..0566b964a11 100644 --- a/plotly/validators/scatter3d/_ysrc.py +++ b/plotly/validators/scatter3d/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='scatter3d', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/_z.py b/plotly/validators/scatter3d/_z.py index 4be931e8155..5b748b89209 100644 --- a/plotly/validators/scatter3d/_z.py +++ b/plotly/validators/scatter3d/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='scatter3d', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/_zcalendar.py b/plotly/validators/scatter3d/_zcalendar.py index f4f2e852238..b1484aa9816 100644 --- a/plotly/validators/scatter3d/_zcalendar.py +++ b/plotly/validators/scatter3d/_zcalendar.py @@ -9,12 +9,15 @@ def __init__( super(ZcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/_zsrc.py b/plotly/validators/scatter3d/_zsrc.py index 703e8a101d5..43e886e1ee0 100644 --- a/plotly/validators/scatter3d/_zsrc.py +++ b/plotly/validators/scatter3d/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='scatter3d', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_array.py b/plotly/validators/scatter3d/error_x/_array.py index 0e059f71654..7c4411d65ce 100644 --- a/plotly/validators/scatter3d/error_x/_array.py +++ b/plotly/validators/scatter3d/error_x/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_arrayminus.py b/plotly/validators/scatter3d/error_x/_arrayminus.py index d1448cfa95e..ce6457cdbc9 100644 --- a/plotly/validators/scatter3d/error_x/_arrayminus.py +++ b/plotly/validators/scatter3d/error_x/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_arrayminussrc.py b/plotly/validators/scatter3d/error_x/_arrayminussrc.py index 8bed869eb40..dea2881e6b5 100644 --- a/plotly/validators/scatter3d/error_x/_arrayminussrc.py +++ b/plotly/validators/scatter3d/error_x/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_arraysrc.py b/plotly/validators/scatter3d/error_x/_arraysrc.py index b1f765ac394..0cf6238e3fd 100644 --- a/plotly/validators/scatter3d/error_x/_arraysrc.py +++ b/plotly/validators/scatter3d/error_x/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_color.py b/plotly/validators/scatter3d/error_x/_color.py index 0c735de23b4..1b92dfed6ab 100644 --- a/plotly/validators/scatter3d/error_x/_color.py +++ b/plotly/validators/scatter3d/error_x/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_copy_zstyle.py b/plotly/validators/scatter3d/error_x/_copy_zstyle.py index 2210ceb752e..ce2c2dfdf93 100644 --- a/plotly/validators/scatter3d/error_x/_copy_zstyle.py +++ b/plotly/validators/scatter3d/error_x/_copy_zstyle.py @@ -12,7 +12,7 @@ def __init__( super(CopyZstyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_symmetric.py b/plotly/validators/scatter3d/error_x/_symmetric.py index 30a6ddfe406..6c78cc209e2 100644 --- a/plotly/validators/scatter3d/error_x/_symmetric.py +++ b/plotly/validators/scatter3d/error_x/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_thickness.py b/plotly/validators/scatter3d/error_x/_thickness.py index c8f07f005fd..0e2a46af255 100644 --- a/plotly/validators/scatter3d/error_x/_thickness.py +++ b/plotly/validators/scatter3d/error_x/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_traceref.py b/plotly/validators/scatter3d/error_x/_traceref.py index f215b7c4188..3b98f5623b3 100644 --- a/plotly/validators/scatter3d/error_x/_traceref.py +++ b/plotly/validators/scatter3d/error_x/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_tracerefminus.py b/plotly/validators/scatter3d/error_x/_tracerefminus.py index ddbb59ade53..91b695ccc8c 100644 --- a/plotly/validators/scatter3d/error_x/_tracerefminus.py +++ b/plotly/validators/scatter3d/error_x/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_type.py b/plotly/validators/scatter3d/error_x/_type.py index dea4bf8184f..a6edd0ef9cc 100644 --- a/plotly/validators/scatter3d/error_x/_type.py +++ b/plotly/validators/scatter3d/error_x/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_value.py b/plotly/validators/scatter3d/error_x/_value.py index db1f336f929..2c908715086 100644 --- a/plotly/validators/scatter3d/error_x/_value.py +++ b/plotly/validators/scatter3d/error_x/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_valueminus.py b/plotly/validators/scatter3d/error_x/_valueminus.py index d8424f2e99a..08d37385396 100644 --- a/plotly/validators/scatter3d/error_x/_valueminus.py +++ b/plotly/validators/scatter3d/error_x/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_visible.py b/plotly/validators/scatter3d/error_x/_visible.py index c0120a89473..0811bf79d45 100644 --- a/plotly/validators/scatter3d/error_x/_visible.py +++ b/plotly/validators/scatter3d/error_x/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_x/_width.py b/plotly/validators/scatter3d/error_x/_width.py index d61b70d443c..6b2c322065c 100644 --- a/plotly/validators/scatter3d/error_x/_width.py +++ b/plotly/validators/scatter3d/error_x/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_array.py b/plotly/validators/scatter3d/error_y/_array.py index 4fc5840e715..27112117142 100644 --- a/plotly/validators/scatter3d/error_y/_array.py +++ b/plotly/validators/scatter3d/error_y/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_arrayminus.py b/plotly/validators/scatter3d/error_y/_arrayminus.py index 9ea4f1e2db8..efde53b245c 100644 --- a/plotly/validators/scatter3d/error_y/_arrayminus.py +++ b/plotly/validators/scatter3d/error_y/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_arrayminussrc.py b/plotly/validators/scatter3d/error_y/_arrayminussrc.py index 8d2ea40de69..81f6ef57e0f 100644 --- a/plotly/validators/scatter3d/error_y/_arrayminussrc.py +++ b/plotly/validators/scatter3d/error_y/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_arraysrc.py b/plotly/validators/scatter3d/error_y/_arraysrc.py index d7e17923fb8..f285e57d478 100644 --- a/plotly/validators/scatter3d/error_y/_arraysrc.py +++ b/plotly/validators/scatter3d/error_y/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_color.py b/plotly/validators/scatter3d/error_y/_color.py index 80595728a89..fd4e3cc597c 100644 --- a/plotly/validators/scatter3d/error_y/_color.py +++ b/plotly/validators/scatter3d/error_y/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_copy_zstyle.py b/plotly/validators/scatter3d/error_y/_copy_zstyle.py index fb941e3a677..3ed48c1db16 100644 --- a/plotly/validators/scatter3d/error_y/_copy_zstyle.py +++ b/plotly/validators/scatter3d/error_y/_copy_zstyle.py @@ -12,7 +12,7 @@ def __init__( super(CopyZstyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_symmetric.py b/plotly/validators/scatter3d/error_y/_symmetric.py index 3382962aaf3..96d1c95552c 100644 --- a/plotly/validators/scatter3d/error_y/_symmetric.py +++ b/plotly/validators/scatter3d/error_y/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_thickness.py b/plotly/validators/scatter3d/error_y/_thickness.py index 61f4130a60c..1aaa2ffd5b3 100644 --- a/plotly/validators/scatter3d/error_y/_thickness.py +++ b/plotly/validators/scatter3d/error_y/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_traceref.py b/plotly/validators/scatter3d/error_y/_traceref.py index c0c6313b122..9c7cb87b578 100644 --- a/plotly/validators/scatter3d/error_y/_traceref.py +++ b/plotly/validators/scatter3d/error_y/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_tracerefminus.py b/plotly/validators/scatter3d/error_y/_tracerefminus.py index b13fdcf9c36..84c3a9cc09b 100644 --- a/plotly/validators/scatter3d/error_y/_tracerefminus.py +++ b/plotly/validators/scatter3d/error_y/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_type.py b/plotly/validators/scatter3d/error_y/_type.py index 6ea86d689fa..81f467f93a3 100644 --- a/plotly/validators/scatter3d/error_y/_type.py +++ b/plotly/validators/scatter3d/error_y/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_value.py b/plotly/validators/scatter3d/error_y/_value.py index 99fa96fda17..52dfba72638 100644 --- a/plotly/validators/scatter3d/error_y/_value.py +++ b/plotly/validators/scatter3d/error_y/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_valueminus.py b/plotly/validators/scatter3d/error_y/_valueminus.py index e5f5979dd79..e620787e213 100644 --- a/plotly/validators/scatter3d/error_y/_valueminus.py +++ b/plotly/validators/scatter3d/error_y/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_visible.py b/plotly/validators/scatter3d/error_y/_visible.py index d748a27c31a..ea1f7548cb7 100644 --- a/plotly/validators/scatter3d/error_y/_visible.py +++ b/plotly/validators/scatter3d/error_y/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_y/_width.py b/plotly/validators/scatter3d/error_y/_width.py index ce2c18d7bee..618bf789cee 100644 --- a/plotly/validators/scatter3d/error_y/_width.py +++ b/plotly/validators/scatter3d/error_y/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_array.py b/plotly/validators/scatter3d/error_z/_array.py index 8f892e80585..68e141ddac0 100644 --- a/plotly/validators/scatter3d/error_z/_array.py +++ b/plotly/validators/scatter3d/error_z/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_arrayminus.py b/plotly/validators/scatter3d/error_z/_arrayminus.py index c2de192750e..fb0d637e8af 100644 --- a/plotly/validators/scatter3d/error_z/_arrayminus.py +++ b/plotly/validators/scatter3d/error_z/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_arrayminussrc.py b/plotly/validators/scatter3d/error_z/_arrayminussrc.py index ec01c83835f..720b81c80b7 100644 --- a/plotly/validators/scatter3d/error_z/_arrayminussrc.py +++ b/plotly/validators/scatter3d/error_z/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_arraysrc.py b/plotly/validators/scatter3d/error_z/_arraysrc.py index 39c1c9e42a5..71e0a1d6946 100644 --- a/plotly/validators/scatter3d/error_z/_arraysrc.py +++ b/plotly/validators/scatter3d/error_z/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_color.py b/plotly/validators/scatter3d/error_z/_color.py index 76419e90578..ad690724d18 100644 --- a/plotly/validators/scatter3d/error_z/_color.py +++ b/plotly/validators/scatter3d/error_z/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_symmetric.py b/plotly/validators/scatter3d/error_z/_symmetric.py index 23903375fca..6d077be870b 100644 --- a/plotly/validators/scatter3d/error_z/_symmetric.py +++ b/plotly/validators/scatter3d/error_z/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_thickness.py b/plotly/validators/scatter3d/error_z/_thickness.py index bff14b4693c..a298525c429 100644 --- a/plotly/validators/scatter3d/error_z/_thickness.py +++ b/plotly/validators/scatter3d/error_z/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_traceref.py b/plotly/validators/scatter3d/error_z/_traceref.py index 87fcb84ec8d..f471587791b 100644 --- a/plotly/validators/scatter3d/error_z/_traceref.py +++ b/plotly/validators/scatter3d/error_z/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_tracerefminus.py b/plotly/validators/scatter3d/error_z/_tracerefminus.py index cf3ffe33b60..df75ba6963e 100644 --- a/plotly/validators/scatter3d/error_z/_tracerefminus.py +++ b/plotly/validators/scatter3d/error_z/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_type.py b/plotly/validators/scatter3d/error_z/_type.py index a144f464f19..e780bec39cc 100644 --- a/plotly/validators/scatter3d/error_z/_type.py +++ b/plotly/validators/scatter3d/error_z/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_value.py b/plotly/validators/scatter3d/error_z/_value.py index b8862a3ed37..bec77a82af9 100644 --- a/plotly/validators/scatter3d/error_z/_value.py +++ b/plotly/validators/scatter3d/error_z/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_valueminus.py b/plotly/validators/scatter3d/error_z/_valueminus.py index d304574de19..e49cde0bd60 100644 --- a/plotly/validators/scatter3d/error_z/_valueminus.py +++ b/plotly/validators/scatter3d/error_z/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_visible.py b/plotly/validators/scatter3d/error_z/_visible.py index 2a6a24a047d..c551541385c 100644 --- a/plotly/validators/scatter3d/error_z/_visible.py +++ b/plotly/validators/scatter3d/error_z/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/error_z/_width.py b/plotly/validators/scatter3d/error_z/_width.py index 2e7a701e02a..9d8035a8bd4 100644 --- a/plotly/validators/scatter3d/error_z/_width.py +++ b/plotly/validators/scatter3d/error_z/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_bgcolor.py b/plotly/validators/scatter3d/hoverlabel/_bgcolor.py index 137079fee6c..f03d838ddbc 100644 --- a/plotly/validators/scatter3d/hoverlabel/_bgcolor.py +++ b/plotly/validators/scatter3d/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_bgcolorsrc.py b/plotly/validators/scatter3d/hoverlabel/_bgcolorsrc.py index c3df141d278..0cf0246bbcc 100644 --- a/plotly/validators/scatter3d/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scatter3d/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_bordercolor.py b/plotly/validators/scatter3d/hoverlabel/_bordercolor.py index ca5c6b4f10b..3af5f86c3cf 100644 --- a/plotly/validators/scatter3d/hoverlabel/_bordercolor.py +++ b/plotly/validators/scatter3d/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_bordercolorsrc.py b/plotly/validators/scatter3d/hoverlabel/_bordercolorsrc.py index a2776b8096d..eec714cf38a 100644 --- a/plotly/validators/scatter3d/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scatter3d/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_font.py b/plotly/validators/scatter3d/hoverlabel/_font.py index e0b785459a1..9cdcf15e6c9 100644 --- a/plotly/validators/scatter3d/hoverlabel/_font.py +++ b/plotly/validators/scatter3d/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_namelength.py b/plotly/validators/scatter3d/hoverlabel/_namelength.py index debcb37eff2..b079bf5c752 100644 --- a/plotly/validators/scatter3d/hoverlabel/_namelength.py +++ b/plotly/validators/scatter3d/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/_namelengthsrc.py b/plotly/validators/scatter3d/hoverlabel/_namelengthsrc.py index 5748dfbc229..8c4b2f80607 100644 --- a/plotly/validators/scatter3d/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scatter3d/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/font/_color.py b/plotly/validators/scatter3d/hoverlabel/font/_color.py index 972424c7ee0..fdbc6593508 100644 --- a/plotly/validators/scatter3d/hoverlabel/font/_color.py +++ b/plotly/validators/scatter3d/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/font/_colorsrc.py b/plotly/validators/scatter3d/hoverlabel/font/_colorsrc.py index 0622f30561d..5bbb5f6ecb0 100644 --- a/plotly/validators/scatter3d/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scatter3d/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/font/_family.py b/plotly/validators/scatter3d/hoverlabel/font/_family.py index 263b9905939..8e583b411aa 100644 --- a/plotly/validators/scatter3d/hoverlabel/font/_family.py +++ b/plotly/validators/scatter3d/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/font/_familysrc.py b/plotly/validators/scatter3d/hoverlabel/font/_familysrc.py index 9aac3914821..9ebbabbf03c 100644 --- a/plotly/validators/scatter3d/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scatter3d/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/font/_size.py b/plotly/validators/scatter3d/hoverlabel/font/_size.py index e0f14970741..7a3b6df18de 100644 --- a/plotly/validators/scatter3d/hoverlabel/font/_size.py +++ b/plotly/validators/scatter3d/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/hoverlabel/font/_sizesrc.py b/plotly/validators/scatter3d/hoverlabel/font/_sizesrc.py index f11b9c03385..8dd23f5eb7d 100644 --- a/plotly/validators/scatter3d/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scatter3d/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_autocolorscale.py b/plotly/validators/scatter3d/line/_autocolorscale.py index f058c90c2c2..69801d6c6eb 100644 --- a/plotly/validators/scatter3d/line/_autocolorscale.py +++ b/plotly/validators/scatter3d/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_cauto.py b/plotly/validators/scatter3d/line/_cauto.py index 6d3cdbefe73..c6f86a618c3 100644 --- a/plotly/validators/scatter3d/line/_cauto.py +++ b/plotly/validators/scatter3d/line/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_cmax.py b/plotly/validators/scatter3d/line/_cmax.py index 52c5f673cb3..9d8c4c50122 100644 --- a/plotly/validators/scatter3d/line/_cmax.py +++ b/plotly/validators/scatter3d/line/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_cmin.py b/plotly/validators/scatter3d/line/_cmin.py index 30245d34f33..ae238f3e530 100644 --- a/plotly/validators/scatter3d/line/_cmin.py +++ b/plotly/validators/scatter3d/line/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_color.py b/plotly/validators/scatter3d/line/_color.py index ccf9af9ae71..7bf30d97d02 100644 --- a/plotly/validators/scatter3d/line/_color.py +++ b/plotly/validators/scatter3d/line/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scatter3d.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatter3d.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_colorscale.py b/plotly/validators/scatter3d/line/_colorscale.py index bfb2d367866..e9891d35716 100644 --- a/plotly/validators/scatter3d/line/_colorscale.py +++ b/plotly/validators/scatter3d/line/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_colorsrc.py b/plotly/validators/scatter3d/line/_colorsrc.py index e8673a95cab..c54244584dd 100644 --- a/plotly/validators/scatter3d/line/_colorsrc.py +++ b/plotly/validators/scatter3d/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_dash.py b/plotly/validators/scatter3d/line/_dash.py index 555ff8d38aa..d87de1e13bc 100644 --- a/plotly/validators/scatter3d/line/_dash.py +++ b/plotly/validators/scatter3d/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_reversescale.py b/plotly/validators/scatter3d/line/_reversescale.py index 255e81b0642..343750d451e 100644 --- a/plotly/validators/scatter3d/line/_reversescale.py +++ b/plotly/validators/scatter3d/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/line/_width.py b/plotly/validators/scatter3d/line/_width.py index aa6a2723dfa..9256272187f 100644 --- a/plotly/validators/scatter3d/line/_width.py +++ b/plotly/validators/scatter3d/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_autocolorscale.py b/plotly/validators/scatter3d/marker/_autocolorscale.py index 2f6cd04c9de..7e79f7c9191 100644 --- a/plotly/validators/scatter3d/marker/_autocolorscale.py +++ b/plotly/validators/scatter3d/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_cauto.py b/plotly/validators/scatter3d/marker/_cauto.py index a62c7cc61b1..6ec8cd12368 100644 --- a/plotly/validators/scatter3d/marker/_cauto.py +++ b/plotly/validators/scatter3d/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_cmax.py b/plotly/validators/scatter3d/marker/_cmax.py index 805635b4599..eb700981442 100644 --- a/plotly/validators/scatter3d/marker/_cmax.py +++ b/plotly/validators/scatter3d/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_cmin.py b/plotly/validators/scatter3d/marker/_cmin.py index 364665784b9..fa8eb836447 100644 --- a/plotly/validators/scatter3d/marker/_cmin.py +++ b/plotly/validators/scatter3d/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_color.py b/plotly/validators/scatter3d/marker/_color.py index 80a7614855f..e64c2337a27 100644 --- a/plotly/validators/scatter3d/marker/_color.py +++ b/plotly/validators/scatter3d/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scatter3d.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatter3d.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_colorbar.py b/plotly/validators/scatter3d/marker/_colorbar.py index 9c4a3f99cc0..60a7f691218 100644 --- a/plotly/validators/scatter3d/marker/_colorbar.py +++ b/plotly/validators/scatter3d/marker/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_colorscale.py b/plotly/validators/scatter3d/marker/_colorscale.py index 4875da4d1b0..54d8e91ae15 100644 --- a/plotly/validators/scatter3d/marker/_colorscale.py +++ b/plotly/validators/scatter3d/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_colorsrc.py b/plotly/validators/scatter3d/marker/_colorsrc.py index d584db5549f..0610e9f7b6d 100644 --- a/plotly/validators/scatter3d/marker/_colorsrc.py +++ b/plotly/validators/scatter3d/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_line.py b/plotly/validators/scatter3d/marker/_line.py index c463f7a8a4d..8ec1b404d5e 100644 --- a/plotly/validators/scatter3d/marker/_line.py +++ b/plotly/validators/scatter3d/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -78,6 +79,7 @@ def __init__( width Sets the width (in px) of the lines bounding the marker points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_opacity.py b/plotly/validators/scatter3d/marker/_opacity.py index 5eb030012bc..489ec648ed7 100644 --- a/plotly/validators/scatter3d/marker/_opacity.py +++ b/plotly/validators/scatter3d/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_reversescale.py b/plotly/validators/scatter3d/marker/_reversescale.py index 6bf0370defd..bac413d641e 100644 --- a/plotly/validators/scatter3d/marker/_reversescale.py +++ b/plotly/validators/scatter3d/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_showscale.py b/plotly/validators/scatter3d/marker/_showscale.py index 52fe4d3f8dc..6ba2e72062a 100644 --- a/plotly/validators/scatter3d/marker/_showscale.py +++ b/plotly/validators/scatter3d/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_size.py b/plotly/validators/scatter3d/marker/_size.py index 52a678b02ee..2ddbdf28c8a 100644 --- a/plotly/validators/scatter3d/marker/_size.py +++ b/plotly/validators/scatter3d/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_sizemin.py b/plotly/validators/scatter3d/marker/_sizemin.py index 1269cf63740..c92a0f21293 100644 --- a/plotly/validators/scatter3d/marker/_sizemin.py +++ b/plotly/validators/scatter3d/marker/_sizemin.py @@ -9,8 +9,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_sizemode.py b/plotly/validators/scatter3d/marker/_sizemode.py index ae03f8051e2..ae866a1bd5d 100644 --- a/plotly/validators/scatter3d/marker/_sizemode.py +++ b/plotly/validators/scatter3d/marker/_sizemode.py @@ -9,8 +9,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_sizeref.py b/plotly/validators/scatter3d/marker/_sizeref.py index 40f34c25ecc..3cec35b0e83 100644 --- a/plotly/validators/scatter3d/marker/_sizeref.py +++ b/plotly/validators/scatter3d/marker/_sizeref.py @@ -9,7 +9,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_sizesrc.py b/plotly/validators/scatter3d/marker/_sizesrc.py index df20f68a81e..bbeb228c782 100644 --- a/plotly/validators/scatter3d/marker/_sizesrc.py +++ b/plotly/validators/scatter3d/marker/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_symbol.py b/plotly/validators/scatter3d/marker/_symbol.py index e87595d785c..0f65a438b42 100644 --- a/plotly/validators/scatter3d/marker/_symbol.py +++ b/plotly/validators/scatter3d/marker/_symbol.py @@ -9,12 +9,14 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'circle', 'circle-open', 'square', 'square-open', 'diamond', - 'diamond-open', 'cross', 'x' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'circle', 'circle-open', 'square', 'square-open', + 'diamond', 'diamond-open', 'cross', 'x' + ] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/_symbolsrc.py b/plotly/validators/scatter3d/marker/_symbolsrc.py index 59217c81767..9a1cc2a305e 100644 --- a/plotly/validators/scatter3d/marker/_symbolsrc.py +++ b/plotly/validators/scatter3d/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_bgcolor.py b/plotly/validators/scatter3d/marker/colorbar/_bgcolor.py index 0e18ff3bd88..de2eda58d1f 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scatter3d/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_bordercolor.py b/plotly/validators/scatter3d/marker/colorbar/_bordercolor.py index e62dd9bcaab..41e0a6ffcb1 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scatter3d/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_borderwidth.py b/plotly/validators/scatter3d/marker/colorbar/_borderwidth.py index 81d1188dba6..006d6e62a73 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scatter3d/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_dtick.py b/plotly/validators/scatter3d/marker/colorbar/_dtick.py index a3237d7c660..1d008db9440 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_dtick.py +++ b/plotly/validators/scatter3d/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_exponentformat.py b/plotly/validators/scatter3d/marker/colorbar/_exponentformat.py index 5152a91bf27..7e646e1baec 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scatter3d/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_len.py b/plotly/validators/scatter3d/marker/colorbar/_len.py index bdfd91c7b4a..235fab932d1 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_len.py +++ b/plotly/validators/scatter3d/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_lenmode.py b/plotly/validators/scatter3d/marker/colorbar/_lenmode.py index 2e2c091baf8..c60bd851f76 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_lenmode.py +++ b/plotly/validators/scatter3d/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_nticks.py b/plotly/validators/scatter3d/marker/colorbar/_nticks.py index dbab6669d15..a3ca17d020f 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_nticks.py +++ b/plotly/validators/scatter3d/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_outlinecolor.py b/plotly/validators/scatter3d/marker/colorbar/_outlinecolor.py index cd12e7c15a7..d9c6b82b27a 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scatter3d/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_outlinewidth.py b/plotly/validators/scatter3d/marker/colorbar/_outlinewidth.py index 9a1b2606bf1..bec87ddb179 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scatter3d/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_separatethousands.py b/plotly/validators/scatter3d/marker/colorbar/_separatethousands.py index 61727932c22..73737347d40 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scatter3d/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_showexponent.py b/plotly/validators/scatter3d/marker/colorbar/_showexponent.py index 048244038fc..abf89334e66 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_showexponent.py +++ b/plotly/validators/scatter3d/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_showticklabels.py b/plotly/validators/scatter3d/marker/colorbar/_showticklabels.py index fae7a37d918..d13b02b5800 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scatter3d/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_showtickprefix.py b/plotly/validators/scatter3d/marker/colorbar/_showtickprefix.py index e90aaf02d3f..255e920931b 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scatter3d/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_showticksuffix.py b/plotly/validators/scatter3d/marker/colorbar/_showticksuffix.py index 5409d1d7c71..46340ff36e8 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scatter3d/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_thickness.py b/plotly/validators/scatter3d/marker/colorbar/_thickness.py index 2b623b21a81..2775c73d985 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_thickness.py +++ b/plotly/validators/scatter3d/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_thicknessmode.py b/plotly/validators/scatter3d/marker/colorbar/_thicknessmode.py index 19221744436..e0168cc9998 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scatter3d/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tick0.py b/plotly/validators/scatter3d/marker/colorbar/_tick0.py index 5382bcefa1e..a8bec7ad97c 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tick0.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickangle.py b/plotly/validators/scatter3d/marker/colorbar/_tickangle.py index 7fa8bfa9d7f..a6224ceec7f 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickangle.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickcolor.py b/plotly/validators/scatter3d/marker/colorbar/_tickcolor.py index de9ff0d5c98..b4fd38cf555 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickfont.py b/plotly/validators/scatter3d/marker/colorbar/_tickfont.py index 5b73be4a6fa..983bcc20b27 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickfont.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickformat.py b/plotly/validators/scatter3d/marker/colorbar/_tickformat.py index 2e2abcbcfbe..d64f131c7fe 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickformat.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickformatstops.py b/plotly/validators/scatter3d/marker/colorbar/_tickformatstops.py index e576fd04354..82f058a960a 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_ticklen.py b/plotly/validators/scatter3d/marker/colorbar/_ticklen.py index 3c4fd6f79d0..8066c5ce7e2 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_ticklen.py +++ b/plotly/validators/scatter3d/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickmode.py b/plotly/validators/scatter3d/marker/colorbar/_tickmode.py index c47daff5d2b..902d5a770a4 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickmode.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickprefix.py b/plotly/validators/scatter3d/marker/colorbar/_tickprefix.py index 229fa1cd0bb..1e8089713c8 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_ticks.py b/plotly/validators/scatter3d/marker/colorbar/_ticks.py index 1925f36fb3d..4e3423b6c89 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_ticks.py +++ b/plotly/validators/scatter3d/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_ticksuffix.py b/plotly/validators/scatter3d/marker/colorbar/_ticksuffix.py index 23050dbbde1..fbcb80c80c8 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scatter3d/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_ticktext.py b/plotly/validators/scatter3d/marker/colorbar/_ticktext.py index f5af27d678a..e9c3e780818 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_ticktext.py +++ b/plotly/validators/scatter3d/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_ticktextsrc.py b/plotly/validators/scatter3d/marker/colorbar/_ticktextsrc.py index 0cdbe96c514..71085f4de84 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scatter3d/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickvals.py b/plotly/validators/scatter3d/marker/colorbar/_tickvals.py index c22dba3ac84..097566b00c5 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickvals.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickvalssrc.py b/plotly/validators/scatter3d/marker/colorbar/_tickvalssrc.py index b334fcc15dd..fca0e7dcdc9 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_tickwidth.py b/plotly/validators/scatter3d/marker/colorbar/_tickwidth.py index 11552543110..130c5f28ad6 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scatter3d/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_title.py b/plotly/validators/scatter3d/marker/colorbar/_title.py index 63664c03254..41fad572beb 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_title.py +++ b/plotly/validators/scatter3d/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_titlefont.py b/plotly/validators/scatter3d/marker/colorbar/_titlefont.py index a8d04d80aca..5e679be72d5 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_titlefont.py +++ b/plotly/validators/scatter3d/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_titleside.py b/plotly/validators/scatter3d/marker/colorbar/_titleside.py index 0cc88d921af..b9fbfd31cd8 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_titleside.py +++ b/plotly/validators/scatter3d/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_x.py b/plotly/validators/scatter3d/marker/colorbar/_x.py index 5c2ea9fef10..c5bd9d00d4a 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_x.py +++ b/plotly/validators/scatter3d/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_xanchor.py b/plotly/validators/scatter3d/marker/colorbar/_xanchor.py index 01a4d2256df..c2c7ea58b71 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_xanchor.py +++ b/plotly/validators/scatter3d/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_xpad.py b/plotly/validators/scatter3d/marker/colorbar/_xpad.py index e372411cfc1..c3ba4fbcfb5 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_xpad.py +++ b/plotly/validators/scatter3d/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_y.py b/plotly/validators/scatter3d/marker/colorbar/_y.py index c49c0241b29..dfaca728520 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_y.py +++ b/plotly/validators/scatter3d/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_yanchor.py b/plotly/validators/scatter3d/marker/colorbar/_yanchor.py index 9d7a2820673..1e483f207db 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_yanchor.py +++ b/plotly/validators/scatter3d/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/_ypad.py b/plotly/validators/scatter3d/marker/colorbar/_ypad.py index 5b96c93870a..d75fa1e63b0 100644 --- a/plotly/validators/scatter3d/marker/colorbar/_ypad.py +++ b/plotly/validators/scatter3d/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickfont/_color.py b/plotly/validators/scatter3d/marker/colorbar/tickfont/_color.py index 0cf91fe96be..2e6ebdf4e05 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickfont/_family.py b/plotly/validators/scatter3d/marker/colorbar/tickfont/_family.py index 455622bbdc6..72301762538 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickfont/_size.py b/plotly/validators/scatter3d/marker/colorbar/tickfont/_size.py index 710d97103ab..ecf35cc23f6 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_dtickrange.py index 7af41ba6c28..94b189345fa 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_enabled.py index 6a7b73eeca4..7738271280f 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_name.py index e072554e3eb..f46dcccebce 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_templateitemname.py index e03fa47839e..5ac8ac3cc20 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_value.py index aff39203bb2..d41d89f8df3 100644 --- a/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scatter3d/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/titlefont/_color.py b/plotly/validators/scatter3d/marker/colorbar/titlefont/_color.py index 8bc843624c0..d440aad1093 100644 --- a/plotly/validators/scatter3d/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scatter3d/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/titlefont/_family.py b/plotly/validators/scatter3d/marker/colorbar/titlefont/_family.py index 1ba5a7e3172..fd825be8deb 100644 --- a/plotly/validators/scatter3d/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scatter3d/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/colorbar/titlefont/_size.py b/plotly/validators/scatter3d/marker/colorbar/titlefont/_size.py index 5effd487945..8cf924c81ac 100644 --- a/plotly/validators/scatter3d/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scatter3d/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_autocolorscale.py b/plotly/validators/scatter3d/marker/line/_autocolorscale.py index 4423215bdaf..24d7c87a091 100644 --- a/plotly/validators/scatter3d/marker/line/_autocolorscale.py +++ b/plotly/validators/scatter3d/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_cauto.py b/plotly/validators/scatter3d/marker/line/_cauto.py index da514ef0bf7..5ed8465cabe 100644 --- a/plotly/validators/scatter3d/marker/line/_cauto.py +++ b/plotly/validators/scatter3d/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_cmax.py b/plotly/validators/scatter3d/marker/line/_cmax.py index 4759f392aef..f851f1c1798 100644 --- a/plotly/validators/scatter3d/marker/line/_cmax.py +++ b/plotly/validators/scatter3d/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_cmin.py b/plotly/validators/scatter3d/marker/line/_cmin.py index 618b5c17975..b7cc8dcc77b 100644 --- a/plotly/validators/scatter3d/marker/line/_cmin.py +++ b/plotly/validators/scatter3d/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_color.py b/plotly/validators/scatter3d/marker/line/_color.py index b1ad0d6b52b..54ac361ece3 100644 --- a/plotly/validators/scatter3d/marker/line/_color.py +++ b/plotly/validators/scatter3d/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scatter3d.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatter3d.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_colorscale.py b/plotly/validators/scatter3d/marker/line/_colorscale.py index b7a32429f13..846a59a0705 100644 --- a/plotly/validators/scatter3d/marker/line/_colorscale.py +++ b/plotly/validators/scatter3d/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_colorsrc.py b/plotly/validators/scatter3d/marker/line/_colorsrc.py index cf66f676860..708a62c49b3 100644 --- a/plotly/validators/scatter3d/marker/line/_colorsrc.py +++ b/plotly/validators/scatter3d/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_reversescale.py b/plotly/validators/scatter3d/marker/line/_reversescale.py index 9a1017eb811..fb7d71dc51c 100644 --- a/plotly/validators/scatter3d/marker/line/_reversescale.py +++ b/plotly/validators/scatter3d/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/marker/line/_width.py b/plotly/validators/scatter3d/marker/line/_width.py index 7734322679e..ac7020dcd5f 100644 --- a/plotly/validators/scatter3d/marker/line/_width.py +++ b/plotly/validators/scatter3d/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/_x.py b/plotly/validators/scatter3d/projection/_x.py index 49a5b215069..871f4809ee0 100644 --- a/plotly/validators/scatter3d/projection/_x.py +++ b/plotly/validators/scatter3d/projection/_x.py @@ -9,8 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='X', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'X'), + data_docs=kwargs.pop( + 'data_docs', """ opacity Sets the projection color. scale @@ -19,6 +20,7 @@ def __init__( show Sets whether or not projections are shown along the x axis. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/_y.py b/plotly/validators/scatter3d/projection/_y.py index 8903eaa0bcc..dbd86c45f0b 100644 --- a/plotly/validators/scatter3d/projection/_y.py +++ b/plotly/validators/scatter3d/projection/_y.py @@ -9,8 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Y', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Y'), + data_docs=kwargs.pop( + 'data_docs', """ opacity Sets the projection color. scale @@ -19,6 +20,7 @@ def __init__( show Sets whether or not projections are shown along the y axis. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/_z.py b/plotly/validators/scatter3d/projection/_z.py index a70f1555ac2..cba5d2818dd 100644 --- a/plotly/validators/scatter3d/projection/_z.py +++ b/plotly/validators/scatter3d/projection/_z.py @@ -9,8 +9,9 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Z', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Z'), + data_docs=kwargs.pop( + 'data_docs', """ opacity Sets the projection color. scale @@ -19,6 +20,7 @@ def __init__( show Sets whether or not projections are shown along the z axis. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/x/_opacity.py b/plotly/validators/scatter3d/projection/x/_opacity.py index 3659ad05626..b24646524b9 100644 --- a/plotly/validators/scatter3d/projection/x/_opacity.py +++ b/plotly/validators/scatter3d/projection/x/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/x/_scale.py b/plotly/validators/scatter3d/projection/x/_scale.py index 0bccf6c9797..ebfaade5095 100644 --- a/plotly/validators/scatter3d/projection/x/_scale.py +++ b/plotly/validators/scatter3d/projection/x/_scale.py @@ -12,9 +12,9 @@ def __init__( super(ScaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/x/_show.py b/plotly/validators/scatter3d/projection/x/_show.py index 6d92184828d..32a5ee9a199 100644 --- a/plotly/validators/scatter3d/projection/x/_show.py +++ b/plotly/validators/scatter3d/projection/x/_show.py @@ -12,7 +12,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/y/_opacity.py b/plotly/validators/scatter3d/projection/y/_opacity.py index 70f1ded7574..b9681edaaed 100644 --- a/plotly/validators/scatter3d/projection/y/_opacity.py +++ b/plotly/validators/scatter3d/projection/y/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/y/_scale.py b/plotly/validators/scatter3d/projection/y/_scale.py index 21ec0bdcead..6826b0bc1aa 100644 --- a/plotly/validators/scatter3d/projection/y/_scale.py +++ b/plotly/validators/scatter3d/projection/y/_scale.py @@ -12,9 +12,9 @@ def __init__( super(ScaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/y/_show.py b/plotly/validators/scatter3d/projection/y/_show.py index c82b73e4d8c..0ab1b7f37d0 100644 --- a/plotly/validators/scatter3d/projection/y/_show.py +++ b/plotly/validators/scatter3d/projection/y/_show.py @@ -12,7 +12,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/z/_opacity.py b/plotly/validators/scatter3d/projection/z/_opacity.py index 20a8a5d0372..e135bd16d55 100644 --- a/plotly/validators/scatter3d/projection/z/_opacity.py +++ b/plotly/validators/scatter3d/projection/z/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/z/_scale.py b/plotly/validators/scatter3d/projection/z/_scale.py index 2fcef7f82ec..a1201bc9f84 100644 --- a/plotly/validators/scatter3d/projection/z/_scale.py +++ b/plotly/validators/scatter3d/projection/z/_scale.py @@ -12,9 +12,9 @@ def __init__( super(ScaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/projection/z/_show.py b/plotly/validators/scatter3d/projection/z/_show.py index 7d845561aa6..d192f890e48 100644 --- a/plotly/validators/scatter3d/projection/z/_show.py +++ b/plotly/validators/scatter3d/projection/z/_show.py @@ -12,7 +12,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/stream/_maxpoints.py b/plotly/validators/scatter3d/stream/_maxpoints.py index ca795b41f23..af22af2579a 100644 --- a/plotly/validators/scatter3d/stream/_maxpoints.py +++ b/plotly/validators/scatter3d/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/stream/_token.py b/plotly/validators/scatter3d/stream/_token.py index 3c21760bfc6..3039ca26c9d 100644 --- a/plotly/validators/scatter3d/stream/_token.py +++ b/plotly/validators/scatter3d/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter3d/textfont/_color.py b/plotly/validators/scatter3d/textfont/_color.py index 8ba353f9b3e..a34279bd0c0 100644 --- a/plotly/validators/scatter3d/textfont/_color.py +++ b/plotly/validators/scatter3d/textfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/textfont/_colorsrc.py b/plotly/validators/scatter3d/textfont/_colorsrc.py index a06981c32ef..c7a0ddce8c7 100644 --- a/plotly/validators/scatter3d/textfont/_colorsrc.py +++ b/plotly/validators/scatter3d/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatter3d/textfont/_family.py b/plotly/validators/scatter3d/textfont/_family.py index f159f6ffd96..e45657daf6b 100644 --- a/plotly/validators/scatter3d/textfont/_family.py +++ b/plotly/validators/scatter3d/textfont/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatter3d/textfont/_size.py b/plotly/validators/scatter3d/textfont/_size.py index 216530ecc1f..2c5843dc9f3 100644 --- a/plotly/validators/scatter3d/textfont/_size.py +++ b/plotly/validators/scatter3d/textfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatter3d/textfont/_sizesrc.py b/plotly/validators/scatter3d/textfont/_sizesrc.py index a83bd221d5e..5e13e1fbadc 100644 --- a/plotly/validators/scatter3d/textfont/_sizesrc.py +++ b/plotly/validators/scatter3d/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_a.py b/plotly/validators/scattercarpet/_a.py index 0ad7a3fbc53..53a6893b702 100644 --- a/plotly/validators/scattercarpet/_a.py +++ b/plotly/validators/scattercarpet/_a.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='a', parent_name='scattercarpet', **kwargs): super(AValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_asrc.py b/plotly/validators/scattercarpet/_asrc.py index a2a81bae46c..8373156ac15 100644 --- a/plotly/validators/scattercarpet/_asrc.py +++ b/plotly/validators/scattercarpet/_asrc.py @@ -9,7 +9,7 @@ def __init__( super(AsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_b.py b/plotly/validators/scattercarpet/_b.py index f22bf17ab47..307cbadc4a8 100644 --- a/plotly/validators/scattercarpet/_b.py +++ b/plotly/validators/scattercarpet/_b.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='b', parent_name='scattercarpet', **kwargs): super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_bsrc.py b/plotly/validators/scattercarpet/_bsrc.py index f10ef64335f..c72784b6579 100644 --- a/plotly/validators/scattercarpet/_bsrc.py +++ b/plotly/validators/scattercarpet/_bsrc.py @@ -9,7 +9,7 @@ def __init__( super(BsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_carpet.py b/plotly/validators/scattercarpet/_carpet.py index 1e15c07e265..7051c463d8c 100644 --- a/plotly/validators/scattercarpet/_carpet.py +++ b/plotly/validators/scattercarpet/_carpet.py @@ -9,7 +9,7 @@ def __init__( super(CarpetValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_connectgaps.py b/plotly/validators/scattercarpet/_connectgaps.py index 8b148fcc695..f0908e24385 100644 --- a/plotly/validators/scattercarpet/_connectgaps.py +++ b/plotly/validators/scattercarpet/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_customdata.py b/plotly/validators/scattercarpet/_customdata.py index aa6c38ebe15..d74ad7fdb4a 100644 --- a/plotly/validators/scattercarpet/_customdata.py +++ b/plotly/validators/scattercarpet/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_customdatasrc.py b/plotly/validators/scattercarpet/_customdatasrc.py index e584b8bfe3d..7cb46bfc539 100644 --- a/plotly/validators/scattercarpet/_customdatasrc.py +++ b/plotly/validators/scattercarpet/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_fill.py b/plotly/validators/scattercarpet/_fill.py index ca87eca75dd..bdbd0c9160f 100644 --- a/plotly/validators/scattercarpet/_fill.py +++ b/plotly/validators/scattercarpet/_fill.py @@ -9,8 +9,8 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'toself', 'tonext'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['none', 'toself', 'tonext']), **kwargs ) diff --git a/plotly/validators/scattercarpet/_fillcolor.py b/plotly/validators/scattercarpet/_fillcolor.py index 5c69cfec0b7..70c41777a82 100644 --- a/plotly/validators/scattercarpet/_fillcolor.py +++ b/plotly/validators/scattercarpet/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_hoverinfo.py b/plotly/validators/scattercarpet/_hoverinfo.py index 39828a4350f..d69ada73877 100644 --- a/plotly/validators/scattercarpet/_hoverinfo.py +++ b/plotly/validators/scattercarpet/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['a', 'b', 'text', 'name', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['a', 'b', 'text', 'name', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_hoverinfosrc.py b/plotly/validators/scattercarpet/_hoverinfosrc.py index 26fa1e4b5cb..2be97b7bc6d 100644 --- a/plotly/validators/scattercarpet/_hoverinfosrc.py +++ b/plotly/validators/scattercarpet/_hoverinfosrc.py @@ -12,7 +12,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_hoverlabel.py b/plotly/validators/scattercarpet/_hoverlabel.py index 44fafda09a5..e372edf2665 100644 --- a/plotly/validators/scattercarpet/_hoverlabel.py +++ b/plotly/validators/scattercarpet/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_hoveron.py b/plotly/validators/scattercarpet/_hoveron.py index 352a3b5421a..5898fb97d37 100644 --- a/plotly/validators/scattercarpet/_hoveron.py +++ b/plotly/validators/scattercarpet/_hoveron.py @@ -9,8 +9,8 @@ def __init__( super(HoveronValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - flags=['points', 'fills'], - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + flags=kwargs.pop('flags', ['points', 'fills']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_ids.py b/plotly/validators/scattercarpet/_ids.py index 80e1b0775d4..46a8e0f421f 100644 --- a/plotly/validators/scattercarpet/_ids.py +++ b/plotly/validators/scattercarpet/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_idssrc.py b/plotly/validators/scattercarpet/_idssrc.py index b6f14a13e86..a8f3281b146 100644 --- a/plotly/validators/scattercarpet/_idssrc.py +++ b/plotly/validators/scattercarpet/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_legendgroup.py b/plotly/validators/scattercarpet/_legendgroup.py index ce3f9381378..7fe82abf9ca 100644 --- a/plotly/validators/scattercarpet/_legendgroup.py +++ b/plotly/validators/scattercarpet/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_line.py b/plotly/validators/scattercarpet/_line.py index e369868f4d4..8b8ea80f68d 100644 --- a/plotly/validators/scattercarpet/_line.py +++ b/plotly/validators/scattercarpet/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -30,6 +31,7 @@ def __init__( "linear" shape). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_marker.py b/plotly/validators/scattercarpet/_marker.py index e3547ad1527..9abba259f14 100644 --- a/plotly/validators/scattercarpet/_marker.py +++ b/plotly/validators/scattercarpet/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -122,6 +123,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_mode.py b/plotly/validators/scattercarpet/_mode.py index df404090be3..712bd384051 100644 --- a/plotly/validators/scattercarpet/_mode.py +++ b/plotly/validators/scattercarpet/_mode.py @@ -9,9 +9,9 @@ def __init__( super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_name.py b/plotly/validators/scattercarpet/_name.py index 50cb9631f00..16506117476 100644 --- a/plotly/validators/scattercarpet/_name.py +++ b/plotly/validators/scattercarpet/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_opacity.py b/plotly/validators/scattercarpet/_opacity.py index 2cc5ba1a406..2a90f735e72 100644 --- a/plotly/validators/scattercarpet/_opacity.py +++ b/plotly/validators/scattercarpet/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_selected.py b/plotly/validators/scattercarpet/_selected.py index b4c1c26a67d..16efb9ae396 100644 --- a/plotly/validators/scattercarpet/_selected.py +++ b/plotly/validators/scattercarpet/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattercarpet.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scattercarpet.selected.Textfo nt instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_selectedpoints.py b/plotly/validators/scattercarpet/_selectedpoints.py index 5c5a8de709c..211d5d9748a 100644 --- a/plotly/validators/scattercarpet/_selectedpoints.py +++ b/plotly/validators/scattercarpet/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_showlegend.py b/plotly/validators/scattercarpet/_showlegend.py index 5ab2d82858a..f1e6424b2cb 100644 --- a/plotly/validators/scattercarpet/_showlegend.py +++ b/plotly/validators/scattercarpet/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_stream.py b/plotly/validators/scattercarpet/_stream.py index 61adfdf2322..d658baee0a8 100644 --- a/plotly/validators/scattercarpet/_stream.py +++ b/plotly/validators/scattercarpet/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_text.py b/plotly/validators/scattercarpet/_text.py index 1d7c9e5fc69..e0bdfe83ef0 100644 --- a/plotly/validators/scattercarpet/_text.py +++ b/plotly/validators/scattercarpet/_text.py @@ -9,8 +9,8 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_textfont.py b/plotly/validators/scattercarpet/_textfont.py index 1f6066b7981..ed7b3f8a5a6 100644 --- a/plotly/validators/scattercarpet/_textfont.py +++ b/plotly/validators/scattercarpet/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_textposition.py b/plotly/validators/scattercarpet/_textposition.py index 4a3b04e5eed..36bc5f1dd68 100644 --- a/plotly/validators/scattercarpet/_textposition.py +++ b/plotly/validators/scattercarpet/_textposition.py @@ -12,13 +12,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_textpositionsrc.py b/plotly/validators/scattercarpet/_textpositionsrc.py index ba19ddf2f7d..2759b846129 100644 --- a/plotly/validators/scattercarpet/_textpositionsrc.py +++ b/plotly/validators/scattercarpet/_textpositionsrc.py @@ -12,7 +12,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_textsrc.py b/plotly/validators/scattercarpet/_textsrc.py index 00ab5634b99..48410e12cd2 100644 --- a/plotly/validators/scattercarpet/_textsrc.py +++ b/plotly/validators/scattercarpet/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_uid.py b/plotly/validators/scattercarpet/_uid.py index f258bd15e57..7baad6e4e46 100644 --- a/plotly/validators/scattercarpet/_uid.py +++ b/plotly/validators/scattercarpet/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_unselected.py b/plotly/validators/scattercarpet/_unselected.py index 05640874924..4be934c3490 100644 --- a/plotly/validators/scattercarpet/_unselected.py +++ b/plotly/validators/scattercarpet/_unselected.py @@ -9,8 +9,9 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattercarpet.unselected.Mark er instance or dict with compatible properties @@ -18,6 +19,7 @@ def __init__( plotly.graph_objs.scattercarpet.unselected.Text font instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/_visible.py b/plotly/validators/scattercarpet/_visible.py index babc9f7364e..8ffa675938c 100644 --- a/plotly/validators/scattercarpet/_visible.py +++ b/plotly/validators/scattercarpet/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scattercarpet/_xaxis.py b/plotly/validators/scattercarpet/_xaxis.py index c3ea6df7cdd..463941fbdbb 100644 --- a/plotly/validators/scattercarpet/_xaxis.py +++ b/plotly/validators/scattercarpet/_xaxis.py @@ -9,8 +9,8 @@ def __init__( super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/_yaxis.py b/plotly/validators/scattercarpet/_yaxis.py index fd1e19738f6..01daea9bc0e 100644 --- a/plotly/validators/scattercarpet/_yaxis.py +++ b/plotly/validators/scattercarpet/_yaxis.py @@ -9,8 +9,8 @@ def __init__( super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_bgcolor.py b/plotly/validators/scattercarpet/hoverlabel/_bgcolor.py index deb33e53ea1..715f18bedc9 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_bgcolor.py +++ b/plotly/validators/scattercarpet/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_bgcolorsrc.py b/plotly/validators/scattercarpet/hoverlabel/_bgcolorsrc.py index 1e3d0fab422..b0b35d4810a 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scattercarpet/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_bordercolor.py b/plotly/validators/scattercarpet/hoverlabel/_bordercolor.py index 9002bbafc07..8e86dc6b84c 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_bordercolor.py +++ b/plotly/validators/scattercarpet/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_bordercolorsrc.py b/plotly/validators/scattercarpet/hoverlabel/_bordercolorsrc.py index 1c14116aa6b..0cc7dc5fdc7 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scattercarpet/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_font.py b/plotly/validators/scattercarpet/hoverlabel/_font.py index 8b8bb6758cf..6aa7eb64a75 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_font.py +++ b/plotly/validators/scattercarpet/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_namelength.py b/plotly/validators/scattercarpet/hoverlabel/_namelength.py index e309822a5cc..fcbeda9b700 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_namelength.py +++ b/plotly/validators/scattercarpet/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/_namelengthsrc.py b/plotly/validators/scattercarpet/hoverlabel/_namelengthsrc.py index ce332d77cf5..882b5dde257 100644 --- a/plotly/validators/scattercarpet/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scattercarpet/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/font/_color.py b/plotly/validators/scattercarpet/hoverlabel/font/_color.py index be5c0f1a572..c1e1f8a0ecb 100644 --- a/plotly/validators/scattercarpet/hoverlabel/font/_color.py +++ b/plotly/validators/scattercarpet/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/font/_colorsrc.py b/plotly/validators/scattercarpet/hoverlabel/font/_colorsrc.py index 49f599eacaa..4ccda1e19b5 100644 --- a/plotly/validators/scattercarpet/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scattercarpet/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/font/_family.py b/plotly/validators/scattercarpet/hoverlabel/font/_family.py index e4da28c832b..b6e760b8d9b 100644 --- a/plotly/validators/scattercarpet/hoverlabel/font/_family.py +++ b/plotly/validators/scattercarpet/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/font/_familysrc.py b/plotly/validators/scattercarpet/hoverlabel/font/_familysrc.py index 884eb7a7353..891517ec5cc 100644 --- a/plotly/validators/scattercarpet/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scattercarpet/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/font/_size.py b/plotly/validators/scattercarpet/hoverlabel/font/_size.py index d7b21785a21..f8015496bca 100644 --- a/plotly/validators/scattercarpet/hoverlabel/font/_size.py +++ b/plotly/validators/scattercarpet/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/hoverlabel/font/_sizesrc.py b/plotly/validators/scattercarpet/hoverlabel/font/_sizesrc.py index 009e1ffa077..3b19bbe10fd 100644 --- a/plotly/validators/scattercarpet/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scattercarpet/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/line/_color.py b/plotly/validators/scattercarpet/line/_color.py index e55f2507998..3012331187e 100644 --- a/plotly/validators/scattercarpet/line/_color.py +++ b/plotly/validators/scattercarpet/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/line/_dash.py b/plotly/validators/scattercarpet/line/_dash.py index 14584391e1d..a2469e36e81 100644 --- a/plotly/validators/scattercarpet/line/_dash.py +++ b/plotly/validators/scattercarpet/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/line/_shape.py b/plotly/validators/scattercarpet/line/_shape.py index 6039b41451a..cbcb52b806f 100644 --- a/plotly/validators/scattercarpet/line/_shape.py +++ b/plotly/validators/scattercarpet/line/_shape.py @@ -9,8 +9,8 @@ def __init__( super(ShapeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['linear', 'spline'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['linear', 'spline']), **kwargs ) diff --git a/plotly/validators/scattercarpet/line/_smoothing.py b/plotly/validators/scattercarpet/line/_smoothing.py index daeb98ab3c9..9a55e6c56b2 100644 --- a/plotly/validators/scattercarpet/line/_smoothing.py +++ b/plotly/validators/scattercarpet/line/_smoothing.py @@ -12,9 +12,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/line/_width.py b/plotly/validators/scattercarpet/line/_width.py index 85d47172ded..5fc856a3bd5 100644 --- a/plotly/validators/scattercarpet/line/_width.py +++ b/plotly/validators/scattercarpet/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_autocolorscale.py b/plotly/validators/scattercarpet/marker/_autocolorscale.py index f87f97dbdd8..e82da856966 100644 --- a/plotly/validators/scattercarpet/marker/_autocolorscale.py +++ b/plotly/validators/scattercarpet/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_cauto.py b/plotly/validators/scattercarpet/marker/_cauto.py index c26a58f63e2..e1bdcd1d9ed 100644 --- a/plotly/validators/scattercarpet/marker/_cauto.py +++ b/plotly/validators/scattercarpet/marker/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_cmax.py b/plotly/validators/scattercarpet/marker/_cmax.py index d8f395ecaa6..faad54b4946 100644 --- a/plotly/validators/scattercarpet/marker/_cmax.py +++ b/plotly/validators/scattercarpet/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_cmin.py b/plotly/validators/scattercarpet/marker/_cmin.py index 2349add3186..94cb192fa7b 100644 --- a/plotly/validators/scattercarpet/marker/_cmin.py +++ b/plotly/validators/scattercarpet/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_color.py b/plotly/validators/scattercarpet/marker/_color.py index 844ac9c3e84..b840123378d 100644 --- a/plotly/validators/scattercarpet/marker/_color.py +++ b/plotly/validators/scattercarpet/marker/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scattercarpet.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattercarpet.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_colorbar.py b/plotly/validators/scattercarpet/marker/_colorbar.py index e8a64c08925..660bd16e0fc 100644 --- a/plotly/validators/scattercarpet/marker/_colorbar.py +++ b/plotly/validators/scattercarpet/marker/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_colorscale.py b/plotly/validators/scattercarpet/marker/_colorscale.py index b21b284ce89..7caf6ae8e24 100644 --- a/plotly/validators/scattercarpet/marker/_colorscale.py +++ b/plotly/validators/scattercarpet/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_colorsrc.py b/plotly/validators/scattercarpet/marker/_colorsrc.py index 4240ea69221..d7e0ba22eb8 100644 --- a/plotly/validators/scattercarpet/marker/_colorsrc.py +++ b/plotly/validators/scattercarpet/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_gradient.py b/plotly/validators/scattercarpet/marker/_gradient.py index dbbe0678e3b..8e2f374d8e0 100644 --- a/plotly/validators/scattercarpet/marker/_gradient.py +++ b/plotly/validators/scattercarpet/marker/_gradient.py @@ -12,8 +12,9 @@ def __init__( super(GradientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Gradient', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Gradient'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the final color of the gradient fill: the center color for radial, the right for @@ -27,6 +28,7 @@ def __init__( typesrc Sets the source reference on plot.ly for type . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_line.py b/plotly/validators/scattercarpet/marker/_line.py index 973cac8171d..9b3fb7db0b3 100644 --- a/plotly/validators/scattercarpet/marker/_line.py +++ b/plotly/validators/scattercarpet/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_maxdisplayed.py b/plotly/validators/scattercarpet/marker/_maxdisplayed.py index a6662b6a292..cce604163be 100644 --- a/plotly/validators/scattercarpet/marker/_maxdisplayed.py +++ b/plotly/validators/scattercarpet/marker/_maxdisplayed.py @@ -12,8 +12,8 @@ def __init__( super(MaxdisplayedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_opacity.py b/plotly/validators/scattercarpet/marker/_opacity.py index 5b16c9acaff..e7157ee1fb4 100644 --- a/plotly/validators/scattercarpet/marker/_opacity.py +++ b/plotly/validators/scattercarpet/marker/_opacity.py @@ -12,10 +12,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_opacitysrc.py b/plotly/validators/scattercarpet/marker/_opacitysrc.py index 70171deadf9..f3fad9bf761 100644 --- a/plotly/validators/scattercarpet/marker/_opacitysrc.py +++ b/plotly/validators/scattercarpet/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_reversescale.py b/plotly/validators/scattercarpet/marker/_reversescale.py index a983cb432f2..29fda668916 100644 --- a/plotly/validators/scattercarpet/marker/_reversescale.py +++ b/plotly/validators/scattercarpet/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_showscale.py b/plotly/validators/scattercarpet/marker/_showscale.py index e92627d2584..6855bcce16c 100644 --- a/plotly/validators/scattercarpet/marker/_showscale.py +++ b/plotly/validators/scattercarpet/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_size.py b/plotly/validators/scattercarpet/marker/_size.py index 639aa44f078..26729d702ef 100644 --- a/plotly/validators/scattercarpet/marker/_size.py +++ b/plotly/validators/scattercarpet/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_sizemin.py b/plotly/validators/scattercarpet/marker/_sizemin.py index 7288d63eb79..506ec49ff35 100644 --- a/plotly/validators/scattercarpet/marker/_sizemin.py +++ b/plotly/validators/scattercarpet/marker/_sizemin.py @@ -12,8 +12,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_sizemode.py b/plotly/validators/scattercarpet/marker/_sizemode.py index 05ce4de03b8..b751e98236c 100644 --- a/plotly/validators/scattercarpet/marker/_sizemode.py +++ b/plotly/validators/scattercarpet/marker/_sizemode.py @@ -12,8 +12,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_sizeref.py b/plotly/validators/scattercarpet/marker/_sizeref.py index 3d373b92dc1..b2f0c3a4b65 100644 --- a/plotly/validators/scattercarpet/marker/_sizeref.py +++ b/plotly/validators/scattercarpet/marker/_sizeref.py @@ -12,7 +12,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_sizesrc.py b/plotly/validators/scattercarpet/marker/_sizesrc.py index 678aef144ee..4312239a57e 100644 --- a/plotly/validators/scattercarpet/marker/_sizesrc.py +++ b/plotly/validators/scattercarpet/marker/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_symbol.py b/plotly/validators/scattercarpet/marker/_symbol.py index fa2706d3107..edf99e637c9 100644 --- a/plotly/validators/scattercarpet/marker/_symbol.py +++ b/plotly/validators/scattercarpet/marker/_symbol.py @@ -12,66 +12,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/_symbolsrc.py b/plotly/validators/scattercarpet/marker/_symbolsrc.py index bb03e27e6a9..8573f9da75c 100644 --- a/plotly/validators/scattercarpet/marker/_symbolsrc.py +++ b/plotly/validators/scattercarpet/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_bgcolor.py b/plotly/validators/scattercarpet/marker/colorbar/_bgcolor.py index 999c510b82e..197558be7ea 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_bordercolor.py b/plotly/validators/scattercarpet/marker/colorbar/_bordercolor.py index b4bf017fb97..235974b162e 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_borderwidth.py b/plotly/validators/scattercarpet/marker/colorbar/_borderwidth.py index 40df922a423..af4e96a3e0a 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_dtick.py b/plotly/validators/scattercarpet/marker/colorbar/_dtick.py index 864c21dd0f6..75d59c741d2 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_dtick.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_exponentformat.py b/plotly/validators/scattercarpet/marker/colorbar/_exponentformat.py index 61277e61045..2457688961b 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_len.py b/plotly/validators/scattercarpet/marker/colorbar/_len.py index 9cd71e64299..1a63444415c 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_len.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_lenmode.py b/plotly/validators/scattercarpet/marker/colorbar/_lenmode.py index 127f1d1230f..7e20574cee3 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_lenmode.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_nticks.py b/plotly/validators/scattercarpet/marker/colorbar/_nticks.py index 2af8f78289e..ea1c0ed10cd 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_nticks.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_outlinecolor.py b/plotly/validators/scattercarpet/marker/colorbar/_outlinecolor.py index d0b3303087f..bdd247311e9 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_outlinewidth.py b/plotly/validators/scattercarpet/marker/colorbar/_outlinewidth.py index 554f7dda0fc..76482ac5737 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_separatethousands.py b/plotly/validators/scattercarpet/marker/colorbar/_separatethousands.py index 9a110e07247..84c9f9a238c 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_showexponent.py b/plotly/validators/scattercarpet/marker/colorbar/_showexponent.py index 51d56afc82f..5f2a794a4bc 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_showexponent.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_showticklabels.py b/plotly/validators/scattercarpet/marker/colorbar/_showticklabels.py index 5a1cbacf0c4..d4cdae545a1 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_showtickprefix.py b/plotly/validators/scattercarpet/marker/colorbar/_showtickprefix.py index e05105d9846..26ab0a37310 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_showticksuffix.py b/plotly/validators/scattercarpet/marker/colorbar/_showticksuffix.py index 9cb9c135529..0e6ae585c60 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_thickness.py b/plotly/validators/scattercarpet/marker/colorbar/_thickness.py index 21f1650b8aa..1d4dfa2938c 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_thickness.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_thicknessmode.py b/plotly/validators/scattercarpet/marker/colorbar/_thicknessmode.py index ee4b8720794..f88f33fb4f8 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tick0.py b/plotly/validators/scattercarpet/marker/colorbar/_tick0.py index 878c573e1b4..75302cc5109 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tick0.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickangle.py b/plotly/validators/scattercarpet/marker/colorbar/_tickangle.py index d04bc74aad0..bf0c3ed98c1 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickangle.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickcolor.py b/plotly/validators/scattercarpet/marker/colorbar/_tickcolor.py index 9e0c83e2d3e..c45a7b364d7 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickfont.py b/plotly/validators/scattercarpet/marker/colorbar/_tickfont.py index f581298c7bc..b41f7959cad 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickfont.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickformat.py b/plotly/validators/scattercarpet/marker/colorbar/_tickformat.py index 43f25a52742..ace3f580fbf 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickformat.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickformatstops.py b/plotly/validators/scattercarpet/marker/colorbar/_tickformatstops.py index 1abfa8181f8..95e8b1370d9 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_ticklen.py b/plotly/validators/scattercarpet/marker/colorbar/_ticklen.py index 31c2bee38c2..ae83f92d376 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_ticklen.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickmode.py b/plotly/validators/scattercarpet/marker/colorbar/_tickmode.py index cf11e6694c9..186ca542ecf 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickmode.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickprefix.py b/plotly/validators/scattercarpet/marker/colorbar/_tickprefix.py index fcffc159c53..493a42e6612 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_ticks.py b/plotly/validators/scattercarpet/marker/colorbar/_ticks.py index b009c34bb56..7fd9bb53615 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_ticks.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_ticksuffix.py b/plotly/validators/scattercarpet/marker/colorbar/_ticksuffix.py index b9753cbe106..9cc90179a3a 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_ticktext.py b/plotly/validators/scattercarpet/marker/colorbar/_ticktext.py index 9a44293e751..9877293cdaf 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_ticktext.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_ticktextsrc.py b/plotly/validators/scattercarpet/marker/colorbar/_ticktextsrc.py index 0610debe29b..bc754e8e502 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickvals.py b/plotly/validators/scattercarpet/marker/colorbar/_tickvals.py index eb0136cc764..52f1f1890be 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickvals.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickvalssrc.py b/plotly/validators/scattercarpet/marker/colorbar/_tickvalssrc.py index df3ac4580ee..e2197fc4e31 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_tickwidth.py b/plotly/validators/scattercarpet/marker/colorbar/_tickwidth.py index 7f3a8c9f295..5f61c0ce7f7 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_title.py b/plotly/validators/scattercarpet/marker/colorbar/_title.py index bdbd7f43966..df835d12e28 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_title.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_titlefont.py b/plotly/validators/scattercarpet/marker/colorbar/_titlefont.py index eb6accdbcb1..8fc41ad2877 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_titlefont.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_titleside.py b/plotly/validators/scattercarpet/marker/colorbar/_titleside.py index 4f92f75a851..e3cafec2f16 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_titleside.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_x.py b/plotly/validators/scattercarpet/marker/colorbar/_x.py index 7ae9b73017e..b0f9c307878 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_x.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_xanchor.py b/plotly/validators/scattercarpet/marker/colorbar/_xanchor.py index 6c67cdaad40..b1a4b15bb71 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_xanchor.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_xpad.py b/plotly/validators/scattercarpet/marker/colorbar/_xpad.py index 3904290184d..c4c2ffad9de 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_xpad.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_y.py b/plotly/validators/scattercarpet/marker/colorbar/_y.py index 184a38a2414..051b6c905be 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_y.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_yanchor.py b/plotly/validators/scattercarpet/marker/colorbar/_yanchor.py index c42c9fa3c33..fb251a3e158 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_yanchor.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/_ypad.py b/plotly/validators/scattercarpet/marker/colorbar/_ypad.py index a8a92a8a5ba..dfd991b57eb 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/_ypad.py +++ b/plotly/validators/scattercarpet/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickfont/_color.py b/plotly/validators/scattercarpet/marker/colorbar/tickfont/_color.py index 5f89ae7f764..c3def86eac5 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickfont/_family.py b/plotly/validators/scattercarpet/marker/colorbar/tickfont/_family.py index 51f905fda3a..6b9ee69b6a6 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickfont/_size.py b/plotly/validators/scattercarpet/marker/colorbar/tickfont/_size.py index a3709fe69bf..f032a8420a0 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_dtickrange.py index a050d0a05cd..3064679c860 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_enabled.py index 8a37ff79f83..028d1b969f9 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_name.py index a3e2833eb47..0d970784b8c 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_templateitemname.py index 6c41d6d26aa..675f415fe33 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_value.py index cad281e0906..d52756be4f5 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scattercarpet/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/titlefont/_color.py b/plotly/validators/scattercarpet/marker/colorbar/titlefont/_color.py index 78635cb1063..76b944b71fc 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scattercarpet/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/titlefont/_family.py b/plotly/validators/scattercarpet/marker/colorbar/titlefont/_family.py index 3057dd5532b..97c5d242c07 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scattercarpet/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/colorbar/titlefont/_size.py b/plotly/validators/scattercarpet/marker/colorbar/titlefont/_size.py index 8ab7f1a6baa..b1eb5722004 100644 --- a/plotly/validators/scattercarpet/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scattercarpet/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/gradient/_color.py b/plotly/validators/scattercarpet/marker/gradient/_color.py index 56d71cf15df..934990df0a4 100644 --- a/plotly/validators/scattercarpet/marker/gradient/_color.py +++ b/plotly/validators/scattercarpet/marker/gradient/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/gradient/_colorsrc.py b/plotly/validators/scattercarpet/marker/gradient/_colorsrc.py index 7fcbf07acdc..9212bb17583 100644 --- a/plotly/validators/scattercarpet/marker/gradient/_colorsrc.py +++ b/plotly/validators/scattercarpet/marker/gradient/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/gradient/_type.py b/plotly/validators/scattercarpet/marker/gradient/_type.py index 50f03e26c3e..a8ee74aa860 100644 --- a/plotly/validators/scattercarpet/marker/gradient/_type.py +++ b/plotly/validators/scattercarpet/marker/gradient/_type.py @@ -12,9 +12,11 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['radial', 'horizontal', 'vertical', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['radial', 'horizontal', 'vertical', 'none'] + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/gradient/_typesrc.py b/plotly/validators/scattercarpet/marker/gradient/_typesrc.py index d42d1f75edb..b3f505316e2 100644 --- a/plotly/validators/scattercarpet/marker/gradient/_typesrc.py +++ b/plotly/validators/scattercarpet/marker/gradient/_typesrc.py @@ -12,7 +12,7 @@ def __init__( super(TypesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_autocolorscale.py b/plotly/validators/scattercarpet/marker/line/_autocolorscale.py index dd02ff3e6a5..c0f6a91a3c4 100644 --- a/plotly/validators/scattercarpet/marker/line/_autocolorscale.py +++ b/plotly/validators/scattercarpet/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_cauto.py b/plotly/validators/scattercarpet/marker/line/_cauto.py index de91092d8d2..9f0096ca22f 100644 --- a/plotly/validators/scattercarpet/marker/line/_cauto.py +++ b/plotly/validators/scattercarpet/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_cmax.py b/plotly/validators/scattercarpet/marker/line/_cmax.py index 3715f304127..ea0b97f1e4e 100644 --- a/plotly/validators/scattercarpet/marker/line/_cmax.py +++ b/plotly/validators/scattercarpet/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_cmin.py b/plotly/validators/scattercarpet/marker/line/_cmin.py index 81447ca4f66..8227d0622fa 100644 --- a/plotly/validators/scattercarpet/marker/line/_cmin.py +++ b/plotly/validators/scattercarpet/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_color.py b/plotly/validators/scattercarpet/marker/line/_color.py index c3ce2385865..550e108902c 100644 --- a/plotly/validators/scattercarpet/marker/line/_color.py +++ b/plotly/validators/scattercarpet/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scattercarpet.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattercarpet.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_colorscale.py b/plotly/validators/scattercarpet/marker/line/_colorscale.py index 6192b86da27..f22f95b2189 100644 --- a/plotly/validators/scattercarpet/marker/line/_colorscale.py +++ b/plotly/validators/scattercarpet/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_colorsrc.py b/plotly/validators/scattercarpet/marker/line/_colorsrc.py index 589b65896de..10ba45f9d9c 100644 --- a/plotly/validators/scattercarpet/marker/line/_colorsrc.py +++ b/plotly/validators/scattercarpet/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_reversescale.py b/plotly/validators/scattercarpet/marker/line/_reversescale.py index 0007b3e5e34..0d0146eca8a 100644 --- a/plotly/validators/scattercarpet/marker/line/_reversescale.py +++ b/plotly/validators/scattercarpet/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_width.py b/plotly/validators/scattercarpet/marker/line/_width.py index 99835d49538..7f3d00f8966 100644 --- a/plotly/validators/scattercarpet/marker/line/_width.py +++ b/plotly/validators/scattercarpet/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/marker/line/_widthsrc.py b/plotly/validators/scattercarpet/marker/line/_widthsrc.py index b713951742a..4b3549db66f 100644 --- a/plotly/validators/scattercarpet/marker/line/_widthsrc.py +++ b/plotly/validators/scattercarpet/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/selected/_marker.py b/plotly/validators/scattercarpet/selected/_marker.py index 3cf9db5267d..7b31965b0e3 100644 --- a/plotly/validators/scattercarpet/selected/_marker.py +++ b/plotly/validators/scattercarpet/selected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/selected/_textfont.py b/plotly/validators/scattercarpet/selected/_textfont.py index 2649fb592f0..283715a5842 100644 --- a/plotly/validators/scattercarpet/selected/_textfont.py +++ b/plotly/validators/scattercarpet/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/selected/marker/_color.py b/plotly/validators/scattercarpet/selected/marker/_color.py index 659cdd5cd74..856de213813 100644 --- a/plotly/validators/scattercarpet/selected/marker/_color.py +++ b/plotly/validators/scattercarpet/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/selected/marker/_opacity.py b/plotly/validators/scattercarpet/selected/marker/_opacity.py index 66a38de3643..c3a0d7d9d46 100644 --- a/plotly/validators/scattercarpet/selected/marker/_opacity.py +++ b/plotly/validators/scattercarpet/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/selected/marker/_size.py b/plotly/validators/scattercarpet/selected/marker/_size.py index 7afa5b4b6a3..ccfdeee9108 100644 --- a/plotly/validators/scattercarpet/selected/marker/_size.py +++ b/plotly/validators/scattercarpet/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/selected/textfont/_color.py b/plotly/validators/scattercarpet/selected/textfont/_color.py index 9fa51777e0e..4613468a752 100644 --- a/plotly/validators/scattercarpet/selected/textfont/_color.py +++ b/plotly/validators/scattercarpet/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/stream/_maxpoints.py b/plotly/validators/scattercarpet/stream/_maxpoints.py index 5a144515eeb..89a3a0cb6e6 100644 --- a/plotly/validators/scattercarpet/stream/_maxpoints.py +++ b/plotly/validators/scattercarpet/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/stream/_token.py b/plotly/validators/scattercarpet/stream/_token.py index 2be82c77740..29b0562127b 100644 --- a/plotly/validators/scattercarpet/stream/_token.py +++ b/plotly/validators/scattercarpet/stream/_token.py @@ -12,9 +12,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattercarpet/textfont/_color.py b/plotly/validators/scattercarpet/textfont/_color.py index 1fc3283e557..d46e7322fa9 100644 --- a/plotly/validators/scattercarpet/textfont/_color.py +++ b/plotly/validators/scattercarpet/textfont/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/textfont/_colorsrc.py b/plotly/validators/scattercarpet/textfont/_colorsrc.py index 3774b7e31c4..23994fb60b1 100644 --- a/plotly/validators/scattercarpet/textfont/_colorsrc.py +++ b/plotly/validators/scattercarpet/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/textfont/_family.py b/plotly/validators/scattercarpet/textfont/_family.py index 7a1eb5b8e5e..4bf20d47426 100644 --- a/plotly/validators/scattercarpet/textfont/_family.py +++ b/plotly/validators/scattercarpet/textfont/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattercarpet/textfont/_familysrc.py b/plotly/validators/scattercarpet/textfont/_familysrc.py index 55c728b329b..2c63a3a0e05 100644 --- a/plotly/validators/scattercarpet/textfont/_familysrc.py +++ b/plotly/validators/scattercarpet/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/textfont/_size.py b/plotly/validators/scattercarpet/textfont/_size.py index 5dda38cf755..fa9d328a1b1 100644 --- a/plotly/validators/scattercarpet/textfont/_size.py +++ b/plotly/validators/scattercarpet/textfont/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/textfont/_sizesrc.py b/plotly/validators/scattercarpet/textfont/_sizesrc.py index 26f1955afb5..2a9f8426991 100644 --- a/plotly/validators/scattercarpet/textfont/_sizesrc.py +++ b/plotly/validators/scattercarpet/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattercarpet/unselected/_marker.py b/plotly/validators/scattercarpet/unselected/_marker.py index 9ea34641217..d72371d701c 100644 --- a/plotly/validators/scattercarpet/unselected/_marker.py +++ b/plotly/validators/scattercarpet/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/unselected/_textfont.py b/plotly/validators/scattercarpet/unselected/_textfont.py index cd7354f8d6b..27f673d7657 100644 --- a/plotly/validators/scattercarpet/unselected/_textfont.py +++ b/plotly/validators/scattercarpet/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattercarpet/unselected/marker/_color.py b/plotly/validators/scattercarpet/unselected/marker/_color.py index bc8eaf78a32..13bf09f764d 100644 --- a/plotly/validators/scattercarpet/unselected/marker/_color.py +++ b/plotly/validators/scattercarpet/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/unselected/marker/_opacity.py b/plotly/validators/scattercarpet/unselected/marker/_opacity.py index 66a277db5f9..24dd0c12955 100644 --- a/plotly/validators/scattercarpet/unselected/marker/_opacity.py +++ b/plotly/validators/scattercarpet/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/unselected/marker/_size.py b/plotly/validators/scattercarpet/unselected/marker/_size.py index 3f49ae68750..23462e85561 100644 --- a/plotly/validators/scattercarpet/unselected/marker/_size.py +++ b/plotly/validators/scattercarpet/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattercarpet/unselected/textfont/_color.py b/plotly/validators/scattercarpet/unselected/textfont/_color.py index 3e75e1db77f..d3c49341c15 100644 --- a/plotly/validators/scattercarpet/unselected/textfont/_color.py +++ b/plotly/validators/scattercarpet/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/_connectgaps.py b/plotly/validators/scattergeo/_connectgaps.py index 018f1575da0..4631b5661c0 100644 --- a/plotly/validators/scattergeo/_connectgaps.py +++ b/plotly/validators/scattergeo/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_customdata.py b/plotly/validators/scattergeo/_customdata.py index 7ac5981af61..892927d0190 100644 --- a/plotly/validators/scattergeo/_customdata.py +++ b/plotly/validators/scattergeo/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/_customdatasrc.py b/plotly/validators/scattergeo/_customdatasrc.py index 47ab7bbb042..e9afe07313a 100644 --- a/plotly/validators/scattergeo/_customdatasrc.py +++ b/plotly/validators/scattergeo/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_fill.py b/plotly/validators/scattergeo/_fill.py index 491706a46db..86ac21d3393 100644 --- a/plotly/validators/scattergeo/_fill.py +++ b/plotly/validators/scattergeo/_fill.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='fill', parent_name='scattergeo', **kwargs): super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'toself'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['none', 'toself']), **kwargs ) diff --git a/plotly/validators/scattergeo/_fillcolor.py b/plotly/validators/scattergeo/_fillcolor.py index c92d505f9bc..95f96adc446 100644 --- a/plotly/validators/scattergeo/_fillcolor.py +++ b/plotly/validators/scattergeo/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/_geo.py b/plotly/validators/scattergeo/_geo.py index 73b515ea93c..18d4225758f 100644 --- a/plotly/validators/scattergeo/_geo.py +++ b/plotly/validators/scattergeo/_geo.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='geo', parent_name='scattergeo', **kwargs): super(GeoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='geo', - edit_type='calc', - role='info', + dflt=kwargs.pop('dflt', 'geo'), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_hoverinfo.py b/plotly/validators/scattergeo/_hoverinfo.py index de9ac73851d..c1133029db5 100644 --- a/plotly/validators/scattergeo/_hoverinfo.py +++ b/plotly/validators/scattergeo/_hoverinfo.py @@ -9,10 +9,12 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['lon', 'lat', 'location', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop( + 'flags', ['lon', 'lat', 'location', 'text', 'name'] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_hoverinfosrc.py b/plotly/validators/scattergeo/_hoverinfosrc.py index 66b69ca0940..1e42278cd4b 100644 --- a/plotly/validators/scattergeo/_hoverinfosrc.py +++ b/plotly/validators/scattergeo/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_hoverlabel.py b/plotly/validators/scattergeo/_hoverlabel.py index 3d1a3bf0168..39aeead97ee 100644 --- a/plotly/validators/scattergeo/_hoverlabel.py +++ b/plotly/validators/scattergeo/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_hovertext.py b/plotly/validators/scattergeo/_hovertext.py index c172c73f02d..b5785a68b8b 100644 --- a/plotly/validators/scattergeo/_hovertext.py +++ b/plotly/validators/scattergeo/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_hovertextsrc.py b/plotly/validators/scattergeo/_hovertextsrc.py index ee402872d82..8d1d2e7542d 100644 --- a/plotly/validators/scattergeo/_hovertextsrc.py +++ b/plotly/validators/scattergeo/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_ids.py b/plotly/validators/scattergeo/_ids.py index 6715ecd6038..724399ef6cf 100644 --- a/plotly/validators/scattergeo/_ids.py +++ b/plotly/validators/scattergeo/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='scattergeo', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/_idssrc.py b/plotly/validators/scattergeo/_idssrc.py index aec0347f4ce..15f87693fcd 100644 --- a/plotly/validators/scattergeo/_idssrc.py +++ b/plotly/validators/scattergeo/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_lat.py b/plotly/validators/scattergeo/_lat.py index 63ebef71325..b461162a91b 100644 --- a/plotly/validators/scattergeo/_lat.py +++ b/plotly/validators/scattergeo/_lat.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='lat', parent_name='scattergeo', **kwargs): super(LatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/_latsrc.py b/plotly/validators/scattergeo/_latsrc.py index 548fa73e289..eed045d42ba 100644 --- a/plotly/validators/scattergeo/_latsrc.py +++ b/plotly/validators/scattergeo/_latsrc.py @@ -9,7 +9,7 @@ def __init__( super(LatsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_legendgroup.py b/plotly/validators/scattergeo/_legendgroup.py index 92a2f3d347c..ea34c731910 100644 --- a/plotly/validators/scattergeo/_legendgroup.py +++ b/plotly/validators/scattergeo/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_line.py b/plotly/validators/scattergeo/_line.py index 40b03470d69..ce79bb54fd7 100644 --- a/plotly/validators/scattergeo/_line.py +++ b/plotly/validators/scattergeo/_line.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='line', parent_name='scattergeo', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -18,6 +19,7 @@ def __init__(self, plotly_name='line', parent_name='scattergeo', **kwargs): dash length list in px (eg "5px,10px,2px,2px"). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_locationmode.py b/plotly/validators/scattergeo/_locationmode.py index 2b3b77c2052..6851b3d8628 100644 --- a/plotly/validators/scattergeo/_locationmode.py +++ b/plotly/validators/scattergeo/_locationmode.py @@ -9,8 +9,10 @@ def __init__( super(LocationmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['ISO-3', 'USA-states', 'country names'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['ISO-3', 'USA-states', 'country names'] + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_locations.py b/plotly/validators/scattergeo/_locations.py index 5526de6105e..319be85a421 100644 --- a/plotly/validators/scattergeo/_locations.py +++ b/plotly/validators/scattergeo/_locations.py @@ -9,7 +9,7 @@ def __init__( super(LocationsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/_locationssrc.py b/plotly/validators/scattergeo/_locationssrc.py index 7e44fc2b69e..b3c6d5dbc77 100644 --- a/plotly/validators/scattergeo/_locationssrc.py +++ b/plotly/validators/scattergeo/_locationssrc.py @@ -9,7 +9,7 @@ def __init__( super(LocationssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_lon.py b/plotly/validators/scattergeo/_lon.py index 1e493292555..3d575c77572 100644 --- a/plotly/validators/scattergeo/_lon.py +++ b/plotly/validators/scattergeo/_lon.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='lon', parent_name='scattergeo', **kwargs): super(LonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/_lonsrc.py b/plotly/validators/scattergeo/_lonsrc.py index 7c6e1f62c6e..82124ef923f 100644 --- a/plotly/validators/scattergeo/_lonsrc.py +++ b/plotly/validators/scattergeo/_lonsrc.py @@ -9,7 +9,7 @@ def __init__( super(LonsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_marker.py b/plotly/validators/scattergeo/_marker.py index 9bd8468e79c..955c6c406d1 100644 --- a/plotly/validators/scattergeo/_marker.py +++ b/plotly/validators/scattergeo/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -119,6 +120,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_mode.py b/plotly/validators/scattergeo/_mode.py index c1c486c194f..bb56b84182a 100644 --- a/plotly/validators/scattergeo/_mode.py +++ b/plotly/validators/scattergeo/_mode.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='mode', parent_name='scattergeo', **kwargs): super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_name.py b/plotly/validators/scattergeo/_name.py index c6b491353eb..7ff58e8669c 100644 --- a/plotly/validators/scattergeo/_name.py +++ b/plotly/validators/scattergeo/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='scattergeo', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_opacity.py b/plotly/validators/scattergeo/_opacity.py index e3ff230a981..b32a3f96c5d 100644 --- a/plotly/validators/scattergeo/_opacity.py +++ b/plotly/validators/scattergeo/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/_selected.py b/plotly/validators/scattergeo/_selected.py index 7861d652a3b..f3b988ffb75 100644 --- a/plotly/validators/scattergeo/_selected.py +++ b/plotly/validators/scattergeo/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattergeo.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scattergeo.selected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_selectedpoints.py b/plotly/validators/scattergeo/_selectedpoints.py index 5880f691158..fb32912b401 100644 --- a/plotly/validators/scattergeo/_selectedpoints.py +++ b/plotly/validators/scattergeo/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_showlegend.py b/plotly/validators/scattergeo/_showlegend.py index 348a794307f..9957a80b848 100644 --- a/plotly/validators/scattergeo/_showlegend.py +++ b/plotly/validators/scattergeo/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_stream.py b/plotly/validators/scattergeo/_stream.py index 472b518d9c0..d8f30251c40 100644 --- a/plotly/validators/scattergeo/_stream.py +++ b/plotly/validators/scattergeo/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_text.py b/plotly/validators/scattergeo/_text.py index 3e54bad10df..8b02c824a87 100644 --- a/plotly/validators/scattergeo/_text.py +++ b/plotly/validators/scattergeo/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='scattergeo', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_textfont.py b/plotly/validators/scattergeo/_textfont.py index dd8c88bb7ff..5583f48a5b6 100644 --- a/plotly/validators/scattergeo/_textfont.py +++ b/plotly/validators/scattergeo/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_textposition.py b/plotly/validators/scattergeo/_textposition.py index 10a95e1f856..37d749102a6 100644 --- a/plotly/validators/scattergeo/_textposition.py +++ b/plotly/validators/scattergeo/_textposition.py @@ -9,13 +9,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_textpositionsrc.py b/plotly/validators/scattergeo/_textpositionsrc.py index a77f60efcc5..410804d2156 100644 --- a/plotly/validators/scattergeo/_textpositionsrc.py +++ b/plotly/validators/scattergeo/_textpositionsrc.py @@ -12,7 +12,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_textsrc.py b/plotly/validators/scattergeo/_textsrc.py index f9442fa593b..6552b64ef3c 100644 --- a/plotly/validators/scattergeo/_textsrc.py +++ b/plotly/validators/scattergeo/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_uid.py b/plotly/validators/scattergeo/_uid.py index 6feaa59e1b7..ace24c61e01 100644 --- a/plotly/validators/scattergeo/_uid.py +++ b/plotly/validators/scattergeo/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='scattergeo', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/_unselected.py b/plotly/validators/scattergeo/_unselected.py index ffcce3c390c..d9a42c3c600 100644 --- a/plotly/validators/scattergeo/_unselected.py +++ b/plotly/validators/scattergeo/_unselected.py @@ -9,14 +9,16 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattergeo.unselected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scattergeo.unselected.Textfon t instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/_visible.py b/plotly/validators/scattergeo/_visible.py index 20a29a2386f..e9acd850759 100644 --- a/plotly/validators/scattergeo/_visible.py +++ b/plotly/validators/scattergeo/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_bgcolor.py b/plotly/validators/scattergeo/hoverlabel/_bgcolor.py index deca9877d22..c9fbd2e3410 100644 --- a/plotly/validators/scattergeo/hoverlabel/_bgcolor.py +++ b/plotly/validators/scattergeo/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_bgcolorsrc.py b/plotly/validators/scattergeo/hoverlabel/_bgcolorsrc.py index 196dc12efdd..2c86d490036 100644 --- a/plotly/validators/scattergeo/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scattergeo/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_bordercolor.py b/plotly/validators/scattergeo/hoverlabel/_bordercolor.py index 73e515cea39..caf774eefd9 100644 --- a/plotly/validators/scattergeo/hoverlabel/_bordercolor.py +++ b/plotly/validators/scattergeo/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_bordercolorsrc.py b/plotly/validators/scattergeo/hoverlabel/_bordercolorsrc.py index ef90a88f63f..c87523d2ddf 100644 --- a/plotly/validators/scattergeo/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scattergeo/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_font.py b/plotly/validators/scattergeo/hoverlabel/_font.py index adc5f4de8f2..df0794b23f7 100644 --- a/plotly/validators/scattergeo/hoverlabel/_font.py +++ b/plotly/validators/scattergeo/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_namelength.py b/plotly/validators/scattergeo/hoverlabel/_namelength.py index 6953ed38d20..d772f6440a1 100644 --- a/plotly/validators/scattergeo/hoverlabel/_namelength.py +++ b/plotly/validators/scattergeo/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/_namelengthsrc.py b/plotly/validators/scattergeo/hoverlabel/_namelengthsrc.py index 72c02c62700..2732b333cec 100644 --- a/plotly/validators/scattergeo/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scattergeo/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/font/_color.py b/plotly/validators/scattergeo/hoverlabel/font/_color.py index 29c4819d2dd..4c2a69cc6ce 100644 --- a/plotly/validators/scattergeo/hoverlabel/font/_color.py +++ b/plotly/validators/scattergeo/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/font/_colorsrc.py b/plotly/validators/scattergeo/hoverlabel/font/_colorsrc.py index 369178bb984..585fddcca73 100644 --- a/plotly/validators/scattergeo/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scattergeo/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/font/_family.py b/plotly/validators/scattergeo/hoverlabel/font/_family.py index 4b899c2523a..5123c365792 100644 --- a/plotly/validators/scattergeo/hoverlabel/font/_family.py +++ b/plotly/validators/scattergeo/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/font/_familysrc.py b/plotly/validators/scattergeo/hoverlabel/font/_familysrc.py index da392e8e97c..c77cb405e84 100644 --- a/plotly/validators/scattergeo/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scattergeo/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/font/_size.py b/plotly/validators/scattergeo/hoverlabel/font/_size.py index d9042a4889a..1e126771137 100644 --- a/plotly/validators/scattergeo/hoverlabel/font/_size.py +++ b/plotly/validators/scattergeo/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/hoverlabel/font/_sizesrc.py b/plotly/validators/scattergeo/hoverlabel/font/_sizesrc.py index 845af381b23..fdf9465c17e 100644 --- a/plotly/validators/scattergeo/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scattergeo/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/line/_color.py b/plotly/validators/scattergeo/line/_color.py index 21093972616..f3a32eef157 100644 --- a/plotly/validators/scattergeo/line/_color.py +++ b/plotly/validators/scattergeo/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/line/_dash.py b/plotly/validators/scattergeo/line/_dash.py index 7097c70fd7e..9265372a653 100644 --- a/plotly/validators/scattergeo/line/_dash.py +++ b/plotly/validators/scattergeo/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scattergeo/line/_width.py b/plotly/validators/scattergeo/line/_width.py index 5fd8e5eb1f0..8a946fb4ac8 100644 --- a/plotly/validators/scattergeo/line/_width.py +++ b/plotly/validators/scattergeo/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_autocolorscale.py b/plotly/validators/scattergeo/marker/_autocolorscale.py index 993c1e93ed4..54e7e4c9685 100644 --- a/plotly/validators/scattergeo/marker/_autocolorscale.py +++ b/plotly/validators/scattergeo/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_cauto.py b/plotly/validators/scattergeo/marker/_cauto.py index 17c3279dbcf..a82f29fc9a9 100644 --- a/plotly/validators/scattergeo/marker/_cauto.py +++ b/plotly/validators/scattergeo/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_cmax.py b/plotly/validators/scattergeo/marker/_cmax.py index ba4c8cd2f57..aee531d4205 100644 --- a/plotly/validators/scattergeo/marker/_cmax.py +++ b/plotly/validators/scattergeo/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_cmin.py b/plotly/validators/scattergeo/marker/_cmin.py index 9b619992e1b..b249b7895f1 100644 --- a/plotly/validators/scattergeo/marker/_cmin.py +++ b/plotly/validators/scattergeo/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_color.py b/plotly/validators/scattergeo/marker/_color.py index 4e5720bc297..c753353c737 100644 --- a/plotly/validators/scattergeo/marker/_color.py +++ b/plotly/validators/scattergeo/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scattergeo.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattergeo.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_colorbar.py b/plotly/validators/scattergeo/marker/_colorbar.py index dc4e8ee6489..a2f882da078 100644 --- a/plotly/validators/scattergeo/marker/_colorbar.py +++ b/plotly/validators/scattergeo/marker/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_colorscale.py b/plotly/validators/scattergeo/marker/_colorscale.py index 0d3a158256a..6e659388a71 100644 --- a/plotly/validators/scattergeo/marker/_colorscale.py +++ b/plotly/validators/scattergeo/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_colorsrc.py b/plotly/validators/scattergeo/marker/_colorsrc.py index beb3910cfa7..68db6ab41be 100644 --- a/plotly/validators/scattergeo/marker/_colorsrc.py +++ b/plotly/validators/scattergeo/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_gradient.py b/plotly/validators/scattergeo/marker/_gradient.py index ec04e812935..ecbe8fc8bce 100644 --- a/plotly/validators/scattergeo/marker/_gradient.py +++ b/plotly/validators/scattergeo/marker/_gradient.py @@ -12,8 +12,9 @@ def __init__( super(GradientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Gradient', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Gradient'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the final color of the gradient fill: the center color for radial, the right for @@ -27,6 +28,7 @@ def __init__( typesrc Sets the source reference on plot.ly for type . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_line.py b/plotly/validators/scattergeo/marker/_line.py index f71acbda815..fd117a5d297 100644 --- a/plotly/validators/scattergeo/marker/_line.py +++ b/plotly/validators/scattergeo/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_opacity.py b/plotly/validators/scattergeo/marker/_opacity.py index 7472b3e56f1..615609761bf 100644 --- a/plotly/validators/scattergeo/marker/_opacity.py +++ b/plotly/validators/scattergeo/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_opacitysrc.py b/plotly/validators/scattergeo/marker/_opacitysrc.py index 6adc879acef..7712e7e0a9a 100644 --- a/plotly/validators/scattergeo/marker/_opacitysrc.py +++ b/plotly/validators/scattergeo/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_reversescale.py b/plotly/validators/scattergeo/marker/_reversescale.py index f49c6c4bb7c..a6b396e3639 100644 --- a/plotly/validators/scattergeo/marker/_reversescale.py +++ b/plotly/validators/scattergeo/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_showscale.py b/plotly/validators/scattergeo/marker/_showscale.py index f7a7e09c720..58cdd5e312e 100644 --- a/plotly/validators/scattergeo/marker/_showscale.py +++ b/plotly/validators/scattergeo/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_size.py b/plotly/validators/scattergeo/marker/_size.py index 69e6301355b..9b353307a2f 100644 --- a/plotly/validators/scattergeo/marker/_size.py +++ b/plotly/validators/scattergeo/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_sizemin.py b/plotly/validators/scattergeo/marker/_sizemin.py index 30f06c7dcb2..214ce95326e 100644 --- a/plotly/validators/scattergeo/marker/_sizemin.py +++ b/plotly/validators/scattergeo/marker/_sizemin.py @@ -9,8 +9,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_sizemode.py b/plotly/validators/scattergeo/marker/_sizemode.py index 323035b5bbc..ba363ddbef1 100644 --- a/plotly/validators/scattergeo/marker/_sizemode.py +++ b/plotly/validators/scattergeo/marker/_sizemode.py @@ -12,8 +12,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_sizeref.py b/plotly/validators/scattergeo/marker/_sizeref.py index d3769777bd4..d66ba2986b7 100644 --- a/plotly/validators/scattergeo/marker/_sizeref.py +++ b/plotly/validators/scattergeo/marker/_sizeref.py @@ -9,7 +9,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_sizesrc.py b/plotly/validators/scattergeo/marker/_sizesrc.py index 473eb107973..b75d1db9b82 100644 --- a/plotly/validators/scattergeo/marker/_sizesrc.py +++ b/plotly/validators/scattergeo/marker/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_symbol.py b/plotly/validators/scattergeo/marker/_symbol.py index 0b6a7e7eb38..f428696d6e9 100644 --- a/plotly/validators/scattergeo/marker/_symbol.py +++ b/plotly/validators/scattergeo/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/_symbolsrc.py b/plotly/validators/scattergeo/marker/_symbolsrc.py index 4efdfe7fdd0..31f6dd820df 100644 --- a/plotly/validators/scattergeo/marker/_symbolsrc.py +++ b/plotly/validators/scattergeo/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_bgcolor.py b/plotly/validators/scattergeo/marker/colorbar/_bgcolor.py index 73cc48508f8..cc5a65b47a2 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scattergeo/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_bordercolor.py b/plotly/validators/scattergeo/marker/colorbar/_bordercolor.py index 8f7ce90cbc4..33253bec842 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scattergeo/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_borderwidth.py b/plotly/validators/scattergeo/marker/colorbar/_borderwidth.py index a87b8910f5b..875b571930b 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scattergeo/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_dtick.py b/plotly/validators/scattergeo/marker/colorbar/_dtick.py index a2c62519b8b..3c29e830b64 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_dtick.py +++ b/plotly/validators/scattergeo/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_exponentformat.py b/plotly/validators/scattergeo/marker/colorbar/_exponentformat.py index 827addc9ff8..b4133a974f8 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scattergeo/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_len.py b/plotly/validators/scattergeo/marker/colorbar/_len.py index b2802d267fd..31c429fdd3f 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_len.py +++ b/plotly/validators/scattergeo/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_lenmode.py b/plotly/validators/scattergeo/marker/colorbar/_lenmode.py index 25fe4872787..1b8ab01b228 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_lenmode.py +++ b/plotly/validators/scattergeo/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_nticks.py b/plotly/validators/scattergeo/marker/colorbar/_nticks.py index 92e91e05b85..25ce6be2a4f 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_nticks.py +++ b/plotly/validators/scattergeo/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_outlinecolor.py b/plotly/validators/scattergeo/marker/colorbar/_outlinecolor.py index b218670d744..21730028412 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scattergeo/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_outlinewidth.py b/plotly/validators/scattergeo/marker/colorbar/_outlinewidth.py index d6cdc8f7faa..0ba106bb152 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scattergeo/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_separatethousands.py b/plotly/validators/scattergeo/marker/colorbar/_separatethousands.py index 2abd2fc09f7..f5f045f9c0a 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scattergeo/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_showexponent.py b/plotly/validators/scattergeo/marker/colorbar/_showexponent.py index 9d9b2bd426a..ebc08be1b64 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_showexponent.py +++ b/plotly/validators/scattergeo/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_showticklabels.py b/plotly/validators/scattergeo/marker/colorbar/_showticklabels.py index b6de5cb8785..1be3fb733f8 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scattergeo/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_showtickprefix.py b/plotly/validators/scattergeo/marker/colorbar/_showtickprefix.py index 4a5f4389be6..4481060cf1f 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scattergeo/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_showticksuffix.py b/plotly/validators/scattergeo/marker/colorbar/_showticksuffix.py index 6386bb19970..1da0dcee3dd 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scattergeo/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_thickness.py b/plotly/validators/scattergeo/marker/colorbar/_thickness.py index e8e0a66dba8..d065cd173fb 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_thickness.py +++ b/plotly/validators/scattergeo/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_thicknessmode.py b/plotly/validators/scattergeo/marker/colorbar/_thicknessmode.py index 1567a5b6fee..d4d387efe26 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scattergeo/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tick0.py b/plotly/validators/scattergeo/marker/colorbar/_tick0.py index 77e45c4a5b1..8dd56b2a8ee 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tick0.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickangle.py b/plotly/validators/scattergeo/marker/colorbar/_tickangle.py index 943000d7bff..beb8f87f51b 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickangle.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickcolor.py b/plotly/validators/scattergeo/marker/colorbar/_tickcolor.py index 3de5554b075..333e7525117 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickfont.py b/plotly/validators/scattergeo/marker/colorbar/_tickfont.py index 1b72cc5356c..698feab8af1 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickfont.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickformat.py b/plotly/validators/scattergeo/marker/colorbar/_tickformat.py index a64a290e471..f298fd107de 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickformat.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickformatstops.py b/plotly/validators/scattergeo/marker/colorbar/_tickformatstops.py index ee96d5887ad..a82ff24a41c 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_ticklen.py b/plotly/validators/scattergeo/marker/colorbar/_ticklen.py index 0eb42865680..1c0cd292f84 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_ticklen.py +++ b/plotly/validators/scattergeo/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickmode.py b/plotly/validators/scattergeo/marker/colorbar/_tickmode.py index 61e368391ce..09bb2b2a3f1 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickmode.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickprefix.py b/plotly/validators/scattergeo/marker/colorbar/_tickprefix.py index cef5aca084d..18f56a9fd54 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_ticks.py b/plotly/validators/scattergeo/marker/colorbar/_ticks.py index ded35697bac..18e5a4f2744 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_ticks.py +++ b/plotly/validators/scattergeo/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_ticksuffix.py b/plotly/validators/scattergeo/marker/colorbar/_ticksuffix.py index 0db1508b5a7..d45bfa6adcd 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scattergeo/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_ticktext.py b/plotly/validators/scattergeo/marker/colorbar/_ticktext.py index 1ab77146abe..40a0e576924 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_ticktext.py +++ b/plotly/validators/scattergeo/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_ticktextsrc.py b/plotly/validators/scattergeo/marker/colorbar/_ticktextsrc.py index f54bf889dee..5c0b711a617 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scattergeo/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickvals.py b/plotly/validators/scattergeo/marker/colorbar/_tickvals.py index 0d43ae80449..4961e273dab 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickvals.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickvalssrc.py b/plotly/validators/scattergeo/marker/colorbar/_tickvalssrc.py index 3d043bed88d..272bec7d08d 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_tickwidth.py b/plotly/validators/scattergeo/marker/colorbar/_tickwidth.py index bca983ff989..f484d3565e8 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scattergeo/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_title.py b/plotly/validators/scattergeo/marker/colorbar/_title.py index c87dd0443a0..06c6f789922 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_title.py +++ b/plotly/validators/scattergeo/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_titlefont.py b/plotly/validators/scattergeo/marker/colorbar/_titlefont.py index 6a62122e836..8f5a8c2998b 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_titlefont.py +++ b/plotly/validators/scattergeo/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_titleside.py b/plotly/validators/scattergeo/marker/colorbar/_titleside.py index c50ad3c630c..aaeee0be52f 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_titleside.py +++ b/plotly/validators/scattergeo/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_x.py b/plotly/validators/scattergeo/marker/colorbar/_x.py index 0b9e4185b00..cbb07789861 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_x.py +++ b/plotly/validators/scattergeo/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_xanchor.py b/plotly/validators/scattergeo/marker/colorbar/_xanchor.py index 86aedbb2b4b..e3f1ae730da 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_xanchor.py +++ b/plotly/validators/scattergeo/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_xpad.py b/plotly/validators/scattergeo/marker/colorbar/_xpad.py index a5b62ca0f47..f8224e1c44b 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_xpad.py +++ b/plotly/validators/scattergeo/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_y.py b/plotly/validators/scattergeo/marker/colorbar/_y.py index f70ffb6cc98..59dadf8b7fd 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_y.py +++ b/plotly/validators/scattergeo/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_yanchor.py b/plotly/validators/scattergeo/marker/colorbar/_yanchor.py index 30e8258ecff..ec4b8fbaa63 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_yanchor.py +++ b/plotly/validators/scattergeo/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/_ypad.py b/plotly/validators/scattergeo/marker/colorbar/_ypad.py index 8862a8e8423..23cb6adbfd9 100644 --- a/plotly/validators/scattergeo/marker/colorbar/_ypad.py +++ b/plotly/validators/scattergeo/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickfont/_color.py b/plotly/validators/scattergeo/marker/colorbar/tickfont/_color.py index 8e429ee6ce7..4aaf8d7cb3f 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickfont/_family.py b/plotly/validators/scattergeo/marker/colorbar/tickfont/_family.py index d05d3b74dbe..08fbb196308 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickfont/_size.py b/plotly/validators/scattergeo/marker/colorbar/tickfont/_size.py index 0bf769c391f..299e2b6ad40 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_dtickrange.py index 2071425b309..a0d3fdf3ebb 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_enabled.py index a30dd6a976a..c4400159ffa 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_name.py index 84b6f5ac85c..d25c447e9dc 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_templateitemname.py index 271730f1d87..144f9e4e251 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_value.py index c9c2feb8802..8f2500974bd 100644 --- a/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scattergeo/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/titlefont/_color.py b/plotly/validators/scattergeo/marker/colorbar/titlefont/_color.py index dace19c398e..798bbc175a0 100644 --- a/plotly/validators/scattergeo/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scattergeo/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/titlefont/_family.py b/plotly/validators/scattergeo/marker/colorbar/titlefont/_family.py index be6ec92c846..858fe1d3366 100644 --- a/plotly/validators/scattergeo/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scattergeo/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/colorbar/titlefont/_size.py b/plotly/validators/scattergeo/marker/colorbar/titlefont/_size.py index 5c4089aad49..13b84123abf 100644 --- a/plotly/validators/scattergeo/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scattergeo/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/gradient/_color.py b/plotly/validators/scattergeo/marker/gradient/_color.py index fddf75d581b..0dc292da1c4 100644 --- a/plotly/validators/scattergeo/marker/gradient/_color.py +++ b/plotly/validators/scattergeo/marker/gradient/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/gradient/_colorsrc.py b/plotly/validators/scattergeo/marker/gradient/_colorsrc.py index a2820266d24..43fcaf2dc02 100644 --- a/plotly/validators/scattergeo/marker/gradient/_colorsrc.py +++ b/plotly/validators/scattergeo/marker/gradient/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/gradient/_type.py b/plotly/validators/scattergeo/marker/gradient/_type.py index 399d0e90a86..0ee09d1baa2 100644 --- a/plotly/validators/scattergeo/marker/gradient/_type.py +++ b/plotly/validators/scattergeo/marker/gradient/_type.py @@ -12,9 +12,11 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['radial', 'horizontal', 'vertical', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['radial', 'horizontal', 'vertical', 'none'] + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/gradient/_typesrc.py b/plotly/validators/scattergeo/marker/gradient/_typesrc.py index e385cd60766..2f4f8c076f7 100644 --- a/plotly/validators/scattergeo/marker/gradient/_typesrc.py +++ b/plotly/validators/scattergeo/marker/gradient/_typesrc.py @@ -12,7 +12,7 @@ def __init__( super(TypesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_autocolorscale.py b/plotly/validators/scattergeo/marker/line/_autocolorscale.py index baf8468bee7..8fea49d7ead 100644 --- a/plotly/validators/scattergeo/marker/line/_autocolorscale.py +++ b/plotly/validators/scattergeo/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_cauto.py b/plotly/validators/scattergeo/marker/line/_cauto.py index d2cd4f5a113..df23aa52645 100644 --- a/plotly/validators/scattergeo/marker/line/_cauto.py +++ b/plotly/validators/scattergeo/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_cmax.py b/plotly/validators/scattergeo/marker/line/_cmax.py index 881bef2c145..d7b9e8a15c3 100644 --- a/plotly/validators/scattergeo/marker/line/_cmax.py +++ b/plotly/validators/scattergeo/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_cmin.py b/plotly/validators/scattergeo/marker/line/_cmin.py index 7216bf707c2..2c8ced024ec 100644 --- a/plotly/validators/scattergeo/marker/line/_cmin.py +++ b/plotly/validators/scattergeo/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_color.py b/plotly/validators/scattergeo/marker/line/_color.py index 68da4a03284..de0b442c40e 100644 --- a/plotly/validators/scattergeo/marker/line/_color.py +++ b/plotly/validators/scattergeo/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scattergeo.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattergeo.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_colorscale.py b/plotly/validators/scattergeo/marker/line/_colorscale.py index 5dca58421a7..a8d53499c78 100644 --- a/plotly/validators/scattergeo/marker/line/_colorscale.py +++ b/plotly/validators/scattergeo/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_colorsrc.py b/plotly/validators/scattergeo/marker/line/_colorsrc.py index 8ff13a9adb0..bc858d07e35 100644 --- a/plotly/validators/scattergeo/marker/line/_colorsrc.py +++ b/plotly/validators/scattergeo/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_reversescale.py b/plotly/validators/scattergeo/marker/line/_reversescale.py index e35b02ea3ed..ed5a2a432c9 100644 --- a/plotly/validators/scattergeo/marker/line/_reversescale.py +++ b/plotly/validators/scattergeo/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_width.py b/plotly/validators/scattergeo/marker/line/_width.py index 5f756bb3365..397ba3502d0 100644 --- a/plotly/validators/scattergeo/marker/line/_width.py +++ b/plotly/validators/scattergeo/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/marker/line/_widthsrc.py b/plotly/validators/scattergeo/marker/line/_widthsrc.py index fe0aaff00e3..00149320f1a 100644 --- a/plotly/validators/scattergeo/marker/line/_widthsrc.py +++ b/plotly/validators/scattergeo/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/selected/_marker.py b/plotly/validators/scattergeo/selected/_marker.py index 29bb89b93f2..3860656ebfa 100644 --- a/plotly/validators/scattergeo/selected/_marker.py +++ b/plotly/validators/scattergeo/selected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/selected/_textfont.py b/plotly/validators/scattergeo/selected/_textfont.py index 3ec8741991c..49e01cd784f 100644 --- a/plotly/validators/scattergeo/selected/_textfont.py +++ b/plotly/validators/scattergeo/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/selected/marker/_color.py b/plotly/validators/scattergeo/selected/marker/_color.py index 88505f6e262..793c47d71b2 100644 --- a/plotly/validators/scattergeo/selected/marker/_color.py +++ b/plotly/validators/scattergeo/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/selected/marker/_opacity.py b/plotly/validators/scattergeo/selected/marker/_opacity.py index 160b83caef0..36e038652ba 100644 --- a/plotly/validators/scattergeo/selected/marker/_opacity.py +++ b/plotly/validators/scattergeo/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/selected/marker/_size.py b/plotly/validators/scattergeo/selected/marker/_size.py index 7cc431b9dea..bc0071d98f2 100644 --- a/plotly/validators/scattergeo/selected/marker/_size.py +++ b/plotly/validators/scattergeo/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/selected/textfont/_color.py b/plotly/validators/scattergeo/selected/textfont/_color.py index 870c2be1bab..f9d87ef1db8 100644 --- a/plotly/validators/scattergeo/selected/textfont/_color.py +++ b/plotly/validators/scattergeo/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/stream/_maxpoints.py b/plotly/validators/scattergeo/stream/_maxpoints.py index 45b7fcda272..3e2167ae762 100644 --- a/plotly/validators/scattergeo/stream/_maxpoints.py +++ b/plotly/validators/scattergeo/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/stream/_token.py b/plotly/validators/scattergeo/stream/_token.py index b0651c6f959..36ab8022e87 100644 --- a/plotly/validators/scattergeo/stream/_token.py +++ b/plotly/validators/scattergeo/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergeo/textfont/_color.py b/plotly/validators/scattergeo/textfont/_color.py index f225226e757..3621d0d80dc 100644 --- a/plotly/validators/scattergeo/textfont/_color.py +++ b/plotly/validators/scattergeo/textfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/textfont/_colorsrc.py b/plotly/validators/scattergeo/textfont/_colorsrc.py index 3b05f9ab66a..973b92a54bc 100644 --- a/plotly/validators/scattergeo/textfont/_colorsrc.py +++ b/plotly/validators/scattergeo/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/textfont/_family.py b/plotly/validators/scattergeo/textfont/_family.py index 8acf808eef3..c1ff68a0ac1 100644 --- a/plotly/validators/scattergeo/textfont/_family.py +++ b/plotly/validators/scattergeo/textfont/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergeo/textfont/_familysrc.py b/plotly/validators/scattergeo/textfont/_familysrc.py index ead4629f7e6..2b815995bb6 100644 --- a/plotly/validators/scattergeo/textfont/_familysrc.py +++ b/plotly/validators/scattergeo/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/textfont/_size.py b/plotly/validators/scattergeo/textfont/_size.py index 2225c956a9e..12d32e50837 100644 --- a/plotly/validators/scattergeo/textfont/_size.py +++ b/plotly/validators/scattergeo/textfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/textfont/_sizesrc.py b/plotly/validators/scattergeo/textfont/_sizesrc.py index c489fbe7179..0807b1a6cac 100644 --- a/plotly/validators/scattergeo/textfont/_sizesrc.py +++ b/plotly/validators/scattergeo/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergeo/unselected/_marker.py b/plotly/validators/scattergeo/unselected/_marker.py index 658701c8594..d019f895b89 100644 --- a/plotly/validators/scattergeo/unselected/_marker.py +++ b/plotly/validators/scattergeo/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/unselected/_textfont.py b/plotly/validators/scattergeo/unselected/_textfont.py index 436beea5c23..1ba0a450fbd 100644 --- a/plotly/validators/scattergeo/unselected/_textfont.py +++ b/plotly/validators/scattergeo/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergeo/unselected/marker/_color.py b/plotly/validators/scattergeo/unselected/marker/_color.py index 7745de2f45f..7d3e7a1ac05 100644 --- a/plotly/validators/scattergeo/unselected/marker/_color.py +++ b/plotly/validators/scattergeo/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/unselected/marker/_opacity.py b/plotly/validators/scattergeo/unselected/marker/_opacity.py index 6ea646f4b67..a2c81285dfe 100644 --- a/plotly/validators/scattergeo/unselected/marker/_opacity.py +++ b/plotly/validators/scattergeo/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/unselected/marker/_size.py b/plotly/validators/scattergeo/unselected/marker/_size.py index 9802fba4ae6..f03282f0882 100644 --- a/plotly/validators/scattergeo/unselected/marker/_size.py +++ b/plotly/validators/scattergeo/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergeo/unselected/textfont/_color.py b/plotly/validators/scattergeo/unselected/textfont/_color.py index 2427b509bf0..83ac85cb758 100644 --- a/plotly/validators/scattergeo/unselected/textfont/_color.py +++ b/plotly/validators/scattergeo/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/_connectgaps.py b/plotly/validators/scattergl/_connectgaps.py index 3ee02ea19c8..31fbe27530b 100644 --- a/plotly/validators/scattergl/_connectgaps.py +++ b/plotly/validators/scattergl/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_customdata.py b/plotly/validators/scattergl/_customdata.py index cda62aedf15..d6a9b15336e 100644 --- a/plotly/validators/scattergl/_customdata.py +++ b/plotly/validators/scattergl/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/_customdatasrc.py b/plotly/validators/scattergl/_customdatasrc.py index 133d0bc6c16..e285611cad4 100644 --- a/plotly/validators/scattergl/_customdatasrc.py +++ b/plotly/validators/scattergl/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_dx.py b/plotly/validators/scattergl/_dx.py index 5b62ab06175..0fa97262415 100644 --- a/plotly/validators/scattergl/_dx.py +++ b/plotly/validators/scattergl/_dx.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dx', parent_name='scattergl', **kwargs): super(DxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_dy.py b/plotly/validators/scattergl/_dy.py index 0ceba5f2104..5383f882764 100644 --- a/plotly/validators/scattergl/_dy.py +++ b/plotly/validators/scattergl/_dy.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dy', parent_name='scattergl', **kwargs): super(DyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_error_x.py b/plotly/validators/scattergl/_error_x.py index 69590ff0909..e770cda85f4 100644 --- a/plotly/validators/scattergl/_error_x.py +++ b/plotly/validators/scattergl/_error_x.py @@ -9,8 +9,9 @@ def __init__( super(ErrorXValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorX', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorX'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -68,6 +69,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_error_y.py b/plotly/validators/scattergl/_error_y.py index bfd7537a8ac..da5e4c9c8f8 100644 --- a/plotly/validators/scattergl/_error_y.py +++ b/plotly/validators/scattergl/_error_y.py @@ -9,8 +9,9 @@ def __init__( super(ErrorYValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ErrorY', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ErrorY'), + data_docs=kwargs.pop( + 'data_docs', """ array Sets the data corresponding the length of each error bar. Values are plotted relative to the @@ -66,6 +67,7 @@ def __init__( width Sets the width (in px) of the cross-bar at both ends of the error bars. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_fill.py b/plotly/validators/scattergl/_fill.py index 4d0467787db..beddc52d578 100644 --- a/plotly/validators/scattergl/_fill.py +++ b/plotly/validators/scattergl/_fill.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='fill', parent_name='scattergl', **kwargs): super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx', 'toself', - 'tonext' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx', + 'toself', 'tonext' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergl/_fillcolor.py b/plotly/validators/scattergl/_fillcolor.py index 737cd96a819..8d37c4112bd 100644 --- a/plotly/validators/scattergl/_fillcolor.py +++ b/plotly/validators/scattergl/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/_hoverinfo.py b/plotly/validators/scattergl/_hoverinfo.py index fab5b66b597..91338250af2 100644 --- a/plotly/validators/scattergl/_hoverinfo.py +++ b/plotly/validators/scattergl/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_hoverinfosrc.py b/plotly/validators/scattergl/_hoverinfosrc.py index 2456a94dacb..51d7bfc978b 100644 --- a/plotly/validators/scattergl/_hoverinfosrc.py +++ b/plotly/validators/scattergl/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_hoverlabel.py b/plotly/validators/scattergl/_hoverlabel.py index 5fbb0197b09..f67326af2c6 100644 --- a/plotly/validators/scattergl/_hoverlabel.py +++ b/plotly/validators/scattergl/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_hovertext.py b/plotly/validators/scattergl/_hovertext.py index c710accc279..4b8877bac2e 100644 --- a/plotly/validators/scattergl/_hovertext.py +++ b/plotly/validators/scattergl/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_hovertextsrc.py b/plotly/validators/scattergl/_hovertextsrc.py index 7ed064f32e4..362d31d4f05 100644 --- a/plotly/validators/scattergl/_hovertextsrc.py +++ b/plotly/validators/scattergl/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_ids.py b/plotly/validators/scattergl/_ids.py index c22109006d0..b70c4780956 100644 --- a/plotly/validators/scattergl/_ids.py +++ b/plotly/validators/scattergl/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='scattergl', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/_idssrc.py b/plotly/validators/scattergl/_idssrc.py index cf3ea27a69b..3ae9847f44f 100644 --- a/plotly/validators/scattergl/_idssrc.py +++ b/plotly/validators/scattergl/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_legendgroup.py b/plotly/validators/scattergl/_legendgroup.py index 1f0e8e2538a..1982e3cc628 100644 --- a/plotly/validators/scattergl/_legendgroup.py +++ b/plotly/validators/scattergl/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_line.py b/plotly/validators/scattergl/_line.py index 36fc13d551f..47de6c4d11b 100644 --- a/plotly/validators/scattergl/_line.py +++ b/plotly/validators/scattergl/_line.py @@ -7,14 +7,16 @@ def __init__(self, plotly_name='line', parent_name='scattergl', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash Sets the style of the lines. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_marker.py b/plotly/validators/scattergl/_marker.py index d68135c93ee..48db90a61cb 100644 --- a/plotly/validators/scattergl/_marker.py +++ b/plotly/validators/scattergl/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -116,6 +117,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_mode.py b/plotly/validators/scattergl/_mode.py index 78aefe2fd59..eced058b243 100644 --- a/plotly/validators/scattergl/_mode.py +++ b/plotly/validators/scattergl/_mode.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='mode', parent_name='scattergl', **kwargs): super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_name.py b/plotly/validators/scattergl/_name.py index 4b57b2e30ad..9bf0fd80fd4 100644 --- a/plotly/validators/scattergl/_name.py +++ b/plotly/validators/scattergl/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='scattergl', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_opacity.py b/plotly/validators/scattergl/_opacity.py index 2eb8f0efbbc..89a151d8081 100644 --- a/plotly/validators/scattergl/_opacity.py +++ b/plotly/validators/scattergl/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/_selected.py b/plotly/validators/scattergl/_selected.py index f066b66a6a9..409861a7a5f 100644 --- a/plotly/validators/scattergl/_selected.py +++ b/plotly/validators/scattergl/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattergl.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scattergl.selected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_selectedpoints.py b/plotly/validators/scattergl/_selectedpoints.py index 2479877ee37..62bac539390 100644 --- a/plotly/validators/scattergl/_selectedpoints.py +++ b/plotly/validators/scattergl/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_showlegend.py b/plotly/validators/scattergl/_showlegend.py index 79b9beb18a2..38d2b663f13 100644 --- a/plotly/validators/scattergl/_showlegend.py +++ b/plotly/validators/scattergl/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_stream.py b/plotly/validators/scattergl/_stream.py index d8946f6cd64..c55c6bce7e7 100644 --- a/plotly/validators/scattergl/_stream.py +++ b/plotly/validators/scattergl/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_text.py b/plotly/validators/scattergl/_text.py index 3db81cdc995..867cf1eb04c 100644 --- a/plotly/validators/scattergl/_text.py +++ b/plotly/validators/scattergl/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='scattergl', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_textfont.py b/plotly/validators/scattergl/_textfont.py index e542dafb790..94a0537e5e8 100644 --- a/plotly/validators/scattergl/_textfont.py +++ b/plotly/validators/scattergl/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_textposition.py b/plotly/validators/scattergl/_textposition.py index 25c64f983e4..dfd308913ec 100644 --- a/plotly/validators/scattergl/_textposition.py +++ b/plotly/validators/scattergl/_textposition.py @@ -9,13 +9,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergl/_textpositionsrc.py b/plotly/validators/scattergl/_textpositionsrc.py index 076f96d0976..3439db87090 100644 --- a/plotly/validators/scattergl/_textpositionsrc.py +++ b/plotly/validators/scattergl/_textpositionsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_textsrc.py b/plotly/validators/scattergl/_textsrc.py index 4a4ee4ccbaa..316abebd952 100644 --- a/plotly/validators/scattergl/_textsrc.py +++ b/plotly/validators/scattergl/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_uid.py b/plotly/validators/scattergl/_uid.py index 0cc2989d394..209160621d3 100644 --- a/plotly/validators/scattergl/_uid.py +++ b/plotly/validators/scattergl/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='scattergl', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_unselected.py b/plotly/validators/scattergl/_unselected.py index 4ace6643577..7e0c4542d7f 100644 --- a/plotly/validators/scattergl/_unselected.py +++ b/plotly/validators/scattergl/_unselected.py @@ -9,14 +9,16 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattergl.unselected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scattergl.unselected.Textfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/_visible.py b/plotly/validators/scattergl/_visible.py index 85aeb159fb5..ef86f1b0229 100644 --- a/plotly/validators/scattergl/_visible.py +++ b/plotly/validators/scattergl/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scattergl/_x.py b/plotly/validators/scattergl/_x.py index 83a1cc2b5ed..a3dd9334185 100644 --- a/plotly/validators/scattergl/_x.py +++ b/plotly/validators/scattergl/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='scattergl', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/_x0.py b/plotly/validators/scattergl/_x0.py index dfd5889c37f..89d93a52bed 100644 --- a/plotly/validators/scattergl/_x0.py +++ b/plotly/validators/scattergl/_x0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x0', parent_name='scattergl', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_xaxis.py b/plotly/validators/scattergl/_xaxis.py index faf703226ac..94a7be18ea6 100644 --- a/plotly/validators/scattergl/_xaxis.py +++ b/plotly/validators/scattergl/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='scattergl', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_xcalendar.py b/plotly/validators/scattergl/_xcalendar.py index 00f2c23447c..40e10fa080b 100644 --- a/plotly/validators/scattergl/_xcalendar.py +++ b/plotly/validators/scattergl/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergl/_xsrc.py b/plotly/validators/scattergl/_xsrc.py index a9a29b01202..12b2d87637a 100644 --- a/plotly/validators/scattergl/_xsrc.py +++ b/plotly/validators/scattergl/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='scattergl', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_y.py b/plotly/validators/scattergl/_y.py index 08b5b3abfe8..a8ccaf41408 100644 --- a/plotly/validators/scattergl/_y.py +++ b/plotly/validators/scattergl/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='scattergl', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/_y0.py b/plotly/validators/scattergl/_y0.py index 39874a81865..7503acb1fd5 100644 --- a/plotly/validators/scattergl/_y0.py +++ b/plotly/validators/scattergl/_y0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y0', parent_name='scattergl', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_yaxis.py b/plotly/validators/scattergl/_yaxis.py index afb17b348ed..0430494b228 100644 --- a/plotly/validators/scattergl/_yaxis.py +++ b/plotly/validators/scattergl/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='scattergl', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/_ycalendar.py b/plotly/validators/scattergl/_ycalendar.py index 000591896b0..f1c0ee4e8f9 100644 --- a/plotly/validators/scattergl/_ycalendar.py +++ b/plotly/validators/scattergl/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergl/_ysrc.py b/plotly/validators/scattergl/_ysrc.py index b00fe88ec60..4df7e409abc 100644 --- a/plotly/validators/scattergl/_ysrc.py +++ b/plotly/validators/scattergl/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='scattergl', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_array.py b/plotly/validators/scattergl/error_x/_array.py index 607fec1939f..c5e7945e499 100644 --- a/plotly/validators/scattergl/error_x/_array.py +++ b/plotly/validators/scattergl/error_x/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_arrayminus.py b/plotly/validators/scattergl/error_x/_arrayminus.py index 843a6410836..92c5fc63fd9 100644 --- a/plotly/validators/scattergl/error_x/_arrayminus.py +++ b/plotly/validators/scattergl/error_x/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_arrayminussrc.py b/plotly/validators/scattergl/error_x/_arrayminussrc.py index c7381d50c78..833ff3cabef 100644 --- a/plotly/validators/scattergl/error_x/_arrayminussrc.py +++ b/plotly/validators/scattergl/error_x/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_arraysrc.py b/plotly/validators/scattergl/error_x/_arraysrc.py index 18497a8ec71..f09f59d1bb4 100644 --- a/plotly/validators/scattergl/error_x/_arraysrc.py +++ b/plotly/validators/scattergl/error_x/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_color.py b/plotly/validators/scattergl/error_x/_color.py index 18e3256cdb1..c70e08810f6 100644 --- a/plotly/validators/scattergl/error_x/_color.py +++ b/plotly/validators/scattergl/error_x/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_copy_ystyle.py b/plotly/validators/scattergl/error_x/_copy_ystyle.py index 317858b8d10..ceb51ab834f 100644 --- a/plotly/validators/scattergl/error_x/_copy_ystyle.py +++ b/plotly/validators/scattergl/error_x/_copy_ystyle.py @@ -12,7 +12,7 @@ def __init__( super(CopyYstyleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_symmetric.py b/plotly/validators/scattergl/error_x/_symmetric.py index 24eec35c83e..5890f19ce33 100644 --- a/plotly/validators/scattergl/error_x/_symmetric.py +++ b/plotly/validators/scattergl/error_x/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_thickness.py b/plotly/validators/scattergl/error_x/_thickness.py index 8b178e5b0d1..1d368c8aab4 100644 --- a/plotly/validators/scattergl/error_x/_thickness.py +++ b/plotly/validators/scattergl/error_x/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_traceref.py b/plotly/validators/scattergl/error_x/_traceref.py index 923822943c7..afb0169ae09 100644 --- a/plotly/validators/scattergl/error_x/_traceref.py +++ b/plotly/validators/scattergl/error_x/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_tracerefminus.py b/plotly/validators/scattergl/error_x/_tracerefminus.py index 34e71a01391..5c2595956a8 100644 --- a/plotly/validators/scattergl/error_x/_tracerefminus.py +++ b/plotly/validators/scattergl/error_x/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_type.py b/plotly/validators/scattergl/error_x/_type.py index e5388f2d6b6..316ff3271f6 100644 --- a/plotly/validators/scattergl/error_x/_type.py +++ b/plotly/validators/scattergl/error_x/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_value.py b/plotly/validators/scattergl/error_x/_value.py index 985da1b0fc3..f7c318888ef 100644 --- a/plotly/validators/scattergl/error_x/_value.py +++ b/plotly/validators/scattergl/error_x/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_valueminus.py b/plotly/validators/scattergl/error_x/_valueminus.py index a3302537466..6ca36cd63c1 100644 --- a/plotly/validators/scattergl/error_x/_valueminus.py +++ b/plotly/validators/scattergl/error_x/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_visible.py b/plotly/validators/scattergl/error_x/_visible.py index b24b4aacd1b..10a5690cd3e 100644 --- a/plotly/validators/scattergl/error_x/_visible.py +++ b/plotly/validators/scattergl/error_x/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_x/_width.py b/plotly/validators/scattergl/error_x/_width.py index fe795caf716..abeda91fabe 100644 --- a/plotly/validators/scattergl/error_x/_width.py +++ b/plotly/validators/scattergl/error_x/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_array.py b/plotly/validators/scattergl/error_y/_array.py index 7c676190999..9729bac4125 100644 --- a/plotly/validators/scattergl/error_y/_array.py +++ b/plotly/validators/scattergl/error_y/_array.py @@ -9,7 +9,7 @@ def __init__( super(ArrayValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_arrayminus.py b/plotly/validators/scattergl/error_y/_arrayminus.py index fa7c8491650..0411e0f9b37 100644 --- a/plotly/validators/scattergl/error_y/_arrayminus.py +++ b/plotly/validators/scattergl/error_y/_arrayminus.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_arrayminussrc.py b/plotly/validators/scattergl/error_y/_arrayminussrc.py index 70f62ef397b..49635974d02 100644 --- a/plotly/validators/scattergl/error_y/_arrayminussrc.py +++ b/plotly/validators/scattergl/error_y/_arrayminussrc.py @@ -12,7 +12,7 @@ def __init__( super(ArrayminussrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_arraysrc.py b/plotly/validators/scattergl/error_y/_arraysrc.py index 0ffadd17c2d..23ab6074b8f 100644 --- a/plotly/validators/scattergl/error_y/_arraysrc.py +++ b/plotly/validators/scattergl/error_y/_arraysrc.py @@ -12,7 +12,7 @@ def __init__( super(ArraysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_color.py b/plotly/validators/scattergl/error_y/_color.py index f3a8dd19701..6ce21a851d7 100644 --- a/plotly/validators/scattergl/error_y/_color.py +++ b/plotly/validators/scattergl/error_y/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_symmetric.py b/plotly/validators/scattergl/error_y/_symmetric.py index 21ebddd09ad..9ac2d50366a 100644 --- a/plotly/validators/scattergl/error_y/_symmetric.py +++ b/plotly/validators/scattergl/error_y/_symmetric.py @@ -12,7 +12,7 @@ def __init__( super(SymmetricValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_thickness.py b/plotly/validators/scattergl/error_y/_thickness.py index 7621974da65..d83818326e7 100644 --- a/plotly/validators/scattergl/error_y/_thickness.py +++ b/plotly/validators/scattergl/error_y/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_traceref.py b/plotly/validators/scattergl/error_y/_traceref.py index 56d35a45b13..057e58819ed 100644 --- a/plotly/validators/scattergl/error_y/_traceref.py +++ b/plotly/validators/scattergl/error_y/_traceref.py @@ -12,8 +12,8 @@ def __init__( super(TracerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_tracerefminus.py b/plotly/validators/scattergl/error_y/_tracerefminus.py index 214d249bd3e..aaf48ff5cac 100644 --- a/plotly/validators/scattergl/error_y/_tracerefminus.py +++ b/plotly/validators/scattergl/error_y/_tracerefminus.py @@ -12,8 +12,8 @@ def __init__( super(TracerefminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_type.py b/plotly/validators/scattergl/error_y/_type.py index edc66129101..e742ed2e9ff 100644 --- a/plotly/validators/scattergl/error_y/_type.py +++ b/plotly/validators/scattergl/error_y/_type.py @@ -9,8 +9,10 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['percent', 'constant', 'sqrt', 'data'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', ['percent', 'constant', 'sqrt', 'data'] + ), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_value.py b/plotly/validators/scattergl/error_y/_value.py index 07f4d2b7bff..7d884146464 100644 --- a/plotly/validators/scattergl/error_y/_value.py +++ b/plotly/validators/scattergl/error_y/_value.py @@ -9,8 +9,8 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_valueminus.py b/plotly/validators/scattergl/error_y/_valueminus.py index d1df09e28f7..6e2e2b58767 100644 --- a/plotly/validators/scattergl/error_y/_valueminus.py +++ b/plotly/validators/scattergl/error_y/_valueminus.py @@ -12,8 +12,8 @@ def __init__( super(ValueminusValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_visible.py b/plotly/validators/scattergl/error_y/_visible.py index c58d37150cb..0bbb7456c26 100644 --- a/plotly/validators/scattergl/error_y/_visible.py +++ b/plotly/validators/scattergl/error_y/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/error_y/_width.py b/plotly/validators/scattergl/error_y/_width.py index 855d3a6cb55..62fbbdd6182 100644 --- a/plotly/validators/scattergl/error_y/_width.py +++ b/plotly/validators/scattergl/error_y/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_bgcolor.py b/plotly/validators/scattergl/hoverlabel/_bgcolor.py index b216e66b3e4..916de87a13e 100644 --- a/plotly/validators/scattergl/hoverlabel/_bgcolor.py +++ b/plotly/validators/scattergl/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_bgcolorsrc.py b/plotly/validators/scattergl/hoverlabel/_bgcolorsrc.py index 576b09e85b7..b040c531fd9 100644 --- a/plotly/validators/scattergl/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scattergl/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_bordercolor.py b/plotly/validators/scattergl/hoverlabel/_bordercolor.py index 215566473f1..1a60b32d409 100644 --- a/plotly/validators/scattergl/hoverlabel/_bordercolor.py +++ b/plotly/validators/scattergl/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_bordercolorsrc.py b/plotly/validators/scattergl/hoverlabel/_bordercolorsrc.py index 6d7fcccf35d..a1e4a3ab4f3 100644 --- a/plotly/validators/scattergl/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scattergl/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_font.py b/plotly/validators/scattergl/hoverlabel/_font.py index de0e2aad368..d5e37b624cc 100644 --- a/plotly/validators/scattergl/hoverlabel/_font.py +++ b/plotly/validators/scattergl/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_namelength.py b/plotly/validators/scattergl/hoverlabel/_namelength.py index f7a82b76103..775bb1144ae 100644 --- a/plotly/validators/scattergl/hoverlabel/_namelength.py +++ b/plotly/validators/scattergl/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/_namelengthsrc.py b/plotly/validators/scattergl/hoverlabel/_namelengthsrc.py index 7660ae55a39..3fc92d4af27 100644 --- a/plotly/validators/scattergl/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scattergl/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/font/_color.py b/plotly/validators/scattergl/hoverlabel/font/_color.py index a9da4022679..ac165d1720c 100644 --- a/plotly/validators/scattergl/hoverlabel/font/_color.py +++ b/plotly/validators/scattergl/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/font/_colorsrc.py b/plotly/validators/scattergl/hoverlabel/font/_colorsrc.py index 51660426509..61864f0bea2 100644 --- a/plotly/validators/scattergl/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scattergl/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/font/_family.py b/plotly/validators/scattergl/hoverlabel/font/_family.py index 602f845f267..329dc635c1b 100644 --- a/plotly/validators/scattergl/hoverlabel/font/_family.py +++ b/plotly/validators/scattergl/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/font/_familysrc.py b/plotly/validators/scattergl/hoverlabel/font/_familysrc.py index a0007498282..a369b4c043e 100644 --- a/plotly/validators/scattergl/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scattergl/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/font/_size.py b/plotly/validators/scattergl/hoverlabel/font/_size.py index 8cffe260ffe..85790ee13a3 100644 --- a/plotly/validators/scattergl/hoverlabel/font/_size.py +++ b/plotly/validators/scattergl/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/hoverlabel/font/_sizesrc.py b/plotly/validators/scattergl/hoverlabel/font/_sizesrc.py index 53a3486937a..46aeadb4e22 100644 --- a/plotly/validators/scattergl/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scattergl/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/line/_color.py b/plotly/validators/scattergl/line/_color.py index dfd81700941..59f3c789cde 100644 --- a/plotly/validators/scattergl/line/_color.py +++ b/plotly/validators/scattergl/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/line/_dash.py b/plotly/validators/scattergl/line/_dash.py index 13804f5cf33..287108c1c74 100644 --- a/plotly/validators/scattergl/line/_dash.py +++ b/plotly/validators/scattergl/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scattergl/line/_width.py b/plotly/validators/scattergl/line/_width.py index 9faa0a7950b..93f559e6d08 100644 --- a/plotly/validators/scattergl/line/_width.py +++ b/plotly/validators/scattergl/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_autocolorscale.py b/plotly/validators/scattergl/marker/_autocolorscale.py index 5c4558b2553..f2ebbf76d18 100644 --- a/plotly/validators/scattergl/marker/_autocolorscale.py +++ b/plotly/validators/scattergl/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_cauto.py b/plotly/validators/scattergl/marker/_cauto.py index b12d7d77173..7c566500288 100644 --- a/plotly/validators/scattergl/marker/_cauto.py +++ b/plotly/validators/scattergl/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_cmax.py b/plotly/validators/scattergl/marker/_cmax.py index d6b93ea8abd..f643aa2cfab 100644 --- a/plotly/validators/scattergl/marker/_cmax.py +++ b/plotly/validators/scattergl/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_cmin.py b/plotly/validators/scattergl/marker/_cmin.py index a47877895c1..42015466b58 100644 --- a/plotly/validators/scattergl/marker/_cmin.py +++ b/plotly/validators/scattergl/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_color.py b/plotly/validators/scattergl/marker/_color.py index 78ce9301a6b..711d9c59943 100644 --- a/plotly/validators/scattergl/marker/_color.py +++ b/plotly/validators/scattergl/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scattergl.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattergl.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_colorbar.py b/plotly/validators/scattergl/marker/_colorbar.py index e4b8d77bb98..189ed55360b 100644 --- a/plotly/validators/scattergl/marker/_colorbar.py +++ b/plotly/validators/scattergl/marker/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_colorscale.py b/plotly/validators/scattergl/marker/_colorscale.py index d0468a8375e..073b9761835 100644 --- a/plotly/validators/scattergl/marker/_colorscale.py +++ b/plotly/validators/scattergl/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_colorsrc.py b/plotly/validators/scattergl/marker/_colorsrc.py index e2d6fbe5bbe..bcab0c35a4a 100644 --- a/plotly/validators/scattergl/marker/_colorsrc.py +++ b/plotly/validators/scattergl/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_line.py b/plotly/validators/scattergl/marker/_line.py index 629b4e5538c..4cb2fde304e 100644 --- a/plotly/validators/scattergl/marker/_line.py +++ b/plotly/validators/scattergl/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_opacity.py b/plotly/validators/scattergl/marker/_opacity.py index 8e33b7b0215..4f7f271da81 100644 --- a/plotly/validators/scattergl/marker/_opacity.py +++ b/plotly/validators/scattergl/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_opacitysrc.py b/plotly/validators/scattergl/marker/_opacitysrc.py index 8da17ca020f..19adfaaeb9f 100644 --- a/plotly/validators/scattergl/marker/_opacitysrc.py +++ b/plotly/validators/scattergl/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_reversescale.py b/plotly/validators/scattergl/marker/_reversescale.py index e08774d414f..00aff026ff0 100644 --- a/plotly/validators/scattergl/marker/_reversescale.py +++ b/plotly/validators/scattergl/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_showscale.py b/plotly/validators/scattergl/marker/_showscale.py index e56e0a5b525..9af3f0a67df 100644 --- a/plotly/validators/scattergl/marker/_showscale.py +++ b/plotly/validators/scattergl/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_size.py b/plotly/validators/scattergl/marker/_size.py index b682f866e53..1322451678d 100644 --- a/plotly/validators/scattergl/marker/_size.py +++ b/plotly/validators/scattergl/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_sizemin.py b/plotly/validators/scattergl/marker/_sizemin.py index c09e3c36852..a5ed7626b98 100644 --- a/plotly/validators/scattergl/marker/_sizemin.py +++ b/plotly/validators/scattergl/marker/_sizemin.py @@ -9,8 +9,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_sizemode.py b/plotly/validators/scattergl/marker/_sizemode.py index da109ec8ff8..f0623796dfc 100644 --- a/plotly/validators/scattergl/marker/_sizemode.py +++ b/plotly/validators/scattergl/marker/_sizemode.py @@ -9,8 +9,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_sizeref.py b/plotly/validators/scattergl/marker/_sizeref.py index 841b3d39a12..d87737cd742 100644 --- a/plotly/validators/scattergl/marker/_sizeref.py +++ b/plotly/validators/scattergl/marker/_sizeref.py @@ -9,7 +9,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_sizesrc.py b/plotly/validators/scattergl/marker/_sizesrc.py index b7944018516..bc80d2b1303 100644 --- a/plotly/validators/scattergl/marker/_sizesrc.py +++ b/plotly/validators/scattergl/marker/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_symbol.py b/plotly/validators/scattergl/marker/_symbol.py index f20cc544b87..13df22e84cc 100644 --- a/plotly/validators/scattergl/marker/_symbol.py +++ b/plotly/validators/scattergl/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/_symbolsrc.py b/plotly/validators/scattergl/marker/_symbolsrc.py index 061f0b29e13..22dcee744a5 100644 --- a/plotly/validators/scattergl/marker/_symbolsrc.py +++ b/plotly/validators/scattergl/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_bgcolor.py b/plotly/validators/scattergl/marker/colorbar/_bgcolor.py index b20815bc73b..16443630a6b 100644 --- a/plotly/validators/scattergl/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scattergl/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_bordercolor.py b/plotly/validators/scattergl/marker/colorbar/_bordercolor.py index 6a0a78a323b..9fbb6b1c62b 100644 --- a/plotly/validators/scattergl/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scattergl/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_borderwidth.py b/plotly/validators/scattergl/marker/colorbar/_borderwidth.py index ab3e51dea7d..f83639ef641 100644 --- a/plotly/validators/scattergl/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scattergl/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_dtick.py b/plotly/validators/scattergl/marker/colorbar/_dtick.py index 456b81e7bd9..071ea29d7bf 100644 --- a/plotly/validators/scattergl/marker/colorbar/_dtick.py +++ b/plotly/validators/scattergl/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_exponentformat.py b/plotly/validators/scattergl/marker/colorbar/_exponentformat.py index dd5e565c088..669e32913f3 100644 --- a/plotly/validators/scattergl/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scattergl/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_len.py b/plotly/validators/scattergl/marker/colorbar/_len.py index b5db86d0f56..c95ef5810e1 100644 --- a/plotly/validators/scattergl/marker/colorbar/_len.py +++ b/plotly/validators/scattergl/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_lenmode.py b/plotly/validators/scattergl/marker/colorbar/_lenmode.py index 1e294ad93b5..e7dff69d4e1 100644 --- a/plotly/validators/scattergl/marker/colorbar/_lenmode.py +++ b/plotly/validators/scattergl/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_nticks.py b/plotly/validators/scattergl/marker/colorbar/_nticks.py index 197705ccebf..bd288c95161 100644 --- a/plotly/validators/scattergl/marker/colorbar/_nticks.py +++ b/plotly/validators/scattergl/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_outlinecolor.py b/plotly/validators/scattergl/marker/colorbar/_outlinecolor.py index b197116bf8b..bdfcfbef1a4 100644 --- a/plotly/validators/scattergl/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scattergl/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_outlinewidth.py b/plotly/validators/scattergl/marker/colorbar/_outlinewidth.py index 5d843cd2367..d808c67fcf4 100644 --- a/plotly/validators/scattergl/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scattergl/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_separatethousands.py b/plotly/validators/scattergl/marker/colorbar/_separatethousands.py index c12d5861150..964044b1e27 100644 --- a/plotly/validators/scattergl/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scattergl/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_showexponent.py b/plotly/validators/scattergl/marker/colorbar/_showexponent.py index e69768080d2..cf28b5119c5 100644 --- a/plotly/validators/scattergl/marker/colorbar/_showexponent.py +++ b/plotly/validators/scattergl/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_showticklabels.py b/plotly/validators/scattergl/marker/colorbar/_showticklabels.py index 50e4ed16fca..c0ceb59d9dd 100644 --- a/plotly/validators/scattergl/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scattergl/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_showtickprefix.py b/plotly/validators/scattergl/marker/colorbar/_showtickprefix.py index 52ced5411fe..e9d0fe2b236 100644 --- a/plotly/validators/scattergl/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scattergl/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_showticksuffix.py b/plotly/validators/scattergl/marker/colorbar/_showticksuffix.py index 5b156f31de2..e752c7757b6 100644 --- a/plotly/validators/scattergl/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scattergl/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_thickness.py b/plotly/validators/scattergl/marker/colorbar/_thickness.py index db7b714c990..03c0062fb3b 100644 --- a/plotly/validators/scattergl/marker/colorbar/_thickness.py +++ b/plotly/validators/scattergl/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_thicknessmode.py b/plotly/validators/scattergl/marker/colorbar/_thicknessmode.py index 3e6a3f6f2ce..6f51f16939e 100644 --- a/plotly/validators/scattergl/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scattergl/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tick0.py b/plotly/validators/scattergl/marker/colorbar/_tick0.py index 0d1bb633bda..020eabb34aa 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tick0.py +++ b/plotly/validators/scattergl/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickangle.py b/plotly/validators/scattergl/marker/colorbar/_tickangle.py index 25374ecabef..a5656d3b1a8 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickangle.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickcolor.py b/plotly/validators/scattergl/marker/colorbar/_tickcolor.py index 8f10cad9eb6..6b7424aa7f0 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickfont.py b/plotly/validators/scattergl/marker/colorbar/_tickfont.py index 3ca1541de0c..1420e1d6b75 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickfont.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickformat.py b/plotly/validators/scattergl/marker/colorbar/_tickformat.py index 5ba3b5f692b..2bf8fdab3ca 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickformat.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickformatstops.py b/plotly/validators/scattergl/marker/colorbar/_tickformatstops.py index aedb65589b1..efc265aec97 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_ticklen.py b/plotly/validators/scattergl/marker/colorbar/_ticklen.py index 98bc38793c4..c3186d93eb8 100644 --- a/plotly/validators/scattergl/marker/colorbar/_ticklen.py +++ b/plotly/validators/scattergl/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickmode.py b/plotly/validators/scattergl/marker/colorbar/_tickmode.py index 74cd92c3991..c9db26e980a 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickmode.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickprefix.py b/plotly/validators/scattergl/marker/colorbar/_tickprefix.py index ee6de104dde..96727fd86a1 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_ticks.py b/plotly/validators/scattergl/marker/colorbar/_ticks.py index 7e848ec2b2f..31b3f4cf3e5 100644 --- a/plotly/validators/scattergl/marker/colorbar/_ticks.py +++ b/plotly/validators/scattergl/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_ticksuffix.py b/plotly/validators/scattergl/marker/colorbar/_ticksuffix.py index 64061ab7ce4..b6ae6b6912f 100644 --- a/plotly/validators/scattergl/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scattergl/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_ticktext.py b/plotly/validators/scattergl/marker/colorbar/_ticktext.py index 58a139e7bae..fb20762ce9a 100644 --- a/plotly/validators/scattergl/marker/colorbar/_ticktext.py +++ b/plotly/validators/scattergl/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_ticktextsrc.py b/plotly/validators/scattergl/marker/colorbar/_ticktextsrc.py index b724a121ea1..043368d6d09 100644 --- a/plotly/validators/scattergl/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scattergl/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickvals.py b/plotly/validators/scattergl/marker/colorbar/_tickvals.py index 0c0d8186859..c35635da65e 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickvals.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickvalssrc.py b/plotly/validators/scattergl/marker/colorbar/_tickvalssrc.py index 70866718103..9eb64508145 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_tickwidth.py b/plotly/validators/scattergl/marker/colorbar/_tickwidth.py index 9e54d686edf..4ef050dc4f3 100644 --- a/plotly/validators/scattergl/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scattergl/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_title.py b/plotly/validators/scattergl/marker/colorbar/_title.py index e3541b206fe..f46721b45ee 100644 --- a/plotly/validators/scattergl/marker/colorbar/_title.py +++ b/plotly/validators/scattergl/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_titlefont.py b/plotly/validators/scattergl/marker/colorbar/_titlefont.py index 030589b1578..e0451e88d8a 100644 --- a/plotly/validators/scattergl/marker/colorbar/_titlefont.py +++ b/plotly/validators/scattergl/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_titleside.py b/plotly/validators/scattergl/marker/colorbar/_titleside.py index b522dbf8ecc..5027626d7e9 100644 --- a/plotly/validators/scattergl/marker/colorbar/_titleside.py +++ b/plotly/validators/scattergl/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_x.py b/plotly/validators/scattergl/marker/colorbar/_x.py index 98c0a358fea..9632f5d73b7 100644 --- a/plotly/validators/scattergl/marker/colorbar/_x.py +++ b/plotly/validators/scattergl/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_xanchor.py b/plotly/validators/scattergl/marker/colorbar/_xanchor.py index 98dcd287e26..85f071f97aa 100644 --- a/plotly/validators/scattergl/marker/colorbar/_xanchor.py +++ b/plotly/validators/scattergl/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_xpad.py b/plotly/validators/scattergl/marker/colorbar/_xpad.py index 41f34654f89..55ddf155a5f 100644 --- a/plotly/validators/scattergl/marker/colorbar/_xpad.py +++ b/plotly/validators/scattergl/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_y.py b/plotly/validators/scattergl/marker/colorbar/_y.py index b86cd79756c..cce3181f04a 100644 --- a/plotly/validators/scattergl/marker/colorbar/_y.py +++ b/plotly/validators/scattergl/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_yanchor.py b/plotly/validators/scattergl/marker/colorbar/_yanchor.py index 2208f2992f7..4574fe7625b 100644 --- a/plotly/validators/scattergl/marker/colorbar/_yanchor.py +++ b/plotly/validators/scattergl/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/_ypad.py b/plotly/validators/scattergl/marker/colorbar/_ypad.py index 8513bf8fb1d..9a8add25c7f 100644 --- a/plotly/validators/scattergl/marker/colorbar/_ypad.py +++ b/plotly/validators/scattergl/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickfont/_color.py b/plotly/validators/scattergl/marker/colorbar/tickfont/_color.py index 49e56c54852..3a04c50bb89 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scattergl/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickfont/_family.py b/plotly/validators/scattergl/marker/colorbar/tickfont/_family.py index 2566b5ad034..f86d66f8082 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scattergl/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickfont/_size.py b/plotly/validators/scattergl/marker/colorbar/tickfont/_size.py index 71f06dd400b..f5fdf5bb7b5 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scattergl/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_dtickrange.py index 119b595ca0b..6420101188a 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_enabled.py index 632badb0817..c68c0b26d65 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_name.py index 154afedf99a..505d1193b6b 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_templateitemname.py index 739b165b645..63f6f975093 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_value.py index 480600ccc81..3d6ac8eefe4 100644 --- a/plotly/validators/scattergl/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scattergl/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/titlefont/_color.py b/plotly/validators/scattergl/marker/colorbar/titlefont/_color.py index 14600b5898d..13d04395a99 100644 --- a/plotly/validators/scattergl/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scattergl/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/titlefont/_family.py b/plotly/validators/scattergl/marker/colorbar/titlefont/_family.py index aa48e282c7c..490906b6d3e 100644 --- a/plotly/validators/scattergl/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scattergl/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergl/marker/colorbar/titlefont/_size.py b/plotly/validators/scattergl/marker/colorbar/titlefont/_size.py index d94eb2ccc90..b8cdcf4108a 100644 --- a/plotly/validators/scattergl/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scattergl/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_autocolorscale.py b/plotly/validators/scattergl/marker/line/_autocolorscale.py index 5cdbbe3103d..b89919ab382 100644 --- a/plotly/validators/scattergl/marker/line/_autocolorscale.py +++ b/plotly/validators/scattergl/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_cauto.py b/plotly/validators/scattergl/marker/line/_cauto.py index 6ef8f613959..9681b087724 100644 --- a/plotly/validators/scattergl/marker/line/_cauto.py +++ b/plotly/validators/scattergl/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_cmax.py b/plotly/validators/scattergl/marker/line/_cmax.py index 79087a3b0c4..b7b9518d84f 100644 --- a/plotly/validators/scattergl/marker/line/_cmax.py +++ b/plotly/validators/scattergl/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_cmin.py b/plotly/validators/scattergl/marker/line/_cmin.py index cd3061f7c60..8bb038ef49a 100644 --- a/plotly/validators/scattergl/marker/line/_cmin.py +++ b/plotly/validators/scattergl/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_color.py b/plotly/validators/scattergl/marker/line/_color.py index aa7e43fed13..3ee64df1f82 100644 --- a/plotly/validators/scattergl/marker/line/_color.py +++ b/plotly/validators/scattergl/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scattergl.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattergl.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_colorscale.py b/plotly/validators/scattergl/marker/line/_colorscale.py index cb0fe8cd84c..8fb706e36e4 100644 --- a/plotly/validators/scattergl/marker/line/_colorscale.py +++ b/plotly/validators/scattergl/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_colorsrc.py b/plotly/validators/scattergl/marker/line/_colorsrc.py index 738d847e734..a740661ee12 100644 --- a/plotly/validators/scattergl/marker/line/_colorsrc.py +++ b/plotly/validators/scattergl/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_reversescale.py b/plotly/validators/scattergl/marker/line/_reversescale.py index 034c989b1dd..41f6b33e7d6 100644 --- a/plotly/validators/scattergl/marker/line/_reversescale.py +++ b/plotly/validators/scattergl/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_width.py b/plotly/validators/scattergl/marker/line/_width.py index 939b5422d4a..300f10c2bf4 100644 --- a/plotly/validators/scattergl/marker/line/_width.py +++ b/plotly/validators/scattergl/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/marker/line/_widthsrc.py b/plotly/validators/scattergl/marker/line/_widthsrc.py index 39df1d59d63..b35156203f5 100644 --- a/plotly/validators/scattergl/marker/line/_widthsrc.py +++ b/plotly/validators/scattergl/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/selected/_marker.py b/plotly/validators/scattergl/selected/_marker.py index 10564655f09..e98cd1a0de9 100644 --- a/plotly/validators/scattergl/selected/_marker.py +++ b/plotly/validators/scattergl/selected/_marker.py @@ -9,14 +9,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/selected/_textfont.py b/plotly/validators/scattergl/selected/_textfont.py index 90dda97fe91..2805b7fe124 100644 --- a/plotly/validators/scattergl/selected/_textfont.py +++ b/plotly/validators/scattergl/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/selected/marker/_color.py b/plotly/validators/scattergl/selected/marker/_color.py index 860085f11bf..1a8b3fe7b13 100644 --- a/plotly/validators/scattergl/selected/marker/_color.py +++ b/plotly/validators/scattergl/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/selected/marker/_opacity.py b/plotly/validators/scattergl/selected/marker/_opacity.py index d374f7d592e..2aab70b67e3 100644 --- a/plotly/validators/scattergl/selected/marker/_opacity.py +++ b/plotly/validators/scattergl/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/selected/marker/_size.py b/plotly/validators/scattergl/selected/marker/_size.py index dc18119c6d7..f60af57cb86 100644 --- a/plotly/validators/scattergl/selected/marker/_size.py +++ b/plotly/validators/scattergl/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/selected/textfont/_color.py b/plotly/validators/scattergl/selected/textfont/_color.py index da2671619ac..6778a50b093 100644 --- a/plotly/validators/scattergl/selected/textfont/_color.py +++ b/plotly/validators/scattergl/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/stream/_maxpoints.py b/plotly/validators/scattergl/stream/_maxpoints.py index eb5e91a48cf..ac932e02fd9 100644 --- a/plotly/validators/scattergl/stream/_maxpoints.py +++ b/plotly/validators/scattergl/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/stream/_token.py b/plotly/validators/scattergl/stream/_token.py index 071edc5f53f..0e09c7c2fb3 100644 --- a/plotly/validators/scattergl/stream/_token.py +++ b/plotly/validators/scattergl/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergl/textfont/_color.py b/plotly/validators/scattergl/textfont/_color.py index cc143fba067..8a04d856096 100644 --- a/plotly/validators/scattergl/textfont/_color.py +++ b/plotly/validators/scattergl/textfont/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/textfont/_colorsrc.py b/plotly/validators/scattergl/textfont/_colorsrc.py index afc8a24eae7..42c17c19c0d 100644 --- a/plotly/validators/scattergl/textfont/_colorsrc.py +++ b/plotly/validators/scattergl/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/textfont/_family.py b/plotly/validators/scattergl/textfont/_family.py index 8090e6a64d2..4145c248fea 100644 --- a/plotly/validators/scattergl/textfont/_family.py +++ b/plotly/validators/scattergl/textfont/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattergl/textfont/_familysrc.py b/plotly/validators/scattergl/textfont/_familysrc.py index c9e41431f73..d53d424adda 100644 --- a/plotly/validators/scattergl/textfont/_familysrc.py +++ b/plotly/validators/scattergl/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/textfont/_size.py b/plotly/validators/scattergl/textfont/_size.py index 131ed3c31a4..7a7368d50e9 100644 --- a/plotly/validators/scattergl/textfont/_size.py +++ b/plotly/validators/scattergl/textfont/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/textfont/_sizesrc.py b/plotly/validators/scattergl/textfont/_sizesrc.py index ae6a04d284c..932474c100a 100644 --- a/plotly/validators/scattergl/textfont/_sizesrc.py +++ b/plotly/validators/scattergl/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattergl/unselected/_marker.py b/plotly/validators/scattergl/unselected/_marker.py index 79ffed31f38..88de4115d61 100644 --- a/plotly/validators/scattergl/unselected/_marker.py +++ b/plotly/validators/scattergl/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/unselected/_textfont.py b/plotly/validators/scattergl/unselected/_textfont.py index 577c1c90f24..41d74bc2dd1 100644 --- a/plotly/validators/scattergl/unselected/_textfont.py +++ b/plotly/validators/scattergl/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattergl/unselected/marker/_color.py b/plotly/validators/scattergl/unselected/marker/_color.py index b53f5b605f3..6ab4774f1b5 100644 --- a/plotly/validators/scattergl/unselected/marker/_color.py +++ b/plotly/validators/scattergl/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/unselected/marker/_opacity.py b/plotly/validators/scattergl/unselected/marker/_opacity.py index 2ad3888b4dd..e55c0937b0f 100644 --- a/plotly/validators/scattergl/unselected/marker/_opacity.py +++ b/plotly/validators/scattergl/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/unselected/marker/_size.py b/plotly/validators/scattergl/unselected/marker/_size.py index 97d566234a0..8ece19fe3d2 100644 --- a/plotly/validators/scattergl/unselected/marker/_size.py +++ b/plotly/validators/scattergl/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattergl/unselected/textfont/_color.py b/plotly/validators/scattergl/unselected/textfont/_color.py index 37404c60ba3..d58a5e4dd10 100644 --- a/plotly/validators/scattergl/unselected/textfont/_color.py +++ b/plotly/validators/scattergl/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_connectgaps.py b/plotly/validators/scattermapbox/_connectgaps.py index d5b9b2b266e..82650ec84a7 100644 --- a/plotly/validators/scattermapbox/_connectgaps.py +++ b/plotly/validators/scattermapbox/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_customdata.py b/plotly/validators/scattermapbox/_customdata.py index 2f3d36f5bc3..ffea94b39d0 100644 --- a/plotly/validators/scattermapbox/_customdata.py +++ b/plotly/validators/scattermapbox/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_customdatasrc.py b/plotly/validators/scattermapbox/_customdatasrc.py index ac1aba94446..67ae3bfb2ee 100644 --- a/plotly/validators/scattermapbox/_customdatasrc.py +++ b/plotly/validators/scattermapbox/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_fill.py b/plotly/validators/scattermapbox/_fill.py index 9b439b137c5..af7412b1b85 100644 --- a/plotly/validators/scattermapbox/_fill.py +++ b/plotly/validators/scattermapbox/_fill.py @@ -9,8 +9,8 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'toself'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['none', 'toself']), **kwargs ) diff --git a/plotly/validators/scattermapbox/_fillcolor.py b/plotly/validators/scattermapbox/_fillcolor.py index 167fa86095b..c82e401e9f0 100644 --- a/plotly/validators/scattermapbox/_fillcolor.py +++ b/plotly/validators/scattermapbox/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_hoverinfo.py b/plotly/validators/scattermapbox/_hoverinfo.py index 5c66fc392b6..00b226bc6c3 100644 --- a/plotly/validators/scattermapbox/_hoverinfo.py +++ b/plotly/validators/scattermapbox/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['lon', 'lat', 'text', 'name', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['lon', 'lat', 'text', 'name', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_hoverinfosrc.py b/plotly/validators/scattermapbox/_hoverinfosrc.py index 238384e7486..eee9e254531 100644 --- a/plotly/validators/scattermapbox/_hoverinfosrc.py +++ b/plotly/validators/scattermapbox/_hoverinfosrc.py @@ -12,7 +12,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_hoverlabel.py b/plotly/validators/scattermapbox/_hoverlabel.py index f6f87e90c26..b86eb9ae5e3 100644 --- a/plotly/validators/scattermapbox/_hoverlabel.py +++ b/plotly/validators/scattermapbox/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_hovertext.py b/plotly/validators/scattermapbox/_hovertext.py index bd495f1a957..b96beea50e6 100644 --- a/plotly/validators/scattermapbox/_hovertext.py +++ b/plotly/validators/scattermapbox/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_hovertextsrc.py b/plotly/validators/scattermapbox/_hovertextsrc.py index d8805882634..f220a4f7479 100644 --- a/plotly/validators/scattermapbox/_hovertextsrc.py +++ b/plotly/validators/scattermapbox/_hovertextsrc.py @@ -12,7 +12,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_ids.py b/plotly/validators/scattermapbox/_ids.py index 99f63e7152f..586b5b4cc16 100644 --- a/plotly/validators/scattermapbox/_ids.py +++ b/plotly/validators/scattermapbox/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_idssrc.py b/plotly/validators/scattermapbox/_idssrc.py index 28871ea3379..97aeb5753a3 100644 --- a/plotly/validators/scattermapbox/_idssrc.py +++ b/plotly/validators/scattermapbox/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_lat.py b/plotly/validators/scattermapbox/_lat.py index d0cb3cc4319..d8b19c6866a 100644 --- a/plotly/validators/scattermapbox/_lat.py +++ b/plotly/validators/scattermapbox/_lat.py @@ -9,7 +9,7 @@ def __init__( super(LatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_latsrc.py b/plotly/validators/scattermapbox/_latsrc.py index 8a0fc1697db..59482320450 100644 --- a/plotly/validators/scattermapbox/_latsrc.py +++ b/plotly/validators/scattermapbox/_latsrc.py @@ -9,7 +9,7 @@ def __init__( super(LatsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_legendgroup.py b/plotly/validators/scattermapbox/_legendgroup.py index 30f90f86477..16d2f7724f7 100644 --- a/plotly/validators/scattermapbox/_legendgroup.py +++ b/plotly/validators/scattermapbox/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_line.py b/plotly/validators/scattermapbox/_line.py index c4af9b96c22..c7c9ac67810 100644 --- a/plotly/validators/scattermapbox/_line.py +++ b/plotly/validators/scattermapbox/_line.py @@ -9,12 +9,14 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_lon.py b/plotly/validators/scattermapbox/_lon.py index c316d6057f7..9d7c82220dc 100644 --- a/plotly/validators/scattermapbox/_lon.py +++ b/plotly/validators/scattermapbox/_lon.py @@ -9,7 +9,7 @@ def __init__( super(LonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_lonsrc.py b/plotly/validators/scattermapbox/_lonsrc.py index 5f4243035f8..72577fc6149 100644 --- a/plotly/validators/scattermapbox/_lonsrc.py +++ b/plotly/validators/scattermapbox/_lonsrc.py @@ -9,7 +9,7 @@ def __init__( super(LonsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_marker.py b/plotly/validators/scattermapbox/_marker.py index 39f62657bac..b7f59fd4c7d 100644 --- a/plotly/validators/scattermapbox/_marker.py +++ b/plotly/validators/scattermapbox/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -111,6 +112,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_mode.py b/plotly/validators/scattermapbox/_mode.py index 17b7078e269..7d11bb86911 100644 --- a/plotly/validators/scattermapbox/_mode.py +++ b/plotly/validators/scattermapbox/_mode.py @@ -9,9 +9,9 @@ def __init__( super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_name.py b/plotly/validators/scattermapbox/_name.py index faf0ff8d2af..3b683227b78 100644 --- a/plotly/validators/scattermapbox/_name.py +++ b/plotly/validators/scattermapbox/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_opacity.py b/plotly/validators/scattermapbox/_opacity.py index 566228449fa..9e8aa178b28 100644 --- a/plotly/validators/scattermapbox/_opacity.py +++ b/plotly/validators/scattermapbox/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_selected.py b/plotly/validators/scattermapbox/_selected.py index 326fac8c85f..029b00151d8 100644 --- a/plotly/validators/scattermapbox/_selected.py +++ b/plotly/validators/scattermapbox/_selected.py @@ -9,11 +9,13 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattermapbox.selected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_selectedpoints.py b/plotly/validators/scattermapbox/_selectedpoints.py index 8f3207cf137..3ff74ed7e42 100644 --- a/plotly/validators/scattermapbox/_selectedpoints.py +++ b/plotly/validators/scattermapbox/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_showlegend.py b/plotly/validators/scattermapbox/_showlegend.py index 62361cf39a8..4360bf08ac7 100644 --- a/plotly/validators/scattermapbox/_showlegend.py +++ b/plotly/validators/scattermapbox/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_stream.py b/plotly/validators/scattermapbox/_stream.py index b1232a3a48f..3a2ea41c8cb 100644 --- a/plotly/validators/scattermapbox/_stream.py +++ b/plotly/validators/scattermapbox/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_subplot.py b/plotly/validators/scattermapbox/_subplot.py index 0d5f5ea8dde..b3522e65378 100644 --- a/plotly/validators/scattermapbox/_subplot.py +++ b/plotly/validators/scattermapbox/_subplot.py @@ -9,8 +9,8 @@ def __init__( super(SubplotValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='mapbox', - edit_type='calc', - role='info', + dflt=kwargs.pop('dflt', 'mapbox'), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_text.py b/plotly/validators/scattermapbox/_text.py index 9800713e7e3..ef0e3b74777 100644 --- a/plotly/validators/scattermapbox/_text.py +++ b/plotly/validators/scattermapbox/_text.py @@ -9,8 +9,8 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_textfont.py b/plotly/validators/scattermapbox/_textfont.py index 302342b3aaa..9dd6f8ec434 100644 --- a/plotly/validators/scattermapbox/_textfont.py +++ b/plotly/validators/scattermapbox/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_textposition.py b/plotly/validators/scattermapbox/_textposition.py index be629ce205f..5bf080c9607 100644 --- a/plotly/validators/scattermapbox/_textposition.py +++ b/plotly/validators/scattermapbox/_textposition.py @@ -12,13 +12,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_textsrc.py b/plotly/validators/scattermapbox/_textsrc.py index 14fc2dc5db1..adf9829a48e 100644 --- a/plotly/validators/scattermapbox/_textsrc.py +++ b/plotly/validators/scattermapbox/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_uid.py b/plotly/validators/scattermapbox/_uid.py index e085b726d79..fec55497734 100644 --- a/plotly/validators/scattermapbox/_uid.py +++ b/plotly/validators/scattermapbox/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/_unselected.py b/plotly/validators/scattermapbox/_unselected.py index b8b1aa67d89..4fa3b999dd5 100644 --- a/plotly/validators/scattermapbox/_unselected.py +++ b/plotly/validators/scattermapbox/_unselected.py @@ -9,11 +9,13 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scattermapbox.unselected.Mark er instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/_visible.py b/plotly/validators/scattermapbox/_visible.py index 3c553abfb60..ef5acc159e4 100644 --- a/plotly/validators/scattermapbox/_visible.py +++ b/plotly/validators/scattermapbox/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_bgcolor.py b/plotly/validators/scattermapbox/hoverlabel/_bgcolor.py index 29a698622e3..c14ba7a0242 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_bgcolor.py +++ b/plotly/validators/scattermapbox/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_bgcolorsrc.py b/plotly/validators/scattermapbox/hoverlabel/_bgcolorsrc.py index 18cbfd25913..b730969d451 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scattermapbox/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_bordercolor.py b/plotly/validators/scattermapbox/hoverlabel/_bordercolor.py index 512c577aa7c..fddd01fad1a 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_bordercolor.py +++ b/plotly/validators/scattermapbox/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_bordercolorsrc.py b/plotly/validators/scattermapbox/hoverlabel/_bordercolorsrc.py index 16b7e898055..210d8038465 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scattermapbox/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_font.py b/plotly/validators/scattermapbox/hoverlabel/_font.py index 81d86916829..35ad95d2acd 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_font.py +++ b/plotly/validators/scattermapbox/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_namelength.py b/plotly/validators/scattermapbox/hoverlabel/_namelength.py index c0f19c47f34..bdbe0ac92a7 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_namelength.py +++ b/plotly/validators/scattermapbox/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/_namelengthsrc.py b/plotly/validators/scattermapbox/hoverlabel/_namelengthsrc.py index fa77250369e..85f864775ff 100644 --- a/plotly/validators/scattermapbox/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scattermapbox/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/font/_color.py b/plotly/validators/scattermapbox/hoverlabel/font/_color.py index ab196ac33d2..57ded148002 100644 --- a/plotly/validators/scattermapbox/hoverlabel/font/_color.py +++ b/plotly/validators/scattermapbox/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/font/_colorsrc.py b/plotly/validators/scattermapbox/hoverlabel/font/_colorsrc.py index e5692cafb7f..84b01ab40f0 100644 --- a/plotly/validators/scattermapbox/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scattermapbox/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/font/_family.py b/plotly/validators/scattermapbox/hoverlabel/font/_family.py index c523f4c89b6..2becdd159b9 100644 --- a/plotly/validators/scattermapbox/hoverlabel/font/_family.py +++ b/plotly/validators/scattermapbox/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/font/_familysrc.py b/plotly/validators/scattermapbox/hoverlabel/font/_familysrc.py index 8c645264b46..d13e85d8526 100644 --- a/plotly/validators/scattermapbox/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scattermapbox/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/font/_size.py b/plotly/validators/scattermapbox/hoverlabel/font/_size.py index 7605a3ad134..180b8fa8b69 100644 --- a/plotly/validators/scattermapbox/hoverlabel/font/_size.py +++ b/plotly/validators/scattermapbox/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/hoverlabel/font/_sizesrc.py b/plotly/validators/scattermapbox/hoverlabel/font/_sizesrc.py index 1437f3a8ff5..ea17ea5ff35 100644 --- a/plotly/validators/scattermapbox/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scattermapbox/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/line/_color.py b/plotly/validators/scattermapbox/line/_color.py index ecbe27ff587..cf06ff4bc27 100644 --- a/plotly/validators/scattermapbox/line/_color.py +++ b/plotly/validators/scattermapbox/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/line/_width.py b/plotly/validators/scattermapbox/line/_width.py index b5709a58f9e..7c850907ce9 100644 --- a/plotly/validators/scattermapbox/line/_width.py +++ b/plotly/validators/scattermapbox/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_autocolorscale.py b/plotly/validators/scattermapbox/marker/_autocolorscale.py index e9e17c88dd7..ae1b9f5600b 100644 --- a/plotly/validators/scattermapbox/marker/_autocolorscale.py +++ b/plotly/validators/scattermapbox/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_cauto.py b/plotly/validators/scattermapbox/marker/_cauto.py index 6474fd5aa47..0b63b4260d9 100644 --- a/plotly/validators/scattermapbox/marker/_cauto.py +++ b/plotly/validators/scattermapbox/marker/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_cmax.py b/plotly/validators/scattermapbox/marker/_cmax.py index f9530eec95a..12ecbfc29f7 100644 --- a/plotly/validators/scattermapbox/marker/_cmax.py +++ b/plotly/validators/scattermapbox/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_cmin.py b/plotly/validators/scattermapbox/marker/_cmin.py index 02eca676821..9f9dc681aee 100644 --- a/plotly/validators/scattermapbox/marker/_cmin.py +++ b/plotly/validators/scattermapbox/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_color.py b/plotly/validators/scattermapbox/marker/_color.py index ea5aac0bc23..b71f9c5d4ba 100644 --- a/plotly/validators/scattermapbox/marker/_color.py +++ b/plotly/validators/scattermapbox/marker/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scattermapbox.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scattermapbox.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_colorbar.py b/plotly/validators/scattermapbox/marker/_colorbar.py index b1d33359f0a..cdc6b01b190 100644 --- a/plotly/validators/scattermapbox/marker/_colorbar.py +++ b/plotly/validators/scattermapbox/marker/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_colorscale.py b/plotly/validators/scattermapbox/marker/_colorscale.py index 5e779ed03f7..edd145479c8 100644 --- a/plotly/validators/scattermapbox/marker/_colorscale.py +++ b/plotly/validators/scattermapbox/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_colorsrc.py b/plotly/validators/scattermapbox/marker/_colorsrc.py index f1008ade1cb..e1c2e55c4bd 100644 --- a/plotly/validators/scattermapbox/marker/_colorsrc.py +++ b/plotly/validators/scattermapbox/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_opacity.py b/plotly/validators/scattermapbox/marker/_opacity.py index 417ba8d0253..a07cf0688ba 100644 --- a/plotly/validators/scattermapbox/marker/_opacity.py +++ b/plotly/validators/scattermapbox/marker/_opacity.py @@ -12,10 +12,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_opacitysrc.py b/plotly/validators/scattermapbox/marker/_opacitysrc.py index 2f1779a5e92..e53fb14c310 100644 --- a/plotly/validators/scattermapbox/marker/_opacitysrc.py +++ b/plotly/validators/scattermapbox/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_reversescale.py b/plotly/validators/scattermapbox/marker/_reversescale.py index 623cd73c076..902c92c0b9f 100644 --- a/plotly/validators/scattermapbox/marker/_reversescale.py +++ b/plotly/validators/scattermapbox/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_showscale.py b/plotly/validators/scattermapbox/marker/_showscale.py index 2ee63328efa..05902fbad3c 100644 --- a/plotly/validators/scattermapbox/marker/_showscale.py +++ b/plotly/validators/scattermapbox/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_size.py b/plotly/validators/scattermapbox/marker/_size.py index 8e931229c6e..84fb1d06fd5 100644 --- a/plotly/validators/scattermapbox/marker/_size.py +++ b/plotly/validators/scattermapbox/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_sizemin.py b/plotly/validators/scattermapbox/marker/_sizemin.py index cfdd4c68623..cdee567e568 100644 --- a/plotly/validators/scattermapbox/marker/_sizemin.py +++ b/plotly/validators/scattermapbox/marker/_sizemin.py @@ -12,8 +12,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_sizemode.py b/plotly/validators/scattermapbox/marker/_sizemode.py index 9c43f429bb2..19852386cf4 100644 --- a/plotly/validators/scattermapbox/marker/_sizemode.py +++ b/plotly/validators/scattermapbox/marker/_sizemode.py @@ -12,8 +12,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_sizeref.py b/plotly/validators/scattermapbox/marker/_sizeref.py index 2a9f1325764..bd04e31617d 100644 --- a/plotly/validators/scattermapbox/marker/_sizeref.py +++ b/plotly/validators/scattermapbox/marker/_sizeref.py @@ -12,7 +12,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_sizesrc.py b/plotly/validators/scattermapbox/marker/_sizesrc.py index 0bfb3c144c1..aa1dace6d64 100644 --- a/plotly/validators/scattermapbox/marker/_sizesrc.py +++ b/plotly/validators/scattermapbox/marker/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_symbol.py b/plotly/validators/scattermapbox/marker/_symbol.py index 174283bd36d..5f3c3d88e0f 100644 --- a/plotly/validators/scattermapbox/marker/_symbol.py +++ b/plotly/validators/scattermapbox/marker/_symbol.py @@ -12,8 +12,8 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/_symbolsrc.py b/plotly/validators/scattermapbox/marker/_symbolsrc.py index 64c0886ee8e..5b3711ad30c 100644 --- a/plotly/validators/scattermapbox/marker/_symbolsrc.py +++ b/plotly/validators/scattermapbox/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_bgcolor.py b/plotly/validators/scattermapbox/marker/colorbar/_bgcolor.py index c17fb1a3fad..c36ac77776c 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_bordercolor.py b/plotly/validators/scattermapbox/marker/colorbar/_bordercolor.py index 6eba95cbc84..698cf149aeb 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_borderwidth.py b/plotly/validators/scattermapbox/marker/colorbar/_borderwidth.py index 8a333d38a61..384adad4e5b 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_dtick.py b/plotly/validators/scattermapbox/marker/colorbar/_dtick.py index 2b3188707ef..8892c9cceb7 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_dtick.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_exponentformat.py b/plotly/validators/scattermapbox/marker/colorbar/_exponentformat.py index 897c80cdabf..780120507ee 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_len.py b/plotly/validators/scattermapbox/marker/colorbar/_len.py index 3e6f7556ae2..fdce8468a2b 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_len.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_lenmode.py b/plotly/validators/scattermapbox/marker/colorbar/_lenmode.py index 21d3118f4b6..1ba8feee714 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_lenmode.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_nticks.py b/plotly/validators/scattermapbox/marker/colorbar/_nticks.py index 53540ed4b70..8a1bc4c4626 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_nticks.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_outlinecolor.py b/plotly/validators/scattermapbox/marker/colorbar/_outlinecolor.py index 64c0e1c80b8..1e506fbaa4f 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_outlinewidth.py b/plotly/validators/scattermapbox/marker/colorbar/_outlinewidth.py index bd6eb31ba06..1082409c4ea 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_separatethousands.py b/plotly/validators/scattermapbox/marker/colorbar/_separatethousands.py index a6f0f77675d..b348b19eb5e 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_showexponent.py b/plotly/validators/scattermapbox/marker/colorbar/_showexponent.py index 9d84fa79ff0..2d9c4ca655e 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_showexponent.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_showticklabels.py b/plotly/validators/scattermapbox/marker/colorbar/_showticklabels.py index 5ee71cb8250..1c5b7231921 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_showtickprefix.py b/plotly/validators/scattermapbox/marker/colorbar/_showtickprefix.py index ee5cc22f321..23f1ed8e787 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_showticksuffix.py b/plotly/validators/scattermapbox/marker/colorbar/_showticksuffix.py index d678824d309..67fdb9bfc66 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_thickness.py b/plotly/validators/scattermapbox/marker/colorbar/_thickness.py index 99d8dcca593..f2184f2306d 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_thickness.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_thicknessmode.py b/plotly/validators/scattermapbox/marker/colorbar/_thicknessmode.py index 6da6dfb4458..1b438ca5d05 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tick0.py b/plotly/validators/scattermapbox/marker/colorbar/_tick0.py index c8f82ec4303..860322b837c 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tick0.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickangle.py b/plotly/validators/scattermapbox/marker/colorbar/_tickangle.py index 55b92559fd8..54b949bd929 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickangle.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickcolor.py b/plotly/validators/scattermapbox/marker/colorbar/_tickcolor.py index 00c56785027..ee70d014baa 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickfont.py b/plotly/validators/scattermapbox/marker/colorbar/_tickfont.py index 787949e98af..476feddd7e3 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickfont.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickformat.py b/plotly/validators/scattermapbox/marker/colorbar/_tickformat.py index ff3903a4c12..f2fd0081dbf 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickformat.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickformatstops.py b/plotly/validators/scattermapbox/marker/colorbar/_tickformatstops.py index 43e91b4e6a2..257fe90997a 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_ticklen.py b/plotly/validators/scattermapbox/marker/colorbar/_ticklen.py index e210b32a197..59fd4b99c8e 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_ticklen.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickmode.py b/plotly/validators/scattermapbox/marker/colorbar/_tickmode.py index 73b86ca155a..c651297a62a 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickmode.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickprefix.py b/plotly/validators/scattermapbox/marker/colorbar/_tickprefix.py index 0afdb6012cb..5e123bfc485 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_ticks.py b/plotly/validators/scattermapbox/marker/colorbar/_ticks.py index 71cabf67b77..2a8d1ecd963 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_ticks.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_ticksuffix.py b/plotly/validators/scattermapbox/marker/colorbar/_ticksuffix.py index bcb6e055375..43da501db71 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_ticktext.py b/plotly/validators/scattermapbox/marker/colorbar/_ticktext.py index ce337abb048..b8e9a10eb16 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_ticktext.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_ticktextsrc.py b/plotly/validators/scattermapbox/marker/colorbar/_ticktextsrc.py index 134a0790f63..3c88837de3b 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickvals.py b/plotly/validators/scattermapbox/marker/colorbar/_tickvals.py index f69259c044f..136da495b1f 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickvals.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickvalssrc.py b/plotly/validators/scattermapbox/marker/colorbar/_tickvalssrc.py index f02f3b3c1db..acbaf43d852 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_tickwidth.py b/plotly/validators/scattermapbox/marker/colorbar/_tickwidth.py index ef309d3dd7b..4036fd6436b 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_title.py b/plotly/validators/scattermapbox/marker/colorbar/_title.py index d02369d94fd..ff5a1b0a570 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_title.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_titlefont.py b/plotly/validators/scattermapbox/marker/colorbar/_titlefont.py index 61aa9080710..2bee7b7bc39 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_titlefont.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_titleside.py b/plotly/validators/scattermapbox/marker/colorbar/_titleside.py index 94f04104eb8..f8c6d5b09d9 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_titleside.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_x.py b/plotly/validators/scattermapbox/marker/colorbar/_x.py index 7cb9f3a8e6f..cb3f4e5123f 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_x.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_xanchor.py b/plotly/validators/scattermapbox/marker/colorbar/_xanchor.py index 80ca1956838..c15ec80b502 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_xanchor.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_xpad.py b/plotly/validators/scattermapbox/marker/colorbar/_xpad.py index 5cd2298aa8e..9822cd28584 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_xpad.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_y.py b/plotly/validators/scattermapbox/marker/colorbar/_y.py index 96ab3f7153f..560a658d3ae 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_y.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_yanchor.py b/plotly/validators/scattermapbox/marker/colorbar/_yanchor.py index e0c0be2d140..ab9c2b0197a 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_yanchor.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/_ypad.py b/plotly/validators/scattermapbox/marker/colorbar/_ypad.py index f2678b0f919..49603c83ac7 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/_ypad.py +++ b/plotly/validators/scattermapbox/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickfont/_color.py b/plotly/validators/scattermapbox/marker/colorbar/tickfont/_color.py index 464683569fb..9793538509a 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickfont/_family.py b/plotly/validators/scattermapbox/marker/colorbar/tickfont/_family.py index 237aedfad38..e8fd929f8e7 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickfont/_size.py b/plotly/validators/scattermapbox/marker/colorbar/tickfont/_size.py index b5a3f5dcdc6..bdabe4e652f 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_dtickrange.py index b652ac10e45..8a9f78c6913 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_enabled.py index a51dc49e47f..c2199d0d2e1 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_name.py index 9c268492c2e..c183952b815 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_templateitemname.py index 487fb51404e..c35a3721b51 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_value.py index 5430c58e477..b4d4ddbf2b8 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scattermapbox/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/titlefont/_color.py b/plotly/validators/scattermapbox/marker/colorbar/titlefont/_color.py index 17904f2408b..c4fa20d119f 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scattermapbox/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/titlefont/_family.py b/plotly/validators/scattermapbox/marker/colorbar/titlefont/_family.py index 358e068faef..859454bbe40 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scattermapbox/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattermapbox/marker/colorbar/titlefont/_size.py b/plotly/validators/scattermapbox/marker/colorbar/titlefont/_size.py index 9cf7d99f03b..581bdf6d409 100644 --- a/plotly/validators/scattermapbox/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scattermapbox/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/selected/_marker.py b/plotly/validators/scattermapbox/selected/_marker.py index c1161a40321..593117bf958 100644 --- a/plotly/validators/scattermapbox/selected/_marker.py +++ b/plotly/validators/scattermapbox/selected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/selected/marker/_color.py b/plotly/validators/scattermapbox/selected/marker/_color.py index a605ee2de5c..f1859de076c 100644 --- a/plotly/validators/scattermapbox/selected/marker/_color.py +++ b/plotly/validators/scattermapbox/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/selected/marker/_opacity.py b/plotly/validators/scattermapbox/selected/marker/_opacity.py index 161ee94b965..3e77e9e4068 100644 --- a/plotly/validators/scattermapbox/selected/marker/_opacity.py +++ b/plotly/validators/scattermapbox/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/selected/marker/_size.py b/plotly/validators/scattermapbox/selected/marker/_size.py index 375f938325c..67915e5d179 100644 --- a/plotly/validators/scattermapbox/selected/marker/_size.py +++ b/plotly/validators/scattermapbox/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/stream/_maxpoints.py b/plotly/validators/scattermapbox/stream/_maxpoints.py index ad627f7ea96..6a755f62cc4 100644 --- a/plotly/validators/scattermapbox/stream/_maxpoints.py +++ b/plotly/validators/scattermapbox/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scattermapbox/stream/_token.py b/plotly/validators/scattermapbox/stream/_token.py index 0a886f863a5..de25e6c3374 100644 --- a/plotly/validators/scattermapbox/stream/_token.py +++ b/plotly/validators/scattermapbox/stream/_token.py @@ -12,9 +12,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattermapbox/textfont/_color.py b/plotly/validators/scattermapbox/textfont/_color.py index 45a8f084c32..defb27ab6f7 100644 --- a/plotly/validators/scattermapbox/textfont/_color.py +++ b/plotly/validators/scattermapbox/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/textfont/_family.py b/plotly/validators/scattermapbox/textfont/_family.py index 4c752b39c41..4ed39d103a6 100644 --- a/plotly/validators/scattermapbox/textfont/_family.py +++ b/plotly/validators/scattermapbox/textfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scattermapbox/textfont/_size.py b/plotly/validators/scattermapbox/textfont/_size.py index e5061e9ea8e..2fd139f92c7 100644 --- a/plotly/validators/scattermapbox/textfont/_size.py +++ b/plotly/validators/scattermapbox/textfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/unselected/_marker.py b/plotly/validators/scattermapbox/unselected/_marker.py index fb7d6f1942f..8258d9e14f1 100644 --- a/plotly/validators/scattermapbox/unselected/_marker.py +++ b/plotly/validators/scattermapbox/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scattermapbox/unselected/marker/_color.py b/plotly/validators/scattermapbox/unselected/marker/_color.py index befd205f25c..0c4d0339ef9 100644 --- a/plotly/validators/scattermapbox/unselected/marker/_color.py +++ b/plotly/validators/scattermapbox/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/unselected/marker/_opacity.py b/plotly/validators/scattermapbox/unselected/marker/_opacity.py index 2d11aebbb73..af6578e93ed 100644 --- a/plotly/validators/scattermapbox/unselected/marker/_opacity.py +++ b/plotly/validators/scattermapbox/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scattermapbox/unselected/marker/_size.py b/plotly/validators/scattermapbox/unselected/marker/_size.py index d659a3ff383..8e5cfa91418 100644 --- a/plotly/validators/scattermapbox/unselected/marker/_size.py +++ b/plotly/validators/scattermapbox/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_cliponaxis.py b/plotly/validators/scatterpolar/_cliponaxis.py index ad16337f5e1..7d2378383d5 100644 --- a/plotly/validators/scatterpolar/_cliponaxis.py +++ b/plotly/validators/scatterpolar/_cliponaxis.py @@ -9,7 +9,7 @@ def __init__( super(CliponaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_connectgaps.py b/plotly/validators/scatterpolar/_connectgaps.py index 0d06ade59a9..9e0a78327c4 100644 --- a/plotly/validators/scatterpolar/_connectgaps.py +++ b/plotly/validators/scatterpolar/_connectgaps.py @@ -9,7 +9,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_customdata.py b/plotly/validators/scatterpolar/_customdata.py index 632d0302b93..a1175c073db 100644 --- a/plotly/validators/scatterpolar/_customdata.py +++ b/plotly/validators/scatterpolar/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_customdatasrc.py b/plotly/validators/scatterpolar/_customdatasrc.py index 14f5ebdc0d7..40aa9e85a28 100644 --- a/plotly/validators/scatterpolar/_customdatasrc.py +++ b/plotly/validators/scatterpolar/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_dr.py b/plotly/validators/scatterpolar/_dr.py index 95fa2ea9961..124bb36cd0d 100644 --- a/plotly/validators/scatterpolar/_dr.py +++ b/plotly/validators/scatterpolar/_dr.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='dr', parent_name='scatterpolar', **kwargs): super(DrValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_dtheta.py b/plotly/validators/scatterpolar/_dtheta.py index 70394e36f79..118ab449865 100644 --- a/plotly/validators/scatterpolar/_dtheta.py +++ b/plotly/validators/scatterpolar/_dtheta.py @@ -9,7 +9,7 @@ def __init__( super(DthetaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_fill.py b/plotly/validators/scatterpolar/_fill.py index 0e84f0871b1..5a786ed97af 100644 --- a/plotly/validators/scatterpolar/_fill.py +++ b/plotly/validators/scatterpolar/_fill.py @@ -9,8 +9,8 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'toself', 'tonext'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['none', 'toself', 'tonext']), **kwargs ) diff --git a/plotly/validators/scatterpolar/_fillcolor.py b/plotly/validators/scatterpolar/_fillcolor.py index 2687725ea77..3f67a8a54e3 100644 --- a/plotly/validators/scatterpolar/_fillcolor.py +++ b/plotly/validators/scatterpolar/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_hoverinfo.py b/plotly/validators/scatterpolar/_hoverinfo.py index 0cbad331d6e..1eaefb2e5da 100644 --- a/plotly/validators/scatterpolar/_hoverinfo.py +++ b/plotly/validators/scatterpolar/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['r', 'theta', 'text', 'name', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['r', 'theta', 'text', 'name', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_hoverinfosrc.py b/plotly/validators/scatterpolar/_hoverinfosrc.py index 7fb09bd5f4e..b29aa786446 100644 --- a/plotly/validators/scatterpolar/_hoverinfosrc.py +++ b/plotly/validators/scatterpolar/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_hoverlabel.py b/plotly/validators/scatterpolar/_hoverlabel.py index affc4c9ca9d..63e5620769d 100644 --- a/plotly/validators/scatterpolar/_hoverlabel.py +++ b/plotly/validators/scatterpolar/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_hoveron.py b/plotly/validators/scatterpolar/_hoveron.py index d2e874e8dc8..4dbeb6a7322 100644 --- a/plotly/validators/scatterpolar/_hoveron.py +++ b/plotly/validators/scatterpolar/_hoveron.py @@ -9,8 +9,8 @@ def __init__( super(HoveronValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - flags=['points', 'fills'], - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + flags=kwargs.pop('flags', ['points', 'fills']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_hovertext.py b/plotly/validators/scatterpolar/_hovertext.py index 77fb49b7d1c..d94172448bd 100644 --- a/plotly/validators/scatterpolar/_hovertext.py +++ b/plotly/validators/scatterpolar/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_hovertextsrc.py b/plotly/validators/scatterpolar/_hovertextsrc.py index cd0c7ee5eec..6a1d00b7baf 100644 --- a/plotly/validators/scatterpolar/_hovertextsrc.py +++ b/plotly/validators/scatterpolar/_hovertextsrc.py @@ -9,7 +9,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_ids.py b/plotly/validators/scatterpolar/_ids.py index 58d0f879696..fb440e8d894 100644 --- a/plotly/validators/scatterpolar/_ids.py +++ b/plotly/validators/scatterpolar/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_idssrc.py b/plotly/validators/scatterpolar/_idssrc.py index 25e695fba20..8f62ddd4f53 100644 --- a/plotly/validators/scatterpolar/_idssrc.py +++ b/plotly/validators/scatterpolar/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_legendgroup.py b/plotly/validators/scatterpolar/_legendgroup.py index c9d80deaed9..2627a227c65 100644 --- a/plotly/validators/scatterpolar/_legendgroup.py +++ b/plotly/validators/scatterpolar/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_line.py b/plotly/validators/scatterpolar/_line.py index 94b3eed95da..0beb272c47a 100644 --- a/plotly/validators/scatterpolar/_line.py +++ b/plotly/validators/scatterpolar/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -30,6 +31,7 @@ def __init__( "linear" shape). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_marker.py b/plotly/validators/scatterpolar/_marker.py index 189f5d91b53..3694abfb056 100644 --- a/plotly/validators/scatterpolar/_marker.py +++ b/plotly/validators/scatterpolar/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -122,6 +123,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_mode.py b/plotly/validators/scatterpolar/_mode.py index 12c5014c8b4..30833fa5cb8 100644 --- a/plotly/validators/scatterpolar/_mode.py +++ b/plotly/validators/scatterpolar/_mode.py @@ -9,9 +9,9 @@ def __init__( super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_name.py b/plotly/validators/scatterpolar/_name.py index f1e849262e6..6574d54eaf0 100644 --- a/plotly/validators/scatterpolar/_name.py +++ b/plotly/validators/scatterpolar/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_opacity.py b/plotly/validators/scatterpolar/_opacity.py index a58fde645bf..55a7f3d9d8d 100644 --- a/plotly/validators/scatterpolar/_opacity.py +++ b/plotly/validators/scatterpolar/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_r.py b/plotly/validators/scatterpolar/_r.py index 248c2eb7d1d..6c3c61d0506 100644 --- a/plotly/validators/scatterpolar/_r.py +++ b/plotly/validators/scatterpolar/_r.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='r', parent_name='scatterpolar', **kwargs): super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_r0.py b/plotly/validators/scatterpolar/_r0.py index b1fb394227c..13fef0b4c72 100644 --- a/plotly/validators/scatterpolar/_r0.py +++ b/plotly/validators/scatterpolar/_r0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='r0', parent_name='scatterpolar', **kwargs): super(R0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_rsrc.py b/plotly/validators/scatterpolar/_rsrc.py index 71816c4a47b..b233ff04efc 100644 --- a/plotly/validators/scatterpolar/_rsrc.py +++ b/plotly/validators/scatterpolar/_rsrc.py @@ -9,7 +9,7 @@ def __init__( super(RsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_selected.py b/plotly/validators/scatterpolar/_selected.py index f070b775231..5a93fda3ab1 100644 --- a/plotly/validators/scatterpolar/_selected.py +++ b/plotly/validators/scatterpolar/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatterpolar.selected.Marker instance or dict with compatible properties textfont plotly.graph_objs.scatterpolar.selected.Textfon t instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_selectedpoints.py b/plotly/validators/scatterpolar/_selectedpoints.py index ceee77672b3..bd7e0c81f03 100644 --- a/plotly/validators/scatterpolar/_selectedpoints.py +++ b/plotly/validators/scatterpolar/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_showlegend.py b/plotly/validators/scatterpolar/_showlegend.py index 7823240c13b..919df79cb71 100644 --- a/plotly/validators/scatterpolar/_showlegend.py +++ b/plotly/validators/scatterpolar/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_stream.py b/plotly/validators/scatterpolar/_stream.py index a694d2f1846..1093f55519b 100644 --- a/plotly/validators/scatterpolar/_stream.py +++ b/plotly/validators/scatterpolar/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_subplot.py b/plotly/validators/scatterpolar/_subplot.py index 5f9b9c8fbb4..8b3e632115f 100644 --- a/plotly/validators/scatterpolar/_subplot.py +++ b/plotly/validators/scatterpolar/_subplot.py @@ -9,8 +9,8 @@ def __init__( super(SubplotValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='polar', - edit_type='calc', - role='info', + dflt=kwargs.pop('dflt', 'polar'), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_text.py b/plotly/validators/scatterpolar/_text.py index 0995fb6e604..318e3d9213a 100644 --- a/plotly/validators/scatterpolar/_text.py +++ b/plotly/validators/scatterpolar/_text.py @@ -9,8 +9,8 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_textfont.py b/plotly/validators/scatterpolar/_textfont.py index 6fe1e9a4210..bb7f42fe02f 100644 --- a/plotly/validators/scatterpolar/_textfont.py +++ b/plotly/validators/scatterpolar/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_textposition.py b/plotly/validators/scatterpolar/_textposition.py index ac33bf70292..b91fb985966 100644 --- a/plotly/validators/scatterpolar/_textposition.py +++ b/plotly/validators/scatterpolar/_textposition.py @@ -9,13 +9,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_textpositionsrc.py b/plotly/validators/scatterpolar/_textpositionsrc.py index b347474b64c..cd993a9a3d5 100644 --- a/plotly/validators/scatterpolar/_textpositionsrc.py +++ b/plotly/validators/scatterpolar/_textpositionsrc.py @@ -12,7 +12,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_textsrc.py b/plotly/validators/scatterpolar/_textsrc.py index 445b6433753..2ed9a79439d 100644 --- a/plotly/validators/scatterpolar/_textsrc.py +++ b/plotly/validators/scatterpolar/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_theta.py b/plotly/validators/scatterpolar/_theta.py index 05c0c3105fd..2547d96d36f 100644 --- a/plotly/validators/scatterpolar/_theta.py +++ b/plotly/validators/scatterpolar/_theta.py @@ -9,7 +9,7 @@ def __init__( super(ThetaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_theta0.py b/plotly/validators/scatterpolar/_theta0.py index 87b1a4ef396..2058010229c 100644 --- a/plotly/validators/scatterpolar/_theta0.py +++ b/plotly/validators/scatterpolar/_theta0.py @@ -9,7 +9,7 @@ def __init__( super(Theta0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_thetasrc.py b/plotly/validators/scatterpolar/_thetasrc.py index f72b75e5be3..f4a071dac4b 100644 --- a/plotly/validators/scatterpolar/_thetasrc.py +++ b/plotly/validators/scatterpolar/_thetasrc.py @@ -9,7 +9,7 @@ def __init__( super(ThetasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_thetaunit.py b/plotly/validators/scatterpolar/_thetaunit.py index 958ac95183e..a51eecfbd9f 100644 --- a/plotly/validators/scatterpolar/_thetaunit.py +++ b/plotly/validators/scatterpolar/_thetaunit.py @@ -9,8 +9,8 @@ def __init__( super(ThetaunitValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['radians', 'degrees', 'gradians'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['radians', 'degrees', 'gradians']), **kwargs ) diff --git a/plotly/validators/scatterpolar/_uid.py b/plotly/validators/scatterpolar/_uid.py index 6784c190905..d8649263914 100644 --- a/plotly/validators/scatterpolar/_uid.py +++ b/plotly/validators/scatterpolar/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/_unselected.py b/plotly/validators/scatterpolar/_unselected.py index f0d1e2966a4..198d5fc8228 100644 --- a/plotly/validators/scatterpolar/_unselected.py +++ b/plotly/validators/scatterpolar/_unselected.py @@ -9,14 +9,16 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatterpolar.unselected.Marke r instance or dict with compatible properties textfont plotly.graph_objs.scatterpolar.unselected.Textf ont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/_visible.py b/plotly/validators/scatterpolar/_visible.py index 54da111099e..fa72d65b24f 100644 --- a/plotly/validators/scatterpolar/_visible.py +++ b/plotly/validators/scatterpolar/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_bgcolor.py b/plotly/validators/scatterpolar/hoverlabel/_bgcolor.py index 4f47b725ad5..9d3f58c67cb 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_bgcolor.py +++ b/plotly/validators/scatterpolar/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_bgcolorsrc.py b/plotly/validators/scatterpolar/hoverlabel/_bgcolorsrc.py index de6210d32a3..1cc8c1c8557 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scatterpolar/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_bordercolor.py b/plotly/validators/scatterpolar/hoverlabel/_bordercolor.py index 0ec2734006a..2121b3b849c 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_bordercolor.py +++ b/plotly/validators/scatterpolar/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_bordercolorsrc.py b/plotly/validators/scatterpolar/hoverlabel/_bordercolorsrc.py index d7313d68595..3cb582e2ed6 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scatterpolar/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_font.py b/plotly/validators/scatterpolar/hoverlabel/_font.py index c0587fb0c6b..27c1eb3cef5 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_font.py +++ b/plotly/validators/scatterpolar/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_namelength.py b/plotly/validators/scatterpolar/hoverlabel/_namelength.py index 610410f6027..052031d1def 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_namelength.py +++ b/plotly/validators/scatterpolar/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/_namelengthsrc.py b/plotly/validators/scatterpolar/hoverlabel/_namelengthsrc.py index 6538c094dee..e9535470018 100644 --- a/plotly/validators/scatterpolar/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scatterpolar/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/font/_color.py b/plotly/validators/scatterpolar/hoverlabel/font/_color.py index 737ef6dab8b..e0fee8f31bc 100644 --- a/plotly/validators/scatterpolar/hoverlabel/font/_color.py +++ b/plotly/validators/scatterpolar/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/font/_colorsrc.py b/plotly/validators/scatterpolar/hoverlabel/font/_colorsrc.py index 0fe7bf4ca55..0c0c2174f8e 100644 --- a/plotly/validators/scatterpolar/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scatterpolar/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/font/_family.py b/plotly/validators/scatterpolar/hoverlabel/font/_family.py index ff06b80e0a3..f3610890eaa 100644 --- a/plotly/validators/scatterpolar/hoverlabel/font/_family.py +++ b/plotly/validators/scatterpolar/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/font/_familysrc.py b/plotly/validators/scatterpolar/hoverlabel/font/_familysrc.py index 5d63547fa77..78593253a18 100644 --- a/plotly/validators/scatterpolar/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scatterpolar/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/font/_size.py b/plotly/validators/scatterpolar/hoverlabel/font/_size.py index 2eaf1cf8523..625fd068074 100644 --- a/plotly/validators/scatterpolar/hoverlabel/font/_size.py +++ b/plotly/validators/scatterpolar/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/hoverlabel/font/_sizesrc.py b/plotly/validators/scatterpolar/hoverlabel/font/_sizesrc.py index deb79cbca5c..bda5373000d 100644 --- a/plotly/validators/scatterpolar/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scatterpolar/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/line/_color.py b/plotly/validators/scatterpolar/line/_color.py index 9ab7485d5ef..2d332353c44 100644 --- a/plotly/validators/scatterpolar/line/_color.py +++ b/plotly/validators/scatterpolar/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/line/_dash.py b/plotly/validators/scatterpolar/line/_dash.py index c1f3514fc3b..a899e15808a 100644 --- a/plotly/validators/scatterpolar/line/_dash.py +++ b/plotly/validators/scatterpolar/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/line/_shape.py b/plotly/validators/scatterpolar/line/_shape.py index 21d036649b4..c71307e36fb 100644 --- a/plotly/validators/scatterpolar/line/_shape.py +++ b/plotly/validators/scatterpolar/line/_shape.py @@ -9,8 +9,8 @@ def __init__( super(ShapeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['linear', 'spline'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['linear', 'spline']), **kwargs ) diff --git a/plotly/validators/scatterpolar/line/_smoothing.py b/plotly/validators/scatterpolar/line/_smoothing.py index e5429b5a3c8..109381185b4 100644 --- a/plotly/validators/scatterpolar/line/_smoothing.py +++ b/plotly/validators/scatterpolar/line/_smoothing.py @@ -12,9 +12,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/line/_width.py b/plotly/validators/scatterpolar/line/_width.py index 0a4d41143ab..c62d71d2c26 100644 --- a/plotly/validators/scatterpolar/line/_width.py +++ b/plotly/validators/scatterpolar/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_autocolorscale.py b/plotly/validators/scatterpolar/marker/_autocolorscale.py index 71d853c5fa7..1ee8ac0dc7d 100644 --- a/plotly/validators/scatterpolar/marker/_autocolorscale.py +++ b/plotly/validators/scatterpolar/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_cauto.py b/plotly/validators/scatterpolar/marker/_cauto.py index 6ac0dddee1b..4336c698af9 100644 --- a/plotly/validators/scatterpolar/marker/_cauto.py +++ b/plotly/validators/scatterpolar/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_cmax.py b/plotly/validators/scatterpolar/marker/_cmax.py index a82ed20d57b..5b0363d16d8 100644 --- a/plotly/validators/scatterpolar/marker/_cmax.py +++ b/plotly/validators/scatterpolar/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_cmin.py b/plotly/validators/scatterpolar/marker/_cmin.py index 1e27a878355..9ac3cb5c197 100644 --- a/plotly/validators/scatterpolar/marker/_cmin.py +++ b/plotly/validators/scatterpolar/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_color.py b/plotly/validators/scatterpolar/marker/_color.py index 3957ec8e2e4..d53f95dc9bd 100644 --- a/plotly/validators/scatterpolar/marker/_color.py +++ b/plotly/validators/scatterpolar/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scatterpolar.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatterpolar.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_colorbar.py b/plotly/validators/scatterpolar/marker/_colorbar.py index e61d8beb48d..eee5a09d210 100644 --- a/plotly/validators/scatterpolar/marker/_colorbar.py +++ b/plotly/validators/scatterpolar/marker/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_colorscale.py b/plotly/validators/scatterpolar/marker/_colorscale.py index 02ecb74311a..c6d87b70852 100644 --- a/plotly/validators/scatterpolar/marker/_colorscale.py +++ b/plotly/validators/scatterpolar/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_colorsrc.py b/plotly/validators/scatterpolar/marker/_colorsrc.py index ff5a4b607d1..be7af1f466f 100644 --- a/plotly/validators/scatterpolar/marker/_colorsrc.py +++ b/plotly/validators/scatterpolar/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_gradient.py b/plotly/validators/scatterpolar/marker/_gradient.py index e4f6ca34748..6037b15f5b1 100644 --- a/plotly/validators/scatterpolar/marker/_gradient.py +++ b/plotly/validators/scatterpolar/marker/_gradient.py @@ -12,8 +12,9 @@ def __init__( super(GradientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Gradient', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Gradient'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the final color of the gradient fill: the center color for radial, the right for @@ -27,6 +28,7 @@ def __init__( typesrc Sets the source reference on plot.ly for type . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_line.py b/plotly/validators/scatterpolar/marker/_line.py index 192b32a90f8..cd3fd9ff48c 100644 --- a/plotly/validators/scatterpolar/marker/_line.py +++ b/plotly/validators/scatterpolar/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_maxdisplayed.py b/plotly/validators/scatterpolar/marker/_maxdisplayed.py index 1d3e9dcfdba..565795b32a5 100644 --- a/plotly/validators/scatterpolar/marker/_maxdisplayed.py +++ b/plotly/validators/scatterpolar/marker/_maxdisplayed.py @@ -12,8 +12,8 @@ def __init__( super(MaxdisplayedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_opacity.py b/plotly/validators/scatterpolar/marker/_opacity.py index 323c808269b..311f9de98a7 100644 --- a/plotly/validators/scatterpolar/marker/_opacity.py +++ b/plotly/validators/scatterpolar/marker/_opacity.py @@ -12,10 +12,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_opacitysrc.py b/plotly/validators/scatterpolar/marker/_opacitysrc.py index a9d2de087ea..ed96e59a15a 100644 --- a/plotly/validators/scatterpolar/marker/_opacitysrc.py +++ b/plotly/validators/scatterpolar/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_reversescale.py b/plotly/validators/scatterpolar/marker/_reversescale.py index 9d71e770fdb..79faa9c282c 100644 --- a/plotly/validators/scatterpolar/marker/_reversescale.py +++ b/plotly/validators/scatterpolar/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_showscale.py b/plotly/validators/scatterpolar/marker/_showscale.py index 1e3a8549e55..93383002c43 100644 --- a/plotly/validators/scatterpolar/marker/_showscale.py +++ b/plotly/validators/scatterpolar/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_size.py b/plotly/validators/scatterpolar/marker/_size.py index 22de83dcc52..3129f44c3ea 100644 --- a/plotly/validators/scatterpolar/marker/_size.py +++ b/plotly/validators/scatterpolar/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_sizemin.py b/plotly/validators/scatterpolar/marker/_sizemin.py index 4c7ebfd5523..a87b852822b 100644 --- a/plotly/validators/scatterpolar/marker/_sizemin.py +++ b/plotly/validators/scatterpolar/marker/_sizemin.py @@ -12,8 +12,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_sizemode.py b/plotly/validators/scatterpolar/marker/_sizemode.py index e2f0cee28e7..f5b97a47c24 100644 --- a/plotly/validators/scatterpolar/marker/_sizemode.py +++ b/plotly/validators/scatterpolar/marker/_sizemode.py @@ -12,8 +12,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_sizeref.py b/plotly/validators/scatterpolar/marker/_sizeref.py index 94f94522fb0..95a54b2384e 100644 --- a/plotly/validators/scatterpolar/marker/_sizeref.py +++ b/plotly/validators/scatterpolar/marker/_sizeref.py @@ -12,7 +12,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_sizesrc.py b/plotly/validators/scatterpolar/marker/_sizesrc.py index 1c522332b05..4e66b9b0a5a 100644 --- a/plotly/validators/scatterpolar/marker/_sizesrc.py +++ b/plotly/validators/scatterpolar/marker/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_symbol.py b/plotly/validators/scatterpolar/marker/_symbol.py index a2e34e54e77..6b755fff617 100644 --- a/plotly/validators/scatterpolar/marker/_symbol.py +++ b/plotly/validators/scatterpolar/marker/_symbol.py @@ -12,66 +12,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/_symbolsrc.py b/plotly/validators/scatterpolar/marker/_symbolsrc.py index 177370b05f3..cffc954fcf9 100644 --- a/plotly/validators/scatterpolar/marker/_symbolsrc.py +++ b/plotly/validators/scatterpolar/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_bgcolor.py b/plotly/validators/scatterpolar/marker/colorbar/_bgcolor.py index cdf9243fff7..704dd15da63 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_bordercolor.py b/plotly/validators/scatterpolar/marker/colorbar/_bordercolor.py index 2c155a381eb..6df45f7f3e6 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_borderwidth.py b/plotly/validators/scatterpolar/marker/colorbar/_borderwidth.py index 2112f4bfb15..9b014c2af2c 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_dtick.py b/plotly/validators/scatterpolar/marker/colorbar/_dtick.py index 119422bc497..3784eee219d 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_dtick.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_exponentformat.py b/plotly/validators/scatterpolar/marker/colorbar/_exponentformat.py index 79165b55347..b2bc3299a44 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_len.py b/plotly/validators/scatterpolar/marker/colorbar/_len.py index e1f1bd06dfc..fa2b91f2b43 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_len.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_lenmode.py b/plotly/validators/scatterpolar/marker/colorbar/_lenmode.py index 2f93377a5b6..6e538b6017e 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_lenmode.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_nticks.py b/plotly/validators/scatterpolar/marker/colorbar/_nticks.py index 0f940fb5cea..1305b165c10 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_nticks.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_outlinecolor.py b/plotly/validators/scatterpolar/marker/colorbar/_outlinecolor.py index c6c5dbbbca0..4e4c035e730 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_outlinewidth.py b/plotly/validators/scatterpolar/marker/colorbar/_outlinewidth.py index 73337602f53..a80b8e0e2f9 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_separatethousands.py b/plotly/validators/scatterpolar/marker/colorbar/_separatethousands.py index 7067df8dc57..418eb1fc953 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_showexponent.py b/plotly/validators/scatterpolar/marker/colorbar/_showexponent.py index 1924a6e1a1e..46dbc192ecc 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_showexponent.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_showticklabels.py b/plotly/validators/scatterpolar/marker/colorbar/_showticklabels.py index fde8b42f0ee..fcc5e4ad686 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_showtickprefix.py b/plotly/validators/scatterpolar/marker/colorbar/_showtickprefix.py index 794e55de4de..cbddc3dbffa 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_showticksuffix.py b/plotly/validators/scatterpolar/marker/colorbar/_showticksuffix.py index 0cb53a4f4ff..babaefba2aa 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_thickness.py b/plotly/validators/scatterpolar/marker/colorbar/_thickness.py index 8375689079d..a546e49d678 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_thickness.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_thicknessmode.py b/plotly/validators/scatterpolar/marker/colorbar/_thicknessmode.py index 5e943d73ac3..955420ee59e 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tick0.py b/plotly/validators/scatterpolar/marker/colorbar/_tick0.py index f14d0bdbd1b..467eca4fc74 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tick0.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickangle.py b/plotly/validators/scatterpolar/marker/colorbar/_tickangle.py index 1ab359641fb..685fa406d15 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickangle.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickcolor.py b/plotly/validators/scatterpolar/marker/colorbar/_tickcolor.py index e6ba7f8fad0..6210e337bf4 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickfont.py b/plotly/validators/scatterpolar/marker/colorbar/_tickfont.py index 463f13f2a98..e7202e2081f 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickfont.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickformat.py b/plotly/validators/scatterpolar/marker/colorbar/_tickformat.py index ae726890e36..95f501ce21e 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickformat.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickformatstops.py b/plotly/validators/scatterpolar/marker/colorbar/_tickformatstops.py index 347a24a2691..3be301909cb 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_ticklen.py b/plotly/validators/scatterpolar/marker/colorbar/_ticklen.py index 5e71f87de5a..9940684b4db 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_ticklen.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickmode.py b/plotly/validators/scatterpolar/marker/colorbar/_tickmode.py index 6d1acadce17..5a39340bcc0 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickmode.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickprefix.py b/plotly/validators/scatterpolar/marker/colorbar/_tickprefix.py index 7b3b614d212..8be7036a75b 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_ticks.py b/plotly/validators/scatterpolar/marker/colorbar/_ticks.py index 3e94e35a21c..7a5e00302f8 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_ticks.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_ticksuffix.py b/plotly/validators/scatterpolar/marker/colorbar/_ticksuffix.py index bf3a3218cf2..e866c7c5594 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_ticktext.py b/plotly/validators/scatterpolar/marker/colorbar/_ticktext.py index de301a0de6a..08a1b7fdeb3 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_ticktext.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_ticktextsrc.py b/plotly/validators/scatterpolar/marker/colorbar/_ticktextsrc.py index b551b1a4c79..b2e1b271c3e 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickvals.py b/plotly/validators/scatterpolar/marker/colorbar/_tickvals.py index 17db4b3db9a..a79c268fd3c 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickvals.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickvalssrc.py b/plotly/validators/scatterpolar/marker/colorbar/_tickvalssrc.py index eb190f99247..0dc7dd1c05c 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_tickwidth.py b/plotly/validators/scatterpolar/marker/colorbar/_tickwidth.py index ecab5ab26ce..118a86ded9e 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_title.py b/plotly/validators/scatterpolar/marker/colorbar/_title.py index 9775b505560..36e289a0ac4 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_title.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_titlefont.py b/plotly/validators/scatterpolar/marker/colorbar/_titlefont.py index fa1b0ee608b..5e1a8838bb2 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_titlefont.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_titleside.py b/plotly/validators/scatterpolar/marker/colorbar/_titleside.py index 6561445cdd6..7b27cdddb6d 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_titleside.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_x.py b/plotly/validators/scatterpolar/marker/colorbar/_x.py index 8ebb0f3f950..dfcf96ec2b7 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_x.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_xanchor.py b/plotly/validators/scatterpolar/marker/colorbar/_xanchor.py index 05842633a47..beb47aa740c 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_xanchor.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_xpad.py b/plotly/validators/scatterpolar/marker/colorbar/_xpad.py index 544a29fef9b..e8ec2e66493 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_xpad.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_y.py b/plotly/validators/scatterpolar/marker/colorbar/_y.py index 21338b43693..95652064564 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_y.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_yanchor.py b/plotly/validators/scatterpolar/marker/colorbar/_yanchor.py index caabc55c4cc..6162a841832 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_yanchor.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/_ypad.py b/plotly/validators/scatterpolar/marker/colorbar/_ypad.py index e16fb69bf8e..17c4d74c425 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/_ypad.py +++ b/plotly/validators/scatterpolar/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickfont/_color.py b/plotly/validators/scatterpolar/marker/colorbar/tickfont/_color.py index 770f9233048..cbfe45e8fff 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickfont/_family.py b/plotly/validators/scatterpolar/marker/colorbar/tickfont/_family.py index 0f5e2710e51..98de8998f78 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickfont/_size.py b/plotly/validators/scatterpolar/marker/colorbar/tickfont/_size.py index bb042748157..7e12ab7b332 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_dtickrange.py index 6c888f4489b..b6e5683aa95 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_enabled.py index a23310ad37d..00f40a47674 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_name.py index 4b35e48f2a5..e04c8138383 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_templateitemname.py index 85a3a980f83..f31d18ba458 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_value.py index 50b50936f8f..8a61d9484e8 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scatterpolar/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/titlefont/_color.py b/plotly/validators/scatterpolar/marker/colorbar/titlefont/_color.py index b270734bfb9..9c9f3dac0e8 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scatterpolar/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/titlefont/_family.py b/plotly/validators/scatterpolar/marker/colorbar/titlefont/_family.py index 28979f63cb3..e537ec86b35 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scatterpolar/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/colorbar/titlefont/_size.py b/plotly/validators/scatterpolar/marker/colorbar/titlefont/_size.py index f7d9050c645..92bc9008e52 100644 --- a/plotly/validators/scatterpolar/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scatterpolar/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/gradient/_color.py b/plotly/validators/scatterpolar/marker/gradient/_color.py index 40376f6eb28..30652f29676 100644 --- a/plotly/validators/scatterpolar/marker/gradient/_color.py +++ b/plotly/validators/scatterpolar/marker/gradient/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/gradient/_colorsrc.py b/plotly/validators/scatterpolar/marker/gradient/_colorsrc.py index da5a73559f0..f113134fc14 100644 --- a/plotly/validators/scatterpolar/marker/gradient/_colorsrc.py +++ b/plotly/validators/scatterpolar/marker/gradient/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/gradient/_type.py b/plotly/validators/scatterpolar/marker/gradient/_type.py index ff9734f7791..96be18ea844 100644 --- a/plotly/validators/scatterpolar/marker/gradient/_type.py +++ b/plotly/validators/scatterpolar/marker/gradient/_type.py @@ -12,9 +12,11 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['radial', 'horizontal', 'vertical', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['radial', 'horizontal', 'vertical', 'none'] + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/gradient/_typesrc.py b/plotly/validators/scatterpolar/marker/gradient/_typesrc.py index eda3f088ab0..8e13fa711df 100644 --- a/plotly/validators/scatterpolar/marker/gradient/_typesrc.py +++ b/plotly/validators/scatterpolar/marker/gradient/_typesrc.py @@ -12,7 +12,7 @@ def __init__( super(TypesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_autocolorscale.py b/plotly/validators/scatterpolar/marker/line/_autocolorscale.py index aea24ce29aa..7fec58aab03 100644 --- a/plotly/validators/scatterpolar/marker/line/_autocolorscale.py +++ b/plotly/validators/scatterpolar/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_cauto.py b/plotly/validators/scatterpolar/marker/line/_cauto.py index dc587e38b52..89bc3e1981a 100644 --- a/plotly/validators/scatterpolar/marker/line/_cauto.py +++ b/plotly/validators/scatterpolar/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_cmax.py b/plotly/validators/scatterpolar/marker/line/_cmax.py index e83b7d3de27..989f073f59f 100644 --- a/plotly/validators/scatterpolar/marker/line/_cmax.py +++ b/plotly/validators/scatterpolar/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_cmin.py b/plotly/validators/scatterpolar/marker/line/_cmin.py index 500c996b6de..ae0dcee89ea 100644 --- a/plotly/validators/scatterpolar/marker/line/_cmin.py +++ b/plotly/validators/scatterpolar/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_color.py b/plotly/validators/scatterpolar/marker/line/_color.py index 679e3d9cdb9..2c08a4784db 100644 --- a/plotly/validators/scatterpolar/marker/line/_color.py +++ b/plotly/validators/scatterpolar/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scatterpolar.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatterpolar.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_colorscale.py b/plotly/validators/scatterpolar/marker/line/_colorscale.py index 16a39b15837..8b47eca2fe5 100644 --- a/plotly/validators/scatterpolar/marker/line/_colorscale.py +++ b/plotly/validators/scatterpolar/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_colorsrc.py b/plotly/validators/scatterpolar/marker/line/_colorsrc.py index b6d9f89f67a..fb289008214 100644 --- a/plotly/validators/scatterpolar/marker/line/_colorsrc.py +++ b/plotly/validators/scatterpolar/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_reversescale.py b/plotly/validators/scatterpolar/marker/line/_reversescale.py index 1aff916be95..4bab6c01990 100644 --- a/plotly/validators/scatterpolar/marker/line/_reversescale.py +++ b/plotly/validators/scatterpolar/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_width.py b/plotly/validators/scatterpolar/marker/line/_width.py index ef1bf5083c6..f121acf7a69 100644 --- a/plotly/validators/scatterpolar/marker/line/_width.py +++ b/plotly/validators/scatterpolar/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/marker/line/_widthsrc.py b/plotly/validators/scatterpolar/marker/line/_widthsrc.py index a84bde6d00a..b75cd89a1a4 100644 --- a/plotly/validators/scatterpolar/marker/line/_widthsrc.py +++ b/plotly/validators/scatterpolar/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/selected/_marker.py b/plotly/validators/scatterpolar/selected/_marker.py index 5be28536a6f..38058cc649b 100644 --- a/plotly/validators/scatterpolar/selected/_marker.py +++ b/plotly/validators/scatterpolar/selected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/selected/_textfont.py b/plotly/validators/scatterpolar/selected/_textfont.py index 2763e14d2cb..92c788b658d 100644 --- a/plotly/validators/scatterpolar/selected/_textfont.py +++ b/plotly/validators/scatterpolar/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/selected/marker/_color.py b/plotly/validators/scatterpolar/selected/marker/_color.py index 93b386fc805..794f01f0e71 100644 --- a/plotly/validators/scatterpolar/selected/marker/_color.py +++ b/plotly/validators/scatterpolar/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/selected/marker/_opacity.py b/plotly/validators/scatterpolar/selected/marker/_opacity.py index bec789f5e1a..542da54954d 100644 --- a/plotly/validators/scatterpolar/selected/marker/_opacity.py +++ b/plotly/validators/scatterpolar/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/selected/marker/_size.py b/plotly/validators/scatterpolar/selected/marker/_size.py index 78de46d46e1..554853acdf9 100644 --- a/plotly/validators/scatterpolar/selected/marker/_size.py +++ b/plotly/validators/scatterpolar/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/selected/textfont/_color.py b/plotly/validators/scatterpolar/selected/textfont/_color.py index f44f28429d6..1d09fa6a0b9 100644 --- a/plotly/validators/scatterpolar/selected/textfont/_color.py +++ b/plotly/validators/scatterpolar/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/stream/_maxpoints.py b/plotly/validators/scatterpolar/stream/_maxpoints.py index 735ae9c8f50..cca3a8c6345 100644 --- a/plotly/validators/scatterpolar/stream/_maxpoints.py +++ b/plotly/validators/scatterpolar/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/stream/_token.py b/plotly/validators/scatterpolar/stream/_token.py index 5ee0851e291..45066947c7c 100644 --- a/plotly/validators/scatterpolar/stream/_token.py +++ b/plotly/validators/scatterpolar/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolar/textfont/_color.py b/plotly/validators/scatterpolar/textfont/_color.py index edf453f8ebd..1a3fb873338 100644 --- a/plotly/validators/scatterpolar/textfont/_color.py +++ b/plotly/validators/scatterpolar/textfont/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/textfont/_colorsrc.py b/plotly/validators/scatterpolar/textfont/_colorsrc.py index 1d387fabbe7..c262176cae7 100644 --- a/plotly/validators/scatterpolar/textfont/_colorsrc.py +++ b/plotly/validators/scatterpolar/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/textfont/_family.py b/plotly/validators/scatterpolar/textfont/_family.py index aeda10e5253..08e931b215f 100644 --- a/plotly/validators/scatterpolar/textfont/_family.py +++ b/plotly/validators/scatterpolar/textfont/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolar/textfont/_familysrc.py b/plotly/validators/scatterpolar/textfont/_familysrc.py index 1eb625a033d..115d5a04c37 100644 --- a/plotly/validators/scatterpolar/textfont/_familysrc.py +++ b/plotly/validators/scatterpolar/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/textfont/_size.py b/plotly/validators/scatterpolar/textfont/_size.py index 75a3d8b0a46..5ad2d500c2e 100644 --- a/plotly/validators/scatterpolar/textfont/_size.py +++ b/plotly/validators/scatterpolar/textfont/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/textfont/_sizesrc.py b/plotly/validators/scatterpolar/textfont/_sizesrc.py index cdfbc57af2c..60234a490a1 100644 --- a/plotly/validators/scatterpolar/textfont/_sizesrc.py +++ b/plotly/validators/scatterpolar/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolar/unselected/_marker.py b/plotly/validators/scatterpolar/unselected/_marker.py index ae8af6970e5..25e4d14c06b 100644 --- a/plotly/validators/scatterpolar/unselected/_marker.py +++ b/plotly/validators/scatterpolar/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/unselected/_textfont.py b/plotly/validators/scatterpolar/unselected/_textfont.py index c86f1d744bb..faf1cf9984f 100644 --- a/plotly/validators/scatterpolar/unselected/_textfont.py +++ b/plotly/validators/scatterpolar/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolar/unselected/marker/_color.py b/plotly/validators/scatterpolar/unselected/marker/_color.py index c682c8ace66..f588cf19e0e 100644 --- a/plotly/validators/scatterpolar/unselected/marker/_color.py +++ b/plotly/validators/scatterpolar/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/unselected/marker/_opacity.py b/plotly/validators/scatterpolar/unselected/marker/_opacity.py index ccc33f230c8..7bfa4210448 100644 --- a/plotly/validators/scatterpolar/unselected/marker/_opacity.py +++ b/plotly/validators/scatterpolar/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/unselected/marker/_size.py b/plotly/validators/scatterpolar/unselected/marker/_size.py index 6d0db51af8d..81d5b167433 100644 --- a/plotly/validators/scatterpolar/unselected/marker/_size.py +++ b/plotly/validators/scatterpolar/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolar/unselected/textfont/_color.py b/plotly/validators/scatterpolar/unselected/textfont/_color.py index 61186c51b3f..16bfde0d06c 100644 --- a/plotly/validators/scatterpolar/unselected/textfont/_color.py +++ b/plotly/validators/scatterpolar/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_connectgaps.py b/plotly/validators/scatterpolargl/_connectgaps.py index e19de447ae9..34fa13ac19c 100644 --- a/plotly/validators/scatterpolargl/_connectgaps.py +++ b/plotly/validators/scatterpolargl/_connectgaps.py @@ -12,7 +12,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_customdata.py b/plotly/validators/scatterpolargl/_customdata.py index c4049277f17..2ff1ce78042 100644 --- a/plotly/validators/scatterpolargl/_customdata.py +++ b/plotly/validators/scatterpolargl/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_customdatasrc.py b/plotly/validators/scatterpolargl/_customdatasrc.py index 79437319d9e..7ca735165f9 100644 --- a/plotly/validators/scatterpolargl/_customdatasrc.py +++ b/plotly/validators/scatterpolargl/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_dr.py b/plotly/validators/scatterpolargl/_dr.py index 206e89c5b3d..74cf6c7c315 100644 --- a/plotly/validators/scatterpolargl/_dr.py +++ b/plotly/validators/scatterpolargl/_dr.py @@ -9,7 +9,7 @@ def __init__( super(DrValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_dtheta.py b/plotly/validators/scatterpolargl/_dtheta.py index f3edae560a9..14fe2756b7c 100644 --- a/plotly/validators/scatterpolargl/_dtheta.py +++ b/plotly/validators/scatterpolargl/_dtheta.py @@ -9,7 +9,7 @@ def __init__( super(DthetaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_fill.py b/plotly/validators/scatterpolargl/_fill.py index 2de6eb4fcfa..181de12f6e1 100644 --- a/plotly/validators/scatterpolargl/_fill.py +++ b/plotly/validators/scatterpolargl/_fill.py @@ -9,11 +9,13 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx', 'toself', - 'tonext' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx', + 'toself', 'tonext' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_fillcolor.py b/plotly/validators/scatterpolargl/_fillcolor.py index f1492884ae9..1a597945211 100644 --- a/plotly/validators/scatterpolargl/_fillcolor.py +++ b/plotly/validators/scatterpolargl/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_hoverinfo.py b/plotly/validators/scatterpolargl/_hoverinfo.py index 238299d25fa..d48e30f45e2 100644 --- a/plotly/validators/scatterpolargl/_hoverinfo.py +++ b/plotly/validators/scatterpolargl/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['r', 'theta', 'text', 'name', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['r', 'theta', 'text', 'name', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_hoverinfosrc.py b/plotly/validators/scatterpolargl/_hoverinfosrc.py index 1bb1979425c..dfeeae0093f 100644 --- a/plotly/validators/scatterpolargl/_hoverinfosrc.py +++ b/plotly/validators/scatterpolargl/_hoverinfosrc.py @@ -12,7 +12,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_hoverlabel.py b/plotly/validators/scatterpolargl/_hoverlabel.py index 9c2d5de34d0..9b636972248 100644 --- a/plotly/validators/scatterpolargl/_hoverlabel.py +++ b/plotly/validators/scatterpolargl/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_hovertext.py b/plotly/validators/scatterpolargl/_hovertext.py index ac6b08eaec8..26bc34af4c3 100644 --- a/plotly/validators/scatterpolargl/_hovertext.py +++ b/plotly/validators/scatterpolargl/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_hovertextsrc.py b/plotly/validators/scatterpolargl/_hovertextsrc.py index 437861ffd9c..4c64a050c7d 100644 --- a/plotly/validators/scatterpolargl/_hovertextsrc.py +++ b/plotly/validators/scatterpolargl/_hovertextsrc.py @@ -12,7 +12,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_ids.py b/plotly/validators/scatterpolargl/_ids.py index 29c7c12b2c9..d879ce13d78 100644 --- a/plotly/validators/scatterpolargl/_ids.py +++ b/plotly/validators/scatterpolargl/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_idssrc.py b/plotly/validators/scatterpolargl/_idssrc.py index b53f9b199ee..3fd64f99583 100644 --- a/plotly/validators/scatterpolargl/_idssrc.py +++ b/plotly/validators/scatterpolargl/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_legendgroup.py b/plotly/validators/scatterpolargl/_legendgroup.py index d2d4a2ba406..0f1e8088294 100644 --- a/plotly/validators/scatterpolargl/_legendgroup.py +++ b/plotly/validators/scatterpolargl/_legendgroup.py @@ -12,7 +12,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_line.py b/plotly/validators/scatterpolargl/_line.py index b5c0e91d256..9a7f84f99a3 100644 --- a/plotly/validators/scatterpolargl/_line.py +++ b/plotly/validators/scatterpolargl/_line.py @@ -9,14 +9,16 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash Sets the style of the lines. width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_marker.py b/plotly/validators/scatterpolargl/_marker.py index 334d7b0f02a..61f64d55125 100644 --- a/plotly/validators/scatterpolargl/_marker.py +++ b/plotly/validators/scatterpolargl/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -116,6 +117,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_mode.py b/plotly/validators/scatterpolargl/_mode.py index 758599be50c..bb7447d2d7a 100644 --- a/plotly/validators/scatterpolargl/_mode.py +++ b/plotly/validators/scatterpolargl/_mode.py @@ -9,9 +9,9 @@ def __init__( super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_name.py b/plotly/validators/scatterpolargl/_name.py index 5d67f0fe0dd..efd363246da 100644 --- a/plotly/validators/scatterpolargl/_name.py +++ b/plotly/validators/scatterpolargl/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_opacity.py b/plotly/validators/scatterpolargl/_opacity.py index aaffae0feb7..88513302b0d 100644 --- a/plotly/validators/scatterpolargl/_opacity.py +++ b/plotly/validators/scatterpolargl/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_r.py b/plotly/validators/scatterpolargl/_r.py index 41113216823..313dd8f1f03 100644 --- a/plotly/validators/scatterpolargl/_r.py +++ b/plotly/validators/scatterpolargl/_r.py @@ -9,7 +9,7 @@ def __init__( super(RValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_r0.py b/plotly/validators/scatterpolargl/_r0.py index 8c87dc58484..3eef28bcb78 100644 --- a/plotly/validators/scatterpolargl/_r0.py +++ b/plotly/validators/scatterpolargl/_r0.py @@ -9,7 +9,7 @@ def __init__( super(R0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_rsrc.py b/plotly/validators/scatterpolargl/_rsrc.py index 096476a0471..84e1d13a4ae 100644 --- a/plotly/validators/scatterpolargl/_rsrc.py +++ b/plotly/validators/scatterpolargl/_rsrc.py @@ -9,7 +9,7 @@ def __init__( super(RsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_selected.py b/plotly/validators/scatterpolargl/_selected.py index 88eadb63a5a..8b8347d17c1 100644 --- a/plotly/validators/scatterpolargl/_selected.py +++ b/plotly/validators/scatterpolargl/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatterpolargl.selected.Marke r instance or dict with compatible properties textfont plotly.graph_objs.scatterpolargl.selected.Textf ont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_selectedpoints.py b/plotly/validators/scatterpolargl/_selectedpoints.py index a1a26ca00db..17244708279 100644 --- a/plotly/validators/scatterpolargl/_selectedpoints.py +++ b/plotly/validators/scatterpolargl/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_showlegend.py b/plotly/validators/scatterpolargl/_showlegend.py index 3a6a6697f42..e88b27f113b 100644 --- a/plotly/validators/scatterpolargl/_showlegend.py +++ b/plotly/validators/scatterpolargl/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_stream.py b/plotly/validators/scatterpolargl/_stream.py index 16dea92445e..97217364743 100644 --- a/plotly/validators/scatterpolargl/_stream.py +++ b/plotly/validators/scatterpolargl/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_subplot.py b/plotly/validators/scatterpolargl/_subplot.py index 9283a3c57f5..bf4c958ed18 100644 --- a/plotly/validators/scatterpolargl/_subplot.py +++ b/plotly/validators/scatterpolargl/_subplot.py @@ -9,8 +9,8 @@ def __init__( super(SubplotValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='polar', - edit_type='calc', - role='info', + dflt=kwargs.pop('dflt', 'polar'), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_text.py b/plotly/validators/scatterpolargl/_text.py index 62c5fd4af45..e3fa2517bf0 100644 --- a/plotly/validators/scatterpolargl/_text.py +++ b/plotly/validators/scatterpolargl/_text.py @@ -9,8 +9,8 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_textfont.py b/plotly/validators/scatterpolargl/_textfont.py index 2f9bc6a3de3..351aec1509a 100644 --- a/plotly/validators/scatterpolargl/_textfont.py +++ b/plotly/validators/scatterpolargl/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_textposition.py b/plotly/validators/scatterpolargl/_textposition.py index 3fa7c5ff8de..1235317d42a 100644 --- a/plotly/validators/scatterpolargl/_textposition.py +++ b/plotly/validators/scatterpolargl/_textposition.py @@ -12,13 +12,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_textpositionsrc.py b/plotly/validators/scatterpolargl/_textpositionsrc.py index f4ea24f1b38..13ce37a7514 100644 --- a/plotly/validators/scatterpolargl/_textpositionsrc.py +++ b/plotly/validators/scatterpolargl/_textpositionsrc.py @@ -12,7 +12,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_textsrc.py b/plotly/validators/scatterpolargl/_textsrc.py index e80da922d75..1208acd35e5 100644 --- a/plotly/validators/scatterpolargl/_textsrc.py +++ b/plotly/validators/scatterpolargl/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_theta.py b/plotly/validators/scatterpolargl/_theta.py index dcf3d5ea62d..61c6e41534c 100644 --- a/plotly/validators/scatterpolargl/_theta.py +++ b/plotly/validators/scatterpolargl/_theta.py @@ -9,7 +9,7 @@ def __init__( super(ThetaValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_theta0.py b/plotly/validators/scatterpolargl/_theta0.py index fa5660c6b61..6d552f9fe15 100644 --- a/plotly/validators/scatterpolargl/_theta0.py +++ b/plotly/validators/scatterpolargl/_theta0.py @@ -9,7 +9,7 @@ def __init__( super(Theta0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_thetasrc.py b/plotly/validators/scatterpolargl/_thetasrc.py index 19e4a3eb467..f8027a2de7a 100644 --- a/plotly/validators/scatterpolargl/_thetasrc.py +++ b/plotly/validators/scatterpolargl/_thetasrc.py @@ -9,7 +9,7 @@ def __init__( super(ThetasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_thetaunit.py b/plotly/validators/scatterpolargl/_thetaunit.py index cf4b06c6f21..41f2896b36f 100644 --- a/plotly/validators/scatterpolargl/_thetaunit.py +++ b/plotly/validators/scatterpolargl/_thetaunit.py @@ -9,8 +9,8 @@ def __init__( super(ThetaunitValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['radians', 'degrees', 'gradians'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['radians', 'degrees', 'gradians']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_uid.py b/plotly/validators/scatterpolargl/_uid.py index a8df29241f1..28a56d2f62f 100644 --- a/plotly/validators/scatterpolargl/_uid.py +++ b/plotly/validators/scatterpolargl/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_unselected.py b/plotly/validators/scatterpolargl/_unselected.py index b7f2b364f6e..749af25d8d9 100644 --- a/plotly/validators/scatterpolargl/_unselected.py +++ b/plotly/validators/scatterpolargl/_unselected.py @@ -9,8 +9,9 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatterpolargl.unselected.Mar ker instance or dict with compatible properties @@ -18,6 +19,7 @@ def __init__( plotly.graph_objs.scatterpolargl.unselected.Tex tfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/_visible.py b/plotly/validators/scatterpolargl/_visible.py index 1bdc0f544ae..5794b1f2b6a 100644 --- a/plotly/validators/scatterpolargl/_visible.py +++ b/plotly/validators/scatterpolargl/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_bgcolor.py b/plotly/validators/scatterpolargl/hoverlabel/_bgcolor.py index 05e9c681d8a..2260dbd44c3 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_bgcolor.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_bgcolorsrc.py b/plotly/validators/scatterpolargl/hoverlabel/_bgcolorsrc.py index 4b3b17b44c2..2ee151e3cde 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_bordercolor.py b/plotly/validators/scatterpolargl/hoverlabel/_bordercolor.py index 0a29cdf6286..b5826fd9025 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_bordercolor.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_bordercolorsrc.py b/plotly/validators/scatterpolargl/hoverlabel/_bordercolorsrc.py index 9829f9ded11..d8386968f9c 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_font.py b/plotly/validators/scatterpolargl/hoverlabel/_font.py index 0c4604be329..f5961ed4bf5 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_font.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_namelength.py b/plotly/validators/scatterpolargl/hoverlabel/_namelength.py index 26a88cc2eb3..c2f00584472 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_namelength.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/_namelengthsrc.py b/plotly/validators/scatterpolargl/hoverlabel/_namelengthsrc.py index 3f1a8bd554f..cea87abaa62 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scatterpolargl/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/font/_color.py b/plotly/validators/scatterpolargl/hoverlabel/font/_color.py index fcc0ea4494a..5fdac48950f 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/font/_color.py +++ b/plotly/validators/scatterpolargl/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/font/_colorsrc.py b/plotly/validators/scatterpolargl/hoverlabel/font/_colorsrc.py index cb2f8600fd4..c0e7578f1d9 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scatterpolargl/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/font/_family.py b/plotly/validators/scatterpolargl/hoverlabel/font/_family.py index 45785d3b02b..5f735e44b22 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/font/_family.py +++ b/plotly/validators/scatterpolargl/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/font/_familysrc.py b/plotly/validators/scatterpolargl/hoverlabel/font/_familysrc.py index bcc8bcac2db..0e1b23046dd 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scatterpolargl/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/font/_size.py b/plotly/validators/scatterpolargl/hoverlabel/font/_size.py index 3a0af237c87..1bf6a0ed8e3 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/font/_size.py +++ b/plotly/validators/scatterpolargl/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/hoverlabel/font/_sizesrc.py b/plotly/validators/scatterpolargl/hoverlabel/font/_sizesrc.py index 07b0c087f24..e2ece8862ce 100644 --- a/plotly/validators/scatterpolargl/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scatterpolargl/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/line/_color.py b/plotly/validators/scatterpolargl/line/_color.py index ec116df40d2..0f756a6e38b 100644 --- a/plotly/validators/scatterpolargl/line/_color.py +++ b/plotly/validators/scatterpolargl/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/line/_dash.py b/plotly/validators/scatterpolargl/line/_dash.py index 24fd0169616..10292ede237 100644 --- a/plotly/validators/scatterpolargl/line/_dash.py +++ b/plotly/validators/scatterpolargl/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/line/_width.py b/plotly/validators/scatterpolargl/line/_width.py index 56fea27fc55..f02198a876b 100644 --- a/plotly/validators/scatterpolargl/line/_width.py +++ b/plotly/validators/scatterpolargl/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_autocolorscale.py b/plotly/validators/scatterpolargl/marker/_autocolorscale.py index 8897887220e..32f34bc24f5 100644 --- a/plotly/validators/scatterpolargl/marker/_autocolorscale.py +++ b/plotly/validators/scatterpolargl/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_cauto.py b/plotly/validators/scatterpolargl/marker/_cauto.py index 1a613d5fc8c..89eb97d6d33 100644 --- a/plotly/validators/scatterpolargl/marker/_cauto.py +++ b/plotly/validators/scatterpolargl/marker/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_cmax.py b/plotly/validators/scatterpolargl/marker/_cmax.py index 633efe48205..f04ea8a51e0 100644 --- a/plotly/validators/scatterpolargl/marker/_cmax.py +++ b/plotly/validators/scatterpolargl/marker/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_cmin.py b/plotly/validators/scatterpolargl/marker/_cmin.py index bda52165a33..ed807b78b3e 100644 --- a/plotly/validators/scatterpolargl/marker/_cmin.py +++ b/plotly/validators/scatterpolargl/marker/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_color.py b/plotly/validators/scatterpolargl/marker/_color.py index 4cfc58b7a0c..465dd5b84a8 100644 --- a/plotly/validators/scatterpolargl/marker/_color.py +++ b/plotly/validators/scatterpolargl/marker/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scatterpolargl.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatterpolargl.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_colorbar.py b/plotly/validators/scatterpolargl/marker/_colorbar.py index 5808343c69f..f392aa5bc6d 100644 --- a/plotly/validators/scatterpolargl/marker/_colorbar.py +++ b/plotly/validators/scatterpolargl/marker/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_colorscale.py b/plotly/validators/scatterpolargl/marker/_colorscale.py index 8bca8aa538c..1100326c1fd 100644 --- a/plotly/validators/scatterpolargl/marker/_colorscale.py +++ b/plotly/validators/scatterpolargl/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_colorsrc.py b/plotly/validators/scatterpolargl/marker/_colorsrc.py index 21f1c852a77..5c157391755 100644 --- a/plotly/validators/scatterpolargl/marker/_colorsrc.py +++ b/plotly/validators/scatterpolargl/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_line.py b/plotly/validators/scatterpolargl/marker/_line.py index 47c8c0ad419..94840d3c9dc 100644 --- a/plotly/validators/scatterpolargl/marker/_line.py +++ b/plotly/validators/scatterpolargl/marker/_line.py @@ -12,8 +12,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -84,6 +85,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_opacity.py b/plotly/validators/scatterpolargl/marker/_opacity.py index 516075baa04..dba74d5be25 100644 --- a/plotly/validators/scatterpolargl/marker/_opacity.py +++ b/plotly/validators/scatterpolargl/marker/_opacity.py @@ -12,10 +12,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_opacitysrc.py b/plotly/validators/scatterpolargl/marker/_opacitysrc.py index f78032b4249..f052a5576fb 100644 --- a/plotly/validators/scatterpolargl/marker/_opacitysrc.py +++ b/plotly/validators/scatterpolargl/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_reversescale.py b/plotly/validators/scatterpolargl/marker/_reversescale.py index 8af0be23d54..bbc431932a3 100644 --- a/plotly/validators/scatterpolargl/marker/_reversescale.py +++ b/plotly/validators/scatterpolargl/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_showscale.py b/plotly/validators/scatterpolargl/marker/_showscale.py index d6bf4541c89..475ac05c8a9 100644 --- a/plotly/validators/scatterpolargl/marker/_showscale.py +++ b/plotly/validators/scatterpolargl/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_size.py b/plotly/validators/scatterpolargl/marker/_size.py index 967db938796..207891b3106 100644 --- a/plotly/validators/scatterpolargl/marker/_size.py +++ b/plotly/validators/scatterpolargl/marker/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_sizemin.py b/plotly/validators/scatterpolargl/marker/_sizemin.py index fb0c0a06473..195f46cfac0 100644 --- a/plotly/validators/scatterpolargl/marker/_sizemin.py +++ b/plotly/validators/scatterpolargl/marker/_sizemin.py @@ -12,8 +12,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_sizemode.py b/plotly/validators/scatterpolargl/marker/_sizemode.py index 98fb0fd054c..3e84c39c528 100644 --- a/plotly/validators/scatterpolargl/marker/_sizemode.py +++ b/plotly/validators/scatterpolargl/marker/_sizemode.py @@ -12,8 +12,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_sizeref.py b/plotly/validators/scatterpolargl/marker/_sizeref.py index 0a4e2f9af80..2e2fa87e4c1 100644 --- a/plotly/validators/scatterpolargl/marker/_sizeref.py +++ b/plotly/validators/scatterpolargl/marker/_sizeref.py @@ -12,7 +12,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_sizesrc.py b/plotly/validators/scatterpolargl/marker/_sizesrc.py index 79f78b9ab11..e6c98c12233 100644 --- a/plotly/validators/scatterpolargl/marker/_sizesrc.py +++ b/plotly/validators/scatterpolargl/marker/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_symbol.py b/plotly/validators/scatterpolargl/marker/_symbol.py index 47e8d30052a..faf46652f83 100644 --- a/plotly/validators/scatterpolargl/marker/_symbol.py +++ b/plotly/validators/scatterpolargl/marker/_symbol.py @@ -12,66 +12,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/_symbolsrc.py b/plotly/validators/scatterpolargl/marker/_symbolsrc.py index b314fe4b052..b645828ea68 100644 --- a/plotly/validators/scatterpolargl/marker/_symbolsrc.py +++ b/plotly/validators/scatterpolargl/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_bgcolor.py b/plotly/validators/scatterpolargl/marker/colorbar/_bgcolor.py index 3a617cb39fa..93fc03fea81 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_bordercolor.py b/plotly/validators/scatterpolargl/marker/colorbar/_bordercolor.py index 94e85bbbd62..73434298116 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_borderwidth.py b/plotly/validators/scatterpolargl/marker/colorbar/_borderwidth.py index 7678285c417..9f02008c416 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_dtick.py b/plotly/validators/scatterpolargl/marker/colorbar/_dtick.py index c77c2d6c03b..af66f3b3255 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_dtick.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_exponentformat.py b/plotly/validators/scatterpolargl/marker/colorbar/_exponentformat.py index ecf5a13995d..69931bb2a16 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_len.py b/plotly/validators/scatterpolargl/marker/colorbar/_len.py index 2d0b1d80b9d..4f2a0cada84 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_len.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_lenmode.py b/plotly/validators/scatterpolargl/marker/colorbar/_lenmode.py index f16cf5976c2..36d9e4c0595 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_lenmode.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_nticks.py b/plotly/validators/scatterpolargl/marker/colorbar/_nticks.py index 57c68a540b5..f256b685131 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_nticks.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_outlinecolor.py b/plotly/validators/scatterpolargl/marker/colorbar/_outlinecolor.py index 2ae76978431..d21d441710f 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_outlinewidth.py b/plotly/validators/scatterpolargl/marker/colorbar/_outlinewidth.py index 49c0b57072d..3c0cd43eea1 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_separatethousands.py b/plotly/validators/scatterpolargl/marker/colorbar/_separatethousands.py index 4337d0d4ce3..338529eb832 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_showexponent.py b/plotly/validators/scatterpolargl/marker/colorbar/_showexponent.py index cfe9a4cf612..bf0547267bf 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_showexponent.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_showticklabels.py b/plotly/validators/scatterpolargl/marker/colorbar/_showticklabels.py index 327a0be566d..5f79e8394aa 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_showtickprefix.py b/plotly/validators/scatterpolargl/marker/colorbar/_showtickprefix.py index 4bc3457995f..00c5898f0b3 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_showticksuffix.py b/plotly/validators/scatterpolargl/marker/colorbar/_showticksuffix.py index 377e30b87a7..4fb73cfbe69 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_thickness.py b/plotly/validators/scatterpolargl/marker/colorbar/_thickness.py index 6abca0525e3..0f318eeb3ac 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_thickness.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_thicknessmode.py b/plotly/validators/scatterpolargl/marker/colorbar/_thicknessmode.py index 04cb0917dee..c5c4ca0e188 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tick0.py b/plotly/validators/scatterpolargl/marker/colorbar/_tick0.py index 42c0895d6bd..da3a85badbd 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tick0.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickangle.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickangle.py index 18234d52671..ae0239bdaf4 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickangle.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickcolor.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickcolor.py index df9b041d08c..a5287fbd171 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickfont.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickfont.py index ad8afd301f3..e078d1cf5d6 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickfont.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickformat.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickformat.py index c60353144c7..3d16bb0fc05 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickformat.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickformatstops.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickformatstops.py index 4a62ed6dbf5..9907b9bc5b4 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_ticklen.py b/plotly/validators/scatterpolargl/marker/colorbar/_ticklen.py index 0efe35aa48b..b415fb592de 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_ticklen.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickmode.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickmode.py index 3d66b45e8dc..7a1049cfa96 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickmode.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickprefix.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickprefix.py index 4386a328656..827b8567183 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_ticks.py b/plotly/validators/scatterpolargl/marker/colorbar/_ticks.py index cbb3d62ea4f..1d628a0608f 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_ticks.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_ticksuffix.py b/plotly/validators/scatterpolargl/marker/colorbar/_ticksuffix.py index 0896976839c..3fb71544619 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_ticktext.py b/plotly/validators/scatterpolargl/marker/colorbar/_ticktext.py index 73bb87a0d94..281a69fc6a9 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_ticktext.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_ticktextsrc.py b/plotly/validators/scatterpolargl/marker/colorbar/_ticktextsrc.py index 4a5ab9bac8f..be79cd4437e 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickvals.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickvals.py index 330620a6d1c..a6746f03f05 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickvals.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickvalssrc.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickvalssrc.py index d802d71ff08..63b4ba5c52f 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_tickwidth.py b/plotly/validators/scatterpolargl/marker/colorbar/_tickwidth.py index 53ee4c9f6b7..1643d060902 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_title.py b/plotly/validators/scatterpolargl/marker/colorbar/_title.py index 6271a639a0c..5b7fcf588cf 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_title.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_titlefont.py b/plotly/validators/scatterpolargl/marker/colorbar/_titlefont.py index 3551bce30e3..b0bece04ef1 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_titlefont.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_titleside.py b/plotly/validators/scatterpolargl/marker/colorbar/_titleside.py index c1be1f50127..cd2581ca751 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_titleside.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_x.py b/plotly/validators/scatterpolargl/marker/colorbar/_x.py index 5c4632544a6..ded01955341 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_x.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_xanchor.py b/plotly/validators/scatterpolargl/marker/colorbar/_xanchor.py index 4ff328ed62e..e6144231e19 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_xanchor.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_xpad.py b/plotly/validators/scatterpolargl/marker/colorbar/_xpad.py index 2ed828f119d..cb9b0c7931f 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_xpad.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_y.py b/plotly/validators/scatterpolargl/marker/colorbar/_y.py index 27ca4e18d87..d291bd7743b 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_y.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_yanchor.py b/plotly/validators/scatterpolargl/marker/colorbar/_yanchor.py index 1a6aadfd9f3..e58aea71acf 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_yanchor.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/_ypad.py b/plotly/validators/scatterpolargl/marker/colorbar/_ypad.py index 1c074bcd915..6a0502fd938 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/_ypad.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_color.py b/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_color.py index 12b5b39f878..b129abc88ca 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_family.py b/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_family.py index a3b4b17e633..e205a389b5d 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_size.py b/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_size.py index cd8b2dd830b..975a5b66a0a 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_dtickrange.py index 861977553f4..9af4b5e8832 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_enabled.py index d8bf7053a2a..28946c1b94e 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_name.py index f1a9cceec33..1c5e5e5ffac 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_templateitemname.py index 7f2c3aa9cd1..3aca0890a4c 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_value.py index 3b611c3cbc9..c205922c084 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_color.py b/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_color.py index ba93f7ccdde..70f54a3969c 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_family.py b/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_family.py index da6f416420e..6b5c0fcd1e1 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_size.py b/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_size.py index b90114547ac..7779ea5cf36 100644 --- a/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scatterpolargl/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_autocolorscale.py b/plotly/validators/scatterpolargl/marker/line/_autocolorscale.py index 34ac44c9b1c..c7b1018ee25 100644 --- a/plotly/validators/scatterpolargl/marker/line/_autocolorscale.py +++ b/plotly/validators/scatterpolargl/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_cauto.py b/plotly/validators/scatterpolargl/marker/line/_cauto.py index 77df469a02f..b096a94ac24 100644 --- a/plotly/validators/scatterpolargl/marker/line/_cauto.py +++ b/plotly/validators/scatterpolargl/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_cmax.py b/plotly/validators/scatterpolargl/marker/line/_cmax.py index 80396d44e54..d060f403965 100644 --- a/plotly/validators/scatterpolargl/marker/line/_cmax.py +++ b/plotly/validators/scatterpolargl/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_cmin.py b/plotly/validators/scatterpolargl/marker/line/_cmin.py index 7c4f20cbc7a..84938e90448 100644 --- a/plotly/validators/scatterpolargl/marker/line/_cmin.py +++ b/plotly/validators/scatterpolargl/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_color.py b/plotly/validators/scatterpolargl/marker/line/_color.py index 269ddc21d17..9d6215acba5 100644 --- a/plotly/validators/scatterpolargl/marker/line/_color.py +++ b/plotly/validators/scatterpolargl/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='scatterpolargl.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatterpolargl.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_colorscale.py b/plotly/validators/scatterpolargl/marker/line/_colorscale.py index c667d672a64..e64fb33afe0 100644 --- a/plotly/validators/scatterpolargl/marker/line/_colorscale.py +++ b/plotly/validators/scatterpolargl/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_colorsrc.py b/plotly/validators/scatterpolargl/marker/line/_colorsrc.py index c72e35de4d0..5ea0d4a3f25 100644 --- a/plotly/validators/scatterpolargl/marker/line/_colorsrc.py +++ b/plotly/validators/scatterpolargl/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_reversescale.py b/plotly/validators/scatterpolargl/marker/line/_reversescale.py index 3add7133b3b..82c0da59d72 100644 --- a/plotly/validators/scatterpolargl/marker/line/_reversescale.py +++ b/plotly/validators/scatterpolargl/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_width.py b/plotly/validators/scatterpolargl/marker/line/_width.py index 53d7643b86a..33686bd5f6d 100644 --- a/plotly/validators/scatterpolargl/marker/line/_width.py +++ b/plotly/validators/scatterpolargl/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/marker/line/_widthsrc.py b/plotly/validators/scatterpolargl/marker/line/_widthsrc.py index d00d4054a3f..c3897e122e2 100644 --- a/plotly/validators/scatterpolargl/marker/line/_widthsrc.py +++ b/plotly/validators/scatterpolargl/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/selected/_marker.py b/plotly/validators/scatterpolargl/selected/_marker.py index 6ef3dbb50cd..fb10661979e 100644 --- a/plotly/validators/scatterpolargl/selected/_marker.py +++ b/plotly/validators/scatterpolargl/selected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/selected/_textfont.py b/plotly/validators/scatterpolargl/selected/_textfont.py index 04e722f8887..a7a987f3a62 100644 --- a/plotly/validators/scatterpolargl/selected/_textfont.py +++ b/plotly/validators/scatterpolargl/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/selected/marker/_color.py b/plotly/validators/scatterpolargl/selected/marker/_color.py index 5fa4576f6ea..3c140316a67 100644 --- a/plotly/validators/scatterpolargl/selected/marker/_color.py +++ b/plotly/validators/scatterpolargl/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/selected/marker/_opacity.py b/plotly/validators/scatterpolargl/selected/marker/_opacity.py index c39fe3526ec..9570498ca42 100644 --- a/plotly/validators/scatterpolargl/selected/marker/_opacity.py +++ b/plotly/validators/scatterpolargl/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/selected/marker/_size.py b/plotly/validators/scatterpolargl/selected/marker/_size.py index 3e04b38e1d6..fe1f5c68b06 100644 --- a/plotly/validators/scatterpolargl/selected/marker/_size.py +++ b/plotly/validators/scatterpolargl/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/selected/textfont/_color.py b/plotly/validators/scatterpolargl/selected/textfont/_color.py index 89def0a84f3..44e5734452c 100644 --- a/plotly/validators/scatterpolargl/selected/textfont/_color.py +++ b/plotly/validators/scatterpolargl/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/stream/_maxpoints.py b/plotly/validators/scatterpolargl/stream/_maxpoints.py index 009ecf7655b..50dd969ba7d 100644 --- a/plotly/validators/scatterpolargl/stream/_maxpoints.py +++ b/plotly/validators/scatterpolargl/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/stream/_token.py b/plotly/validators/scatterpolargl/stream/_token.py index bdd6ddf5ff2..d73828089ed 100644 --- a/plotly/validators/scatterpolargl/stream/_token.py +++ b/plotly/validators/scatterpolargl/stream/_token.py @@ -12,9 +12,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolargl/textfont/_color.py b/plotly/validators/scatterpolargl/textfont/_color.py index f4b0233be69..18d36299930 100644 --- a/plotly/validators/scatterpolargl/textfont/_color.py +++ b/plotly/validators/scatterpolargl/textfont/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/textfont/_colorsrc.py b/plotly/validators/scatterpolargl/textfont/_colorsrc.py index 71b69d4c522..01a9ee78e75 100644 --- a/plotly/validators/scatterpolargl/textfont/_colorsrc.py +++ b/plotly/validators/scatterpolargl/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/textfont/_family.py b/plotly/validators/scatterpolargl/textfont/_family.py index 13b0b375760..0eb42b48f72 100644 --- a/plotly/validators/scatterpolargl/textfont/_family.py +++ b/plotly/validators/scatterpolargl/textfont/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterpolargl/textfont/_familysrc.py b/plotly/validators/scatterpolargl/textfont/_familysrc.py index 869ac1f298b..bcb851f1bd5 100644 --- a/plotly/validators/scatterpolargl/textfont/_familysrc.py +++ b/plotly/validators/scatterpolargl/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/textfont/_size.py b/plotly/validators/scatterpolargl/textfont/_size.py index eca82140df5..841d0b2a797 100644 --- a/plotly/validators/scatterpolargl/textfont/_size.py +++ b/plotly/validators/scatterpolargl/textfont/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/textfont/_sizesrc.py b/plotly/validators/scatterpolargl/textfont/_sizesrc.py index c6a5365b94a..be2960295e2 100644 --- a/plotly/validators/scatterpolargl/textfont/_sizesrc.py +++ b/plotly/validators/scatterpolargl/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/unselected/_marker.py b/plotly/validators/scatterpolargl/unselected/_marker.py index f310baf2603..51b53eece70 100644 --- a/plotly/validators/scatterpolargl/unselected/_marker.py +++ b/plotly/validators/scatterpolargl/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/unselected/_textfont.py b/plotly/validators/scatterpolargl/unselected/_textfont.py index 6d9c35acebe..ecb4e44568d 100644 --- a/plotly/validators/scatterpolargl/unselected/_textfont.py +++ b/plotly/validators/scatterpolargl/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterpolargl/unselected/marker/_color.py b/plotly/validators/scatterpolargl/unselected/marker/_color.py index 92a980fc2a5..0bcca64a060 100644 --- a/plotly/validators/scatterpolargl/unselected/marker/_color.py +++ b/plotly/validators/scatterpolargl/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/unselected/marker/_opacity.py b/plotly/validators/scatterpolargl/unselected/marker/_opacity.py index 3cb2d6a2455..45186900712 100644 --- a/plotly/validators/scatterpolargl/unselected/marker/_opacity.py +++ b/plotly/validators/scatterpolargl/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/unselected/marker/_size.py b/plotly/validators/scatterpolargl/unselected/marker/_size.py index e99c33326e0..4698bd86327 100644 --- a/plotly/validators/scatterpolargl/unselected/marker/_size.py +++ b/plotly/validators/scatterpolargl/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterpolargl/unselected/textfont/_color.py b/plotly/validators/scatterpolargl/unselected/textfont/_color.py index 162f0e8ff7b..03a34a66b76 100644 --- a/plotly/validators/scatterpolargl/unselected/textfont/_color.py +++ b/plotly/validators/scatterpolargl/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/_a.py b/plotly/validators/scatterternary/_a.py index 4e1e40c1d56..3c2ae57aa23 100644 --- a/plotly/validators/scatterternary/_a.py +++ b/plotly/validators/scatterternary/_a.py @@ -9,7 +9,7 @@ def __init__( super(AValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/_asrc.py b/plotly/validators/scatterternary/_asrc.py index 85e71e5f1a4..0c40799349b 100644 --- a/plotly/validators/scatterternary/_asrc.py +++ b/plotly/validators/scatterternary/_asrc.py @@ -9,7 +9,7 @@ def __init__( super(AsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_b.py b/plotly/validators/scatterternary/_b.py index 205a933f227..31d232c3e69 100644 --- a/plotly/validators/scatterternary/_b.py +++ b/plotly/validators/scatterternary/_b.py @@ -9,7 +9,7 @@ def __init__( super(BValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/_bsrc.py b/plotly/validators/scatterternary/_bsrc.py index 316f786bd92..1263e8a7fa8 100644 --- a/plotly/validators/scatterternary/_bsrc.py +++ b/plotly/validators/scatterternary/_bsrc.py @@ -9,7 +9,7 @@ def __init__( super(BsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_c.py b/plotly/validators/scatterternary/_c.py index 8ffddb7ef20..f1938402ac1 100644 --- a/plotly/validators/scatterternary/_c.py +++ b/plotly/validators/scatterternary/_c.py @@ -9,7 +9,7 @@ def __init__( super(CValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/_cliponaxis.py b/plotly/validators/scatterternary/_cliponaxis.py index d52478d5b00..3a8514c9ee7 100644 --- a/plotly/validators/scatterternary/_cliponaxis.py +++ b/plotly/validators/scatterternary/_cliponaxis.py @@ -9,7 +9,7 @@ def __init__( super(CliponaxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_connectgaps.py b/plotly/validators/scatterternary/_connectgaps.py index 82c2f78fae4..658bf047fdf 100644 --- a/plotly/validators/scatterternary/_connectgaps.py +++ b/plotly/validators/scatterternary/_connectgaps.py @@ -12,7 +12,7 @@ def __init__( super(ConnectgapsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_csrc.py b/plotly/validators/scatterternary/_csrc.py index 6cf28bb644e..56581a5151b 100644 --- a/plotly/validators/scatterternary/_csrc.py +++ b/plotly/validators/scatterternary/_csrc.py @@ -9,7 +9,7 @@ def __init__( super(CsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_customdata.py b/plotly/validators/scatterternary/_customdata.py index 2c27b1be5b1..4e15fb79469 100644 --- a/plotly/validators/scatterternary/_customdata.py +++ b/plotly/validators/scatterternary/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/_customdatasrc.py b/plotly/validators/scatterternary/_customdatasrc.py index 8aafd32939f..3912205fccc 100644 --- a/plotly/validators/scatterternary/_customdatasrc.py +++ b/plotly/validators/scatterternary/_customdatasrc.py @@ -12,7 +12,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_fill.py b/plotly/validators/scatterternary/_fill.py index 5a234d8c3b6..8b37b3c8ac9 100644 --- a/plotly/validators/scatterternary/_fill.py +++ b/plotly/validators/scatterternary/_fill.py @@ -9,8 +9,8 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'toself', 'tonext'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['none', 'toself', 'tonext']), **kwargs ) diff --git a/plotly/validators/scatterternary/_fillcolor.py b/plotly/validators/scatterternary/_fillcolor.py index f7360083f0e..87f0f59a68e 100644 --- a/plotly/validators/scatterternary/_fillcolor.py +++ b/plotly/validators/scatterternary/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/_hoverinfo.py b/plotly/validators/scatterternary/_hoverinfo.py index fa3be03f66b..2def79cec88 100644 --- a/plotly/validators/scatterternary/_hoverinfo.py +++ b/plotly/validators/scatterternary/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['a', 'b', 'c', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['a', 'b', 'c', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_hoverinfosrc.py b/plotly/validators/scatterternary/_hoverinfosrc.py index 92a52e07f3b..cdfdc90559e 100644 --- a/plotly/validators/scatterternary/_hoverinfosrc.py +++ b/plotly/validators/scatterternary/_hoverinfosrc.py @@ -12,7 +12,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_hoverlabel.py b/plotly/validators/scatterternary/_hoverlabel.py index 4e27e438da4..2c9baeba350 100644 --- a/plotly/validators/scatterternary/_hoverlabel.py +++ b/plotly/validators/scatterternary/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_hoveron.py b/plotly/validators/scatterternary/_hoveron.py index a476c49c2cc..8a053f6f952 100644 --- a/plotly/validators/scatterternary/_hoveron.py +++ b/plotly/validators/scatterternary/_hoveron.py @@ -9,8 +9,8 @@ def __init__( super(HoveronValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - flags=['points', 'fills'], - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + flags=kwargs.pop('flags', ['points', 'fills']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_hovertext.py b/plotly/validators/scatterternary/_hovertext.py index 1a6d4b45e67..d6be31b3d39 100644 --- a/plotly/validators/scatterternary/_hovertext.py +++ b/plotly/validators/scatterternary/_hovertext.py @@ -9,8 +9,8 @@ def __init__( super(HovertextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_hovertextsrc.py b/plotly/validators/scatterternary/_hovertextsrc.py index 47d36109486..e1ab8622397 100644 --- a/plotly/validators/scatterternary/_hovertextsrc.py +++ b/plotly/validators/scatterternary/_hovertextsrc.py @@ -12,7 +12,7 @@ def __init__( super(HovertextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_ids.py b/plotly/validators/scatterternary/_ids.py index 26046cb776d..3a67b3e6448 100644 --- a/plotly/validators/scatterternary/_ids.py +++ b/plotly/validators/scatterternary/_ids.py @@ -9,7 +9,7 @@ def __init__( super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/_idssrc.py b/plotly/validators/scatterternary/_idssrc.py index e44247ca35e..3b61b282ef5 100644 --- a/plotly/validators/scatterternary/_idssrc.py +++ b/plotly/validators/scatterternary/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_legendgroup.py b/plotly/validators/scatterternary/_legendgroup.py index 6c037fb4803..7b6908d7a79 100644 --- a/plotly/validators/scatterternary/_legendgroup.py +++ b/plotly/validators/scatterternary/_legendgroup.py @@ -12,7 +12,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_line.py b/plotly/validators/scatterternary/_line.py index fa8d43014de..2ee3eb1102c 100644 --- a/plotly/validators/scatterternary/_line.py +++ b/plotly/validators/scatterternary/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the line color. dash @@ -30,6 +31,7 @@ def __init__( "linear" shape). width Sets the line width (in px). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_marker.py b/plotly/validators/scatterternary/_marker.py index 13bbdc717b1..9b9bd35e1f4 100644 --- a/plotly/validators/scatterternary/_marker.py +++ b/plotly/validators/scatterternary/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -122,6 +123,7 @@ def __init__( symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_mode.py b/plotly/validators/scatterternary/_mode.py index e3b79ca306c..2985f90be27 100644 --- a/plotly/validators/scatterternary/_mode.py +++ b/plotly/validators/scatterternary/_mode.py @@ -9,9 +9,9 @@ def __init__( super(ModeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - extras=['none'], - flags=['lines', 'markers', 'text'], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['none']), + flags=kwargs.pop('flags', ['lines', 'markers', 'text']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_name.py b/plotly/validators/scatterternary/_name.py index be035d3bdb8..845893e4ed5 100644 --- a/plotly/validators/scatterternary/_name.py +++ b/plotly/validators/scatterternary/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_opacity.py b/plotly/validators/scatterternary/_opacity.py index 4839cf7256d..61ed1f69b23 100644 --- a/plotly/validators/scatterternary/_opacity.py +++ b/plotly/validators/scatterternary/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/_selected.py b/plotly/validators/scatterternary/_selected.py index 23de670f363..c49de421628 100644 --- a/plotly/validators/scatterternary/_selected.py +++ b/plotly/validators/scatterternary/_selected.py @@ -9,14 +9,16 @@ def __init__( super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatterternary.selected.Marke r instance or dict with compatible properties textfont plotly.graph_objs.scatterternary.selected.Textf ont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_selectedpoints.py b/plotly/validators/scatterternary/_selectedpoints.py index ff0b629443e..851eac4ae8f 100644 --- a/plotly/validators/scatterternary/_selectedpoints.py +++ b/plotly/validators/scatterternary/_selectedpoints.py @@ -12,7 +12,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_showlegend.py b/plotly/validators/scatterternary/_showlegend.py index 5fdfa249a91..c9118b90cce 100644 --- a/plotly/validators/scatterternary/_showlegend.py +++ b/plotly/validators/scatterternary/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_stream.py b/plotly/validators/scatterternary/_stream.py index a2f935490c1..8e923373769 100644 --- a/plotly/validators/scatterternary/_stream.py +++ b/plotly/validators/scatterternary/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_subplot.py b/plotly/validators/scatterternary/_subplot.py index 7b32e445ac2..549e312ae47 100644 --- a/plotly/validators/scatterternary/_subplot.py +++ b/plotly/validators/scatterternary/_subplot.py @@ -9,8 +9,8 @@ def __init__( super(SubplotValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='ternary', - edit_type='calc', - role='info', + dflt=kwargs.pop('dflt', 'ternary'), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_sum.py b/plotly/validators/scatterternary/_sum.py index bb68e64283d..c5344a81037 100644 --- a/plotly/validators/scatterternary/_sum.py +++ b/plotly/validators/scatterternary/_sum.py @@ -9,8 +9,8 @@ def __init__( super(SumValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_text.py b/plotly/validators/scatterternary/_text.py index d4eb550c557..d7170dc7c3a 100644 --- a/plotly/validators/scatterternary/_text.py +++ b/plotly/validators/scatterternary/_text.py @@ -9,8 +9,8 @@ def __init__( super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_textfont.py b/plotly/validators/scatterternary/_textfont.py index 66720b129d0..009d1e7d700 100644 --- a/plotly/validators/scatterternary/_textfont.py +++ b/plotly/validators/scatterternary/_textfont.py @@ -9,8 +9,9 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_textposition.py b/plotly/validators/scatterternary/_textposition.py index 96dac63b0cb..ee273d7f786 100644 --- a/plotly/validators/scatterternary/_textposition.py +++ b/plotly/validators/scatterternary/_textposition.py @@ -12,13 +12,15 @@ def __init__( super(TextpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 'top left', 'top center', 'top right', 'middle left', - 'middle center', 'middle right', 'bottom left', - 'bottom center', 'bottom right' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 'top left', 'top center', 'top right', 'middle left', + 'middle center', 'middle right', 'bottom left', + 'bottom center', 'bottom right' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_textpositionsrc.py b/plotly/validators/scatterternary/_textpositionsrc.py index c7391c51c28..d7d81322d42 100644 --- a/plotly/validators/scatterternary/_textpositionsrc.py +++ b/plotly/validators/scatterternary/_textpositionsrc.py @@ -12,7 +12,7 @@ def __init__( super(TextpositionsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_textsrc.py b/plotly/validators/scatterternary/_textsrc.py index 18e9c1ef615..d67f7ef3c2f 100644 --- a/plotly/validators/scatterternary/_textsrc.py +++ b/plotly/validators/scatterternary/_textsrc.py @@ -9,7 +9,7 @@ def __init__( super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_uid.py b/plotly/validators/scatterternary/_uid.py index 3042e372109..900ce51d136 100644 --- a/plotly/validators/scatterternary/_uid.py +++ b/plotly/validators/scatterternary/_uid.py @@ -9,7 +9,7 @@ def __init__( super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/_unselected.py b/plotly/validators/scatterternary/_unselected.py index acce455a319..c6ae1688a2b 100644 --- a/plotly/validators/scatterternary/_unselected.py +++ b/plotly/validators/scatterternary/_unselected.py @@ -9,8 +9,9 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.scatterternary.unselected.Mar ker instance or dict with compatible properties @@ -18,6 +19,7 @@ def __init__( plotly.graph_objs.scatterternary.unselected.Tex tfont instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/_visible.py b/plotly/validators/scatterternary/_visible.py index bbfc1bde121..087ee63c249 100644 --- a/plotly/validators/scatterternary/_visible.py +++ b/plotly/validators/scatterternary/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_bgcolor.py b/plotly/validators/scatterternary/hoverlabel/_bgcolor.py index f99c5135149..e34adc1969d 100644 --- a/plotly/validators/scatterternary/hoverlabel/_bgcolor.py +++ b/plotly/validators/scatterternary/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_bgcolorsrc.py b/plotly/validators/scatterternary/hoverlabel/_bgcolorsrc.py index ff2f7a379b1..bd376a91df0 100644 --- a/plotly/validators/scatterternary/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/scatterternary/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_bordercolor.py b/plotly/validators/scatterternary/hoverlabel/_bordercolor.py index 3f098fe3ad8..3ce8eb3bd86 100644 --- a/plotly/validators/scatterternary/hoverlabel/_bordercolor.py +++ b/plotly/validators/scatterternary/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_bordercolorsrc.py b/plotly/validators/scatterternary/hoverlabel/_bordercolorsrc.py index c2aa070c8df..62efd4290e0 100644 --- a/plotly/validators/scatterternary/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/scatterternary/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_font.py b/plotly/validators/scatterternary/hoverlabel/_font.py index 61af1782d62..93e8eaad067 100644 --- a/plotly/validators/scatterternary/hoverlabel/_font.py +++ b/plotly/validators/scatterternary/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_namelength.py b/plotly/validators/scatterternary/hoverlabel/_namelength.py index 9a55fe6f752..b98774d1716 100644 --- a/plotly/validators/scatterternary/hoverlabel/_namelength.py +++ b/plotly/validators/scatterternary/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/_namelengthsrc.py b/plotly/validators/scatterternary/hoverlabel/_namelengthsrc.py index 46b5553ec95..34e74712d3a 100644 --- a/plotly/validators/scatterternary/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/scatterternary/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/font/_color.py b/plotly/validators/scatterternary/hoverlabel/font/_color.py index 7da4133b180..f2830f658dd 100644 --- a/plotly/validators/scatterternary/hoverlabel/font/_color.py +++ b/plotly/validators/scatterternary/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/font/_colorsrc.py b/plotly/validators/scatterternary/hoverlabel/font/_colorsrc.py index 26a68793ae9..f4232f05f44 100644 --- a/plotly/validators/scatterternary/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/scatterternary/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/font/_family.py b/plotly/validators/scatterternary/hoverlabel/font/_family.py index 41e4ca7b1c9..7964d08c390 100644 --- a/plotly/validators/scatterternary/hoverlabel/font/_family.py +++ b/plotly/validators/scatterternary/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/font/_familysrc.py b/plotly/validators/scatterternary/hoverlabel/font/_familysrc.py index 6629ce20546..4526355256f 100644 --- a/plotly/validators/scatterternary/hoverlabel/font/_familysrc.py +++ b/plotly/validators/scatterternary/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/font/_size.py b/plotly/validators/scatterternary/hoverlabel/font/_size.py index aa7fa5f768b..7a78af71f73 100644 --- a/plotly/validators/scatterternary/hoverlabel/font/_size.py +++ b/plotly/validators/scatterternary/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/hoverlabel/font/_sizesrc.py b/plotly/validators/scatterternary/hoverlabel/font/_sizesrc.py index cd1b9726ea5..3b71fed6384 100644 --- a/plotly/validators/scatterternary/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/scatterternary/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/line/_color.py b/plotly/validators/scatterternary/line/_color.py index 8b77748678e..3aca981f134 100644 --- a/plotly/validators/scatterternary/line/_color.py +++ b/plotly/validators/scatterternary/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/line/_dash.py b/plotly/validators/scatterternary/line/_dash.py index 180157b050f..6017a6e4338 100644 --- a/plotly/validators/scatterternary/line/_dash.py +++ b/plotly/validators/scatterternary/line/_dash.py @@ -9,10 +9,11 @@ def __init__( super(DashValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', - values=[ - 'solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot' - ], + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', + ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot'] + ), **kwargs ) diff --git a/plotly/validators/scatterternary/line/_shape.py b/plotly/validators/scatterternary/line/_shape.py index a98e1309618..3a2df0a8c24 100644 --- a/plotly/validators/scatterternary/line/_shape.py +++ b/plotly/validators/scatterternary/line/_shape.py @@ -9,8 +9,8 @@ def __init__( super(ShapeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='style', - values=['linear', 'spline'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['linear', 'spline']), **kwargs ) diff --git a/plotly/validators/scatterternary/line/_smoothing.py b/plotly/validators/scatterternary/line/_smoothing.py index 4dad572ed50..545a5109332 100644 --- a/plotly/validators/scatterternary/line/_smoothing.py +++ b/plotly/validators/scatterternary/line/_smoothing.py @@ -12,9 +12,9 @@ def __init__( super(SmoothingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1.3, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1.3), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/line/_width.py b/plotly/validators/scatterternary/line/_width.py index e3cc5cc29dc..886a958b729 100644 --- a/plotly/validators/scatterternary/line/_width.py +++ b/plotly/validators/scatterternary/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_autocolorscale.py b/plotly/validators/scatterternary/marker/_autocolorscale.py index 8452be72f09..da3c1618f0d 100644 --- a/plotly/validators/scatterternary/marker/_autocolorscale.py +++ b/plotly/validators/scatterternary/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_cauto.py b/plotly/validators/scatterternary/marker/_cauto.py index 11bb7b63e05..2e541769d82 100644 --- a/plotly/validators/scatterternary/marker/_cauto.py +++ b/plotly/validators/scatterternary/marker/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_cmax.py b/plotly/validators/scatterternary/marker/_cmax.py index f17096dc82a..0f23f32da39 100644 --- a/plotly/validators/scatterternary/marker/_cmax.py +++ b/plotly/validators/scatterternary/marker/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_cmin.py b/plotly/validators/scatterternary/marker/_cmin.py index 35f232e4587..e81ad2ae28b 100644 --- a/plotly/validators/scatterternary/marker/_cmin.py +++ b/plotly/validators/scatterternary/marker/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_color.py b/plotly/validators/scatterternary/marker/_color.py index 751c76eb80e..b5a57a5a666 100644 --- a/plotly/validators/scatterternary/marker/_color.py +++ b/plotly/validators/scatterternary/marker/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scatterternary.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatterternary.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_colorbar.py b/plotly/validators/scatterternary/marker/_colorbar.py index 6a603a1f365..ecdc23a29c3 100644 --- a/plotly/validators/scatterternary/marker/_colorbar.py +++ b/plotly/validators/scatterternary/marker/_colorbar.py @@ -12,8 +12,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -209,6 +210,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_colorscale.py b/plotly/validators/scatterternary/marker/_colorscale.py index 0b610bae2ce..4c7929744c9 100644 --- a/plotly/validators/scatterternary/marker/_colorscale.py +++ b/plotly/validators/scatterternary/marker/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_colorsrc.py b/plotly/validators/scatterternary/marker/_colorsrc.py index 56d17afaef3..f9bcb106b3f 100644 --- a/plotly/validators/scatterternary/marker/_colorsrc.py +++ b/plotly/validators/scatterternary/marker/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_gradient.py b/plotly/validators/scatterternary/marker/_gradient.py index 7ce5c15b9bf..e93a1a7d86a 100644 --- a/plotly/validators/scatterternary/marker/_gradient.py +++ b/plotly/validators/scatterternary/marker/_gradient.py @@ -12,8 +12,9 @@ def __init__( super(GradientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Gradient', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Gradient'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the final color of the gradient fill: the center color for radial, the right for @@ -27,6 +28,7 @@ def __init__( typesrc Sets the source reference on plot.ly for type . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_line.py b/plotly/validators/scatterternary/marker/_line.py index 51b84342b46..b479d3fb58b 100644 --- a/plotly/validators/scatterternary/marker/_line.py +++ b/plotly/validators/scatterternary/marker/_line.py @@ -12,8 +12,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -84,6 +85,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_maxdisplayed.py b/plotly/validators/scatterternary/marker/_maxdisplayed.py index 8cd8fad7b3a..cc9dc51065a 100644 --- a/plotly/validators/scatterternary/marker/_maxdisplayed.py +++ b/plotly/validators/scatterternary/marker/_maxdisplayed.py @@ -12,8 +12,8 @@ def __init__( super(MaxdisplayedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'plot'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_opacity.py b/plotly/validators/scatterternary/marker/_opacity.py index 89c5290275e..fffce06f95a 100644 --- a/plotly/validators/scatterternary/marker/_opacity.py +++ b/plotly/validators/scatterternary/marker/_opacity.py @@ -12,10 +12,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_opacitysrc.py b/plotly/validators/scatterternary/marker/_opacitysrc.py index b4140e7fff6..0373dfe80c0 100644 --- a/plotly/validators/scatterternary/marker/_opacitysrc.py +++ b/plotly/validators/scatterternary/marker/_opacitysrc.py @@ -12,7 +12,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_reversescale.py b/plotly/validators/scatterternary/marker/_reversescale.py index 692195e11c0..3632366acd2 100644 --- a/plotly/validators/scatterternary/marker/_reversescale.py +++ b/plotly/validators/scatterternary/marker/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_showscale.py b/plotly/validators/scatterternary/marker/_showscale.py index 7e0b5c666c7..e8dc8e2187e 100644 --- a/plotly/validators/scatterternary/marker/_showscale.py +++ b/plotly/validators/scatterternary/marker/_showscale.py @@ -12,7 +12,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_size.py b/plotly/validators/scatterternary/marker/_size.py index b3766b33c7f..0f144173ba5 100644 --- a/plotly/validators/scatterternary/marker/_size.py +++ b/plotly/validators/scatterternary/marker/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_sizemin.py b/plotly/validators/scatterternary/marker/_sizemin.py index e397d2e403e..6be6b8c9746 100644 --- a/plotly/validators/scatterternary/marker/_sizemin.py +++ b/plotly/validators/scatterternary/marker/_sizemin.py @@ -12,8 +12,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_sizemode.py b/plotly/validators/scatterternary/marker/_sizemode.py index b4b586a091b..86d2cc4f098 100644 --- a/plotly/validators/scatterternary/marker/_sizemode.py +++ b/plotly/validators/scatterternary/marker/_sizemode.py @@ -12,8 +12,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_sizeref.py b/plotly/validators/scatterternary/marker/_sizeref.py index 2fe1a5d8f4f..e83624be519 100644 --- a/plotly/validators/scatterternary/marker/_sizeref.py +++ b/plotly/validators/scatterternary/marker/_sizeref.py @@ -12,7 +12,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_sizesrc.py b/plotly/validators/scatterternary/marker/_sizesrc.py index ab0bec88492..a038d9359ce 100644 --- a/plotly/validators/scatterternary/marker/_sizesrc.py +++ b/plotly/validators/scatterternary/marker/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_symbol.py b/plotly/validators/scatterternary/marker/_symbol.py index 64b8443a242..24b575e86a6 100644 --- a/plotly/validators/scatterternary/marker/_symbol.py +++ b/plotly/validators/scatterternary/marker/_symbol.py @@ -12,66 +12,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/_symbolsrc.py b/plotly/validators/scatterternary/marker/_symbolsrc.py index 0b1f1f3d23f..f05582a3d05 100644 --- a/plotly/validators/scatterternary/marker/_symbolsrc.py +++ b/plotly/validators/scatterternary/marker/_symbolsrc.py @@ -12,7 +12,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_bgcolor.py b/plotly/validators/scatterternary/marker/colorbar/_bgcolor.py index de63e514959..684970d87e4 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_bgcolor.py +++ b/plotly/validators/scatterternary/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_bordercolor.py b/plotly/validators/scatterternary/marker/colorbar/_bordercolor.py index f793f1017ec..c6d3357eac3 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_bordercolor.py +++ b/plotly/validators/scatterternary/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_borderwidth.py b/plotly/validators/scatterternary/marker/colorbar/_borderwidth.py index 5a462f7f9f9..d709bdd778a 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_borderwidth.py +++ b/plotly/validators/scatterternary/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_dtick.py b/plotly/validators/scatterternary/marker/colorbar/_dtick.py index f8c6b1fce8e..fdf6366e475 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_dtick.py +++ b/plotly/validators/scatterternary/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_exponentformat.py b/plotly/validators/scatterternary/marker/colorbar/_exponentformat.py index 76e94c91ae2..955ee2468ce 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_exponentformat.py +++ b/plotly/validators/scatterternary/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_len.py b/plotly/validators/scatterternary/marker/colorbar/_len.py index 5b1c1d37c80..c18947e467b 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_len.py +++ b/plotly/validators/scatterternary/marker/colorbar/_len.py @@ -12,8 +12,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_lenmode.py b/plotly/validators/scatterternary/marker/colorbar/_lenmode.py index 025c83d54d9..0235fd783bc 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_lenmode.py +++ b/plotly/validators/scatterternary/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_nticks.py b/plotly/validators/scatterternary/marker/colorbar/_nticks.py index 89194e57f1b..5bf5f93a205 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_nticks.py +++ b/plotly/validators/scatterternary/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_outlinecolor.py b/plotly/validators/scatterternary/marker/colorbar/_outlinecolor.py index e5738acf00d..0adade91e4e 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/scatterternary/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_outlinewidth.py b/plotly/validators/scatterternary/marker/colorbar/_outlinewidth.py index 8f7bafa8d7b..c3c62f42054 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/scatterternary/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_separatethousands.py b/plotly/validators/scatterternary/marker/colorbar/_separatethousands.py index fb47959463e..232fd4e9c3d 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_separatethousands.py +++ b/plotly/validators/scatterternary/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_showexponent.py b/plotly/validators/scatterternary/marker/colorbar/_showexponent.py index 9c5911f7624..0a6a9219930 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_showexponent.py +++ b/plotly/validators/scatterternary/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_showticklabels.py b/plotly/validators/scatterternary/marker/colorbar/_showticklabels.py index 413b2d65a88..7f8857ea824 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_showticklabels.py +++ b/plotly/validators/scatterternary/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_showtickprefix.py b/plotly/validators/scatterternary/marker/colorbar/_showtickprefix.py index e963110681f..002902c7541 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/scatterternary/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_showticksuffix.py b/plotly/validators/scatterternary/marker/colorbar/_showticksuffix.py index 4a99fd02c4d..638af440cc5 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/scatterternary/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_thickness.py b/plotly/validators/scatterternary/marker/colorbar/_thickness.py index 08e6fd44f1f..b5eecfd2f6f 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_thickness.py +++ b/plotly/validators/scatterternary/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_thicknessmode.py b/plotly/validators/scatterternary/marker/colorbar/_thicknessmode.py index 56b7907213e..2a5ee537f2d 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/scatterternary/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tick0.py b/plotly/validators/scatterternary/marker/colorbar/_tick0.py index d480f060224..d6a500717e3 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tick0.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickangle.py b/plotly/validators/scatterternary/marker/colorbar/_tickangle.py index 58ac07f2288..330ba605f2c 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickangle.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickcolor.py b/plotly/validators/scatterternary/marker/colorbar/_tickcolor.py index 18fad2a3550..67fb1e2a518 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickcolor.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickfont.py b/plotly/validators/scatterternary/marker/colorbar/_tickfont.py index de9a40d77a6..18c72f4f5e7 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickfont.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickformat.py b/plotly/validators/scatterternary/marker/colorbar/_tickformat.py index 6aa59538c33..f28fb5d2f7b 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickformat.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickformatstops.py b/plotly/validators/scatterternary/marker/colorbar/_tickformatstops.py index ddf641b7cc7..013233f2476 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_ticklen.py b/plotly/validators/scatterternary/marker/colorbar/_ticklen.py index 39b805a20fd..c9b53437038 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_ticklen.py +++ b/plotly/validators/scatterternary/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickmode.py b/plotly/validators/scatterternary/marker/colorbar/_tickmode.py index a1d6e570173..6d7c318e88c 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickmode.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickprefix.py b/plotly/validators/scatterternary/marker/colorbar/_tickprefix.py index d21eba0a896..62cb05024d0 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickprefix.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_ticks.py b/plotly/validators/scatterternary/marker/colorbar/_ticks.py index 59dd51caa61..cbf389d985d 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_ticks.py +++ b/plotly/validators/scatterternary/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_ticksuffix.py b/plotly/validators/scatterternary/marker/colorbar/_ticksuffix.py index a42ce7e865e..6f96fc75636 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/scatterternary/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_ticktext.py b/plotly/validators/scatterternary/marker/colorbar/_ticktext.py index 3b2d6b8ec16..5f4cbedb84c 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_ticktext.py +++ b/plotly/validators/scatterternary/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_ticktextsrc.py b/plotly/validators/scatterternary/marker/colorbar/_ticktextsrc.py index e6abddaa230..e7416a1ad95 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/scatterternary/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickvals.py b/plotly/validators/scatterternary/marker/colorbar/_tickvals.py index 4323a932cba..cf3061e5938 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickvals.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickvalssrc.py b/plotly/validators/scatterternary/marker/colorbar/_tickvalssrc.py index 99389074d55..86994c2a535 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_tickwidth.py b/plotly/validators/scatterternary/marker/colorbar/_tickwidth.py index 5d5dda606d8..4056d1898c4 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_tickwidth.py +++ b/plotly/validators/scatterternary/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_title.py b/plotly/validators/scatterternary/marker/colorbar/_title.py index 8c19ffdd15e..d25fcd584d4 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_title.py +++ b/plotly/validators/scatterternary/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_titlefont.py b/plotly/validators/scatterternary/marker/colorbar/_titlefont.py index 85a6a7f792a..6d0425e10ba 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_titlefont.py +++ b/plotly/validators/scatterternary/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_titleside.py b/plotly/validators/scatterternary/marker/colorbar/_titleside.py index a47c10c6af0..cee6468f95b 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_titleside.py +++ b/plotly/validators/scatterternary/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_x.py b/plotly/validators/scatterternary/marker/colorbar/_x.py index fe46a5d82f8..2f67092d43c 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_x.py +++ b/plotly/validators/scatterternary/marker/colorbar/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_xanchor.py b/plotly/validators/scatterternary/marker/colorbar/_xanchor.py index c86d24cc86c..093094b2cd2 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_xanchor.py +++ b/plotly/validators/scatterternary/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_xpad.py b/plotly/validators/scatterternary/marker/colorbar/_xpad.py index 7859039afd3..868163f1dc2 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_xpad.py +++ b/plotly/validators/scatterternary/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_y.py b/plotly/validators/scatterternary/marker/colorbar/_y.py index fc2da632cb2..6ee9389f4af 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_y.py +++ b/plotly/validators/scatterternary/marker/colorbar/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_yanchor.py b/plotly/validators/scatterternary/marker/colorbar/_yanchor.py index f9e32ceacd6..4096ac02989 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_yanchor.py +++ b/plotly/validators/scatterternary/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/_ypad.py b/plotly/validators/scatterternary/marker/colorbar/_ypad.py index 6242d53c0f9..650c926e1e2 100644 --- a/plotly/validators/scatterternary/marker/colorbar/_ypad.py +++ b/plotly/validators/scatterternary/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickfont/_color.py b/plotly/validators/scatterternary/marker/colorbar/tickfont/_color.py index f4dcc0912b4..5c9193f6a98 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickfont/_family.py b/plotly/validators/scatterternary/marker/colorbar/tickfont/_family.py index fc7a1a67486..6cf58eebe5d 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickfont/_size.py b/plotly/validators/scatterternary/marker/colorbar/tickfont/_size.py index 8e4eb39791e..83849b3f902 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_dtickrange.py index 837b7be1a8b..574562f1e31 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_enabled.py index e474754c0c7..3b0d91d5802 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_name.py b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_name.py index 361262937a7..3ca555720e0 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_templateitemname.py index 3b41080d89b..8acecf55251 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_value.py b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_value.py index 7fbc7f1f89d..75a42e32885 100644 --- a/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/scatterternary/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/titlefont/_color.py b/plotly/validators/scatterternary/marker/colorbar/titlefont/_color.py index 307da2f6314..ae0651180da 100644 --- a/plotly/validators/scatterternary/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/scatterternary/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/titlefont/_family.py b/plotly/validators/scatterternary/marker/colorbar/titlefont/_family.py index 2e449dea7cc..8566672b355 100644 --- a/plotly/validators/scatterternary/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/scatterternary/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/colorbar/titlefont/_size.py b/plotly/validators/scatterternary/marker/colorbar/titlefont/_size.py index 3e36b25e169..5a580cfcc8d 100644 --- a/plotly/validators/scatterternary/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/scatterternary/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/gradient/_color.py b/plotly/validators/scatterternary/marker/gradient/_color.py index 0357e88c446..6d6a36387fd 100644 --- a/plotly/validators/scatterternary/marker/gradient/_color.py +++ b/plotly/validators/scatterternary/marker/gradient/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/gradient/_colorsrc.py b/plotly/validators/scatterternary/marker/gradient/_colorsrc.py index 9327da24066..90950c52c2d 100644 --- a/plotly/validators/scatterternary/marker/gradient/_colorsrc.py +++ b/plotly/validators/scatterternary/marker/gradient/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/gradient/_type.py b/plotly/validators/scatterternary/marker/gradient/_type.py index 78e8f011097..5be07bca3c2 100644 --- a/plotly/validators/scatterternary/marker/gradient/_type.py +++ b/plotly/validators/scatterternary/marker/gradient/_type.py @@ -12,9 +12,11 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['radial', 'horizontal', 'vertical', 'none'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['radial', 'horizontal', 'vertical', 'none'] + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/gradient/_typesrc.py b/plotly/validators/scatterternary/marker/gradient/_typesrc.py index 383142fe3c1..c936bbffcf0 100644 --- a/plotly/validators/scatterternary/marker/gradient/_typesrc.py +++ b/plotly/validators/scatterternary/marker/gradient/_typesrc.py @@ -12,7 +12,7 @@ def __init__( super(TypesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_autocolorscale.py b/plotly/validators/scatterternary/marker/line/_autocolorscale.py index 5a3e425f942..204a3182b48 100644 --- a/plotly/validators/scatterternary/marker/line/_autocolorscale.py +++ b/plotly/validators/scatterternary/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_cauto.py b/plotly/validators/scatterternary/marker/line/_cauto.py index ca1f62a2b9a..ac54773e45a 100644 --- a/plotly/validators/scatterternary/marker/line/_cauto.py +++ b/plotly/validators/scatterternary/marker/line/_cauto.py @@ -12,8 +12,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_cmax.py b/plotly/validators/scatterternary/marker/line/_cmax.py index 3fb31601355..183a9391a05 100644 --- a/plotly/validators/scatterternary/marker/line/_cmax.py +++ b/plotly/validators/scatterternary/marker/line/_cmax.py @@ -12,8 +12,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_cmin.py b/plotly/validators/scatterternary/marker/line/_cmin.py index b2210fdb5bc..71ba508fa80 100644 --- a/plotly/validators/scatterternary/marker/line/_cmin.py +++ b/plotly/validators/scatterternary/marker/line/_cmin.py @@ -12,8 +12,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_color.py b/plotly/validators/scatterternary/marker/line/_color.py index 961ca3516b5..566dc82b35e 100644 --- a/plotly/validators/scatterternary/marker/line/_color.py +++ b/plotly/validators/scatterternary/marker/line/_color.py @@ -12,9 +12,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', - colorscale_path='scatterternary.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'scatterternary.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_colorscale.py b/plotly/validators/scatterternary/marker/line/_colorscale.py index 6ea747f09af..c2271cdf418 100644 --- a/plotly/validators/scatterternary/marker/line/_colorscale.py +++ b/plotly/validators/scatterternary/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_colorsrc.py b/plotly/validators/scatterternary/marker/line/_colorsrc.py index 2d0c4cb3000..47be0644831 100644 --- a/plotly/validators/scatterternary/marker/line/_colorsrc.py +++ b/plotly/validators/scatterternary/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_reversescale.py b/plotly/validators/scatterternary/marker/line/_reversescale.py index 64333dca218..fc86401a0fc 100644 --- a/plotly/validators/scatterternary/marker/line/_reversescale.py +++ b/plotly/validators/scatterternary/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_width.py b/plotly/validators/scatterternary/marker/line/_width.py index 20debd01657..d48488f42f6 100644 --- a/plotly/validators/scatterternary/marker/line/_width.py +++ b/plotly/validators/scatterternary/marker/line/_width.py @@ -12,9 +12,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/marker/line/_widthsrc.py b/plotly/validators/scatterternary/marker/line/_widthsrc.py index cc218b4df35..5bf2e1aedd7 100644 --- a/plotly/validators/scatterternary/marker/line/_widthsrc.py +++ b/plotly/validators/scatterternary/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/selected/_marker.py b/plotly/validators/scatterternary/selected/_marker.py index 51172671b87..fd5713d8110 100644 --- a/plotly/validators/scatterternary/selected/_marker.py +++ b/plotly/validators/scatterternary/selected/_marker.py @@ -12,14 +12,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/selected/_textfont.py b/plotly/validators/scatterternary/selected/_textfont.py index e288309f7e6..1f5839c7735 100644 --- a/plotly/validators/scatterternary/selected/_textfont.py +++ b/plotly/validators/scatterternary/selected/_textfont.py @@ -12,10 +12,12 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/selected/marker/_color.py b/plotly/validators/scatterternary/selected/marker/_color.py index 9e5bd4c4b12..a7f80e18538 100644 --- a/plotly/validators/scatterternary/selected/marker/_color.py +++ b/plotly/validators/scatterternary/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/selected/marker/_opacity.py b/plotly/validators/scatterternary/selected/marker/_opacity.py index a68a3e99eff..e7ba4123716 100644 --- a/plotly/validators/scatterternary/selected/marker/_opacity.py +++ b/plotly/validators/scatterternary/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/selected/marker/_size.py b/plotly/validators/scatterternary/selected/marker/_size.py index 8f36f7653ad..8f9f2e7fe0f 100644 --- a/plotly/validators/scatterternary/selected/marker/_size.py +++ b/plotly/validators/scatterternary/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/selected/textfont/_color.py b/plotly/validators/scatterternary/selected/textfont/_color.py index d724e4b35a5..4f0a5b41c18 100644 --- a/plotly/validators/scatterternary/selected/textfont/_color.py +++ b/plotly/validators/scatterternary/selected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/stream/_maxpoints.py b/plotly/validators/scatterternary/stream/_maxpoints.py index 5eedaff7735..e89b6c47546 100644 --- a/plotly/validators/scatterternary/stream/_maxpoints.py +++ b/plotly/validators/scatterternary/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/stream/_token.py b/plotly/validators/scatterternary/stream/_token.py index 5a141e9cdb9..ae35f3314b1 100644 --- a/plotly/validators/scatterternary/stream/_token.py +++ b/plotly/validators/scatterternary/stream/_token.py @@ -12,9 +12,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterternary/textfont/_color.py b/plotly/validators/scatterternary/textfont/_color.py index 5b5e4ae6386..877be556489 100644 --- a/plotly/validators/scatterternary/textfont/_color.py +++ b/plotly/validators/scatterternary/textfont/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/textfont/_colorsrc.py b/plotly/validators/scatterternary/textfont/_colorsrc.py index f98c622dcd3..9c572fc3300 100644 --- a/plotly/validators/scatterternary/textfont/_colorsrc.py +++ b/plotly/validators/scatterternary/textfont/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/textfont/_family.py b/plotly/validators/scatterternary/textfont/_family.py index 0be6a50619c..da49e1ed49e 100644 --- a/plotly/validators/scatterternary/textfont/_family.py +++ b/plotly/validators/scatterternary/textfont/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/scatterternary/textfont/_familysrc.py b/plotly/validators/scatterternary/textfont/_familysrc.py index 1defc3f50a6..8f9ac27e678 100644 --- a/plotly/validators/scatterternary/textfont/_familysrc.py +++ b/plotly/validators/scatterternary/textfont/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/textfont/_size.py b/plotly/validators/scatterternary/textfont/_size.py index 0a386017d8a..ceb51add5fb 100644 --- a/plotly/validators/scatterternary/textfont/_size.py +++ b/plotly/validators/scatterternary/textfont/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/textfont/_sizesrc.py b/plotly/validators/scatterternary/textfont/_sizesrc.py index 83c379f3927..09e56e18e71 100644 --- a/plotly/validators/scatterternary/textfont/_sizesrc.py +++ b/plotly/validators/scatterternary/textfont/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/scatterternary/unselected/_marker.py b/plotly/validators/scatterternary/unselected/_marker.py index 4006afbce99..303f28f2c0f 100644 --- a/plotly/validators/scatterternary/unselected/_marker.py +++ b/plotly/validators/scatterternary/unselected/_marker.py @@ -12,8 +12,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -23,6 +24,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/unselected/_textfont.py b/plotly/validators/scatterternary/unselected/_textfont.py index 7c5c5489de9..dbd39bdcc4e 100644 --- a/plotly/validators/scatterternary/unselected/_textfont.py +++ b/plotly/validators/scatterternary/unselected/_textfont.py @@ -12,11 +12,13 @@ def __init__( super(TextfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Textfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Textfont'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the text font color of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/scatterternary/unselected/marker/_color.py b/plotly/validators/scatterternary/unselected/marker/_color.py index 892651ef664..af8dfe423ad 100644 --- a/plotly/validators/scatterternary/unselected/marker/_color.py +++ b/plotly/validators/scatterternary/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/unselected/marker/_opacity.py b/plotly/validators/scatterternary/unselected/marker/_opacity.py index 35e4df38b88..628bd4cf154 100644 --- a/plotly/validators/scatterternary/unselected/marker/_opacity.py +++ b/plotly/validators/scatterternary/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/unselected/marker/_size.py b/plotly/validators/scatterternary/unselected/marker/_size.py index f0ea84acea7..51e0283f17d 100644 --- a/plotly/validators/scatterternary/unselected/marker/_size.py +++ b/plotly/validators/scatterternary/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/scatterternary/unselected/textfont/_color.py b/plotly/validators/scatterternary/unselected/textfont/_color.py index 9b44ee3cb2b..2a027f6af3e 100644 --- a/plotly/validators/scatterternary/unselected/textfont/_color.py +++ b/plotly/validators/scatterternary/unselected/textfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/_customdata.py b/plotly/validators/splom/_customdata.py index 532fb3a54b0..4cf6c28a0eb 100644 --- a/plotly/validators/splom/_customdata.py +++ b/plotly/validators/splom/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/splom/_customdatasrc.py b/plotly/validators/splom/_customdatasrc.py index c4a033ec2c9..3509318f0a5 100644 --- a/plotly/validators/splom/_customdatasrc.py +++ b/plotly/validators/splom/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_diagonal.py b/plotly/validators/splom/_diagonal.py index 53438d06515..24a0dfba00c 100644 --- a/plotly/validators/splom/_diagonal.py +++ b/plotly/validators/splom/_diagonal.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='diagonal', parent_name='splom', **kwargs): super(DiagonalValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Diagonal', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Diagonal'), + data_docs=kwargs.pop( + 'data_docs', """ visible Determines whether or not subplots on the diagonal are displayed. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_dimensions.py b/plotly/validators/splom/_dimensions.py index 6b4a802c9f5..16a05f09441 100644 --- a/plotly/validators/splom/_dimensions.py +++ b/plotly/validators/splom/_dimensions.py @@ -9,8 +9,9 @@ def __init__( super(DimensionsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Dimension', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Dimension'), + data_docs=kwargs.pop( + 'data_docs', """ axis plotly.graph_objs.splom.dimension.Axis instance or dict with compatible properties @@ -48,6 +49,7 @@ def __init__( shown on the graph. Note that even visible false dimension contribute to the default grid generate by this splom trace. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_hoverinfo.py b/plotly/validators/splom/_hoverinfo.py index dd2ef3163f9..2bf07cabd6d 100644 --- a/plotly/validators/splom/_hoverinfo.py +++ b/plotly/validators/splom/_hoverinfo.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='hoverinfo', parent_name='splom', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_hoverinfosrc.py b/plotly/validators/splom/_hoverinfosrc.py index 8d8f5de36b3..e15388b046f 100644 --- a/plotly/validators/splom/_hoverinfosrc.py +++ b/plotly/validators/splom/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_hoverlabel.py b/plotly/validators/splom/_hoverlabel.py index 2237a5c2362..8505e008383 100644 --- a/plotly/validators/splom/_hoverlabel.py +++ b/plotly/validators/splom/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_ids.py b/plotly/validators/splom/_ids.py index 00d4214cfc5..333f7c9f212 100644 --- a/plotly/validators/splom/_ids.py +++ b/plotly/validators/splom/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='splom', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/splom/_idssrc.py b/plotly/validators/splom/_idssrc.py index 74d8b1e2862..8d3e567f7fe 100644 --- a/plotly/validators/splom/_idssrc.py +++ b/plotly/validators/splom/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='splom', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_legendgroup.py b/plotly/validators/splom/_legendgroup.py index 74e3836a169..92a7d4f46b9 100644 --- a/plotly/validators/splom/_legendgroup.py +++ b/plotly/validators/splom/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_marker.py b/plotly/validators/splom/_marker.py index 4861c104929..8255d9a65e6 100644 --- a/plotly/validators/splom/_marker.py +++ b/plotly/validators/splom/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='splom', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -114,6 +115,7 @@ def __init__(self, plotly_name='marker', parent_name='splom', **kwargs): symbolsrc Sets the source reference on plot.ly for symbol . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_name.py b/plotly/validators/splom/_name.py index d7e84b79a97..42891a34d3a 100644 --- a/plotly/validators/splom/_name.py +++ b/plotly/validators/splom/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='splom', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_opacity.py b/plotly/validators/splom/_opacity.py index 6f0ef4f31df..761c724ddf8 100644 --- a/plotly/validators/splom/_opacity.py +++ b/plotly/validators/splom/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='splom', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/_selected.py b/plotly/validators/splom/_selected.py index 8cb5c796797..dad5bdceaf6 100644 --- a/plotly/validators/splom/_selected.py +++ b/plotly/validators/splom/_selected.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='selected', parent_name='splom', **kwargs): super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.splom.selected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_selectedpoints.py b/plotly/validators/splom/_selectedpoints.py index 1a9f006868b..779adb9543f 100644 --- a/plotly/validators/splom/_selectedpoints.py +++ b/plotly/validators/splom/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_showlegend.py b/plotly/validators/splom/_showlegend.py index 54c2d1dba27..0bbc20ac80f 100644 --- a/plotly/validators/splom/_showlegend.py +++ b/plotly/validators/splom/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_showlowerhalf.py b/plotly/validators/splom/_showlowerhalf.py index 62b7d89b2b4..1ca9803db76 100644 --- a/plotly/validators/splom/_showlowerhalf.py +++ b/plotly/validators/splom/_showlowerhalf.py @@ -9,7 +9,7 @@ def __init__( super(ShowlowerhalfValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_showupperhalf.py b/plotly/validators/splom/_showupperhalf.py index 7023d5f5a72..4141b16c541 100644 --- a/plotly/validators/splom/_showupperhalf.py +++ b/plotly/validators/splom/_showupperhalf.py @@ -9,7 +9,7 @@ def __init__( super(ShowupperhalfValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_stream.py b/plotly/validators/splom/_stream.py index 92c9aeaeb5d..cce3919099a 100644 --- a/plotly/validators/splom/_stream.py +++ b/plotly/validators/splom/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='splom', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='splom', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_text.py b/plotly/validators/splom/_text.py index c4578dbc15c..f8e22b5125a 100644 --- a/plotly/validators/splom/_text.py +++ b/plotly/validators/splom/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='splom', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_textsrc.py b/plotly/validators/splom/_textsrc.py index ca0decf58af..b4c7bf6cf56 100644 --- a/plotly/validators/splom/_textsrc.py +++ b/plotly/validators/splom/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='splom', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_uid.py b/plotly/validators/splom/_uid.py index 0d7e7058c06..d457af897e2 100644 --- a/plotly/validators/splom/_uid.py +++ b/plotly/validators/splom/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='splom', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_unselected.py b/plotly/validators/splom/_unselected.py index 16af629fc97..8aeee242938 100644 --- a/plotly/validators/splom/_unselected.py +++ b/plotly/validators/splom/_unselected.py @@ -9,11 +9,13 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.splom.unselected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/_visible.py b/plotly/validators/splom/_visible.py index a3ec11b2d08..f7b14f626d2 100644 --- a/plotly/validators/splom/_visible.py +++ b/plotly/validators/splom/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='splom', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/splom/_xaxes.py b/plotly/validators/splom/_xaxes.py index 5f3a7845eb0..0f94b41500d 100644 --- a/plotly/validators/splom/_xaxes.py +++ b/plotly/validators/splom/_xaxes.py @@ -7,13 +7,15 @@ def __init__(self, plotly_name='xaxes', parent_name='splom', **kwargs): super(XaxesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - free_length=True, - items={ - 'valType': 'subplotid', - 'regex': '/^x([2-9]|[1-9][0-9]+)?$/', - 'editType': 'plot' - }, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', { + 'valType': 'subplotid', + 'regex': '/^x([2-9]|[1-9][0-9]+)?$/', + 'editType': 'plot' + } + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/_yaxes.py b/plotly/validators/splom/_yaxes.py index 508aa4851e8..d350cc661a8 100644 --- a/plotly/validators/splom/_yaxes.py +++ b/plotly/validators/splom/_yaxes.py @@ -7,13 +7,15 @@ def __init__(self, plotly_name='yaxes', parent_name='splom', **kwargs): super(YaxesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - free_length=True, - items={ - 'valType': 'subplotid', - 'regex': '/^y([2-9]|[1-9][0-9]+)?$/', - 'editType': 'plot' - }, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + free_length=kwargs.pop('free_length', True), + items=kwargs.pop( + 'items', { + 'valType': 'subplotid', + 'regex': '/^y([2-9]|[1-9][0-9]+)?$/', + 'editType': 'plot' + } + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/diagonal/_visible.py b/plotly/validators/splom/diagonal/_visible.py index f30b5143317..65af67deb37 100644 --- a/plotly/validators/splom/diagonal/_visible.py +++ b/plotly/validators/splom/diagonal/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/dimension/_axis.py b/plotly/validators/splom/dimension/_axis.py index 3fea19a9d3a..a7c44b8bbd6 100644 --- a/plotly/validators/splom/dimension/_axis.py +++ b/plotly/validators/splom/dimension/_axis.py @@ -9,13 +9,15 @@ def __init__( super(AxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Axis', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Axis'), + data_docs=kwargs.pop( + 'data_docs', """ type Sets the axis type for this dimension's generated x and y axes. Note that the axis `type` values set in layout take precedence over this attribute. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/dimension/_label.py b/plotly/validators/splom/dimension/_label.py index de2d10871b6..0bbd095aae9 100644 --- a/plotly/validators/splom/dimension/_label.py +++ b/plotly/validators/splom/dimension/_label.py @@ -9,7 +9,7 @@ def __init__( super(LabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/dimension/_name.py b/plotly/validators/splom/dimension/_name.py index d27341ec08d..11f578729dc 100644 --- a/plotly/validators/splom/dimension/_name.py +++ b/plotly/validators/splom/dimension/_name.py @@ -9,7 +9,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='style', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/dimension/_templateitemname.py b/plotly/validators/splom/dimension/_templateitemname.py index 46007d55837..6a562dce349 100644 --- a/plotly/validators/splom/dimension/_templateitemname.py +++ b/plotly/validators/splom/dimension/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/dimension/_values.py b/plotly/validators/splom/dimension/_values.py index d0960b331cc..50634b22dcc 100644 --- a/plotly/validators/splom/dimension/_values.py +++ b/plotly/validators/splom/dimension/_values.py @@ -9,7 +9,7 @@ def __init__( super(ValuesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/splom/dimension/_valuessrc.py b/plotly/validators/splom/dimension/_valuessrc.py index 1eb4471a102..675d865aa89 100644 --- a/plotly/validators/splom/dimension/_valuessrc.py +++ b/plotly/validators/splom/dimension/_valuessrc.py @@ -9,7 +9,7 @@ def __init__( super(ValuessrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/dimension/_visible.py b/plotly/validators/splom/dimension/_visible.py index fe600e84eea..22bbb1de309 100644 --- a/plotly/validators/splom/dimension/_visible.py +++ b/plotly/validators/splom/dimension/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/dimension/axis/_type.py b/plotly/validators/splom/dimension/axis/_type.py index 53b963e5553..b6b4337b5a6 100644 --- a/plotly/validators/splom/dimension/axis/_type.py +++ b/plotly/validators/splom/dimension/axis/_type.py @@ -9,8 +9,8 @@ def __init__( super(TypeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', - values=['linear', 'log', 'date', 'category'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['linear', 'log', 'date', 'category']), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_bgcolor.py b/plotly/validators/splom/hoverlabel/_bgcolor.py index 47342c00bb8..4aa2fda7dcd 100644 --- a/plotly/validators/splom/hoverlabel/_bgcolor.py +++ b/plotly/validators/splom/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_bgcolorsrc.py b/plotly/validators/splom/hoverlabel/_bgcolorsrc.py index 786f8ddd674..fffea05663e 100644 --- a/plotly/validators/splom/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/splom/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_bordercolor.py b/plotly/validators/splom/hoverlabel/_bordercolor.py index 2bba5e59325..3678fe4460e 100644 --- a/plotly/validators/splom/hoverlabel/_bordercolor.py +++ b/plotly/validators/splom/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_bordercolorsrc.py b/plotly/validators/splom/hoverlabel/_bordercolorsrc.py index 70151dcaef0..b9d57771340 100644 --- a/plotly/validators/splom/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/splom/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_font.py b/plotly/validators/splom/hoverlabel/_font.py index a72d96ff762..7b1dc16302a 100644 --- a/plotly/validators/splom/hoverlabel/_font.py +++ b/plotly/validators/splom/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_namelength.py b/plotly/validators/splom/hoverlabel/_namelength.py index 8837ea463c5..fe4b4507208 100644 --- a/plotly/validators/splom/hoverlabel/_namelength.py +++ b/plotly/validators/splom/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/_namelengthsrc.py b/plotly/validators/splom/hoverlabel/_namelengthsrc.py index 841e6f4a3cf..e067e8e977b 100644 --- a/plotly/validators/splom/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/splom/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/font/_color.py b/plotly/validators/splom/hoverlabel/font/_color.py index a226f3a7dd4..c5936f478e1 100644 --- a/plotly/validators/splom/hoverlabel/font/_color.py +++ b/plotly/validators/splom/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/font/_colorsrc.py b/plotly/validators/splom/hoverlabel/font/_colorsrc.py index 455dd85c4a4..fe89e16899c 100644 --- a/plotly/validators/splom/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/splom/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/font/_family.py b/plotly/validators/splom/hoverlabel/font/_family.py index 0a22a40e36b..626aa17c05f 100644 --- a/plotly/validators/splom/hoverlabel/font/_family.py +++ b/plotly/validators/splom/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/font/_familysrc.py b/plotly/validators/splom/hoverlabel/font/_familysrc.py index 7488d9b12f4..a9e0fed973f 100644 --- a/plotly/validators/splom/hoverlabel/font/_familysrc.py +++ b/plotly/validators/splom/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/font/_size.py b/plotly/validators/splom/hoverlabel/font/_size.py index f9d15701477..efdb3ad5d6e 100644 --- a/plotly/validators/splom/hoverlabel/font/_size.py +++ b/plotly/validators/splom/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/hoverlabel/font/_sizesrc.py b/plotly/validators/splom/hoverlabel/font/_sizesrc.py index 7bf6a243c8d..11f5d3c23aa 100644 --- a/plotly/validators/splom/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/splom/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_autocolorscale.py b/plotly/validators/splom/marker/_autocolorscale.py index 075be2c1391..229ad0da496 100644 --- a/plotly/validators/splom/marker/_autocolorscale.py +++ b/plotly/validators/splom/marker/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_cauto.py b/plotly/validators/splom/marker/_cauto.py index 84c3262d4ca..2b2ed8824b0 100644 --- a/plotly/validators/splom/marker/_cauto.py +++ b/plotly/validators/splom/marker/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_cmax.py b/plotly/validators/splom/marker/_cmax.py index ecdaa2e0126..ab2048cff30 100644 --- a/plotly/validators/splom/marker/_cmax.py +++ b/plotly/validators/splom/marker/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_cmin.py b/plotly/validators/splom/marker/_cmin.py index 0de52d23bd2..2da3282c6a9 100644 --- a/plotly/validators/splom/marker/_cmin.py +++ b/plotly/validators/splom/marker/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_color.py b/plotly/validators/splom/marker/_color.py index 2002ab11363..18d52926e58 100644 --- a/plotly/validators/splom/marker/_color.py +++ b/plotly/validators/splom/marker/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='splom.marker.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'splom.marker.colorscale' + ), **kwargs ) diff --git a/plotly/validators/splom/marker/_colorbar.py b/plotly/validators/splom/marker/_colorbar.py index cf749c6695b..365ff1347e6 100644 --- a/plotly/validators/splom/marker/_colorbar.py +++ b/plotly/validators/splom/marker/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/marker/_colorscale.py b/plotly/validators/splom/marker/_colorscale.py index f99b63478a7..f0664d0e7bc 100644 --- a/plotly/validators/splom/marker/_colorscale.py +++ b/plotly/validators/splom/marker/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_colorsrc.py b/plotly/validators/splom/marker/_colorsrc.py index 15490ad8112..654e7173715 100644 --- a/plotly/validators/splom/marker/_colorsrc.py +++ b/plotly/validators/splom/marker/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_line.py b/plotly/validators/splom/marker/_line.py index fee900cb0e1..ec53a63d72c 100644 --- a/plotly/validators/splom/marker/_line.py +++ b/plotly/validators/splom/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ autocolorscale Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette @@ -81,6 +82,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/marker/_opacity.py b/plotly/validators/splom/marker/_opacity.py index 6910cf8553e..c542584911e 100644 --- a/plotly/validators/splom/marker/_opacity.py +++ b/plotly/validators/splom/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_opacitysrc.py b/plotly/validators/splom/marker/_opacitysrc.py index 9aeaa116c2a..52bcb7b8b34 100644 --- a/plotly/validators/splom/marker/_opacitysrc.py +++ b/plotly/validators/splom/marker/_opacitysrc.py @@ -9,7 +9,7 @@ def __init__( super(OpacitysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_reversescale.py b/plotly/validators/splom/marker/_reversescale.py index b42e53124de..57cc5841576 100644 --- a/plotly/validators/splom/marker/_reversescale.py +++ b/plotly/validators/splom/marker/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_showscale.py b/plotly/validators/splom/marker/_showscale.py index c578cf05866..8b39e7856b6 100644 --- a/plotly/validators/splom/marker/_showscale.py +++ b/plotly/validators/splom/marker/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_size.py b/plotly/validators/splom/marker/_size.py index 3aa5d07b37b..fd0ea23a49a 100644 --- a/plotly/validators/splom/marker/_size.py +++ b/plotly/validators/splom/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_sizemin.py b/plotly/validators/splom/marker/_sizemin.py index a3a9486244f..94fa5d48d55 100644 --- a/plotly/validators/splom/marker/_sizemin.py +++ b/plotly/validators/splom/marker/_sizemin.py @@ -9,8 +9,8 @@ def __init__( super(SizeminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_sizemode.py b/plotly/validators/splom/marker/_sizemode.py index f9d20415ff3..b6850f9ed0a 100644 --- a/plotly/validators/splom/marker/_sizemode.py +++ b/plotly/validators/splom/marker/_sizemode.py @@ -9,8 +9,8 @@ def __init__( super(SizemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['diameter', 'area'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['diameter', 'area']), **kwargs ) diff --git a/plotly/validators/splom/marker/_sizeref.py b/plotly/validators/splom/marker/_sizeref.py index d9f7206fe6b..91c50921951 100644 --- a/plotly/validators/splom/marker/_sizeref.py +++ b/plotly/validators/splom/marker/_sizeref.py @@ -9,7 +9,7 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/_sizesrc.py b/plotly/validators/splom/marker/_sizesrc.py index b492ecefd4d..62f598c0276 100644 --- a/plotly/validators/splom/marker/_sizesrc.py +++ b/plotly/validators/splom/marker/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/_symbol.py b/plotly/validators/splom/marker/_symbol.py index 2458c6778fb..4ebe115b9e4 100644 --- a/plotly/validators/splom/marker/_symbol.py +++ b/plotly/validators/splom/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/splom/marker/_symbolsrc.py b/plotly/validators/splom/marker/_symbolsrc.py index 83f60a64d0b..1e66b781c90 100644 --- a/plotly/validators/splom/marker/_symbolsrc.py +++ b/plotly/validators/splom/marker/_symbolsrc.py @@ -9,7 +9,7 @@ def __init__( super(SymbolsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_bgcolor.py b/plotly/validators/splom/marker/colorbar/_bgcolor.py index e63065dc44e..0d3072cf8f9 100644 --- a/plotly/validators/splom/marker/colorbar/_bgcolor.py +++ b/plotly/validators/splom/marker/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_bordercolor.py b/plotly/validators/splom/marker/colorbar/_bordercolor.py index cfc04efc3ec..b755bc79dca 100644 --- a/plotly/validators/splom/marker/colorbar/_bordercolor.py +++ b/plotly/validators/splom/marker/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_borderwidth.py b/plotly/validators/splom/marker/colorbar/_borderwidth.py index aa5bb71f44d..351e1fa320e 100644 --- a/plotly/validators/splom/marker/colorbar/_borderwidth.py +++ b/plotly/validators/splom/marker/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_dtick.py b/plotly/validators/splom/marker/colorbar/_dtick.py index 8aeb580077a..dff50527de0 100644 --- a/plotly/validators/splom/marker/colorbar/_dtick.py +++ b/plotly/validators/splom/marker/colorbar/_dtick.py @@ -12,8 +12,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_exponentformat.py b/plotly/validators/splom/marker/colorbar/_exponentformat.py index 551d079212f..051f5fc8383 100644 --- a/plotly/validators/splom/marker/colorbar/_exponentformat.py +++ b/plotly/validators/splom/marker/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_len.py b/plotly/validators/splom/marker/colorbar/_len.py index 41e734646af..1ca8336f7bd 100644 --- a/plotly/validators/splom/marker/colorbar/_len.py +++ b/plotly/validators/splom/marker/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_lenmode.py b/plotly/validators/splom/marker/colorbar/_lenmode.py index 4b103bfe369..3f944404b44 100644 --- a/plotly/validators/splom/marker/colorbar/_lenmode.py +++ b/plotly/validators/splom/marker/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_nticks.py b/plotly/validators/splom/marker/colorbar/_nticks.py index e68e3bd14b6..1b1c8649d65 100644 --- a/plotly/validators/splom/marker/colorbar/_nticks.py +++ b/plotly/validators/splom/marker/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_outlinecolor.py b/plotly/validators/splom/marker/colorbar/_outlinecolor.py index 987c4e42a47..e2bd4de0b94 100644 --- a/plotly/validators/splom/marker/colorbar/_outlinecolor.py +++ b/plotly/validators/splom/marker/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_outlinewidth.py b/plotly/validators/splom/marker/colorbar/_outlinewidth.py index 255e57c79fc..6df6b7ead21 100644 --- a/plotly/validators/splom/marker/colorbar/_outlinewidth.py +++ b/plotly/validators/splom/marker/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_separatethousands.py b/plotly/validators/splom/marker/colorbar/_separatethousands.py index ee67dc2d61c..842b8823a3d 100644 --- a/plotly/validators/splom/marker/colorbar/_separatethousands.py +++ b/plotly/validators/splom/marker/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_showexponent.py b/plotly/validators/splom/marker/colorbar/_showexponent.py index 6d7fdd411cc..bacc28242a2 100644 --- a/plotly/validators/splom/marker/colorbar/_showexponent.py +++ b/plotly/validators/splom/marker/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_showticklabels.py b/plotly/validators/splom/marker/colorbar/_showticklabels.py index 8c95510d500..b194a3f2346 100644 --- a/plotly/validators/splom/marker/colorbar/_showticklabels.py +++ b/plotly/validators/splom/marker/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_showtickprefix.py b/plotly/validators/splom/marker/colorbar/_showtickprefix.py index 86f95b16d36..4da9620d0f7 100644 --- a/plotly/validators/splom/marker/colorbar/_showtickprefix.py +++ b/plotly/validators/splom/marker/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_showticksuffix.py b/plotly/validators/splom/marker/colorbar/_showticksuffix.py index 80b850d3cb4..69650270135 100644 --- a/plotly/validators/splom/marker/colorbar/_showticksuffix.py +++ b/plotly/validators/splom/marker/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_thickness.py b/plotly/validators/splom/marker/colorbar/_thickness.py index 4c3701f43c4..415b1f5e9ae 100644 --- a/plotly/validators/splom/marker/colorbar/_thickness.py +++ b/plotly/validators/splom/marker/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_thicknessmode.py b/plotly/validators/splom/marker/colorbar/_thicknessmode.py index ae252fee467..049a3b3626c 100644 --- a/plotly/validators/splom/marker/colorbar/_thicknessmode.py +++ b/plotly/validators/splom/marker/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tick0.py b/plotly/validators/splom/marker/colorbar/_tick0.py index e9051ca620c..e577beed72d 100644 --- a/plotly/validators/splom/marker/colorbar/_tick0.py +++ b/plotly/validators/splom/marker/colorbar/_tick0.py @@ -12,8 +12,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickangle.py b/plotly/validators/splom/marker/colorbar/_tickangle.py index 29444ee92db..a11d9d464e4 100644 --- a/plotly/validators/splom/marker/colorbar/_tickangle.py +++ b/plotly/validators/splom/marker/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickcolor.py b/plotly/validators/splom/marker/colorbar/_tickcolor.py index dda2c81aabc..2b23b4c583c 100644 --- a/plotly/validators/splom/marker/colorbar/_tickcolor.py +++ b/plotly/validators/splom/marker/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickfont.py b/plotly/validators/splom/marker/colorbar/_tickfont.py index 688742cdd79..09958b48f7b 100644 --- a/plotly/validators/splom/marker/colorbar/_tickfont.py +++ b/plotly/validators/splom/marker/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickformat.py b/plotly/validators/splom/marker/colorbar/_tickformat.py index a7d008512d1..6b04ab39da8 100644 --- a/plotly/validators/splom/marker/colorbar/_tickformat.py +++ b/plotly/validators/splom/marker/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickformatstops.py b/plotly/validators/splom/marker/colorbar/_tickformatstops.py index e9f9892a204..1325a1f6811 100644 --- a/plotly/validators/splom/marker/colorbar/_tickformatstops.py +++ b/plotly/validators/splom/marker/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_ticklen.py b/plotly/validators/splom/marker/colorbar/_ticklen.py index 6c86099d8fd..f2cab247c63 100644 --- a/plotly/validators/splom/marker/colorbar/_ticklen.py +++ b/plotly/validators/splom/marker/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickmode.py b/plotly/validators/splom/marker/colorbar/_tickmode.py index e6144c80455..2ca2cff24bc 100644 --- a/plotly/validators/splom/marker/colorbar/_tickmode.py +++ b/plotly/validators/splom/marker/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickprefix.py b/plotly/validators/splom/marker/colorbar/_tickprefix.py index d0bd88e94f9..963b8473d0f 100644 --- a/plotly/validators/splom/marker/colorbar/_tickprefix.py +++ b/plotly/validators/splom/marker/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_ticks.py b/plotly/validators/splom/marker/colorbar/_ticks.py index 5cdab80de48..fd74c364d13 100644 --- a/plotly/validators/splom/marker/colorbar/_ticks.py +++ b/plotly/validators/splom/marker/colorbar/_ticks.py @@ -12,8 +12,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_ticksuffix.py b/plotly/validators/splom/marker/colorbar/_ticksuffix.py index 2e82b9bc409..d800152fe29 100644 --- a/plotly/validators/splom/marker/colorbar/_ticksuffix.py +++ b/plotly/validators/splom/marker/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_ticktext.py b/plotly/validators/splom/marker/colorbar/_ticktext.py index 04333e2c1c3..c2a58791a88 100644 --- a/plotly/validators/splom/marker/colorbar/_ticktext.py +++ b/plotly/validators/splom/marker/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_ticktextsrc.py b/plotly/validators/splom/marker/colorbar/_ticktextsrc.py index e843daf94b2..4b61ab948d2 100644 --- a/plotly/validators/splom/marker/colorbar/_ticktextsrc.py +++ b/plotly/validators/splom/marker/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickvals.py b/plotly/validators/splom/marker/colorbar/_tickvals.py index fc8683dd113..0b92c17bead 100644 --- a/plotly/validators/splom/marker/colorbar/_tickvals.py +++ b/plotly/validators/splom/marker/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickvalssrc.py b/plotly/validators/splom/marker/colorbar/_tickvalssrc.py index 41c0d3fe6f0..f2d81d9d6bb 100644 --- a/plotly/validators/splom/marker/colorbar/_tickvalssrc.py +++ b/plotly/validators/splom/marker/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_tickwidth.py b/plotly/validators/splom/marker/colorbar/_tickwidth.py index 279f1c49eab..75402e4c621 100644 --- a/plotly/validators/splom/marker/colorbar/_tickwidth.py +++ b/plotly/validators/splom/marker/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_title.py b/plotly/validators/splom/marker/colorbar/_title.py index 43008a0ee91..e0477208529 100644 --- a/plotly/validators/splom/marker/colorbar/_title.py +++ b/plotly/validators/splom/marker/colorbar/_title.py @@ -12,7 +12,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_titlefont.py b/plotly/validators/splom/marker/colorbar/_titlefont.py index c7a5c356c37..25a5cd27bc6 100644 --- a/plotly/validators/splom/marker/colorbar/_titlefont.py +++ b/plotly/validators/splom/marker/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_titleside.py b/plotly/validators/splom/marker/colorbar/_titleside.py index f624d635589..bbfada78eeb 100644 --- a/plotly/validators/splom/marker/colorbar/_titleside.py +++ b/plotly/validators/splom/marker/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_x.py b/plotly/validators/splom/marker/colorbar/_x.py index cb60984a178..fd39686359c 100644 --- a/plotly/validators/splom/marker/colorbar/_x.py +++ b/plotly/validators/splom/marker/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_xanchor.py b/plotly/validators/splom/marker/colorbar/_xanchor.py index d39cdf8a769..f639a398d13 100644 --- a/plotly/validators/splom/marker/colorbar/_xanchor.py +++ b/plotly/validators/splom/marker/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_xpad.py b/plotly/validators/splom/marker/colorbar/_xpad.py index 76e5e6e207c..ac342ebfd55 100644 --- a/plotly/validators/splom/marker/colorbar/_xpad.py +++ b/plotly/validators/splom/marker/colorbar/_xpad.py @@ -12,8 +12,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_y.py b/plotly/validators/splom/marker/colorbar/_y.py index cce3bfc26bd..bba99b29e58 100644 --- a/plotly/validators/splom/marker/colorbar/_y.py +++ b/plotly/validators/splom/marker/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_yanchor.py b/plotly/validators/splom/marker/colorbar/_yanchor.py index 7bdec6fa6e2..d95132893c1 100644 --- a/plotly/validators/splom/marker/colorbar/_yanchor.py +++ b/plotly/validators/splom/marker/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/_ypad.py b/plotly/validators/splom/marker/colorbar/_ypad.py index 0da876038f7..1fce8f9a692 100644 --- a/plotly/validators/splom/marker/colorbar/_ypad.py +++ b/plotly/validators/splom/marker/colorbar/_ypad.py @@ -12,8 +12,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickfont/_color.py b/plotly/validators/splom/marker/colorbar/tickfont/_color.py index ec18ed3786a..3359a402b89 100644 --- a/plotly/validators/splom/marker/colorbar/tickfont/_color.py +++ b/plotly/validators/splom/marker/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickfont/_family.py b/plotly/validators/splom/marker/colorbar/tickfont/_family.py index 568d3b37dc6..a0dbfbddc4c 100644 --- a/plotly/validators/splom/marker/colorbar/tickfont/_family.py +++ b/plotly/validators/splom/marker/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickfont/_size.py b/plotly/validators/splom/marker/colorbar/tickfont/_size.py index ec83509f905..159f2687851 100644 --- a/plotly/validators/splom/marker/colorbar/tickfont/_size.py +++ b/plotly/validators/splom/marker/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/splom/marker/colorbar/tickformatstop/_dtickrange.py index 0fe2ce61364..4d62521cd4f 100644 --- a/plotly/validators/splom/marker/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/splom/marker/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickformatstop/_enabled.py b/plotly/validators/splom/marker/colorbar/tickformatstop/_enabled.py index c12242650a9..0567b56a969 100644 --- a/plotly/validators/splom/marker/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/splom/marker/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickformatstop/_name.py b/plotly/validators/splom/marker/colorbar/tickformatstop/_name.py index c9d3fbfea18..4bcad84ec45 100644 --- a/plotly/validators/splom/marker/colorbar/tickformatstop/_name.py +++ b/plotly/validators/splom/marker/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/splom/marker/colorbar/tickformatstop/_templateitemname.py index 0e74a5ece35..b23d8005e90 100644 --- a/plotly/validators/splom/marker/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/splom/marker/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/tickformatstop/_value.py b/plotly/validators/splom/marker/colorbar/tickformatstop/_value.py index 870424a6928..86ae371df3a 100644 --- a/plotly/validators/splom/marker/colorbar/tickformatstop/_value.py +++ b/plotly/validators/splom/marker/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/titlefont/_color.py b/plotly/validators/splom/marker/colorbar/titlefont/_color.py index 4adecdf232d..84a4626cbfd 100644 --- a/plotly/validators/splom/marker/colorbar/titlefont/_color.py +++ b/plotly/validators/splom/marker/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/titlefont/_family.py b/plotly/validators/splom/marker/colorbar/titlefont/_family.py index cd80fe4b7c8..be349e3fb8b 100644 --- a/plotly/validators/splom/marker/colorbar/titlefont/_family.py +++ b/plotly/validators/splom/marker/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/splom/marker/colorbar/titlefont/_size.py b/plotly/validators/splom/marker/colorbar/titlefont/_size.py index 657350d5819..3d938b3bec7 100644 --- a/plotly/validators/splom/marker/colorbar/titlefont/_size.py +++ b/plotly/validators/splom/marker/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_autocolorscale.py b/plotly/validators/splom/marker/line/_autocolorscale.py index ff03c53da20..d22af703e8b 100644 --- a/plotly/validators/splom/marker/line/_autocolorscale.py +++ b/plotly/validators/splom/marker/line/_autocolorscale.py @@ -12,8 +12,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_cauto.py b/plotly/validators/splom/marker/line/_cauto.py index bddac8c3e1a..d76ed2da8da 100644 --- a/plotly/validators/splom/marker/line/_cauto.py +++ b/plotly/validators/splom/marker/line/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_cmax.py b/plotly/validators/splom/marker/line/_cmax.py index fd9d2f755cc..49cdfd48d9e 100644 --- a/plotly/validators/splom/marker/line/_cmax.py +++ b/plotly/validators/splom/marker/line/_cmax.py @@ -9,8 +9,8 @@ def __init__( super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_cmin.py b/plotly/validators/splom/marker/line/_cmin.py index b87fdb41372..fe4f3a0c1b4 100644 --- a/plotly/validators/splom/marker/line/_cmin.py +++ b/plotly/validators/splom/marker/line/_cmin.py @@ -9,8 +9,8 @@ def __init__( super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_color.py b/plotly/validators/splom/marker/line/_color.py index a5849d7e92c..e060eaebd55 100644 --- a/plotly/validators/splom/marker/line/_color.py +++ b/plotly/validators/splom/marker/line/_color.py @@ -9,9 +9,11 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - colorscale_path='splom.marker.line.colorscale', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + colorscale_path=kwargs.pop( + 'colorscale_path', 'splom.marker.line.colorscale' + ), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_colorscale.py b/plotly/validators/splom/marker/line/_colorscale.py index ab4beb2e973..629853fe5cd 100644 --- a/plotly/validators/splom/marker/line/_colorscale.py +++ b/plotly/validators/splom/marker/line/_colorscale.py @@ -12,8 +12,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_colorsrc.py b/plotly/validators/splom/marker/line/_colorsrc.py index f5f4524d85a..8432a40913a 100644 --- a/plotly/validators/splom/marker/line/_colorsrc.py +++ b/plotly/validators/splom/marker/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_reversescale.py b/plotly/validators/splom/marker/line/_reversescale.py index d1da0198399..fc9c2e6934d 100644 --- a/plotly/validators/splom/marker/line/_reversescale.py +++ b/plotly/validators/splom/marker/line/_reversescale.py @@ -12,7 +12,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_width.py b/plotly/validators/splom/marker/line/_width.py index 0fa10ec2407..69f564acba3 100644 --- a/plotly/validators/splom/marker/line/_width.py +++ b/plotly/validators/splom/marker/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/marker/line/_widthsrc.py b/plotly/validators/splom/marker/line/_widthsrc.py index 42ff1dd5f97..e7e7509d552 100644 --- a/plotly/validators/splom/marker/line/_widthsrc.py +++ b/plotly/validators/splom/marker/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/selected/_marker.py b/plotly/validators/splom/selected/_marker.py index 72d95dbb178..3b9e80f6c27 100644 --- a/plotly/validators/splom/selected/_marker.py +++ b/plotly/validators/splom/selected/_marker.py @@ -9,14 +9,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/selected/marker/_color.py b/plotly/validators/splom/selected/marker/_color.py index d4dee940b65..621d3677952 100644 --- a/plotly/validators/splom/selected/marker/_color.py +++ b/plotly/validators/splom/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/selected/marker/_opacity.py b/plotly/validators/splom/selected/marker/_opacity.py index 91b4ecfdbdf..a493764511c 100644 --- a/plotly/validators/splom/selected/marker/_opacity.py +++ b/plotly/validators/splom/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/selected/marker/_size.py b/plotly/validators/splom/selected/marker/_size.py index d29e2e989a3..ddb1e1d0e2f 100644 --- a/plotly/validators/splom/selected/marker/_size.py +++ b/plotly/validators/splom/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/stream/_maxpoints.py b/plotly/validators/splom/stream/_maxpoints.py index aa27d0f5e04..2e3933d56aa 100644 --- a/plotly/validators/splom/stream/_maxpoints.py +++ b/plotly/validators/splom/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/splom/stream/_token.py b/plotly/validators/splom/stream/_token.py index 7f11e6d1830..fa245574aa6 100644 --- a/plotly/validators/splom/stream/_token.py +++ b/plotly/validators/splom/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/splom/unselected/_marker.py b/plotly/validators/splom/unselected/_marker.py index 735608dad24..d3cece6ca20 100644 --- a/plotly/validators/splom/unselected/_marker.py +++ b/plotly/validators/splom/unselected/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -20,6 +21,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/splom/unselected/marker/_color.py b/plotly/validators/splom/unselected/marker/_color.py index 4290cfd1433..8080685be68 100644 --- a/plotly/validators/splom/unselected/marker/_color.py +++ b/plotly/validators/splom/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/unselected/marker/_opacity.py b/plotly/validators/splom/unselected/marker/_opacity.py index 07f6055847b..8989c035bfb 100644 --- a/plotly/validators/splom/unselected/marker/_opacity.py +++ b/plotly/validators/splom/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/splom/unselected/marker/_size.py b/plotly/validators/splom/unselected/marker/_size.py index 872b8067e7e..4c91a953bb7 100644 --- a/plotly/validators/splom/unselected/marker/_size.py +++ b/plotly/validators/splom/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/_autocolorscale.py b/plotly/validators/streamtube/_autocolorscale.py index 1b21f167037..611fcc31848 100644 --- a/plotly/validators/streamtube/_autocolorscale.py +++ b/plotly/validators/streamtube/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/_cauto.py b/plotly/validators/streamtube/_cauto.py index 696d3856266..9192291c1f9 100644 --- a/plotly/validators/streamtube/_cauto.py +++ b/plotly/validators/streamtube/_cauto.py @@ -9,8 +9,8 @@ def __init__( super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_cmax.py b/plotly/validators/streamtube/_cmax.py index f1843b1d91b..2374c61727d 100644 --- a/plotly/validators/streamtube/_cmax.py +++ b/plotly/validators/streamtube/_cmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmax', parent_name='streamtube', **kwargs): super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_cmin.py b/plotly/validators/streamtube/_cmin.py index 2227b6d9132..7c467e5fbcb 100644 --- a/plotly/validators/streamtube/_cmin.py +++ b/plotly/validators/streamtube/_cmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmin', parent_name='streamtube', **kwargs): super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_colorbar.py b/plotly/validators/streamtube/_colorbar.py index db8000397f6..f4a5dfab51e 100644 --- a/plotly/validators/streamtube/_colorbar.py +++ b/plotly/validators/streamtube/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -206,6 +207,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/_colorscale.py b/plotly/validators/streamtube/_colorscale.py index 5570ae02269..47fcd5648da 100644 --- a/plotly/validators/streamtube/_colorscale.py +++ b/plotly/validators/streamtube/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/_customdata.py b/plotly/validators/streamtube/_customdata.py index af6b8102a07..629e3013e3c 100644 --- a/plotly/validators/streamtube/_customdata.py +++ b/plotly/validators/streamtube/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_customdatasrc.py b/plotly/validators/streamtube/_customdatasrc.py index 5de01881a4a..2faa1f9ff4d 100644 --- a/plotly/validators/streamtube/_customdatasrc.py +++ b/plotly/validators/streamtube/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_hoverinfo.py b/plotly/validators/streamtube/_hoverinfo.py index a0baab60e43..b57a58084e6 100644 --- a/plotly/validators/streamtube/_hoverinfo.py +++ b/plotly/validators/streamtube/_hoverinfo.py @@ -9,13 +9,15 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=[ - 'x', 'y', 'z', 'u', 'v', 'w', 'norm', 'divergence', 'text', - 'name' - ], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop( + 'flags', [ + 'x', 'y', 'z', 'u', 'v', 'w', 'norm', 'divergence', 'text', + 'name' + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_hoverinfosrc.py b/plotly/validators/streamtube/_hoverinfosrc.py index 2efa823db18..062725ecc63 100644 --- a/plotly/validators/streamtube/_hoverinfosrc.py +++ b/plotly/validators/streamtube/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_hoverlabel.py b/plotly/validators/streamtube/_hoverlabel.py index 8b0e1f8bcf1..300216a8d79 100644 --- a/plotly/validators/streamtube/_hoverlabel.py +++ b/plotly/validators/streamtube/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/_ids.py b/plotly/validators/streamtube/_ids.py index 4e628fe9852..7f0bbf3e571 100644 --- a/plotly/validators/streamtube/_ids.py +++ b/plotly/validators/streamtube/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='streamtube', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_idssrc.py b/plotly/validators/streamtube/_idssrc.py index 6e0efaca21b..71e4e74f7ec 100644 --- a/plotly/validators/streamtube/_idssrc.py +++ b/plotly/validators/streamtube/_idssrc.py @@ -9,7 +9,7 @@ def __init__( super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_legendgroup.py b/plotly/validators/streamtube/_legendgroup.py index 02852f56525..4d06bef37db 100644 --- a/plotly/validators/streamtube/_legendgroup.py +++ b/plotly/validators/streamtube/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_lighting.py b/plotly/validators/streamtube/_lighting.py index 9cb0f11b302..4bef2889dda 100644 --- a/plotly/validators/streamtube/_lighting.py +++ b/plotly/validators/streamtube/_lighting.py @@ -9,8 +9,9 @@ def __init__( super(LightingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lighting', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lighting'), + data_docs=kwargs.pop( + 'data_docs', """ ambient Ambient light increases overall color visibility but can wash out the image. @@ -35,6 +36,7 @@ def __init__( vertexnormalsepsilon Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/_lightposition.py b/plotly/validators/streamtube/_lightposition.py index 8e15844dd1d..908addda31f 100644 --- a/plotly/validators/streamtube/_lightposition.py +++ b/plotly/validators/streamtube/_lightposition.py @@ -9,8 +9,9 @@ def __init__( super(LightpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lightposition', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lightposition'), + data_docs=kwargs.pop( + 'data_docs', """ x Numeric vector, representing the X coordinate for each vertex. @@ -20,6 +21,7 @@ def __init__( z Numeric vector, representing the Z coordinate for each vertex. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/_maxdisplayed.py b/plotly/validators/streamtube/_maxdisplayed.py index 3bd44dada7c..0742f4d1a15 100644 --- a/plotly/validators/streamtube/_maxdisplayed.py +++ b/plotly/validators/streamtube/_maxdisplayed.py @@ -9,8 +9,8 @@ def __init__( super(MaxdisplayedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_name.py b/plotly/validators/streamtube/_name.py index bb5d4b7ab65..7908da2e7d3 100644 --- a/plotly/validators/streamtube/_name.py +++ b/plotly/validators/streamtube/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='streamtube', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_opacity.py b/plotly/validators/streamtube/_opacity.py index fdfac1bbc99..94dc7868330 100644 --- a/plotly/validators/streamtube/_opacity.py +++ b/plotly/validators/streamtube/_opacity.py @@ -9,9 +9,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/_reversescale.py b/plotly/validators/streamtube/_reversescale.py index cbee1eb0592..5ac160259c7 100644 --- a/plotly/validators/streamtube/_reversescale.py +++ b/plotly/validators/streamtube/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/_scene.py b/plotly/validators/streamtube/_scene.py index 64a44091271..f9cedeef6d1 100644 --- a/plotly/validators/streamtube/_scene.py +++ b/plotly/validators/streamtube/_scene.py @@ -9,8 +9,8 @@ def __init__( super(SceneValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='scene', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'scene'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_selectedpoints.py b/plotly/validators/streamtube/_selectedpoints.py index 4c6e310d2a6..e2e15927906 100644 --- a/plotly/validators/streamtube/_selectedpoints.py +++ b/plotly/validators/streamtube/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_showlegend.py b/plotly/validators/streamtube/_showlegend.py index e66204d9dc2..6e99d3d01c9 100644 --- a/plotly/validators/streamtube/_showlegend.py +++ b/plotly/validators/streamtube/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_showscale.py b/plotly/validators/streamtube/_showscale.py index d9b1aa68ac1..450207af508 100644 --- a/plotly/validators/streamtube/_showscale.py +++ b/plotly/validators/streamtube/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_sizeref.py b/plotly/validators/streamtube/_sizeref.py index 585ecf9d90a..f0deab0f65d 100644 --- a/plotly/validators/streamtube/_sizeref.py +++ b/plotly/validators/streamtube/_sizeref.py @@ -9,8 +9,8 @@ def __init__( super(SizerefValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_starts.py b/plotly/validators/streamtube/_starts.py index 9d53e9b1838..180d3915c75 100644 --- a/plotly/validators/streamtube/_starts.py +++ b/plotly/validators/streamtube/_starts.py @@ -9,8 +9,9 @@ def __init__( super(StartsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Starts', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Starts'), + data_docs=kwargs.pop( + 'data_docs', """ x Sets the x components of the starting position of the streamtubes @@ -26,6 +27,7 @@ def __init__( of the streamtubes zsrc Sets the source reference on plot.ly for z . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/_stream.py b/plotly/validators/streamtube/_stream.py index 9f1696d567b..5e920a4928c 100644 --- a/plotly/validators/streamtube/_stream.py +++ b/plotly/validators/streamtube/_stream.py @@ -9,8 +9,9 @@ def __init__( super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -20,6 +21,7 @@ def __init__( The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/_text.py b/plotly/validators/streamtube/_text.py index 8dd7a3c65ed..c93d3d188f9 100644 --- a/plotly/validators/streamtube/_text.py +++ b/plotly/validators/streamtube/_text.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='text', parent_name='streamtube', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_u.py b/plotly/validators/streamtube/_u.py index 7341081c78d..67b1c48a1bc 100644 --- a/plotly/validators/streamtube/_u.py +++ b/plotly/validators/streamtube/_u.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='u', parent_name='streamtube', **kwargs): super(UValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_uid.py b/plotly/validators/streamtube/_uid.py index 6548193bc65..f8e4ecbdeef 100644 --- a/plotly/validators/streamtube/_uid.py +++ b/plotly/validators/streamtube/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='streamtube', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_usrc.py b/plotly/validators/streamtube/_usrc.py index ae8d77d7dad..af3a15e85e3 100644 --- a/plotly/validators/streamtube/_usrc.py +++ b/plotly/validators/streamtube/_usrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='usrc', parent_name='streamtube', **kwargs): super(UsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_v.py b/plotly/validators/streamtube/_v.py index b7a043c4fd0..1825e0a1aae 100644 --- a/plotly/validators/streamtube/_v.py +++ b/plotly/validators/streamtube/_v.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='v', parent_name='streamtube', **kwargs): super(VValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_visible.py b/plotly/validators/streamtube/_visible.py index 4feef49f36a..ac46c9d40e7 100644 --- a/plotly/validators/streamtube/_visible.py +++ b/plotly/validators/streamtube/_visible.py @@ -9,8 +9,8 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/streamtube/_vsrc.py b/plotly/validators/streamtube/_vsrc.py index 4e6394be1ee..7629efea7e2 100644 --- a/plotly/validators/streamtube/_vsrc.py +++ b/plotly/validators/streamtube/_vsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='vsrc', parent_name='streamtube', **kwargs): super(VsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_w.py b/plotly/validators/streamtube/_w.py index 5996d8c685b..78e1d754657 100644 --- a/plotly/validators/streamtube/_w.py +++ b/plotly/validators/streamtube/_w.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='w', parent_name='streamtube', **kwargs): super(WValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_wsrc.py b/plotly/validators/streamtube/_wsrc.py index 59c2b491d02..786ca74ea71 100644 --- a/plotly/validators/streamtube/_wsrc.py +++ b/plotly/validators/streamtube/_wsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='wsrc', parent_name='streamtube', **kwargs): super(WsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_x.py b/plotly/validators/streamtube/_x.py index dc3457a52aa..7b7aa0c7902 100644 --- a/plotly/validators/streamtube/_x.py +++ b/plotly/validators/streamtube/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='streamtube', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_xsrc.py b/plotly/validators/streamtube/_xsrc.py index 818e3942228..0a528d2ab8e 100644 --- a/plotly/validators/streamtube/_xsrc.py +++ b/plotly/validators/streamtube/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='streamtube', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_y.py b/plotly/validators/streamtube/_y.py index 749588ebf17..8791f3bb559 100644 --- a/plotly/validators/streamtube/_y.py +++ b/plotly/validators/streamtube/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='streamtube', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_ysrc.py b/plotly/validators/streamtube/_ysrc.py index 1ffae1cf5e4..bdc4136d48d 100644 --- a/plotly/validators/streamtube/_ysrc.py +++ b/plotly/validators/streamtube/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='streamtube', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/_z.py b/plotly/validators/streamtube/_z.py index 30b4c0fa57c..d1e04ac322d 100644 --- a/plotly/validators/streamtube/_z.py +++ b/plotly/validators/streamtube/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='streamtube', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/_zsrc.py b/plotly/validators/streamtube/_zsrc.py index 700f63f4027..b73a89a768e 100644 --- a/plotly/validators/streamtube/_zsrc.py +++ b/plotly/validators/streamtube/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='streamtube', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_bgcolor.py b/plotly/validators/streamtube/colorbar/_bgcolor.py index acd5dc80c7b..069a758cc25 100644 --- a/plotly/validators/streamtube/colorbar/_bgcolor.py +++ b/plotly/validators/streamtube/colorbar/_bgcolor.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_bordercolor.py b/plotly/validators/streamtube/colorbar/_bordercolor.py index 84363b3eb96..9f357561d2d 100644 --- a/plotly/validators/streamtube/colorbar/_bordercolor.py +++ b/plotly/validators/streamtube/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_borderwidth.py b/plotly/validators/streamtube/colorbar/_borderwidth.py index f0f0c328d8e..7ad42c92a70 100644 --- a/plotly/validators/streamtube/colorbar/_borderwidth.py +++ b/plotly/validators/streamtube/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_dtick.py b/plotly/validators/streamtube/colorbar/_dtick.py index 69c95b3ea57..63e4ce44f32 100644 --- a/plotly/validators/streamtube/colorbar/_dtick.py +++ b/plotly/validators/streamtube/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_exponentformat.py b/plotly/validators/streamtube/colorbar/_exponentformat.py index ec911180e82..a18b2544d42 100644 --- a/plotly/validators/streamtube/colorbar/_exponentformat.py +++ b/plotly/validators/streamtube/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_len.py b/plotly/validators/streamtube/colorbar/_len.py index 173856fc517..47a0ff30b2d 100644 --- a/plotly/validators/streamtube/colorbar/_len.py +++ b/plotly/validators/streamtube/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_lenmode.py b/plotly/validators/streamtube/colorbar/_lenmode.py index 1a83672698a..c622e4dd107 100644 --- a/plotly/validators/streamtube/colorbar/_lenmode.py +++ b/plotly/validators/streamtube/colorbar/_lenmode.py @@ -12,8 +12,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_nticks.py b/plotly/validators/streamtube/colorbar/_nticks.py index 792c809e943..af2aa35a830 100644 --- a/plotly/validators/streamtube/colorbar/_nticks.py +++ b/plotly/validators/streamtube/colorbar/_nticks.py @@ -12,8 +12,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_outlinecolor.py b/plotly/validators/streamtube/colorbar/_outlinecolor.py index 13a79713208..9b2c59e5084 100644 --- a/plotly/validators/streamtube/colorbar/_outlinecolor.py +++ b/plotly/validators/streamtube/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_outlinewidth.py b/plotly/validators/streamtube/colorbar/_outlinewidth.py index af0b96c77bc..7e6776488ff 100644 --- a/plotly/validators/streamtube/colorbar/_outlinewidth.py +++ b/plotly/validators/streamtube/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_separatethousands.py b/plotly/validators/streamtube/colorbar/_separatethousands.py index ba64138647e..3807cb99238 100644 --- a/plotly/validators/streamtube/colorbar/_separatethousands.py +++ b/plotly/validators/streamtube/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_showexponent.py b/plotly/validators/streamtube/colorbar/_showexponent.py index 836bcba073d..880e49f8d5b 100644 --- a/plotly/validators/streamtube/colorbar/_showexponent.py +++ b/plotly/validators/streamtube/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_showticklabels.py b/plotly/validators/streamtube/colorbar/_showticklabels.py index d6574849173..d3a2823aa83 100644 --- a/plotly/validators/streamtube/colorbar/_showticklabels.py +++ b/plotly/validators/streamtube/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_showtickprefix.py b/plotly/validators/streamtube/colorbar/_showtickprefix.py index a9ce6279af0..1e2ab27620d 100644 --- a/plotly/validators/streamtube/colorbar/_showtickprefix.py +++ b/plotly/validators/streamtube/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_showticksuffix.py b/plotly/validators/streamtube/colorbar/_showticksuffix.py index 8300f6359c2..6c7d3e1134e 100644 --- a/plotly/validators/streamtube/colorbar/_showticksuffix.py +++ b/plotly/validators/streamtube/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_thickness.py b/plotly/validators/streamtube/colorbar/_thickness.py index 3c8f935119d..06825aa719a 100644 --- a/plotly/validators/streamtube/colorbar/_thickness.py +++ b/plotly/validators/streamtube/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_thicknessmode.py b/plotly/validators/streamtube/colorbar/_thicknessmode.py index 2ae4a27f927..f05954f7c51 100644 --- a/plotly/validators/streamtube/colorbar/_thicknessmode.py +++ b/plotly/validators/streamtube/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tick0.py b/plotly/validators/streamtube/colorbar/_tick0.py index b79bba4bbc7..782cbfd0756 100644 --- a/plotly/validators/streamtube/colorbar/_tick0.py +++ b/plotly/validators/streamtube/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickangle.py b/plotly/validators/streamtube/colorbar/_tickangle.py index 8ffc8d1d4cc..bf60696a397 100644 --- a/plotly/validators/streamtube/colorbar/_tickangle.py +++ b/plotly/validators/streamtube/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickcolor.py b/plotly/validators/streamtube/colorbar/_tickcolor.py index e53b0d28f13..1c76a5281c6 100644 --- a/plotly/validators/streamtube/colorbar/_tickcolor.py +++ b/plotly/validators/streamtube/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickfont.py b/plotly/validators/streamtube/colorbar/_tickfont.py index 2ffcfbd81d4..0a199a2ff3e 100644 --- a/plotly/validators/streamtube/colorbar/_tickfont.py +++ b/plotly/validators/streamtube/colorbar/_tickfont.py @@ -12,8 +12,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickformat.py b/plotly/validators/streamtube/colorbar/_tickformat.py index 6f9fef109b1..754fba78b8f 100644 --- a/plotly/validators/streamtube/colorbar/_tickformat.py +++ b/plotly/validators/streamtube/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickformatstops.py b/plotly/validators/streamtube/colorbar/_tickformatstops.py index 04b2068b6fc..b70caebb126 100644 --- a/plotly/validators/streamtube/colorbar/_tickformatstops.py +++ b/plotly/validators/streamtube/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_ticklen.py b/plotly/validators/streamtube/colorbar/_ticklen.py index 3997575b551..8e545027ff1 100644 --- a/plotly/validators/streamtube/colorbar/_ticklen.py +++ b/plotly/validators/streamtube/colorbar/_ticklen.py @@ -12,8 +12,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickmode.py b/plotly/validators/streamtube/colorbar/_tickmode.py index 063da7b45dc..6df38ec192d 100644 --- a/plotly/validators/streamtube/colorbar/_tickmode.py +++ b/plotly/validators/streamtube/colorbar/_tickmode.py @@ -12,9 +12,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickprefix.py b/plotly/validators/streamtube/colorbar/_tickprefix.py index 2f95d7f49f4..b16355caae1 100644 --- a/plotly/validators/streamtube/colorbar/_tickprefix.py +++ b/plotly/validators/streamtube/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_ticks.py b/plotly/validators/streamtube/colorbar/_ticks.py index 774009e5268..764a25b772b 100644 --- a/plotly/validators/streamtube/colorbar/_ticks.py +++ b/plotly/validators/streamtube/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_ticksuffix.py b/plotly/validators/streamtube/colorbar/_ticksuffix.py index 945c904d52b..21435cd9611 100644 --- a/plotly/validators/streamtube/colorbar/_ticksuffix.py +++ b/plotly/validators/streamtube/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_ticktext.py b/plotly/validators/streamtube/colorbar/_ticktext.py index 60e79a227c0..43b51d76b7f 100644 --- a/plotly/validators/streamtube/colorbar/_ticktext.py +++ b/plotly/validators/streamtube/colorbar/_ticktext.py @@ -12,7 +12,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_ticktextsrc.py b/plotly/validators/streamtube/colorbar/_ticktextsrc.py index c4b8901505f..039c45a6515 100644 --- a/plotly/validators/streamtube/colorbar/_ticktextsrc.py +++ b/plotly/validators/streamtube/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickvals.py b/plotly/validators/streamtube/colorbar/_tickvals.py index 0bb1a9ab3fd..9fb4206b97e 100644 --- a/plotly/validators/streamtube/colorbar/_tickvals.py +++ b/plotly/validators/streamtube/colorbar/_tickvals.py @@ -12,7 +12,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='data', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickvalssrc.py b/plotly/validators/streamtube/colorbar/_tickvalssrc.py index f85c5f96919..14908f0d942 100644 --- a/plotly/validators/streamtube/colorbar/_tickvalssrc.py +++ b/plotly/validators/streamtube/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_tickwidth.py b/plotly/validators/streamtube/colorbar/_tickwidth.py index 2b71a93f554..216bbddd38f 100644 --- a/plotly/validators/streamtube/colorbar/_tickwidth.py +++ b/plotly/validators/streamtube/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_title.py b/plotly/validators/streamtube/colorbar/_title.py index 026f059b16c..5fafefb5356 100644 --- a/plotly/validators/streamtube/colorbar/_title.py +++ b/plotly/validators/streamtube/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_titlefont.py b/plotly/validators/streamtube/colorbar/_titlefont.py index 907d02dce40..f720d79b4d6 100644 --- a/plotly/validators/streamtube/colorbar/_titlefont.py +++ b/plotly/validators/streamtube/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_titleside.py b/plotly/validators/streamtube/colorbar/_titleside.py index 6c10fb6ca2c..608b4ca2f51 100644 --- a/plotly/validators/streamtube/colorbar/_titleside.py +++ b/plotly/validators/streamtube/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_x.py b/plotly/validators/streamtube/colorbar/_x.py index 32c69b9cdfd..a9809637d6f 100644 --- a/plotly/validators/streamtube/colorbar/_x.py +++ b/plotly/validators/streamtube/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_xanchor.py b/plotly/validators/streamtube/colorbar/_xanchor.py index 31f0ca87018..631b35b1d82 100644 --- a/plotly/validators/streamtube/colorbar/_xanchor.py +++ b/plotly/validators/streamtube/colorbar/_xanchor.py @@ -12,8 +12,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_xpad.py b/plotly/validators/streamtube/colorbar/_xpad.py index d7394abcecb..4c14b9addd8 100644 --- a/plotly/validators/streamtube/colorbar/_xpad.py +++ b/plotly/validators/streamtube/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_y.py b/plotly/validators/streamtube/colorbar/_y.py index 40870a19c2a..16147b75809 100644 --- a/plotly/validators/streamtube/colorbar/_y.py +++ b/plotly/validators/streamtube/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_yanchor.py b/plotly/validators/streamtube/colorbar/_yanchor.py index daa2cd9feee..03224940501 100644 --- a/plotly/validators/streamtube/colorbar/_yanchor.py +++ b/plotly/validators/streamtube/colorbar/_yanchor.py @@ -12,8 +12,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/_ypad.py b/plotly/validators/streamtube/colorbar/_ypad.py index 84bc706ce93..65bbe464339 100644 --- a/plotly/validators/streamtube/colorbar/_ypad.py +++ b/plotly/validators/streamtube/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickfont/_color.py b/plotly/validators/streamtube/colorbar/tickfont/_color.py index 73643339cd5..78811ce4588 100644 --- a/plotly/validators/streamtube/colorbar/tickfont/_color.py +++ b/plotly/validators/streamtube/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickfont/_family.py b/plotly/validators/streamtube/colorbar/tickfont/_family.py index e1c05f95b10..7f5b5914934 100644 --- a/plotly/validators/streamtube/colorbar/tickfont/_family.py +++ b/plotly/validators/streamtube/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickfont/_size.py b/plotly/validators/streamtube/colorbar/tickfont/_size.py index d54c985193b..c9798d7e663 100644 --- a/plotly/validators/streamtube/colorbar/tickfont/_size.py +++ b/plotly/validators/streamtube/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/streamtube/colorbar/tickformatstop/_dtickrange.py index 81cc4702ffc..7af2c05cb5f 100644 --- a/plotly/validators/streamtube/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/streamtube/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - items=[ - { - 'valType': 'any', - 'editType': 'colorbars' - }, { - 'valType': 'any', - 'editType': 'colorbars' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'colorbars' + }, { + 'valType': 'any', + 'editType': 'colorbars' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickformatstop/_enabled.py b/plotly/validators/streamtube/colorbar/tickformatstop/_enabled.py index eebbe8b7324..940cf09c71d 100644 --- a/plotly/validators/streamtube/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/streamtube/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickformatstop/_name.py b/plotly/validators/streamtube/colorbar/tickformatstop/_name.py index 6ba68964e4e..100240aaf8e 100644 --- a/plotly/validators/streamtube/colorbar/tickformatstop/_name.py +++ b/plotly/validators/streamtube/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/streamtube/colorbar/tickformatstop/_templateitemname.py index 48569946281..0aead58d2b4 100644 --- a/plotly/validators/streamtube/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/streamtube/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='info', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/tickformatstop/_value.py b/plotly/validators/streamtube/colorbar/tickformatstop/_value.py index 689dece1e7a..5f332169f96 100644 --- a/plotly/validators/streamtube/colorbar/tickformatstop/_value.py +++ b/plotly/validators/streamtube/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/titlefont/_color.py b/plotly/validators/streamtube/colorbar/titlefont/_color.py index 31432b7f585..2f73ced9eb3 100644 --- a/plotly/validators/streamtube/colorbar/titlefont/_color.py +++ b/plotly/validators/streamtube/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/titlefont/_family.py b/plotly/validators/streamtube/colorbar/titlefont/_family.py index f01c920d268..6859065f31c 100644 --- a/plotly/validators/streamtube/colorbar/titlefont/_family.py +++ b/plotly/validators/streamtube/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'colorbars'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/streamtube/colorbar/titlefont/_size.py b/plotly/validators/streamtube/colorbar/titlefont/_size.py index a7acc97282b..0e30b556f58 100644 --- a/plotly/validators/streamtube/colorbar/titlefont/_size.py +++ b/plotly/validators/streamtube/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='colorbars', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'colorbars'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_bgcolor.py b/plotly/validators/streamtube/hoverlabel/_bgcolor.py index 11b8c66dd3a..a2d3f40240a 100644 --- a/plotly/validators/streamtube/hoverlabel/_bgcolor.py +++ b/plotly/validators/streamtube/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_bgcolorsrc.py b/plotly/validators/streamtube/hoverlabel/_bgcolorsrc.py index 05302515f32..a5e7fce33bc 100644 --- a/plotly/validators/streamtube/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/streamtube/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_bordercolor.py b/plotly/validators/streamtube/hoverlabel/_bordercolor.py index ae582258aea..8891187437e 100644 --- a/plotly/validators/streamtube/hoverlabel/_bordercolor.py +++ b/plotly/validators/streamtube/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_bordercolorsrc.py b/plotly/validators/streamtube/hoverlabel/_bordercolorsrc.py index 95a128df125..076e205c75f 100644 --- a/plotly/validators/streamtube/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/streamtube/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_font.py b/plotly/validators/streamtube/hoverlabel/_font.py index e8fbf4659b7..5df588ef3db 100644 --- a/plotly/validators/streamtube/hoverlabel/_font.py +++ b/plotly/validators/streamtube/hoverlabel/_font.py @@ -12,8 +12,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -43,6 +44,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_namelength.py b/plotly/validators/streamtube/hoverlabel/_namelength.py index b290d2116bc..16e1f8b34eb 100644 --- a/plotly/validators/streamtube/hoverlabel/_namelength.py +++ b/plotly/validators/streamtube/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/_namelengthsrc.py b/plotly/validators/streamtube/hoverlabel/_namelengthsrc.py index 846e65dd06f..d0054494140 100644 --- a/plotly/validators/streamtube/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/streamtube/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/font/_color.py b/plotly/validators/streamtube/hoverlabel/font/_color.py index 11de8a4e535..ce64d88ee07 100644 --- a/plotly/validators/streamtube/hoverlabel/font/_color.py +++ b/plotly/validators/streamtube/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/font/_colorsrc.py b/plotly/validators/streamtube/hoverlabel/font/_colorsrc.py index 5072bd99fde..40e1f1acf6d 100644 --- a/plotly/validators/streamtube/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/streamtube/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/font/_family.py b/plotly/validators/streamtube/hoverlabel/font/_family.py index 335e3ef0531..0040dd9102b 100644 --- a/plotly/validators/streamtube/hoverlabel/font/_family.py +++ b/plotly/validators/streamtube/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/font/_familysrc.py b/plotly/validators/streamtube/hoverlabel/font/_familysrc.py index 3d4bc6a776e..1b08c72333f 100644 --- a/plotly/validators/streamtube/hoverlabel/font/_familysrc.py +++ b/plotly/validators/streamtube/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/font/_size.py b/plotly/validators/streamtube/hoverlabel/font/_size.py index 709f04ba0de..d679a2ff138 100644 --- a/plotly/validators/streamtube/hoverlabel/font/_size.py +++ b/plotly/validators/streamtube/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/hoverlabel/font/_sizesrc.py b/plotly/validators/streamtube/hoverlabel/font/_sizesrc.py index afa8f2f62f4..2ecb4efde9e 100644 --- a/plotly/validators/streamtube/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/streamtube/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_ambient.py b/plotly/validators/streamtube/lighting/_ambient.py index e059af0cebf..d093718e278 100644 --- a/plotly/validators/streamtube/lighting/_ambient.py +++ b/plotly/validators/streamtube/lighting/_ambient.py @@ -12,9 +12,9 @@ def __init__( super(AmbientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_diffuse.py b/plotly/validators/streamtube/lighting/_diffuse.py index 9e2b9cde0ab..6ff9b131210 100644 --- a/plotly/validators/streamtube/lighting/_diffuse.py +++ b/plotly/validators/streamtube/lighting/_diffuse.py @@ -12,9 +12,9 @@ def __init__( super(DiffuseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_facenormalsepsilon.py b/plotly/validators/streamtube/lighting/_facenormalsepsilon.py index 8decf750628..1356b2c575f 100644 --- a/plotly/validators/streamtube/lighting/_facenormalsepsilon.py +++ b/plotly/validators/streamtube/lighting/_facenormalsepsilon.py @@ -14,9 +14,9 @@ def __init__( super(FacenormalsepsilonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_fresnel.py b/plotly/validators/streamtube/lighting/_fresnel.py index ae43a527e8a..c8bc156ae1d 100644 --- a/plotly/validators/streamtube/lighting/_fresnel.py +++ b/plotly/validators/streamtube/lighting/_fresnel.py @@ -12,9 +12,9 @@ def __init__( super(FresnelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=5, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 5), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_roughness.py b/plotly/validators/streamtube/lighting/_roughness.py index 18adcadfce9..d726d078653 100644 --- a/plotly/validators/streamtube/lighting/_roughness.py +++ b/plotly/validators/streamtube/lighting/_roughness.py @@ -12,9 +12,9 @@ def __init__( super(RoughnessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_specular.py b/plotly/validators/streamtube/lighting/_specular.py index 43dca76da74..ef4c3ae82b7 100644 --- a/plotly/validators/streamtube/lighting/_specular.py +++ b/plotly/validators/streamtube/lighting/_specular.py @@ -12,9 +12,9 @@ def __init__( super(SpecularValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lighting/_vertexnormalsepsilon.py b/plotly/validators/streamtube/lighting/_vertexnormalsepsilon.py index 2d90eb26292..c8fa29cc134 100644 --- a/plotly/validators/streamtube/lighting/_vertexnormalsepsilon.py +++ b/plotly/validators/streamtube/lighting/_vertexnormalsepsilon.py @@ -14,9 +14,9 @@ def __init__( super(VertexnormalsepsilonValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lightposition/_x.py b/plotly/validators/streamtube/lightposition/_x.py index dc5e89a4212..3bc8fe9e38e 100644 --- a/plotly/validators/streamtube/lightposition/_x.py +++ b/plotly/validators/streamtube/lightposition/_x.py @@ -12,9 +12,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lightposition/_y.py b/plotly/validators/streamtube/lightposition/_y.py index 9bf21b655fa..b593d5e5a1e 100644 --- a/plotly/validators/streamtube/lightposition/_y.py +++ b/plotly/validators/streamtube/lightposition/_y.py @@ -12,9 +12,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/lightposition/_z.py b/plotly/validators/streamtube/lightposition/_z.py index 86f5ee07b93..9edc21182b0 100644 --- a/plotly/validators/streamtube/lightposition/_z.py +++ b/plotly/validators/streamtube/lightposition/_z.py @@ -12,9 +12,9 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/streamtube/starts/_x.py b/plotly/validators/streamtube/starts/_x.py index 7c5c8ca4c17..28231ebeefb 100644 --- a/plotly/validators/streamtube/starts/_x.py +++ b/plotly/validators/streamtube/starts/_x.py @@ -9,7 +9,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/starts/_xsrc.py b/plotly/validators/streamtube/starts/_xsrc.py index 8069357c9fd..5e4918b796b 100644 --- a/plotly/validators/streamtube/starts/_xsrc.py +++ b/plotly/validators/streamtube/starts/_xsrc.py @@ -9,7 +9,7 @@ def __init__( super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/starts/_y.py b/plotly/validators/streamtube/starts/_y.py index 7b184df74b1..4cb40354c93 100644 --- a/plotly/validators/streamtube/starts/_y.py +++ b/plotly/validators/streamtube/starts/_y.py @@ -9,7 +9,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/starts/_ysrc.py b/plotly/validators/streamtube/starts/_ysrc.py index cf046c00706..85f911c5f54 100644 --- a/plotly/validators/streamtube/starts/_ysrc.py +++ b/plotly/validators/streamtube/starts/_ysrc.py @@ -9,7 +9,7 @@ def __init__( super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/starts/_z.py b/plotly/validators/streamtube/starts/_z.py index 9207857b7db..7695dda282a 100644 --- a/plotly/validators/streamtube/starts/_z.py +++ b/plotly/validators/streamtube/starts/_z.py @@ -9,7 +9,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/streamtube/starts/_zsrc.py b/plotly/validators/streamtube/starts/_zsrc.py index 9fc12fd29f5..196a23ee7e6 100644 --- a/plotly/validators/streamtube/starts/_zsrc.py +++ b/plotly/validators/streamtube/starts/_zsrc.py @@ -9,7 +9,7 @@ def __init__( super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/stream/_maxpoints.py b/plotly/validators/streamtube/stream/_maxpoints.py index 2cf6abbf02a..4b213064116 100644 --- a/plotly/validators/streamtube/stream/_maxpoints.py +++ b/plotly/validators/streamtube/stream/_maxpoints.py @@ -12,9 +12,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/streamtube/stream/_token.py b/plotly/validators/streamtube/stream/_token.py index f1a246d2d91..b63d42dc2e0 100644 --- a/plotly/validators/streamtube/stream/_token.py +++ b/plotly/validators/streamtube/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/surface/_autocolorscale.py b/plotly/validators/surface/_autocolorscale.py index 7f9d6536911..b86161e4f84 100644 --- a/plotly/validators/surface/_autocolorscale.py +++ b/plotly/validators/surface/_autocolorscale.py @@ -9,8 +9,8 @@ def __init__( super(AutocolorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/_cauto.py b/plotly/validators/surface/_cauto.py index f167c1221bb..4c152ae9009 100644 --- a/plotly/validators/surface/_cauto.py +++ b/plotly/validators/surface/_cauto.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cauto', parent_name='surface', **kwargs): super(CautoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_cmax.py b/plotly/validators/surface/_cmax.py index 7b6ef27d387..dd143da4b62 100644 --- a/plotly/validators/surface/_cmax.py +++ b/plotly/validators/surface/_cmax.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmax', parent_name='surface', **kwargs): super(CmaxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_cmin.py b/plotly/validators/surface/_cmin.py index f2ddc150902..79edd422459 100644 --- a/plotly/validators/surface/_cmin.py +++ b/plotly/validators/surface/_cmin.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='cmin', parent_name='surface', **kwargs): super(CminValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'cauto': False}, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'cauto': False}), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_colorbar.py b/plotly/validators/surface/_colorbar.py index dc15749f56e..96c56d73b21 100644 --- a/plotly/validators/surface/_colorbar.py +++ b/plotly/validators/surface/_colorbar.py @@ -9,8 +9,9 @@ def __init__( super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='ColorBar', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'ColorBar'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the color of padded area. bordercolor @@ -205,6 +206,7 @@ def __init__( ypad Sets the amount of padding (in px) along the y direction. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/_colorscale.py b/plotly/validators/surface/_colorscale.py index e1babb4109e..c23ce801db2 100644 --- a/plotly/validators/surface/_colorscale.py +++ b/plotly/validators/surface/_colorscale.py @@ -9,8 +9,10 @@ def __init__( super(ColorscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'autocolorscale': False}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop( + 'implied_edits', {'autocolorscale': False} + ), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/_contours.py b/plotly/validators/surface/_contours.py index 6dfacc2e0ef..5bf87a043b6 100644 --- a/plotly/validators/surface/_contours.py +++ b/plotly/validators/surface/_contours.py @@ -9,8 +9,9 @@ def __init__( super(ContoursValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Contours', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Contours'), + data_docs=kwargs.pop( + 'data_docs', """ x plotly.graph_objs.surface.contours.X instance or dict with compatible properties @@ -20,6 +21,7 @@ def __init__( z plotly.graph_objs.surface.contours.Z instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/_customdata.py b/plotly/validators/surface/_customdata.py index c2dd98dc1f1..85aa6d1590d 100644 --- a/plotly/validators/surface/_customdata.py +++ b/plotly/validators/surface/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/_customdatasrc.py b/plotly/validators/surface/_customdatasrc.py index 5878fd67239..4abdfc639ba 100644 --- a/plotly/validators/surface/_customdatasrc.py +++ b/plotly/validators/surface/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_hidesurface.py b/plotly/validators/surface/_hidesurface.py index 7df00b9b6ac..46dd35b5525 100644 --- a/plotly/validators/surface/_hidesurface.py +++ b/plotly/validators/surface/_hidesurface.py @@ -9,7 +9,7 @@ def __init__( super(HidesurfaceValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_hoverinfo.py b/plotly/validators/surface/_hoverinfo.py index 8d027a06c03..00adf2930c9 100644 --- a/plotly/validators/surface/_hoverinfo.py +++ b/plotly/validators/surface/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_hoverinfosrc.py b/plotly/validators/surface/_hoverinfosrc.py index 29553a53d23..498af6fcb00 100644 --- a/plotly/validators/surface/_hoverinfosrc.py +++ b/plotly/validators/surface/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_hoverlabel.py b/plotly/validators/surface/_hoverlabel.py index 0aeab9eab0e..117f2710045 100644 --- a/plotly/validators/surface/_hoverlabel.py +++ b/plotly/validators/surface/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/_ids.py b/plotly/validators/surface/_ids.py index ed13ab579a3..8c1f1e85e77 100644 --- a/plotly/validators/surface/_ids.py +++ b/plotly/validators/surface/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='surface', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/_idssrc.py b/plotly/validators/surface/_idssrc.py index c359b471eff..88a5acc5a17 100644 --- a/plotly/validators/surface/_idssrc.py +++ b/plotly/validators/surface/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='surface', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_legendgroup.py b/plotly/validators/surface/_legendgroup.py index a018a8d8606..09ad617d084 100644 --- a/plotly/validators/surface/_legendgroup.py +++ b/plotly/validators/surface/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_lighting.py b/plotly/validators/surface/_lighting.py index 6a2261a1f3a..c1a4b2d7bda 100644 --- a/plotly/validators/surface/_lighting.py +++ b/plotly/validators/surface/_lighting.py @@ -9,8 +9,9 @@ def __init__( super(LightingValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lighting', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lighting'), + data_docs=kwargs.pop( + 'data_docs', """ ambient Ambient light increases overall color visibility but can wash out the image. @@ -29,6 +30,7 @@ def __init__( specular Represents the level that incident rays are reflected in a single direction, causing shine. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/_lightposition.py b/plotly/validators/surface/_lightposition.py index cd09100fa4d..ed04004cce2 100644 --- a/plotly/validators/surface/_lightposition.py +++ b/plotly/validators/surface/_lightposition.py @@ -9,8 +9,9 @@ def __init__( super(LightpositionValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Lightposition', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Lightposition'), + data_docs=kwargs.pop( + 'data_docs', """ x Numeric vector, representing the X coordinate for each vertex. @@ -20,6 +21,7 @@ def __init__( z Numeric vector, representing the Z coordinate for each vertex. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/_name.py b/plotly/validators/surface/_name.py index dba2321f667..96f90dc0519 100644 --- a/plotly/validators/surface/_name.py +++ b/plotly/validators/surface/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='surface', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_opacity.py b/plotly/validators/surface/_opacity.py index f5ad3a90563..a320db5627d 100644 --- a/plotly/validators/surface/_opacity.py +++ b/plotly/validators/surface/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='surface', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/_reversescale.py b/plotly/validators/surface/_reversescale.py index ce583ef694c..e7902df5145 100644 --- a/plotly/validators/surface/_reversescale.py +++ b/plotly/validators/surface/_reversescale.py @@ -9,7 +9,7 @@ def __init__( super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/_scene.py b/plotly/validators/surface/_scene.py index 9e2099512b1..b18adb5ce99 100644 --- a/plotly/validators/surface/_scene.py +++ b/plotly/validators/surface/_scene.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='scene', parent_name='surface', **kwargs): super(SceneValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='scene', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'scene'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_selectedpoints.py b/plotly/validators/surface/_selectedpoints.py index 05e0a81b15d..138d050303d 100644 --- a/plotly/validators/surface/_selectedpoints.py +++ b/plotly/validators/surface/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_showlegend.py b/plotly/validators/surface/_showlegend.py index 3dca4c38d68..128dc98ada9 100644 --- a/plotly/validators/surface/_showlegend.py +++ b/plotly/validators/surface/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_showscale.py b/plotly/validators/surface/_showscale.py index 2afde045a59..88932537280 100644 --- a/plotly/validators/surface/_showscale.py +++ b/plotly/validators/surface/_showscale.py @@ -9,7 +9,7 @@ def __init__( super(ShowscaleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_stream.py b/plotly/validators/surface/_stream.py index 2cd36e714e4..8a18849a2e5 100644 --- a/plotly/validators/surface/_stream.py +++ b/plotly/validators/surface/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='surface', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='surface', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/_surfacecolor.py b/plotly/validators/surface/_surfacecolor.py index 7ccd6fcb831..95cd412aaaf 100644 --- a/plotly/validators/surface/_surfacecolor.py +++ b/plotly/validators/surface/_surfacecolor.py @@ -9,7 +9,7 @@ def __init__( super(SurfacecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/_surfacecolorsrc.py b/plotly/validators/surface/_surfacecolorsrc.py index 4d60756a00e..9da2b6f619d 100644 --- a/plotly/validators/surface/_surfacecolorsrc.py +++ b/plotly/validators/surface/_surfacecolorsrc.py @@ -9,7 +9,7 @@ def __init__( super(SurfacecolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_text.py b/plotly/validators/surface/_text.py index a737b209850..1d58a44d5d3 100644 --- a/plotly/validators/surface/_text.py +++ b/plotly/validators/surface/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='surface', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_textsrc.py b/plotly/validators/surface/_textsrc.py index 9bd60d16951..ab3b4d672f4 100644 --- a/plotly/validators/surface/_textsrc.py +++ b/plotly/validators/surface/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='surface', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_uid.py b/plotly/validators/surface/_uid.py index 499c6105180..27a432a59a9 100644 --- a/plotly/validators/surface/_uid.py +++ b/plotly/validators/surface/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='surface', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_visible.py b/plotly/validators/surface/_visible.py index 37265a52137..0104070c8df 100644 --- a/plotly/validators/surface/_visible.py +++ b/plotly/validators/surface/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='surface', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/surface/_x.py b/plotly/validators/surface/_x.py index 14a341dd78d..49b0fdbde25 100644 --- a/plotly/validators/surface/_x.py +++ b/plotly/validators/surface/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='surface', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/_xcalendar.py b/plotly/validators/surface/_xcalendar.py index 6f6c99f831b..9cfd3cb09b5 100644 --- a/plotly/validators/surface/_xcalendar.py +++ b/plotly/validators/surface/_xcalendar.py @@ -9,12 +9,15 @@ def __init__( super(XcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/surface/_xsrc.py b/plotly/validators/surface/_xsrc.py index c35a12bd5f4..b2f41dc688a 100644 --- a/plotly/validators/surface/_xsrc.py +++ b/plotly/validators/surface/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='surface', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_y.py b/plotly/validators/surface/_y.py index c814d3133fc..dd2ecce5795 100644 --- a/plotly/validators/surface/_y.py +++ b/plotly/validators/surface/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='surface', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/_ycalendar.py b/plotly/validators/surface/_ycalendar.py index d6e5cfaef30..915731321c1 100644 --- a/plotly/validators/surface/_ycalendar.py +++ b/plotly/validators/surface/_ycalendar.py @@ -9,12 +9,15 @@ def __init__( super(YcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/surface/_ysrc.py b/plotly/validators/surface/_ysrc.py index ebfe74d4ad4..ae1fa31e99d 100644 --- a/plotly/validators/surface/_ysrc.py +++ b/plotly/validators/surface/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='surface', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/_z.py b/plotly/validators/surface/_z.py index 3825a390afb..c629a65cc8e 100644 --- a/plotly/validators/surface/_z.py +++ b/plotly/validators/surface/_z.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='z', parent_name='surface', **kwargs): super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/_zcalendar.py b/plotly/validators/surface/_zcalendar.py index b3e38ed8a4d..899f7db376e 100644 --- a/plotly/validators/surface/_zcalendar.py +++ b/plotly/validators/surface/_zcalendar.py @@ -9,12 +9,15 @@ def __init__( super(ZcalendarValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[ - 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', - 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', 'nepali', - 'persian', 'jalali', 'taiwan', 'thai', 'ummalqura' - ], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop( + 'values', [ + 'gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', + 'hebrew', 'islamic', 'julian', 'mayan', 'nanakshahi', + 'nepali', 'persian', 'jalali', 'taiwan', 'thai', + 'ummalqura' + ] + ), **kwargs ) diff --git a/plotly/validators/surface/_zsrc.py b/plotly/validators/surface/_zsrc.py index 4f46c97263f..5e16dc35ac0 100644 --- a/plotly/validators/surface/_zsrc.py +++ b/plotly/validators/surface/_zsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='zsrc', parent_name='surface', **kwargs): super(ZsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_bgcolor.py b/plotly/validators/surface/colorbar/_bgcolor.py index 628e4978f72..306fb26fddc 100644 --- a/plotly/validators/surface/colorbar/_bgcolor.py +++ b/plotly/validators/surface/colorbar/_bgcolor.py @@ -9,7 +9,7 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_bordercolor.py b/plotly/validators/surface/colorbar/_bordercolor.py index b34d95a5f05..e8e11958f9b 100644 --- a/plotly/validators/surface/colorbar/_bordercolor.py +++ b/plotly/validators/surface/colorbar/_bordercolor.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_borderwidth.py b/plotly/validators/surface/colorbar/_borderwidth.py index ed07da54d41..2cce19ed118 100644 --- a/plotly/validators/surface/colorbar/_borderwidth.py +++ b/plotly/validators/surface/colorbar/_borderwidth.py @@ -12,8 +12,8 @@ def __init__( super(BorderwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_dtick.py b/plotly/validators/surface/colorbar/_dtick.py index 78fcbf436a3..f6ea7bd8515 100644 --- a/plotly/validators/surface/colorbar/_dtick.py +++ b/plotly/validators/surface/colorbar/_dtick.py @@ -9,8 +9,8 @@ def __init__( super(DtickValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_exponentformat.py b/plotly/validators/surface/colorbar/_exponentformat.py index 0d1dda1f699..6a5f98c5d8a 100644 --- a/plotly/validators/surface/colorbar/_exponentformat.py +++ b/plotly/validators/surface/colorbar/_exponentformat.py @@ -14,8 +14,10 @@ def __init__( super(ExponentformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['none', 'e', 'E', 'power', 'SI', 'B'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['none', 'e', 'E', 'power', 'SI', 'B'] + ), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_len.py b/plotly/validators/surface/colorbar/_len.py index 4a20f888030..24737474c68 100644 --- a/plotly/validators/surface/colorbar/_len.py +++ b/plotly/validators/surface/colorbar/_len.py @@ -9,8 +9,8 @@ def __init__( super(LenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_lenmode.py b/plotly/validators/surface/colorbar/_lenmode.py index 340bc439a32..fd65fa12e4f 100644 --- a/plotly/validators/surface/colorbar/_lenmode.py +++ b/plotly/validators/surface/colorbar/_lenmode.py @@ -9,8 +9,8 @@ def __init__( super(LenmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_nticks.py b/plotly/validators/surface/colorbar/_nticks.py index 513325dff23..b0be60fee8d 100644 --- a/plotly/validators/surface/colorbar/_nticks.py +++ b/plotly/validators/surface/colorbar/_nticks.py @@ -9,8 +9,8 @@ def __init__( super(NticksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_outlinecolor.py b/plotly/validators/surface/colorbar/_outlinecolor.py index 82c29069b36..6fa1354e92c 100644 --- a/plotly/validators/surface/colorbar/_outlinecolor.py +++ b/plotly/validators/surface/colorbar/_outlinecolor.py @@ -12,7 +12,7 @@ def __init__( super(OutlinecolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_outlinewidth.py b/plotly/validators/surface/colorbar/_outlinewidth.py index a3dce916618..c64d6de9db7 100644 --- a/plotly/validators/surface/colorbar/_outlinewidth.py +++ b/plotly/validators/surface/colorbar/_outlinewidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_separatethousands.py b/plotly/validators/surface/colorbar/_separatethousands.py index 6b1937065f2..c9c8dad8bd8 100644 --- a/plotly/validators/surface/colorbar/_separatethousands.py +++ b/plotly/validators/surface/colorbar/_separatethousands.py @@ -14,7 +14,7 @@ def __init__( super(SeparatethousandsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_showexponent.py b/plotly/validators/surface/colorbar/_showexponent.py index 936e7c24d9c..d0d37b997e3 100644 --- a/plotly/validators/surface/colorbar/_showexponent.py +++ b/plotly/validators/surface/colorbar/_showexponent.py @@ -12,8 +12,8 @@ def __init__( super(ShowexponentValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_showticklabels.py b/plotly/validators/surface/colorbar/_showticklabels.py index af5581b4dae..a3d5ac587c6 100644 --- a/plotly/validators/surface/colorbar/_showticklabels.py +++ b/plotly/validators/surface/colorbar/_showticklabels.py @@ -12,7 +12,7 @@ def __init__( super(ShowticklabelsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_showtickprefix.py b/plotly/validators/surface/colorbar/_showtickprefix.py index ebb76f5fb09..d363697231f 100644 --- a/plotly/validators/surface/colorbar/_showtickprefix.py +++ b/plotly/validators/surface/colorbar/_showtickprefix.py @@ -14,8 +14,8 @@ def __init__( super(ShowtickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_showticksuffix.py b/plotly/validators/surface/colorbar/_showticksuffix.py index d35a8cfc064..5353cd0ce87 100644 --- a/plotly/validators/surface/colorbar/_showticksuffix.py +++ b/plotly/validators/surface/colorbar/_showticksuffix.py @@ -14,8 +14,8 @@ def __init__( super(ShowticksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'first', 'last', 'none'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['all', 'first', 'last', 'none']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_thickness.py b/plotly/validators/surface/colorbar/_thickness.py index b5b9455a91c..aa8fde7da54 100644 --- a/plotly/validators/surface/colorbar/_thickness.py +++ b/plotly/validators/surface/colorbar/_thickness.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_thicknessmode.py b/plotly/validators/surface/colorbar/_thicknessmode.py index 53a52bc7735..651dfac07d7 100644 --- a/plotly/validators/surface/colorbar/_thicknessmode.py +++ b/plotly/validators/surface/colorbar/_thicknessmode.py @@ -12,8 +12,8 @@ def __init__( super(ThicknessmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['fraction', 'pixels'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['fraction', 'pixels']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tick0.py b/plotly/validators/surface/colorbar/_tick0.py index 3dfb4668dee..89a2213d309 100644 --- a/plotly/validators/surface/colorbar/_tick0.py +++ b/plotly/validators/surface/colorbar/_tick0.py @@ -9,8 +9,8 @@ def __init__( super(Tick0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={'tickmode': 'linear'}, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {'tickmode': 'linear'}), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickangle.py b/plotly/validators/surface/colorbar/_tickangle.py index d6df8923d8c..5d8593a5305 100644 --- a/plotly/validators/surface/colorbar/_tickangle.py +++ b/plotly/validators/surface/colorbar/_tickangle.py @@ -12,7 +12,7 @@ def __init__( super(TickangleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickcolor.py b/plotly/validators/surface/colorbar/_tickcolor.py index a17c1966d9b..f25990c704a 100644 --- a/plotly/validators/surface/colorbar/_tickcolor.py +++ b/plotly/validators/surface/colorbar/_tickcolor.py @@ -12,7 +12,7 @@ def __init__( super(TickcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickfont.py b/plotly/validators/surface/colorbar/_tickfont.py index 17133769158..e014815a6d3 100644 --- a/plotly/validators/surface/colorbar/_tickfont.py +++ b/plotly/validators/surface/colorbar/_tickfont.py @@ -9,8 +9,9 @@ def __init__( super(TickfontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickfont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickfont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -31,6 +32,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickformat.py b/plotly/validators/surface/colorbar/_tickformat.py index d87b236517d..deb7044d903 100644 --- a/plotly/validators/surface/colorbar/_tickformat.py +++ b/plotly/validators/surface/colorbar/_tickformat.py @@ -12,7 +12,7 @@ def __init__( super(TickformatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickformatstops.py b/plotly/validators/surface/colorbar/_tickformatstops.py index 3b94369040b..85f5eead246 100644 --- a/plotly/validators/surface/colorbar/_tickformatstops.py +++ b/plotly/validators/surface/colorbar/_tickformatstops.py @@ -14,8 +14,9 @@ def __init__( super(TickformatstopsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Tickformatstop', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Tickformatstop'), + data_docs=kwargs.pop( + 'data_docs', """ dtickrange range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it @@ -49,6 +50,7 @@ def __init__( value string - dtickformat for described zoom level, the same as "tickformat" -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_ticklen.py b/plotly/validators/surface/colorbar/_ticklen.py index 8d348567456..63e19a712ae 100644 --- a/plotly/validators/surface/colorbar/_ticklen.py +++ b/plotly/validators/surface/colorbar/_ticklen.py @@ -9,8 +9,8 @@ def __init__( super(TicklenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickmode.py b/plotly/validators/surface/colorbar/_tickmode.py index eabc522ba02..c12d68beb90 100644 --- a/plotly/validators/surface/colorbar/_tickmode.py +++ b/plotly/validators/surface/colorbar/_tickmode.py @@ -9,9 +9,9 @@ def __init__( super(TickmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - implied_edits={}, - role='info', - values=['auto', 'linear', 'array'], + edit_type=kwargs.pop('edit_type', 'calc'), + implied_edits=kwargs.pop('implied_edits', {}), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['auto', 'linear', 'array']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickprefix.py b/plotly/validators/surface/colorbar/_tickprefix.py index 01a971a0dd6..9f2233f3848 100644 --- a/plotly/validators/surface/colorbar/_tickprefix.py +++ b/plotly/validators/surface/colorbar/_tickprefix.py @@ -12,7 +12,7 @@ def __init__( super(TickprefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_ticks.py b/plotly/validators/surface/colorbar/_ticks.py index 5236f126298..ec2fd281e6b 100644 --- a/plotly/validators/surface/colorbar/_ticks.py +++ b/plotly/validators/surface/colorbar/_ticks.py @@ -9,8 +9,8 @@ def __init__( super(TicksValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['outside', 'inside', ''], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['outside', 'inside', '']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_ticksuffix.py b/plotly/validators/surface/colorbar/_ticksuffix.py index d5a1807a2f8..b0727bdad51 100644 --- a/plotly/validators/surface/colorbar/_ticksuffix.py +++ b/plotly/validators/surface/colorbar/_ticksuffix.py @@ -12,7 +12,7 @@ def __init__( super(TicksuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_ticktext.py b/plotly/validators/surface/colorbar/_ticktext.py index 9925210ea55..359e343f1e7 100644 --- a/plotly/validators/surface/colorbar/_ticktext.py +++ b/plotly/validators/surface/colorbar/_ticktext.py @@ -9,7 +9,7 @@ def __init__( super(TicktextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_ticktextsrc.py b/plotly/validators/surface/colorbar/_ticktextsrc.py index 2ac187bdbcf..fd4aee5307a 100644 --- a/plotly/validators/surface/colorbar/_ticktextsrc.py +++ b/plotly/validators/surface/colorbar/_ticktextsrc.py @@ -12,7 +12,7 @@ def __init__( super(TicktextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickvals.py b/plotly/validators/surface/colorbar/_tickvals.py index 9fe27abb9f5..7fd1239d22b 100644 --- a/plotly/validators/surface/colorbar/_tickvals.py +++ b/plotly/validators/surface/colorbar/_tickvals.py @@ -9,7 +9,7 @@ def __init__( super(TickvalsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickvalssrc.py b/plotly/validators/surface/colorbar/_tickvalssrc.py index ea20f6da332..852567f1729 100644 --- a/plotly/validators/surface/colorbar/_tickvalssrc.py +++ b/plotly/validators/surface/colorbar/_tickvalssrc.py @@ -12,7 +12,7 @@ def __init__( super(TickvalssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_tickwidth.py b/plotly/validators/surface/colorbar/_tickwidth.py index 90b948aefc0..af9a0a424c0 100644 --- a/plotly/validators/surface/colorbar/_tickwidth.py +++ b/plotly/validators/surface/colorbar/_tickwidth.py @@ -12,8 +12,8 @@ def __init__( super(TickwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_title.py b/plotly/validators/surface/colorbar/_title.py index efc1e046a01..da6ac535b59 100644 --- a/plotly/validators/surface/colorbar/_title.py +++ b/plotly/validators/surface/colorbar/_title.py @@ -9,7 +9,7 @@ def __init__( super(TitleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_titlefont.py b/plotly/validators/surface/colorbar/_titlefont.py index cdadb101a19..8a1551dd58f 100644 --- a/plotly/validators/surface/colorbar/_titlefont.py +++ b/plotly/validators/surface/colorbar/_titlefont.py @@ -12,8 +12,9 @@ def __init__( super(TitlefontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Titlefont', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Titlefont'), + data_docs=kwargs.pop( + 'data_docs', """ color family @@ -34,6 +35,7 @@ def __init__( Narrow", "Raleway", "Times New Roman". size -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_titleside.py b/plotly/validators/surface/colorbar/_titleside.py index e05e97bb301..29905532ef9 100644 --- a/plotly/validators/surface/colorbar/_titleside.py +++ b/plotly/validators/surface/colorbar/_titleside.py @@ -12,8 +12,8 @@ def __init__( super(TitlesideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['right', 'top', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['right', 'top', 'bottom']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_x.py b/plotly/validators/surface/colorbar/_x.py index c1afa4bcfe4..21acf6046be 100644 --- a/plotly/validators/surface/colorbar/_x.py +++ b/plotly/validators/surface/colorbar/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_xanchor.py b/plotly/validators/surface/colorbar/_xanchor.py index 00234c37f20..e7197e37415 100644 --- a/plotly/validators/surface/colorbar/_xanchor.py +++ b/plotly/validators/surface/colorbar/_xanchor.py @@ -9,8 +9,8 @@ def __init__( super(XanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_xpad.py b/plotly/validators/surface/colorbar/_xpad.py index 9fa76b819b5..ad5bc64b413 100644 --- a/plotly/validators/surface/colorbar/_xpad.py +++ b/plotly/validators/surface/colorbar/_xpad.py @@ -9,8 +9,8 @@ def __init__( super(XpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_y.py b/plotly/validators/surface/colorbar/_y.py index 95bbbaf192a..20e499de188 100644 --- a/plotly/validators/surface/colorbar/_y.py +++ b/plotly/validators/surface/colorbar/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=3, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 3), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_yanchor.py b/plotly/validators/surface/colorbar/_yanchor.py index 4604623ed14..3bb76e3ced0 100644 --- a/plotly/validators/surface/colorbar/_yanchor.py +++ b/plotly/validators/surface/colorbar/_yanchor.py @@ -9,8 +9,8 @@ def __init__( super(YanchorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['top', 'middle', 'bottom'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['top', 'middle', 'bottom']), **kwargs ) diff --git a/plotly/validators/surface/colorbar/_ypad.py b/plotly/validators/surface/colorbar/_ypad.py index c83666ed8fc..c5343c001f9 100644 --- a/plotly/validators/surface/colorbar/_ypad.py +++ b/plotly/validators/surface/colorbar/_ypad.py @@ -9,8 +9,8 @@ def __init__( super(YpadValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickfont/_color.py b/plotly/validators/surface/colorbar/tickfont/_color.py index cea02c68e13..f06fe06ffff 100644 --- a/plotly/validators/surface/colorbar/tickfont/_color.py +++ b/plotly/validators/surface/colorbar/tickfont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickfont/_family.py b/plotly/validators/surface/colorbar/tickfont/_family.py index 65ee21d4be4..81d69773c37 100644 --- a/plotly/validators/surface/colorbar/tickfont/_family.py +++ b/plotly/validators/surface/colorbar/tickfont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickfont/_size.py b/plotly/validators/surface/colorbar/tickfont/_size.py index 6f0ec5bab50..968e2a435d4 100644 --- a/plotly/validators/surface/colorbar/tickfont/_size.py +++ b/plotly/validators/surface/colorbar/tickfont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickformatstop/_dtickrange.py b/plotly/validators/surface/colorbar/tickformatstop/_dtickrange.py index 6351df937ca..306615cdc17 100644 --- a/plotly/validators/surface/colorbar/tickformatstop/_dtickrange.py +++ b/plotly/validators/surface/colorbar/tickformatstop/_dtickrange.py @@ -12,16 +12,18 @@ def __init__( super(DtickrangeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickformatstop/_enabled.py b/plotly/validators/surface/colorbar/tickformatstop/_enabled.py index 0e377513e71..cdb18e2296f 100644 --- a/plotly/validators/surface/colorbar/tickformatstop/_enabled.py +++ b/plotly/validators/surface/colorbar/tickformatstop/_enabled.py @@ -12,7 +12,7 @@ def __init__( super(EnabledValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickformatstop/_name.py b/plotly/validators/surface/colorbar/tickformatstop/_name.py index 767ca86c3b7..1b587b9fb69 100644 --- a/plotly/validators/surface/colorbar/tickformatstop/_name.py +++ b/plotly/validators/surface/colorbar/tickformatstop/_name.py @@ -12,7 +12,7 @@ def __init__( super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickformatstop/_templateitemname.py b/plotly/validators/surface/colorbar/tickformatstop/_templateitemname.py index 2e6b2699e22..78d2ec5ada2 100644 --- a/plotly/validators/surface/colorbar/tickformatstop/_templateitemname.py +++ b/plotly/validators/surface/colorbar/tickformatstop/_templateitemname.py @@ -12,7 +12,7 @@ def __init__( super(TemplateitemnameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/tickformatstop/_value.py b/plotly/validators/surface/colorbar/tickformatstop/_value.py index c9eded0552f..9dbbe23c67c 100644 --- a/plotly/validators/surface/colorbar/tickformatstop/_value.py +++ b/plotly/validators/surface/colorbar/tickformatstop/_value.py @@ -12,7 +12,7 @@ def __init__( super(ValueValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/titlefont/_color.py b/plotly/validators/surface/colorbar/titlefont/_color.py index dcadfc7a3bd..08361f031e1 100644 --- a/plotly/validators/surface/colorbar/titlefont/_color.py +++ b/plotly/validators/surface/colorbar/titlefont/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/colorbar/titlefont/_family.py b/plotly/validators/surface/colorbar/titlefont/_family.py index 48d8b206ed1..73bb3a8892a 100644 --- a/plotly/validators/surface/colorbar/titlefont/_family.py +++ b/plotly/validators/surface/colorbar/titlefont/_family.py @@ -12,9 +12,9 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/surface/colorbar/titlefont/_size.py b/plotly/validators/surface/colorbar/titlefont/_size.py index 316ea7d2ac4..12a12315b04 100644 --- a/plotly/validators/surface/colorbar/titlefont/_size.py +++ b/plotly/validators/surface/colorbar/titlefont/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/_x.py b/plotly/validators/surface/contours/_x.py index e67284c4fa7..88ee165f7bc 100644 --- a/plotly/validators/surface/contours/_x.py +++ b/plotly/validators/surface/contours/_x.py @@ -9,8 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='X', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'X'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour lines. highlight @@ -34,6 +35,7 @@ def __init__( trace "colorscale". width Sets the width of the contour lines. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/contours/_y.py b/plotly/validators/surface/contours/_y.py index 737d904bc58..7097e4e6dc1 100644 --- a/plotly/validators/surface/contours/_y.py +++ b/plotly/validators/surface/contours/_y.py @@ -9,8 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Y', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Y'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour lines. highlight @@ -34,6 +35,7 @@ def __init__( trace "colorscale". width Sets the width of the contour lines. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/contours/_z.py b/plotly/validators/surface/contours/_z.py index e2ca89a4479..32558d0a937 100644 --- a/plotly/validators/surface/contours/_z.py +++ b/plotly/validators/surface/contours/_z.py @@ -9,8 +9,9 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Z', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Z'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of the contour lines. highlight @@ -34,6 +35,7 @@ def __init__( trace "colorscale". width Sets the width of the contour lines. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_color.py b/plotly/validators/surface/contours/x/_color.py index 69c961fc199..b35f85cdbb1 100644 --- a/plotly/validators/surface/contours/x/_color.py +++ b/plotly/validators/surface/contours/x/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_highlight.py b/plotly/validators/surface/contours/x/_highlight.py index 96ad398185e..e1bd193e8fc 100644 --- a/plotly/validators/surface/contours/x/_highlight.py +++ b/plotly/validators/surface/contours/x/_highlight.py @@ -12,7 +12,7 @@ def __init__( super(HighlightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_highlightcolor.py b/plotly/validators/surface/contours/x/_highlightcolor.py index 04433b2ad2c..cef5f134f77 100644 --- a/plotly/validators/surface/contours/x/_highlightcolor.py +++ b/plotly/validators/surface/contours/x/_highlightcolor.py @@ -12,7 +12,7 @@ def __init__( super(HighlightcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_highlightwidth.py b/plotly/validators/surface/contours/x/_highlightwidth.py index 2bb131b78d5..4b663cbd155 100644 --- a/plotly/validators/surface/contours/x/_highlightwidth.py +++ b/plotly/validators/surface/contours/x/_highlightwidth.py @@ -12,9 +12,9 @@ def __init__( super(HighlightwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_project.py b/plotly/validators/surface/contours/x/_project.py index b3bc9e7eb9f..4a1a02dc8d8 100644 --- a/plotly/validators/surface/contours/x/_project.py +++ b/plotly/validators/surface/contours/x/_project.py @@ -12,8 +12,9 @@ def __init__( super(ProjectValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Project', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Project'), + data_docs=kwargs.pop( + 'data_docs', """ x Determines whether or not these contour lines are projected on the x plane. If `highlight` is @@ -32,6 +33,7 @@ def __init__( set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_show.py b/plotly/validators/surface/contours/x/_show.py index e36206a3270..4329df607b5 100644 --- a/plotly/validators/surface/contours/x/_show.py +++ b/plotly/validators/surface/contours/x/_show.py @@ -9,7 +9,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_usecolormap.py b/plotly/validators/surface/contours/x/_usecolormap.py index 13a20b880ff..6f3f1c884ea 100644 --- a/plotly/validators/surface/contours/x/_usecolormap.py +++ b/plotly/validators/surface/contours/x/_usecolormap.py @@ -12,7 +12,7 @@ def __init__( super(UsecolormapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/_width.py b/plotly/validators/surface/contours/x/_width.py index b6c979738f1..61127a0c0ea 100644 --- a/plotly/validators/surface/contours/x/_width.py +++ b/plotly/validators/surface/contours/x/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/project/_x.py b/plotly/validators/surface/contours/x/project/_x.py index 4de2a36b813..5ea424ec9ce 100644 --- a/plotly/validators/surface/contours/x/project/_x.py +++ b/plotly/validators/surface/contours/x/project/_x.py @@ -12,7 +12,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/project/_y.py b/plotly/validators/surface/contours/x/project/_y.py index 61d9224aeeb..2c12c72fe8a 100644 --- a/plotly/validators/surface/contours/x/project/_y.py +++ b/plotly/validators/surface/contours/x/project/_y.py @@ -12,7 +12,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/x/project/_z.py b/plotly/validators/surface/contours/x/project/_z.py index 0646dacb01b..cebc3ac4e2d 100644 --- a/plotly/validators/surface/contours/x/project/_z.py +++ b/plotly/validators/surface/contours/x/project/_z.py @@ -12,7 +12,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_color.py b/plotly/validators/surface/contours/y/_color.py index 881434da97d..e5319bfe567 100644 --- a/plotly/validators/surface/contours/y/_color.py +++ b/plotly/validators/surface/contours/y/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_highlight.py b/plotly/validators/surface/contours/y/_highlight.py index 2d189657eb1..4726cb298be 100644 --- a/plotly/validators/surface/contours/y/_highlight.py +++ b/plotly/validators/surface/contours/y/_highlight.py @@ -12,7 +12,7 @@ def __init__( super(HighlightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_highlightcolor.py b/plotly/validators/surface/contours/y/_highlightcolor.py index f1a95d3b6c2..b53405268f4 100644 --- a/plotly/validators/surface/contours/y/_highlightcolor.py +++ b/plotly/validators/surface/contours/y/_highlightcolor.py @@ -12,7 +12,7 @@ def __init__( super(HighlightcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_highlightwidth.py b/plotly/validators/surface/contours/y/_highlightwidth.py index 2d1fe249969..3312cc0bf22 100644 --- a/plotly/validators/surface/contours/y/_highlightwidth.py +++ b/plotly/validators/surface/contours/y/_highlightwidth.py @@ -12,9 +12,9 @@ def __init__( super(HighlightwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_project.py b/plotly/validators/surface/contours/y/_project.py index 2d3319174a4..46cbe0cd0f9 100644 --- a/plotly/validators/surface/contours/y/_project.py +++ b/plotly/validators/surface/contours/y/_project.py @@ -12,8 +12,9 @@ def __init__( super(ProjectValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Project', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Project'), + data_docs=kwargs.pop( + 'data_docs', """ x Determines whether or not these contour lines are projected on the x plane. If `highlight` is @@ -32,6 +33,7 @@ def __init__( set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_show.py b/plotly/validators/surface/contours/y/_show.py index 117a7eef123..7ce8350a007 100644 --- a/plotly/validators/surface/contours/y/_show.py +++ b/plotly/validators/surface/contours/y/_show.py @@ -9,7 +9,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_usecolormap.py b/plotly/validators/surface/contours/y/_usecolormap.py index 50ee6f158b2..3c4f4c05ec0 100644 --- a/plotly/validators/surface/contours/y/_usecolormap.py +++ b/plotly/validators/surface/contours/y/_usecolormap.py @@ -12,7 +12,7 @@ def __init__( super(UsecolormapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/_width.py b/plotly/validators/surface/contours/y/_width.py index 68f6400a9c5..2d731e950d7 100644 --- a/plotly/validators/surface/contours/y/_width.py +++ b/plotly/validators/surface/contours/y/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/project/_x.py b/plotly/validators/surface/contours/y/project/_x.py index 96e07760c5b..28a176ca975 100644 --- a/plotly/validators/surface/contours/y/project/_x.py +++ b/plotly/validators/surface/contours/y/project/_x.py @@ -12,7 +12,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/project/_y.py b/plotly/validators/surface/contours/y/project/_y.py index 914b182874a..a44962ab1ab 100644 --- a/plotly/validators/surface/contours/y/project/_y.py +++ b/plotly/validators/surface/contours/y/project/_y.py @@ -12,7 +12,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/y/project/_z.py b/plotly/validators/surface/contours/y/project/_z.py index ebeffb09527..e460c1c916d 100644 --- a/plotly/validators/surface/contours/y/project/_z.py +++ b/plotly/validators/surface/contours/y/project/_z.py @@ -12,7 +12,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_color.py b/plotly/validators/surface/contours/z/_color.py index 9d85f5ccbc3..696da6ad298 100644 --- a/plotly/validators/surface/contours/z/_color.py +++ b/plotly/validators/surface/contours/z/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_highlight.py b/plotly/validators/surface/contours/z/_highlight.py index aaab49ac2f6..33d63403788 100644 --- a/plotly/validators/surface/contours/z/_highlight.py +++ b/plotly/validators/surface/contours/z/_highlight.py @@ -12,7 +12,7 @@ def __init__( super(HighlightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_highlightcolor.py b/plotly/validators/surface/contours/z/_highlightcolor.py index eda351da84c..56fd814eb5f 100644 --- a/plotly/validators/surface/contours/z/_highlightcolor.py +++ b/plotly/validators/surface/contours/z/_highlightcolor.py @@ -12,7 +12,7 @@ def __init__( super(HighlightcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_highlightwidth.py b/plotly/validators/surface/contours/z/_highlightwidth.py index 70dd8602c9b..da01171db51 100644 --- a/plotly/validators/surface/contours/z/_highlightwidth.py +++ b/plotly/validators/surface/contours/z/_highlightwidth.py @@ -12,9 +12,9 @@ def __init__( super(HighlightwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_project.py b/plotly/validators/surface/contours/z/_project.py index f0b56f41a19..1e041226a06 100644 --- a/plotly/validators/surface/contours/z/_project.py +++ b/plotly/validators/surface/contours/z/_project.py @@ -12,8 +12,9 @@ def __init__( super(ProjectValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Project', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Project'), + data_docs=kwargs.pop( + 'data_docs', """ x Determines whether or not these contour lines are projected on the x plane. If `highlight` is @@ -32,6 +33,7 @@ def __init__( set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_show.py b/plotly/validators/surface/contours/z/_show.py index 3c911008c51..e4fa32d8d28 100644 --- a/plotly/validators/surface/contours/z/_show.py +++ b/plotly/validators/surface/contours/z/_show.py @@ -9,7 +9,7 @@ def __init__( super(ShowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_usecolormap.py b/plotly/validators/surface/contours/z/_usecolormap.py index e6761236807..733b1407139 100644 --- a/plotly/validators/surface/contours/z/_usecolormap.py +++ b/plotly/validators/surface/contours/z/_usecolormap.py @@ -12,7 +12,7 @@ def __init__( super(UsecolormapValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/_width.py b/plotly/validators/surface/contours/z/_width.py index c038b1774c1..3e80eeba1eb 100644 --- a/plotly/validators/surface/contours/z/_width.py +++ b/plotly/validators/surface/contours/z/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=16, - min=1, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 16), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/project/_x.py b/plotly/validators/surface/contours/z/project/_x.py index a3ec2d83786..9abd8dd52a9 100644 --- a/plotly/validators/surface/contours/z/project/_x.py +++ b/plotly/validators/surface/contours/z/project/_x.py @@ -12,7 +12,7 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/project/_y.py b/plotly/validators/surface/contours/z/project/_y.py index d74f15ce62e..81041c56461 100644 --- a/plotly/validators/surface/contours/z/project/_y.py +++ b/plotly/validators/surface/contours/z/project/_y.py @@ -12,7 +12,7 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/contours/z/project/_z.py b/plotly/validators/surface/contours/z/project/_z.py index fe4f1727a8d..ef4971cae59 100644 --- a/plotly/validators/surface/contours/z/project/_z.py +++ b/plotly/validators/surface/contours/z/project/_z.py @@ -12,7 +12,7 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_bgcolor.py b/plotly/validators/surface/hoverlabel/_bgcolor.py index b97b644fa7f..1cc77962d11 100644 --- a/plotly/validators/surface/hoverlabel/_bgcolor.py +++ b/plotly/validators/surface/hoverlabel/_bgcolor.py @@ -12,8 +12,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_bgcolorsrc.py b/plotly/validators/surface/hoverlabel/_bgcolorsrc.py index 81cda4321dc..aa0b8a11c42 100644 --- a/plotly/validators/surface/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/surface/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_bordercolor.py b/plotly/validators/surface/hoverlabel/_bordercolor.py index 2d425336adc..80a0a670fc9 100644 --- a/plotly/validators/surface/hoverlabel/_bordercolor.py +++ b/plotly/validators/surface/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_bordercolorsrc.py b/plotly/validators/surface/hoverlabel/_bordercolorsrc.py index c8aed8639d9..911fa20a204 100644 --- a/plotly/validators/surface/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/surface/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_font.py b/plotly/validators/surface/hoverlabel/_font.py index f9f3311f28a..9059875f245 100644 --- a/plotly/validators/surface/hoverlabel/_font.py +++ b/plotly/validators/surface/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_namelength.py b/plotly/validators/surface/hoverlabel/_namelength.py index 320055912c5..59443e53e49 100644 --- a/plotly/validators/surface/hoverlabel/_namelength.py +++ b/plotly/validators/surface/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/_namelengthsrc.py b/plotly/validators/surface/hoverlabel/_namelengthsrc.py index 0b23af409b7..20bd92c9eb6 100644 --- a/plotly/validators/surface/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/surface/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/font/_color.py b/plotly/validators/surface/hoverlabel/font/_color.py index 83c5c6f8b2f..7d65a416efc 100644 --- a/plotly/validators/surface/hoverlabel/font/_color.py +++ b/plotly/validators/surface/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/font/_colorsrc.py b/plotly/validators/surface/hoverlabel/font/_colorsrc.py index 246f1099d2c..c31144097d8 100644 --- a/plotly/validators/surface/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/surface/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/font/_family.py b/plotly/validators/surface/hoverlabel/font/_family.py index d71c642ca86..f47502d383a 100644 --- a/plotly/validators/surface/hoverlabel/font/_family.py +++ b/plotly/validators/surface/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/font/_familysrc.py b/plotly/validators/surface/hoverlabel/font/_familysrc.py index 6518d72a145..624bf1368cc 100644 --- a/plotly/validators/surface/hoverlabel/font/_familysrc.py +++ b/plotly/validators/surface/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/font/_size.py b/plotly/validators/surface/hoverlabel/font/_size.py index 7e7b383f358..c4dcf44299f 100644 --- a/plotly/validators/surface/hoverlabel/font/_size.py +++ b/plotly/validators/surface/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/hoverlabel/font/_sizesrc.py b/plotly/validators/surface/hoverlabel/font/_sizesrc.py index 96e12687d1e..f50978852b6 100644 --- a/plotly/validators/surface/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/surface/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/lighting/_ambient.py b/plotly/validators/surface/lighting/_ambient.py index 3770c7e6b8c..97a139ea165 100644 --- a/plotly/validators/surface/lighting/_ambient.py +++ b/plotly/validators/surface/lighting/_ambient.py @@ -9,9 +9,9 @@ def __init__( super(AmbientValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lighting/_diffuse.py b/plotly/validators/surface/lighting/_diffuse.py index db92deae8ea..2c73bde2b7f 100644 --- a/plotly/validators/surface/lighting/_diffuse.py +++ b/plotly/validators/surface/lighting/_diffuse.py @@ -9,9 +9,9 @@ def __init__( super(DiffuseValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lighting/_fresnel.py b/plotly/validators/surface/lighting/_fresnel.py index 4ba7ae2b61b..113893ef845 100644 --- a/plotly/validators/surface/lighting/_fresnel.py +++ b/plotly/validators/surface/lighting/_fresnel.py @@ -9,9 +9,9 @@ def __init__( super(FresnelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=5, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 5), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lighting/_roughness.py b/plotly/validators/surface/lighting/_roughness.py index 61001827d32..a4805de8800 100644 --- a/plotly/validators/surface/lighting/_roughness.py +++ b/plotly/validators/surface/lighting/_roughness.py @@ -12,9 +12,9 @@ def __init__( super(RoughnessValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lighting/_specular.py b/plotly/validators/surface/lighting/_specular.py index 762d187309a..9579b57da7b 100644 --- a/plotly/validators/surface/lighting/_specular.py +++ b/plotly/validators/surface/lighting/_specular.py @@ -9,9 +9,9 @@ def __init__( super(SpecularValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lightposition/_x.py b/plotly/validators/surface/lightposition/_x.py index e061faada2d..de914af74b6 100644 --- a/plotly/validators/surface/lightposition/_x.py +++ b/plotly/validators/surface/lightposition/_x.py @@ -9,9 +9,9 @@ def __init__( super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lightposition/_y.py b/plotly/validators/surface/lightposition/_y.py index 3fa09ff7fcb..51e3476646c 100644 --- a/plotly/validators/surface/lightposition/_y.py +++ b/plotly/validators/surface/lightposition/_y.py @@ -9,9 +9,9 @@ def __init__( super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/lightposition/_z.py b/plotly/validators/surface/lightposition/_z.py index a8b65d22584..ed739913e36 100644 --- a/plotly/validators/surface/lightposition/_z.py +++ b/plotly/validators/surface/lightposition/_z.py @@ -9,9 +9,9 @@ def __init__( super(ZValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=100000, - min=-100000, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 100000), + min=kwargs.pop('min', -100000), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/surface/stream/_maxpoints.py b/plotly/validators/surface/stream/_maxpoints.py index b44aa8f998a..5c7de80a219 100644 --- a/plotly/validators/surface/stream/_maxpoints.py +++ b/plotly/validators/surface/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/surface/stream/_token.py b/plotly/validators/surface/stream/_token.py index f352e3108ce..3ba755667da 100644 --- a/plotly/validators/surface/stream/_token.py +++ b/plotly/validators/surface/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/table/_cells.py b/plotly/validators/table/_cells.py index 85d4f64851e..1ef8c745ca5 100644 --- a/plotly/validators/table/_cells.py +++ b/plotly/validators/table/_cells.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='cells', parent_name='table', **kwargs): super(CellsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Cells', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Cells'), + data_docs=kwargs.pop( + 'data_docs', """ align Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` @@ -58,6 +59,7 @@ def __init__(self, plotly_name='cells', parent_name='table', **kwargs): valuessrc Sets the source reference on plot.ly for values . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/_columnorder.py b/plotly/validators/table/_columnorder.py index fe2897e5982..dfa1a4bfa43 100644 --- a/plotly/validators/table/_columnorder.py +++ b/plotly/validators/table/_columnorder.py @@ -9,7 +9,7 @@ def __init__( super(ColumnorderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/_columnordersrc.py b/plotly/validators/table/_columnordersrc.py index fbaf2abd886..674142ef4ca 100644 --- a/plotly/validators/table/_columnordersrc.py +++ b/plotly/validators/table/_columnordersrc.py @@ -9,7 +9,7 @@ def __init__( super(ColumnordersrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_columnwidth.py b/plotly/validators/table/_columnwidth.py index 4297384c097..07a3d20af7e 100644 --- a/plotly/validators/table/_columnwidth.py +++ b/plotly/validators/table/_columnwidth.py @@ -9,8 +9,8 @@ def __init__( super(ColumnwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/_columnwidthsrc.py b/plotly/validators/table/_columnwidthsrc.py index 241333e3748..ee79a181be5 100644 --- a/plotly/validators/table/_columnwidthsrc.py +++ b/plotly/validators/table/_columnwidthsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColumnwidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_customdata.py b/plotly/validators/table/_customdata.py index 1a7725fe14f..e0c7750ed23 100644 --- a/plotly/validators/table/_customdata.py +++ b/plotly/validators/table/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/_customdatasrc.py b/plotly/validators/table/_customdatasrc.py index 89629a1b869..ff9b67a7cf6 100644 --- a/plotly/validators/table/_customdatasrc.py +++ b/plotly/validators/table/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_domain.py b/plotly/validators/table/_domain.py index 3e75781291e..d1211ca1fa0 100644 --- a/plotly/validators/table/_domain.py +++ b/plotly/validators/table/_domain.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='domain', parent_name='table', **kwargs): super(DomainValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Domain', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Domain'), + data_docs=kwargs.pop( + 'data_docs', """ column If there is a layout grid, use the domain for this column in the grid for this table trace . @@ -21,6 +22,7 @@ def __init__(self, plotly_name='domain', parent_name='table', **kwargs): y Sets the vertical domain of this table trace (in plot fraction). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/_header.py b/plotly/validators/table/_header.py index 1ca3da54e39..3a84e57c306 100644 --- a/plotly/validators/table/_header.py +++ b/plotly/validators/table/_header.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='header', parent_name='table', **kwargs): super(HeaderValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Header', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Header'), + data_docs=kwargs.pop( + 'data_docs', """ align Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` @@ -58,6 +59,7 @@ def __init__(self, plotly_name='header', parent_name='table', **kwargs): valuessrc Sets the source reference on plot.ly for values . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/_hoverinfo.py b/plotly/validators/table/_hoverinfo.py index 572699c6f66..22181d498a6 100644 --- a/plotly/validators/table/_hoverinfo.py +++ b/plotly/validators/table/_hoverinfo.py @@ -7,10 +7,10 @@ def __init__(self, plotly_name='hoverinfo', parent_name='table', **kwargs): super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_hoverinfosrc.py b/plotly/validators/table/_hoverinfosrc.py index b1010bf1f9e..e3140d9a02d 100644 --- a/plotly/validators/table/_hoverinfosrc.py +++ b/plotly/validators/table/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_hoverlabel.py b/plotly/validators/table/_hoverlabel.py index 435426fa772..022d32855b4 100644 --- a/plotly/validators/table/_hoverlabel.py +++ b/plotly/validators/table/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/_ids.py b/plotly/validators/table/_ids.py index 9bab3658206..ca14f018eca 100644 --- a/plotly/validators/table/_ids.py +++ b/plotly/validators/table/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='table', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/_idssrc.py b/plotly/validators/table/_idssrc.py index fff074e834b..cbc2c9179a2 100644 --- a/plotly/validators/table/_idssrc.py +++ b/plotly/validators/table/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='table', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_legendgroup.py b/plotly/validators/table/_legendgroup.py index 8f47f85b6eb..343a69c7c78 100644 --- a/plotly/validators/table/_legendgroup.py +++ b/plotly/validators/table/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_name.py b/plotly/validators/table/_name.py index ed97312ceb7..c5b76233415 100644 --- a/plotly/validators/table/_name.py +++ b/plotly/validators/table/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='table', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_opacity.py b/plotly/validators/table/_opacity.py index 856412c796f..fc27157f0f8 100644 --- a/plotly/validators/table/_opacity.py +++ b/plotly/validators/table/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='table', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/_selectedpoints.py b/plotly/validators/table/_selectedpoints.py index 60d3b7525aa..7f14a12a966 100644 --- a/plotly/validators/table/_selectedpoints.py +++ b/plotly/validators/table/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_showlegend.py b/plotly/validators/table/_showlegend.py index 6fbd86bb7b9..a2e5217eac5 100644 --- a/plotly/validators/table/_showlegend.py +++ b/plotly/validators/table/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_stream.py b/plotly/validators/table/_stream.py index 792ceb51a79..c7cb67b946b 100644 --- a/plotly/validators/table/_stream.py +++ b/plotly/validators/table/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='table', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='table', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/_uid.py b/plotly/validators/table/_uid.py index c5b35e9d42d..81d8e974a59 100644 --- a/plotly/validators/table/_uid.py +++ b/plotly/validators/table/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='table', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/_visible.py b/plotly/validators/table/_visible.py index e6dadac51bf..ae2b1021001 100644 --- a/plotly/validators/table/_visible.py +++ b/plotly/validators/table/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='table', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/table/cells/_align.py b/plotly/validators/table/cells/_align.py index d9cfd36387a..9b46e2c6d91 100644 --- a/plotly/validators/table/cells/_align.py +++ b/plotly/validators/table/cells/_align.py @@ -9,9 +9,9 @@ def __init__( super(AlignValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/table/cells/_alignsrc.py b/plotly/validators/table/cells/_alignsrc.py index 5690711e446..5e03f5e9ae4 100644 --- a/plotly/validators/table/cells/_alignsrc.py +++ b/plotly/validators/table/cells/_alignsrc.py @@ -9,7 +9,7 @@ def __init__( super(AlignsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/_fill.py b/plotly/validators/table/cells/_fill.py index 42469357c7e..2dc40e4c8f3 100644 --- a/plotly/validators/table/cells/_fill.py +++ b/plotly/validators/table/cells/_fill.py @@ -9,14 +9,16 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Fill', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Fill'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the cell fill color. It accepts either a specific color or an array of colors. colorsrc Sets the source reference on plot.ly for color . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/cells/_font.py b/plotly/validators/table/cells/_font.py index 355e305cc24..b398daa9ebc 100644 --- a/plotly/validators/table/cells/_font.py +++ b/plotly/validators/table/cells/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/cells/_format.py b/plotly/validators/table/cells/_format.py index 43611c2449b..3fe187d2fbd 100644 --- a/plotly/validators/table/cells/_format.py +++ b/plotly/validators/table/cells/_format.py @@ -9,7 +9,7 @@ def __init__( super(FormatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/cells/_formatsrc.py b/plotly/validators/table/cells/_formatsrc.py index 47dbecbfd35..0d11d8c139e 100644 --- a/plotly/validators/table/cells/_formatsrc.py +++ b/plotly/validators/table/cells/_formatsrc.py @@ -9,7 +9,7 @@ def __init__( super(FormatsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/_height.py b/plotly/validators/table/cells/_height.py index aa0ec8205b4..fca766d3bf3 100644 --- a/plotly/validators/table/cells/_height.py +++ b/plotly/validators/table/cells/_height.py @@ -9,7 +9,7 @@ def __init__( super(HeightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/_line.py b/plotly/validators/table/cells/_line.py index 48cc114eb4f..506e8900a8e 100644 --- a/plotly/validators/table/cells/_line.py +++ b/plotly/validators/table/cells/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -21,6 +22,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/cells/_prefix.py b/plotly/validators/table/cells/_prefix.py index bf4df6605d2..64f61c4ca4a 100644 --- a/plotly/validators/table/cells/_prefix.py +++ b/plotly/validators/table/cells/_prefix.py @@ -9,8 +9,8 @@ def __init__( super(PrefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/_prefixsrc.py b/plotly/validators/table/cells/_prefixsrc.py index dd76e8f5ace..8e3f0a80b55 100644 --- a/plotly/validators/table/cells/_prefixsrc.py +++ b/plotly/validators/table/cells/_prefixsrc.py @@ -9,7 +9,7 @@ def __init__( super(PrefixsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/_suffix.py b/plotly/validators/table/cells/_suffix.py index c6310f98751..767423b52c3 100644 --- a/plotly/validators/table/cells/_suffix.py +++ b/plotly/validators/table/cells/_suffix.py @@ -9,8 +9,8 @@ def __init__( super(SuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/_suffixsrc.py b/plotly/validators/table/cells/_suffixsrc.py index 47daad6d80b..4f6acdce928 100644 --- a/plotly/validators/table/cells/_suffixsrc.py +++ b/plotly/validators/table/cells/_suffixsrc.py @@ -9,7 +9,7 @@ def __init__( super(SuffixsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/_values.py b/plotly/validators/table/cells/_values.py index 444604c4e12..b6fbcc416f7 100644 --- a/plotly/validators/table/cells/_values.py +++ b/plotly/validators/table/cells/_values.py @@ -9,7 +9,7 @@ def __init__( super(ValuesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/cells/_valuessrc.py b/plotly/validators/table/cells/_valuessrc.py index 84ac3056bfa..fa5f20822a6 100644 --- a/plotly/validators/table/cells/_valuessrc.py +++ b/plotly/validators/table/cells/_valuessrc.py @@ -9,7 +9,7 @@ def __init__( super(ValuessrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/fill/_color.py b/plotly/validators/table/cells/fill/_color.py index e9255231bec..fda65ad5438 100644 --- a/plotly/validators/table/cells/fill/_color.py +++ b/plotly/validators/table/cells/fill/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/fill/_colorsrc.py b/plotly/validators/table/cells/fill/_colorsrc.py index 9d16708522c..7200f515ea4 100644 --- a/plotly/validators/table/cells/fill/_colorsrc.py +++ b/plotly/validators/table/cells/fill/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/font/_color.py b/plotly/validators/table/cells/font/_color.py index 0b160dedf3c..a5c34d63fc6 100644 --- a/plotly/validators/table/cells/font/_color.py +++ b/plotly/validators/table/cells/font/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/font/_colorsrc.py b/plotly/validators/table/cells/font/_colorsrc.py index 7e7ba3e5647..96e05d80448 100644 --- a/plotly/validators/table/cells/font/_colorsrc.py +++ b/plotly/validators/table/cells/font/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/font/_family.py b/plotly/validators/table/cells/font/_family.py index d6eef74aafa..06366e20403 100644 --- a/plotly/validators/table/cells/font/_family.py +++ b/plotly/validators/table/cells/font/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/table/cells/font/_familysrc.py b/plotly/validators/table/cells/font/_familysrc.py index 6bbcc0eb08e..8b2082a3fae 100644 --- a/plotly/validators/table/cells/font/_familysrc.py +++ b/plotly/validators/table/cells/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/font/_size.py b/plotly/validators/table/cells/font/_size.py index b6fe8447b02..836915b0765 100644 --- a/plotly/validators/table/cells/font/_size.py +++ b/plotly/validators/table/cells/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/font/_sizesrc.py b/plotly/validators/table/cells/font/_sizesrc.py index 6c67374a5e4..0abd1dec1d8 100644 --- a/plotly/validators/table/cells/font/_sizesrc.py +++ b/plotly/validators/table/cells/font/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/line/_color.py b/plotly/validators/table/cells/line/_color.py index c5ca11870c0..ad6c82c4ecc 100644 --- a/plotly/validators/table/cells/line/_color.py +++ b/plotly/validators/table/cells/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/line/_colorsrc.py b/plotly/validators/table/cells/line/_colorsrc.py index 6951a446f7b..2edf807c85b 100644 --- a/plotly/validators/table/cells/line/_colorsrc.py +++ b/plotly/validators/table/cells/line/_colorsrc.py @@ -9,7 +9,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/cells/line/_width.py b/plotly/validators/table/cells/line/_width.py index 4c05a84c558..381fd463729 100644 --- a/plotly/validators/table/cells/line/_width.py +++ b/plotly/validators/table/cells/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/cells/line/_widthsrc.py b/plotly/validators/table/cells/line/_widthsrc.py index 44d667b2f3a..0184c51e84b 100644 --- a/plotly/validators/table/cells/line/_widthsrc.py +++ b/plotly/validators/table/cells/line/_widthsrc.py @@ -9,7 +9,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/domain/_column.py b/plotly/validators/table/domain/_column.py index ecec88ef166..317b97b3303 100644 --- a/plotly/validators/table/domain/_column.py +++ b/plotly/validators/table/domain/_column.py @@ -9,8 +9,8 @@ def __init__( super(ColumnValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/domain/_row.py b/plotly/validators/table/domain/_row.py index bafa9fe40ec..8bcef687774 100644 --- a/plotly/validators/table/domain/_row.py +++ b/plotly/validators/table/domain/_row.py @@ -9,8 +9,8 @@ def __init__( super(RowValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/domain/_x.py b/plotly/validators/table/domain/_x.py index 5fb6e71aaec..509896461b7 100644 --- a/plotly/validators/table/domain/_x.py +++ b/plotly/validators/table/domain/_x.py @@ -7,20 +7,22 @@ def __init__(self, plotly_name='x', parent_name='table.domain', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/domain/_y.py b/plotly/validators/table/domain/_y.py index 8d5b92d0a74..2e88f7cb32b 100644 --- a/plotly/validators/table/domain/_y.py +++ b/plotly/validators/table/domain/_y.py @@ -7,20 +7,22 @@ def __init__(self, plotly_name='y', parent_name='table.domain', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - }, { - 'valType': 'number', - 'min': 0, - 'max': 1, - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + }, { + 'valType': 'number', + 'min': 0, + 'max': 1, + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/_align.py b/plotly/validators/table/header/_align.py index dd41f8d58dc..226eaa341de 100644 --- a/plotly/validators/table/header/_align.py +++ b/plotly/validators/table/header/_align.py @@ -9,9 +9,9 @@ def __init__( super(AlignValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', - values=['left', 'center', 'right'], + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['left', 'center', 'right']), **kwargs ) diff --git a/plotly/validators/table/header/_alignsrc.py b/plotly/validators/table/header/_alignsrc.py index 3b034e925d9..689338a39a7 100644 --- a/plotly/validators/table/header/_alignsrc.py +++ b/plotly/validators/table/header/_alignsrc.py @@ -9,7 +9,7 @@ def __init__( super(AlignsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/_fill.py b/plotly/validators/table/header/_fill.py index 91ce382bd4f..0a2f2d450fa 100644 --- a/plotly/validators/table/header/_fill.py +++ b/plotly/validators/table/header/_fill.py @@ -9,14 +9,16 @@ def __init__( super(FillValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Fill', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Fill'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the cell fill color. It accepts either a specific color or an array of colors. colorsrc Sets the source reference on plot.ly for color . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/header/_font.py b/plotly/validators/table/header/_font.py index 341c0713bdc..563e0b1b258 100644 --- a/plotly/validators/table/header/_font.py +++ b/plotly/validators/table/header/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/header/_format.py b/plotly/validators/table/header/_format.py index 43fdd863657..24297d3fc41 100644 --- a/plotly/validators/table/header/_format.py +++ b/plotly/validators/table/header/_format.py @@ -9,7 +9,7 @@ def __init__( super(FormatValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/header/_formatsrc.py b/plotly/validators/table/header/_formatsrc.py index aefbcf450df..5cdc92ee4ac 100644 --- a/plotly/validators/table/header/_formatsrc.py +++ b/plotly/validators/table/header/_formatsrc.py @@ -9,7 +9,7 @@ def __init__( super(FormatsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/_height.py b/plotly/validators/table/header/_height.py index a36df47f7a3..d02bc646b70 100644 --- a/plotly/validators/table/header/_height.py +++ b/plotly/validators/table/header/_height.py @@ -9,7 +9,7 @@ def __init__( super(HeightValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/_line.py b/plotly/validators/table/header/_line.py index dd638ab3e3b..2123764b6bb 100644 --- a/plotly/validators/table/header/_line.py +++ b/plotly/validators/table/header/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -21,6 +22,7 @@ def __init__( widthsrc Sets the source reference on plot.ly for width . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/header/_prefix.py b/plotly/validators/table/header/_prefix.py index 46985398ff8..5a8a7fcd1e5 100644 --- a/plotly/validators/table/header/_prefix.py +++ b/plotly/validators/table/header/_prefix.py @@ -9,8 +9,8 @@ def __init__( super(PrefixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/_prefixsrc.py b/plotly/validators/table/header/_prefixsrc.py index 91177a9d034..edc92a03a8f 100644 --- a/plotly/validators/table/header/_prefixsrc.py +++ b/plotly/validators/table/header/_prefixsrc.py @@ -9,7 +9,7 @@ def __init__( super(PrefixsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/_suffix.py b/plotly/validators/table/header/_suffix.py index 7ca3914e0fd..6ee8184b89e 100644 --- a/plotly/validators/table/header/_suffix.py +++ b/plotly/validators/table/header/_suffix.py @@ -9,8 +9,8 @@ def __init__( super(SuffixValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/_suffixsrc.py b/plotly/validators/table/header/_suffixsrc.py index 06b35464d44..e805f98270c 100644 --- a/plotly/validators/table/header/_suffixsrc.py +++ b/plotly/validators/table/header/_suffixsrc.py @@ -9,7 +9,7 @@ def __init__( super(SuffixsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/_values.py b/plotly/validators/table/header/_values.py index 6b2ac154fe6..e76e74c4497 100644 --- a/plotly/validators/table/header/_values.py +++ b/plotly/validators/table/header/_values.py @@ -9,7 +9,7 @@ def __init__( super(ValuesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/table/header/_valuessrc.py b/plotly/validators/table/header/_valuessrc.py index 43b64179d4f..a4c9cda405e 100644 --- a/plotly/validators/table/header/_valuessrc.py +++ b/plotly/validators/table/header/_valuessrc.py @@ -9,7 +9,7 @@ def __init__( super(ValuessrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/fill/_color.py b/plotly/validators/table/header/fill/_color.py index 5eeef67b24d..2d77e99cb53 100644 --- a/plotly/validators/table/header/fill/_color.py +++ b/plotly/validators/table/header/fill/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/fill/_colorsrc.py b/plotly/validators/table/header/fill/_colorsrc.py index 906adb17ba9..7692416caca 100644 --- a/plotly/validators/table/header/fill/_colorsrc.py +++ b/plotly/validators/table/header/fill/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/font/_color.py b/plotly/validators/table/header/font/_color.py index ec23ed67930..e437fff4965 100644 --- a/plotly/validators/table/header/font/_color.py +++ b/plotly/validators/table/header/font/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/font/_colorsrc.py b/plotly/validators/table/header/font/_colorsrc.py index 9c8ea9c0628..ba998b85fd3 100644 --- a/plotly/validators/table/header/font/_colorsrc.py +++ b/plotly/validators/table/header/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/font/_family.py b/plotly/validators/table/header/font/_family.py index 829f9af850d..4ddb392e30e 100644 --- a/plotly/validators/table/header/font/_family.py +++ b/plotly/validators/table/header/font/_family.py @@ -9,10 +9,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/table/header/font/_familysrc.py b/plotly/validators/table/header/font/_familysrc.py index b091cc7ecf8..fa3098fd9eb 100644 --- a/plotly/validators/table/header/font/_familysrc.py +++ b/plotly/validators/table/header/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/font/_size.py b/plotly/validators/table/header/font/_size.py index fdd6284333e..a842ed30c41 100644 --- a/plotly/validators/table/header/font/_size.py +++ b/plotly/validators/table/header/font/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/font/_sizesrc.py b/plotly/validators/table/header/font/_sizesrc.py index 0bdd341f1e0..f7cdfdaa889 100644 --- a/plotly/validators/table/header/font/_sizesrc.py +++ b/plotly/validators/table/header/font/_sizesrc.py @@ -9,7 +9,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/line/_color.py b/plotly/validators/table/header/line/_color.py index 1eb8190023c..b8b1afcc276 100644 --- a/plotly/validators/table/header/line/_color.py +++ b/plotly/validators/table/header/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/line/_colorsrc.py b/plotly/validators/table/header/line/_colorsrc.py index b8456e3cc58..a7061f1d6a2 100644 --- a/plotly/validators/table/header/line/_colorsrc.py +++ b/plotly/validators/table/header/line/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/header/line/_width.py b/plotly/validators/table/header/line/_width.py index e9e38a358c3..1b6e7aebb29 100644 --- a/plotly/validators/table/header/line/_width.py +++ b/plotly/validators/table/header/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/header/line/_widthsrc.py b/plotly/validators/table/header/line/_widthsrc.py index 8ef2f93a5b5..26f9c5fa103 100644 --- a/plotly/validators/table/header/line/_widthsrc.py +++ b/plotly/validators/table/header/line/_widthsrc.py @@ -12,7 +12,7 @@ def __init__( super(WidthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_bgcolor.py b/plotly/validators/table/hoverlabel/_bgcolor.py index 36f9a3cb255..1cf4cdcf36f 100644 --- a/plotly/validators/table/hoverlabel/_bgcolor.py +++ b/plotly/validators/table/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_bgcolorsrc.py b/plotly/validators/table/hoverlabel/_bgcolorsrc.py index d2b8bff3e9c..61979f15511 100644 --- a/plotly/validators/table/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/table/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_bordercolor.py b/plotly/validators/table/hoverlabel/_bordercolor.py index d2dc18353bd..86b27d2d81a 100644 --- a/plotly/validators/table/hoverlabel/_bordercolor.py +++ b/plotly/validators/table/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_bordercolorsrc.py b/plotly/validators/table/hoverlabel/_bordercolorsrc.py index e307e1dc4ef..e335712ac64 100644 --- a/plotly/validators/table/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/table/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_font.py b/plotly/validators/table/hoverlabel/_font.py index 32933132b08..0c65e083cbc 100644 --- a/plotly/validators/table/hoverlabel/_font.py +++ b/plotly/validators/table/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_namelength.py b/plotly/validators/table/hoverlabel/_namelength.py index 7c8f39b09c2..a0c8f6e59bd 100644 --- a/plotly/validators/table/hoverlabel/_namelength.py +++ b/plotly/validators/table/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/_namelengthsrc.py b/plotly/validators/table/hoverlabel/_namelengthsrc.py index a5b5080fa58..c8ed372667b 100644 --- a/plotly/validators/table/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/table/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/font/_color.py b/plotly/validators/table/hoverlabel/font/_color.py index 01aa1a244db..bdd62b18828 100644 --- a/plotly/validators/table/hoverlabel/font/_color.py +++ b/plotly/validators/table/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/font/_colorsrc.py b/plotly/validators/table/hoverlabel/font/_colorsrc.py index 7f488315b39..5515098f6c3 100644 --- a/plotly/validators/table/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/table/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/font/_family.py b/plotly/validators/table/hoverlabel/font/_family.py index 7b071ac934d..f379dcd7e1b 100644 --- a/plotly/validators/table/hoverlabel/font/_family.py +++ b/plotly/validators/table/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/font/_familysrc.py b/plotly/validators/table/hoverlabel/font/_familysrc.py index cd3e4604488..9ba4cfc1ebd 100644 --- a/plotly/validators/table/hoverlabel/font/_familysrc.py +++ b/plotly/validators/table/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/font/_size.py b/plotly/validators/table/hoverlabel/font/_size.py index 2c06834ab81..78fa0351658 100644 --- a/plotly/validators/table/hoverlabel/font/_size.py +++ b/plotly/validators/table/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/table/hoverlabel/font/_sizesrc.py b/plotly/validators/table/hoverlabel/font/_sizesrc.py index aa14b3ced88..b72198c1d28 100644 --- a/plotly/validators/table/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/table/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/stream/_maxpoints.py b/plotly/validators/table/stream/_maxpoints.py index c6695922113..6acae34e467 100644 --- a/plotly/validators/table/stream/_maxpoints.py +++ b/plotly/validators/table/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/table/stream/_token.py b/plotly/validators/table/stream/_token.py index c46881cb4d0..4c4a8b9d8c7 100644 --- a/plotly/validators/table/stream/_token.py +++ b/plotly/validators/table/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/violin/_bandwidth.py b/plotly/validators/violin/_bandwidth.py index 9deb3f80889..aa87ea3740e 100644 --- a/plotly/validators/violin/_bandwidth.py +++ b/plotly/validators/violin/_bandwidth.py @@ -9,8 +9,8 @@ def __init__( super(BandwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_box.py b/plotly/validators/violin/_box.py index d46b428579e..df2014badfc 100644 --- a/plotly/validators/violin/_box.py +++ b/plotly/validators/violin/_box.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='box', parent_name='violin', **kwargs): super(BoxValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Box', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Box'), + data_docs=kwargs.pop( + 'data_docs', """ fillcolor Sets the inner box plot fill color. line @@ -21,6 +22,7 @@ def __init__(self, plotly_name='box', parent_name='violin', **kwargs): Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_customdata.py b/plotly/validators/violin/_customdata.py index d41260adeb1..8a9015fa41d 100644 --- a/plotly/validators/violin/_customdata.py +++ b/plotly/validators/violin/_customdata.py @@ -9,7 +9,7 @@ def __init__( super(CustomdataValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/violin/_customdatasrc.py b/plotly/validators/violin/_customdatasrc.py index 8c37e272a2f..d8aa7b84f16 100644 --- a/plotly/validators/violin/_customdatasrc.py +++ b/plotly/validators/violin/_customdatasrc.py @@ -9,7 +9,7 @@ def __init__( super(CustomdatasrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_fillcolor.py b/plotly/validators/violin/_fillcolor.py index 9123ed708b8..68d5a7c9fde 100644 --- a/plotly/validators/violin/_fillcolor.py +++ b/plotly/validators/violin/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/_hoverinfo.py b/plotly/validators/violin/_hoverinfo.py index 98d9db1bebb..2a83269ead3 100644 --- a/plotly/validators/violin/_hoverinfo.py +++ b/plotly/validators/violin/_hoverinfo.py @@ -9,10 +9,10 @@ def __init__( super(HoverinfoValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - extras=['all', 'none', 'skip'], - flags=['x', 'y', 'z', 'text', 'name'], - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + extras=kwargs.pop('extras', ['all', 'none', 'skip']), + flags=kwargs.pop('flags', ['x', 'y', 'z', 'text', 'name']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_hoverinfosrc.py b/plotly/validators/violin/_hoverinfosrc.py index f0391467ad2..26e24bcc61d 100644 --- a/plotly/validators/violin/_hoverinfosrc.py +++ b/plotly/validators/violin/_hoverinfosrc.py @@ -9,7 +9,7 @@ def __init__( super(HoverinfosrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_hoverlabel.py b/plotly/validators/violin/_hoverlabel.py index c3c309c4679..423790cd324 100644 --- a/plotly/validators/violin/_hoverlabel.py +++ b/plotly/validators/violin/_hoverlabel.py @@ -9,8 +9,9 @@ def __init__( super(HoverlabelValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Hoverlabel', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Hoverlabel'), + data_docs=kwargs.pop( + 'data_docs', """ bgcolor Sets the background color of the hover labels for this trace @@ -37,6 +38,7 @@ def __init__( namelengthsrc Sets the source reference on plot.ly for namelength . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_hoveron.py b/plotly/validators/violin/_hoveron.py index 78f3c0e9f5a..210e5325347 100644 --- a/plotly/validators/violin/_hoveron.py +++ b/plotly/validators/violin/_hoveron.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='hoveron', parent_name='violin', **kwargs): super(HoveronValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - extras=['all'], - flags=['violins', 'points', 'kde'], - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + extras=kwargs.pop('extras', ['all']), + flags=kwargs.pop('flags', ['violins', 'points', 'kde']), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_ids.py b/plotly/validators/violin/_ids.py index c52cfc10dac..f06d3b5f4bb 100644 --- a/plotly/validators/violin/_ids.py +++ b/plotly/validators/violin/_ids.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ids', parent_name='violin', **kwargs): super(IdsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='data', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/violin/_idssrc.py b/plotly/validators/violin/_idssrc.py index 37e3ea0d678..b00849ccb74 100644 --- a/plotly/validators/violin/_idssrc.py +++ b/plotly/validators/violin/_idssrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='idssrc', parent_name='violin', **kwargs): super(IdssrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_jitter.py b/plotly/validators/violin/_jitter.py index 9a4517cb7c6..f659bb7600d 100644 --- a/plotly/validators/violin/_jitter.py +++ b/plotly/validators/violin/_jitter.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='jitter', parent_name='violin', **kwargs): super(JitterValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/_legendgroup.py b/plotly/validators/violin/_legendgroup.py index 4f39b63c21f..22e2bd95ce5 100644 --- a/plotly/validators/violin/_legendgroup.py +++ b/plotly/validators/violin/_legendgroup.py @@ -9,7 +9,7 @@ def __init__( super(LegendgroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_line.py b/plotly/validators/violin/_line.py index 01a4c0de42b..19055bb9ebe 100644 --- a/plotly/validators/violin/_line.py +++ b/plotly/validators/violin/_line.py @@ -7,13 +7,15 @@ def __init__(self, plotly_name='line', parent_name='violin', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the color of line bounding the violin(s). width Sets the width (in px) of line bounding the violin(s). -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_marker.py b/plotly/validators/violin/_marker.py index 88bc34274f2..c349da23b81 100644 --- a/plotly/validators/violin/_marker.py +++ b/plotly/validators/violin/_marker.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='marker', parent_name='violin', **kwargs): super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets themarkercolor. It accepts either a specific color or an array of numbers that are @@ -31,6 +32,7 @@ def __init__(self, plotly_name='marker', parent_name='violin', **kwargs): "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot- open" to a symbol name. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_meanline.py b/plotly/validators/violin/_meanline.py index 2b40645baa9..21e432da7e8 100644 --- a/plotly/validators/violin/_meanline.py +++ b/plotly/validators/violin/_meanline.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='meanline', parent_name='violin', **kwargs): super(MeanlineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Meanline', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Meanline'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the mean line color. visible @@ -20,6 +21,7 @@ def __init__(self, plotly_name='meanline', parent_name='violin', **kwargs): other. width Sets the mean line width. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_name.py b/plotly/validators/violin/_name.py index 0a09e8c2522..390a2c5249b 100644 --- a/plotly/validators/violin/_name.py +++ b/plotly/validators/violin/_name.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='name', parent_name='violin', **kwargs): super(NameValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_opacity.py b/plotly/validators/violin/_opacity.py index e46b2d848e7..486273be223 100644 --- a/plotly/validators/violin/_opacity.py +++ b/plotly/validators/violin/_opacity.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='opacity', parent_name='violin', **kwargs): super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/_orientation.py b/plotly/validators/violin/_orientation.py index 0a4e0988d93..6a5298c1a4a 100644 --- a/plotly/validators/violin/_orientation.py +++ b/plotly/validators/violin/_orientation.py @@ -9,8 +9,8 @@ def __init__( super(OrientationValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='style', - values=['v', 'h'], + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop('values', ['v', 'h']), **kwargs ) diff --git a/plotly/validators/violin/_pointpos.py b/plotly/validators/violin/_pointpos.py index 4ea8e26d4c8..24f7d925874 100644 --- a/plotly/validators/violin/_pointpos.py +++ b/plotly/validators/violin/_pointpos.py @@ -7,9 +7,9 @@ def __init__(self, plotly_name='pointpos', parent_name='violin', **kwargs): super(PointposValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=2, - min=-2, - role='style', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 2), + min=kwargs.pop('min', -2), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/_points.py b/plotly/validators/violin/_points.py index ee98b582f62..6120cfb2254 100644 --- a/plotly/validators/violin/_points.py +++ b/plotly/validators/violin/_points.py @@ -7,8 +7,10 @@ def __init__(self, plotly_name='points', parent_name='violin', **kwargs): super(PointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='style', - values=['all', 'outliers', 'suspectedoutliers', False], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', ['all', 'outliers', 'suspectedoutliers', False] + ), **kwargs ) diff --git a/plotly/validators/violin/_scalegroup.py b/plotly/validators/violin/_scalegroup.py index fa20e3cade7..c4babf2d55e 100644 --- a/plotly/validators/violin/_scalegroup.py +++ b/plotly/validators/violin/_scalegroup.py @@ -9,7 +9,7 @@ def __init__( super(ScalegroupValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_scalemode.py b/plotly/validators/violin/_scalemode.py index 12349d6698d..6af4e6489e6 100644 --- a/plotly/validators/violin/_scalemode.py +++ b/plotly/validators/violin/_scalemode.py @@ -9,8 +9,8 @@ def __init__( super(ScalemodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['width', 'count'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['width', 'count']), **kwargs ) diff --git a/plotly/validators/violin/_selected.py b/plotly/validators/violin/_selected.py index 91d42be7be2..cc085aa98c2 100644 --- a/plotly/validators/violin/_selected.py +++ b/plotly/validators/violin/_selected.py @@ -7,11 +7,13 @@ def __init__(self, plotly_name='selected', parent_name='violin', **kwargs): super(SelectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Selected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Selected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.violin.selected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_selectedpoints.py b/plotly/validators/violin/_selectedpoints.py index 7560db6f5f6..bbe55c6aa94 100644 --- a/plotly/validators/violin/_selectedpoints.py +++ b/plotly/validators/violin/_selectedpoints.py @@ -9,7 +9,7 @@ def __init__( super(SelectedpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_showlegend.py b/plotly/validators/violin/_showlegend.py index 6222b0afc26..18e3aa4b4f7 100644 --- a/plotly/validators/violin/_showlegend.py +++ b/plotly/validators/violin/_showlegend.py @@ -9,7 +9,7 @@ def __init__( super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='info', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_side.py b/plotly/validators/violin/_side.py index 262d713ab82..87317db2139 100644 --- a/plotly/validators/violin/_side.py +++ b/plotly/validators/violin/_side.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='side', parent_name='violin', **kwargs): super(SideValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', - values=['both', 'positive', 'negative'], + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['both', 'positive', 'negative']), **kwargs ) diff --git a/plotly/validators/violin/_span.py b/plotly/validators/violin/_span.py index 7598560bff6..44a0a025d0c 100644 --- a/plotly/validators/violin/_span.py +++ b/plotly/validators/violin/_span.py @@ -7,16 +7,18 @@ def __init__(self, plotly_name='span', parent_name='violin', **kwargs): super(SpanValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - items=[ - { - 'valType': 'any', - 'editType': 'calc' - }, { - 'valType': 'any', - 'editType': 'calc' - } - ], - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + items=kwargs.pop( + 'items', [ + { + 'valType': 'any', + 'editType': 'calc' + }, { + 'valType': 'any', + 'editType': 'calc' + } + ] + ), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_spanmode.py b/plotly/validators/violin/_spanmode.py index dca3e17e262..763c6488d3b 100644 --- a/plotly/validators/violin/_spanmode.py +++ b/plotly/validators/violin/_spanmode.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='spanmode', parent_name='violin', **kwargs): super(SpanmodeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=['soft', 'hard', 'manual'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', ['soft', 'hard', 'manual']), **kwargs ) diff --git a/plotly/validators/violin/_stream.py b/plotly/validators/violin/_stream.py index 2ce7c7d3ece..096ed2411f9 100644 --- a/plotly/validators/violin/_stream.py +++ b/plotly/validators/violin/_stream.py @@ -7,8 +7,9 @@ def __init__(self, plotly_name='stream', parent_name='violin', **kwargs): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Stream', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Stream'), + data_docs=kwargs.pop( + 'data_docs', """ maxpoints Sets the maximum number of points to keep on the plots from an incoming stream. If @@ -18,6 +19,7 @@ def __init__(self, plotly_name='stream', parent_name='violin', **kwargs): The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_text.py b/plotly/validators/violin/_text.py index 4f76eede326..21e7da290ca 100644 --- a/plotly/validators/violin/_text.py +++ b/plotly/validators/violin/_text.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='text', parent_name='violin', **kwargs): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='calc', - role='info', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_textsrc.py b/plotly/validators/violin/_textsrc.py index 2fde74ce321..4b97f2d180d 100644 --- a/plotly/validators/violin/_textsrc.py +++ b/plotly/validators/violin/_textsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='textsrc', parent_name='violin', **kwargs): super(TextsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_uid.py b/plotly/validators/violin/_uid.py index f426146e184..fb84919c3c8 100644 --- a/plotly/validators/violin/_uid.py +++ b/plotly/validators/violin/_uid.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='uid', parent_name='violin', **kwargs): super(UidValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_unselected.py b/plotly/validators/violin/_unselected.py index b3be58180eb..ed687d70bb8 100644 --- a/plotly/validators/violin/_unselected.py +++ b/plotly/validators/violin/_unselected.py @@ -9,11 +9,13 @@ def __init__( super(UnselectedValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Unselected', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Unselected'), + data_docs=kwargs.pop( + 'data_docs', """ marker plotly.graph_objs.violin.unselected.Marker instance or dict with compatible properties -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/_visible.py b/plotly/validators/violin/_visible.py index c510c43a998..c3306b87864 100644 --- a/plotly/validators/violin/_visible.py +++ b/plotly/validators/violin/_visible.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='visible', parent_name='violin', **kwargs): super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - role='info', - values=[True, False, 'legendonly'], + edit_type=kwargs.pop('edit_type', 'calc'), + role=kwargs.pop('role', 'info'), + values=kwargs.pop('values', [True, False, 'legendonly']), **kwargs ) diff --git a/plotly/validators/violin/_x.py b/plotly/validators/violin/_x.py index bb8eb111c56..091cf528fb1 100644 --- a/plotly/validators/violin/_x.py +++ b/plotly/validators/violin/_x.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x', parent_name='violin', **kwargs): super(XValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/violin/_x0.py b/plotly/validators/violin/_x0.py index 560f1dc3f22..d8451ebb2bf 100644 --- a/plotly/validators/violin/_x0.py +++ b/plotly/validators/violin/_x0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='x0', parent_name='violin', **kwargs): super(X0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_xaxis.py b/plotly/validators/violin/_xaxis.py index eb09da16581..a9bca9e4fe8 100644 --- a/plotly/validators/violin/_xaxis.py +++ b/plotly/validators/violin/_xaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='xaxis', parent_name='violin', **kwargs): super(XAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='x', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'x'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_xsrc.py b/plotly/validators/violin/_xsrc.py index 359c01e5feb..aae858df66b 100644 --- a/plotly/validators/violin/_xsrc.py +++ b/plotly/validators/violin/_xsrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='xsrc', parent_name='violin', **kwargs): super(XsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_y.py b/plotly/validators/violin/_y.py index 5b1908f691e..9c3a8b3d9ed 100644 --- a/plotly/validators/violin/_y.py +++ b/plotly/validators/violin/_y.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y', parent_name='violin', **kwargs): super(YValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='data', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'data'), **kwargs ) diff --git a/plotly/validators/violin/_y0.py b/plotly/validators/violin/_y0.py index 8786b73297e..b47f8b16b69 100644 --- a/plotly/validators/violin/_y0.py +++ b/plotly/validators/violin/_y0.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='y0', parent_name='violin', **kwargs): super(Y0Validator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc+clearAxisTypes', - role='info', + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_yaxis.py b/plotly/validators/violin/_yaxis.py index 632eb6a13d8..f4369157e6c 100644 --- a/plotly/validators/violin/_yaxis.py +++ b/plotly/validators/violin/_yaxis.py @@ -7,8 +7,8 @@ def __init__(self, plotly_name='yaxis', parent_name='violin', **kwargs): super(YAxisValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - dflt='y', - edit_type='calc+clearAxisTypes', - role='info', + dflt=kwargs.pop('dflt', 'y'), + edit_type=kwargs.pop('edit_type', 'calc+clearAxisTypes'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/_ysrc.py b/plotly/validators/violin/_ysrc.py index 5ea200ebaff..fdffb756178 100644 --- a/plotly/validators/violin/_ysrc.py +++ b/plotly/validators/violin/_ysrc.py @@ -7,7 +7,7 @@ def __init__(self, plotly_name='ysrc', parent_name='violin', **kwargs): super(YsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/box/_fillcolor.py b/plotly/validators/violin/box/_fillcolor.py index aceada31f9a..79d7fde3efe 100644 --- a/plotly/validators/violin/box/_fillcolor.py +++ b/plotly/validators/violin/box/_fillcolor.py @@ -9,7 +9,7 @@ def __init__( super(FillcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/box/_line.py b/plotly/validators/violin/box/_line.py index b0d15ecd2e2..f605a3fcb01 100644 --- a/plotly/validators/violin/box/_line.py +++ b/plotly/validators/violin/box/_line.py @@ -7,12 +7,14 @@ def __init__(self, plotly_name='line', parent_name='violin.box', **kwargs): super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the inner box plot bounding line color. width Sets the inner box plot bounding line width. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/box/_visible.py b/plotly/validators/violin/box/_visible.py index d12cb3a1f43..7fca19fa36d 100644 --- a/plotly/validators/violin/box/_visible.py +++ b/plotly/validators/violin/box/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/box/_width.py b/plotly/validators/violin/box/_width.py index 1fe66dcf56f..992f2476701 100644 --- a/plotly/validators/violin/box/_width.py +++ b/plotly/validators/violin/box/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - max=1, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/box/line/_color.py b/plotly/validators/violin/box/line/_color.py index d3f5d3a13a0..55ba76244c1 100644 --- a/plotly/validators/violin/box/line/_color.py +++ b/plotly/validators/violin/box/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/box/line/_width.py b/plotly/validators/violin/box/line/_width.py index 304864eb8ee..c43e1ee4b51 100644 --- a/plotly/validators/violin/box/line/_width.py +++ b/plotly/validators/violin/box/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_bgcolor.py b/plotly/validators/violin/hoverlabel/_bgcolor.py index 4f02758e473..6d37011b041 100644 --- a/plotly/validators/violin/hoverlabel/_bgcolor.py +++ b/plotly/validators/violin/hoverlabel/_bgcolor.py @@ -9,8 +9,8 @@ def __init__( super(BgcolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_bgcolorsrc.py b/plotly/validators/violin/hoverlabel/_bgcolorsrc.py index 002acfb29ab..081154e790b 100644 --- a/plotly/validators/violin/hoverlabel/_bgcolorsrc.py +++ b/plotly/validators/violin/hoverlabel/_bgcolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BgcolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_bordercolor.py b/plotly/validators/violin/hoverlabel/_bordercolor.py index 19a7de7e280..effbae704ff 100644 --- a/plotly/validators/violin/hoverlabel/_bordercolor.py +++ b/plotly/validators/violin/hoverlabel/_bordercolor.py @@ -12,8 +12,8 @@ def __init__( super(BordercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_bordercolorsrc.py b/plotly/validators/violin/hoverlabel/_bordercolorsrc.py index 503450a8005..bcd8355347e 100644 --- a/plotly/validators/violin/hoverlabel/_bordercolorsrc.py +++ b/plotly/validators/violin/hoverlabel/_bordercolorsrc.py @@ -12,7 +12,7 @@ def __init__( super(BordercolorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_font.py b/plotly/validators/violin/hoverlabel/_font.py index 5cf25bdaa6f..28278a3af16 100644 --- a/plotly/validators/violin/hoverlabel/_font.py +++ b/plotly/validators/violin/hoverlabel/_font.py @@ -9,8 +9,9 @@ def __init__( super(FontValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Font', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Font'), + data_docs=kwargs.pop( + 'data_docs', """ color colorsrc @@ -40,6 +41,7 @@ def __init__( sizesrc Sets the source reference on plot.ly for size . -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_namelength.py b/plotly/validators/violin/hoverlabel/_namelength.py index 5b71a9216e8..699933a58b0 100644 --- a/plotly/validators/violin/hoverlabel/_namelength.py +++ b/plotly/validators/violin/hoverlabel/_namelength.py @@ -12,9 +12,9 @@ def __init__( super(NamelengthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=-1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', -1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/_namelengthsrc.py b/plotly/validators/violin/hoverlabel/_namelengthsrc.py index 03240692216..edc32721181 100644 --- a/plotly/validators/violin/hoverlabel/_namelengthsrc.py +++ b/plotly/validators/violin/hoverlabel/_namelengthsrc.py @@ -12,7 +12,7 @@ def __init__( super(NamelengthsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/font/_color.py b/plotly/validators/violin/hoverlabel/font/_color.py index 190e3ceb127..1abef475f47 100644 --- a/plotly/validators/violin/hoverlabel/font/_color.py +++ b/plotly/validators/violin/hoverlabel/font/_color.py @@ -12,8 +12,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/font/_colorsrc.py b/plotly/validators/violin/hoverlabel/font/_colorsrc.py index fb2d676bb16..cb1429bcadb 100644 --- a/plotly/validators/violin/hoverlabel/font/_colorsrc.py +++ b/plotly/validators/violin/hoverlabel/font/_colorsrc.py @@ -12,7 +12,7 @@ def __init__( super(ColorsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/font/_family.py b/plotly/validators/violin/hoverlabel/font/_family.py index 2b97a9bceab..415d5951ad6 100644 --- a/plotly/validators/violin/hoverlabel/font/_family.py +++ b/plotly/validators/violin/hoverlabel/font/_family.py @@ -12,10 +12,10 @@ def __init__( super(FamilyValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - no_blank=True, - role='style', - strict=True, + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'style'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/font/_familysrc.py b/plotly/validators/violin/hoverlabel/font/_familysrc.py index 5232436936c..f7294e0ad4c 100644 --- a/plotly/validators/violin/hoverlabel/font/_familysrc.py +++ b/plotly/validators/violin/hoverlabel/font/_familysrc.py @@ -12,7 +12,7 @@ def __init__( super(FamilysrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/font/_size.py b/plotly/validators/violin/hoverlabel/font/_size.py index 0d10dd03096..ad6172ef6bd 100644 --- a/plotly/validators/violin/hoverlabel/font/_size.py +++ b/plotly/validators/violin/hoverlabel/font/_size.py @@ -12,9 +12,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=True, - edit_type='none', - min=1, - role='style', + array_ok=kwargs.pop('array_ok', True), + edit_type=kwargs.pop('edit_type', 'none'), + min=kwargs.pop('min', 1), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/hoverlabel/font/_sizesrc.py b/plotly/validators/violin/hoverlabel/font/_sizesrc.py index c33cbe942d3..c01fa0ba5ae 100644 --- a/plotly/validators/violin/hoverlabel/font/_sizesrc.py +++ b/plotly/validators/violin/hoverlabel/font/_sizesrc.py @@ -12,7 +12,7 @@ def __init__( super(SizesrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='none', - role='info', + edit_type=kwargs.pop('edit_type', 'none'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/line/_color.py b/plotly/validators/violin/line/_color.py index d3255c1d6b1..bdf4cade386 100644 --- a/plotly/validators/violin/line/_color.py +++ b/plotly/validators/violin/line/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/line/_width.py b/plotly/validators/violin/line/_width.py index 17f5e812403..40e3d12f2d6 100644 --- a/plotly/validators/violin/line/_width.py +++ b/plotly/validators/violin/line/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/_color.py b/plotly/validators/violin/marker/_color.py index ed80e4e73e2..782073a5ee6 100644 --- a/plotly/validators/violin/marker/_color.py +++ b/plotly/validators/violin/marker/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/_line.py b/plotly/validators/violin/marker/_line.py index 7edaa2f9f52..177cfb80af6 100644 --- a/plotly/validators/violin/marker/_line.py +++ b/plotly/validators/violin/marker/_line.py @@ -9,8 +9,9 @@ def __init__( super(LineValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Line', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Line'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are @@ -27,6 +28,7 @@ def __init__( width Sets the width (in px) of the lines bounding the marker points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/marker/_opacity.py b/plotly/validators/violin/marker/_opacity.py index 2eafa508527..ab3054cc8ad 100644 --- a/plotly/validators/violin/marker/_opacity.py +++ b/plotly/validators/violin/marker/_opacity.py @@ -9,10 +9,10 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - max=1, - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/_outliercolor.py b/plotly/validators/violin/marker/_outliercolor.py index fe70082c403..bc33b07a7e1 100644 --- a/plotly/validators/violin/marker/_outliercolor.py +++ b/plotly/validators/violin/marker/_outliercolor.py @@ -12,7 +12,7 @@ def __init__( super(OutliercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/_size.py b/plotly/validators/violin/marker/_size.py index 469586c1f74..582afbc8454 100644 --- a/plotly/validators/violin/marker/_size.py +++ b/plotly/validators/violin/marker/_size.py @@ -9,9 +9,9 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='calc', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'calc'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/_symbol.py b/plotly/validators/violin/marker/_symbol.py index 7be1d7a9145..f6a43150aad 100644 --- a/plotly/validators/violin/marker/_symbol.py +++ b/plotly/validators/violin/marker/_symbol.py @@ -9,66 +9,70 @@ def __init__( super(SymbolValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='plot', - role='style', - values=[ - 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, - 'circle-open-dot', 1, 'square', 101, 'square-open', 201, - 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, - 'diamond-open', 202, 'diamond-dot', 302, 'diamond-open-dot', 3, - 'cross', 103, 'cross-open', 203, 'cross-dot', 303, - 'cross-open-dot', 4, 'x', 104, 'x-open', 204, 'x-dot', 304, - 'x-open-dot', 5, 'triangle-up', 105, 'triangle-up-open', 205, - 'triangle-up-dot', 305, 'triangle-up-open-dot', 6, - 'triangle-down', 106, 'triangle-down-open', 206, - 'triangle-down-dot', 306, 'triangle-down-open-dot', 7, - 'triangle-left', 107, 'triangle-left-open', 207, - 'triangle-left-dot', 307, 'triangle-left-open-dot', 8, - 'triangle-right', 108, 'triangle-right-open', 208, - 'triangle-right-dot', 308, 'triangle-right-open-dot', 9, - 'triangle-ne', 109, 'triangle-ne-open', 209, 'triangle-ne-dot', - 309, 'triangle-ne-open-dot', 10, 'triangle-se', 110, - 'triangle-se-open', 210, 'triangle-se-dot', 310, - 'triangle-se-open-dot', 11, 'triangle-sw', 111, - 'triangle-sw-open', 211, 'triangle-sw-dot', 311, - 'triangle-sw-open-dot', 12, 'triangle-nw', 112, - 'triangle-nw-open', 212, 'triangle-nw-dot', 312, - 'triangle-nw-open-dot', 13, 'pentagon', 113, 'pentagon-open', - 213, 'pentagon-dot', 313, 'pentagon-open-dot', 14, 'hexagon', - 114, 'hexagon-open', 214, 'hexagon-dot', 314, - 'hexagon-open-dot', 15, 'hexagon2', 115, 'hexagon2-open', 215, - 'hexagon2-dot', 315, 'hexagon2-open-dot', 16, 'octagon', 116, - 'octagon-open', 216, 'octagon-dot', 316, 'octagon-open-dot', - 17, 'star', 117, 'star-open', 217, 'star-dot', 317, - 'star-open-dot', 18, 'hexagram', 118, 'hexagram-open', 218, - 'hexagram-dot', 318, 'hexagram-open-dot', 19, - 'star-triangle-up', 119, 'star-triangle-up-open', 219, - 'star-triangle-up-dot', 319, 'star-triangle-up-open-dot', 20, - 'star-triangle-down', 120, 'star-triangle-down-open', 220, - 'star-triangle-down-dot', 320, 'star-triangle-down-open-dot', - 21, 'star-square', 121, 'star-square-open', 221, - 'star-square-dot', 321, 'star-square-open-dot', 22, - 'star-diamond', 122, 'star-diamond-open', 222, - 'star-diamond-dot', 322, 'star-diamond-open-dot', 23, - 'diamond-tall', 123, 'diamond-tall-open', 223, - 'diamond-tall-dot', 323, 'diamond-tall-open-dot', 24, - 'diamond-wide', 124, 'diamond-wide-open', 224, - 'diamond-wide-dot', 324, 'diamond-wide-open-dot', 25, - 'hourglass', 125, 'hourglass-open', 26, 'bowtie', 126, - 'bowtie-open', 27, 'circle-cross', 127, 'circle-cross-open', - 28, 'circle-x', 128, 'circle-x-open', 29, 'square-cross', 129, - 'square-cross-open', 30, 'square-x', 130, 'square-x-open', 31, - 'diamond-cross', 131, 'diamond-cross-open', 32, 'diamond-x', - 132, 'diamond-x-open', 33, 'cross-thin', 133, - 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, - 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, 'hash-open', - 236, 'hash-dot', 336, 'hash-open-dot', 37, 'y-up', 137, - 'y-up-open', 38, 'y-down', 138, 'y-down-open', 39, 'y-left', - 139, 'y-left-open', 40, 'y-right', 140, 'y-right-open', 41, - 'line-ew', 141, 'line-ew-open', 42, 'line-ns', 142, - 'line-ns-open', 43, 'line-ne', 143, 'line-ne-open', 44, - 'line-nw', 144, 'line-nw-open' - ], + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'style'), + values=kwargs.pop( + 'values', [ + 0, 'circle', 100, 'circle-open', 200, 'circle-dot', 300, + 'circle-open-dot', 1, 'square', 101, 'square-open', 201, + 'square-dot', 301, 'square-open-dot', 2, 'diamond', 102, + 'diamond-open', 202, 'diamond-dot', 302, + 'diamond-open-dot', 3, 'cross', 103, 'cross-open', 203, + 'cross-dot', 303, 'cross-open-dot', 4, 'x', 104, 'x-open', + 204, 'x-dot', 304, 'x-open-dot', 5, 'triangle-up', 105, + 'triangle-up-open', 205, 'triangle-up-dot', 305, + 'triangle-up-open-dot', 6, 'triangle-down', 106, + 'triangle-down-open', 206, 'triangle-down-dot', 306, + 'triangle-down-open-dot', 7, 'triangle-left', 107, + 'triangle-left-open', 207, 'triangle-left-dot', 307, + 'triangle-left-open-dot', 8, 'triangle-right', 108, + 'triangle-right-open', 208, 'triangle-right-dot', 308, + 'triangle-right-open-dot', 9, 'triangle-ne', 109, + 'triangle-ne-open', 209, 'triangle-ne-dot', 309, + 'triangle-ne-open-dot', 10, 'triangle-se', 110, + 'triangle-se-open', 210, 'triangle-se-dot', 310, + 'triangle-se-open-dot', 11, 'triangle-sw', 111, + 'triangle-sw-open', 211, 'triangle-sw-dot', 311, + 'triangle-sw-open-dot', 12, 'triangle-nw', 112, + 'triangle-nw-open', 212, 'triangle-nw-dot', 312, + 'triangle-nw-open-dot', 13, 'pentagon', 113, + 'pentagon-open', 213, 'pentagon-dot', 313, + 'pentagon-open-dot', 14, 'hexagon', 114, 'hexagon-open', + 214, 'hexagon-dot', 314, 'hexagon-open-dot', 15, + 'hexagon2', 115, 'hexagon2-open', 215, 'hexagon2-dot', 315, + 'hexagon2-open-dot', 16, 'octagon', 116, 'octagon-open', + 216, 'octagon-dot', 316, 'octagon-open-dot', 17, 'star', + 117, 'star-open', 217, 'star-dot', 317, 'star-open-dot', + 18, 'hexagram', 118, 'hexagram-open', 218, 'hexagram-dot', + 318, 'hexagram-open-dot', 19, 'star-triangle-up', 119, + 'star-triangle-up-open', 219, 'star-triangle-up-dot', 319, + 'star-triangle-up-open-dot', 20, 'star-triangle-down', 120, + 'star-triangle-down-open', 220, 'star-triangle-down-dot', + 320, 'star-triangle-down-open-dot', 21, 'star-square', 121, + 'star-square-open', 221, 'star-square-dot', 321, + 'star-square-open-dot', 22, 'star-diamond', 122, + 'star-diamond-open', 222, 'star-diamond-dot', 322, + 'star-diamond-open-dot', 23, 'diamond-tall', 123, + 'diamond-tall-open', 223, 'diamond-tall-dot', 323, + 'diamond-tall-open-dot', 24, 'diamond-wide', 124, + 'diamond-wide-open', 224, 'diamond-wide-dot', 324, + 'diamond-wide-open-dot', 25, 'hourglass', 125, + 'hourglass-open', 26, 'bowtie', 126, 'bowtie-open', 27, + 'circle-cross', 127, 'circle-cross-open', 28, 'circle-x', + 128, 'circle-x-open', 29, 'square-cross', 129, + 'square-cross-open', 30, 'square-x', 130, 'square-x-open', + 31, 'diamond-cross', 131, 'diamond-cross-open', 32, + 'diamond-x', 132, 'diamond-x-open', 33, 'cross-thin', 133, + 'cross-thin-open', 34, 'x-thin', 134, 'x-thin-open', 35, + 'asterisk', 135, 'asterisk-open', 36, 'hash', 136, + 'hash-open', 236, 'hash-dot', 336, 'hash-open-dot', 37, + 'y-up', 137, 'y-up-open', 38, 'y-down', 138, 'y-down-open', + 39, 'y-left', 139, 'y-left-open', 40, 'y-right', 140, + 'y-right-open', 41, 'line-ew', 141, 'line-ew-open', 42, + 'line-ns', 142, 'line-ns-open', 43, 'line-ne', 143, + 'line-ne-open', 44, 'line-nw', 144, 'line-nw-open' + ] + ), **kwargs ) diff --git a/plotly/validators/violin/marker/line/_color.py b/plotly/validators/violin/marker/line/_color.py index d41b0996a37..3e60b2a44d3 100644 --- a/plotly/validators/violin/marker/line/_color.py +++ b/plotly/validators/violin/marker/line/_color.py @@ -9,8 +9,8 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/line/_outliercolor.py b/plotly/validators/violin/marker/line/_outliercolor.py index 6bda7096c3c..d74c6798739 100644 --- a/plotly/validators/violin/marker/line/_outliercolor.py +++ b/plotly/validators/violin/marker/line/_outliercolor.py @@ -12,7 +12,7 @@ def __init__( super(OutliercolorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/line/_outlierwidth.py b/plotly/validators/violin/marker/line/_outlierwidth.py index bb638ddaa79..661e02e0220 100644 --- a/plotly/validators/violin/marker/line/_outlierwidth.py +++ b/plotly/validators/violin/marker/line/_outlierwidth.py @@ -12,8 +12,8 @@ def __init__( super(OutlierwidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/marker/line/_width.py b/plotly/validators/violin/marker/line/_width.py index feca1f08655..1e65c2d2898 100644 --- a/plotly/validators/violin/marker/line/_width.py +++ b/plotly/validators/violin/marker/line/_width.py @@ -9,9 +9,9 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - array_ok=False, - edit_type='style', - min=0, - role='style', + array_ok=kwargs.pop('array_ok', False), + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/meanline/_color.py b/plotly/validators/violin/meanline/_color.py index 3ad5890b703..77a53c96dbe 100644 --- a/plotly/validators/violin/meanline/_color.py +++ b/plotly/validators/violin/meanline/_color.py @@ -9,7 +9,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/meanline/_visible.py b/plotly/validators/violin/meanline/_visible.py index 9c1e25c0077..035b67ad87c 100644 --- a/plotly/validators/violin/meanline/_visible.py +++ b/plotly/validators/violin/meanline/_visible.py @@ -9,7 +9,7 @@ def __init__( super(VisibleValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='plot', - role='info', + edit_type=kwargs.pop('edit_type', 'plot'), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/meanline/_width.py b/plotly/validators/violin/meanline/_width.py index 60d31d9a959..29c2ff4910b 100644 --- a/plotly/validators/violin/meanline/_width.py +++ b/plotly/validators/violin/meanline/_width.py @@ -9,8 +9,8 @@ def __init__( super(WidthValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/selected/_marker.py b/plotly/validators/violin/selected/_marker.py index 5696248f707..d86df3cb676 100644 --- a/plotly/validators/violin/selected/_marker.py +++ b/plotly/validators/violin/selected/_marker.py @@ -9,14 +9,16 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of selected points. opacity Sets the marker opacity of selected points. size Sets the marker size of selected points. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/selected/marker/_color.py b/plotly/validators/violin/selected/marker/_color.py index 62093255a04..f85a2e0c152 100644 --- a/plotly/validators/violin/selected/marker/_color.py +++ b/plotly/validators/violin/selected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/selected/marker/_opacity.py b/plotly/validators/violin/selected/marker/_opacity.py index cd8733b8ee1..1eb07b5c4b2 100644 --- a/plotly/validators/violin/selected/marker/_opacity.py +++ b/plotly/validators/violin/selected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/selected/marker/_size.py b/plotly/validators/violin/selected/marker/_size.py index 3670c7c9020..afc6c4f3c61 100644 --- a/plotly/validators/violin/selected/marker/_size.py +++ b/plotly/validators/violin/selected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/stream/_maxpoints.py b/plotly/validators/violin/stream/_maxpoints.py index eac659fbbc7..aff94a2d1c0 100644 --- a/plotly/validators/violin/stream/_maxpoints.py +++ b/plotly/validators/violin/stream/_maxpoints.py @@ -9,9 +9,9 @@ def __init__( super(MaxpointsValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - max=10000, - min=0, - role='info', + edit_type=kwargs.pop('edit_type', 'calc'), + max=kwargs.pop('max', 10000), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'info'), **kwargs ) diff --git a/plotly/validators/violin/stream/_token.py b/plotly/validators/violin/stream/_token.py index 427bb2d47a0..c01370542c4 100644 --- a/plotly/validators/violin/stream/_token.py +++ b/plotly/validators/violin/stream/_token.py @@ -9,9 +9,9 @@ def __init__( super(TokenValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='calc', - no_blank=True, - role='info', - strict=True, + edit_type=kwargs.pop('edit_type', 'calc'), + no_blank=kwargs.pop('no_blank', True), + role=kwargs.pop('role', 'info'), + strict=kwargs.pop('strict', True), **kwargs ) diff --git a/plotly/validators/violin/unselected/_marker.py b/plotly/validators/violin/unselected/_marker.py index fc3bdc9433b..60b50d3b36e 100644 --- a/plotly/validators/violin/unselected/_marker.py +++ b/plotly/validators/violin/unselected/_marker.py @@ -9,8 +9,9 @@ def __init__( super(MarkerValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - data_class_str='Marker', - data_docs=""" + data_class_str=kwargs.pop('data_class_str', 'Marker'), + data_docs=kwargs.pop( + 'data_docs', """ color Sets the marker color of unselected points, applied only when a selection exists. @@ -20,6 +21,7 @@ def __init__( size Sets the marker size of unselected points, applied only when a selection exists. -""", +""" + ), **kwargs ) diff --git a/plotly/validators/violin/unselected/marker/_color.py b/plotly/validators/violin/unselected/marker/_color.py index 6341782c940..9d1be6dbf57 100644 --- a/plotly/validators/violin/unselected/marker/_color.py +++ b/plotly/validators/violin/unselected/marker/_color.py @@ -12,7 +12,7 @@ def __init__( super(ColorValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/unselected/marker/_opacity.py b/plotly/validators/violin/unselected/marker/_opacity.py index fa224311ea0..fcf37fdd3ee 100644 --- a/plotly/validators/violin/unselected/marker/_opacity.py +++ b/plotly/validators/violin/unselected/marker/_opacity.py @@ -12,9 +12,9 @@ def __init__( super(OpacityValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - max=1, - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + max=kwargs.pop('max', 1), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs ) diff --git a/plotly/validators/violin/unselected/marker/_size.py b/plotly/validators/violin/unselected/marker/_size.py index 6f40f5623fe..dc7ce1b87b7 100644 --- a/plotly/validators/violin/unselected/marker/_size.py +++ b/plotly/validators/violin/unselected/marker/_size.py @@ -12,8 +12,8 @@ def __init__( super(SizeValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, - edit_type='style', - min=0, - role='style', + edit_type=kwargs.pop('edit_type', 'style'), + min=kwargs.pop('min', 0), + role=kwargs.pop('role', 'style'), **kwargs )