def __init__(self, plotly_name='colorbar', parent_name='volume', **kwargs):
    super(ColorbarValidator, self).__init__(plotly_name=plotly_name, parent_name=parent_name, data_class_str=kwargs.pop('data_class_str', 'ColorBar'), data_docs=kwargs.pop('data_docs', '\n            bgcolor\n                Sets the color of padded area.\n            bordercolor\n                Sets the axis line color.\n            borderwidth\n                Sets the width (in px) or the border enclosing\n                this color bar.\n            dtick\n                Sets the step in-between ticks on this axis.\n                Use with `tick0`. Must be a positive number, or\n                special strings available to "log" and "date"\n                axes. If the axis `type` is "log", then ticks\n                are set every 10^(n*dtick) where n is the tick\n                number. For example, to set a tick mark at 1,\n                10, 100, 1000, ... set dtick to 1. To set tick\n                marks at 1, 100, 10000, ... set dtick to 2. To\n                set tick marks at 1, 5, 25, 125, 625, 3125, ...\n                set dtick to log_10(5), or 0.69897000433. "log"\n                has several special values; "L<f>", where `f`\n                is a positive number, gives ticks linearly\n                spaced in value (but not position). For example\n                `tick0` = 0.1, `dtick` = "L0.5" will put ticks\n                at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10\n                plus small digits between, use "D1" (all\n                digits) or "D2" (only 2 and 5). `tick0` is\n                ignored for "D1" and "D2". If the axis `type`\n                is "date", then you must convert the time to\n                milliseconds. For example, to set the interval\n                between ticks to one day, set `dtick` to\n                86400000.0. "date" also has special values\n                "M<n>" gives ticks spaced by a number of\n                months. `n` must be a positive integer. To set\n                ticks on the 15th of every third month, set\n                `tick0` to "2000-01-15" and `dtick` to "M3". To\n                set ticks every 4 years, set `dtick` to "M48"\n            exponentformat\n                Determines a formatting rule for the tick\n                exponents. For example, consider the number\n                1,000,000,000. If "none", it appears as\n                1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n                "power", 1x10^9 (with 9 in a super script). If\n                "SI", 1G. If "B", 1B.\n            len\n                Sets the length of the color bar This measure\n                excludes the padding of both ends. That is, the\n                color bar length is this length minus the\n                padding on both ends.\n            lenmode\n                Determines whether this color bar\'s length\n                (i.e. the measure in the color variation\n                direction) is set in units of plot "fraction"\n                or in *pixels. Use `len` to set the value.\n            minexponent\n                Hide SI prefix for 10^n if |n| is below this\n                number. This only has an effect when\n                `tickformat` is "SI" or "B".\n            nticks\n                Specifies the maximum number of ticks for the\n                particular axis. The actual number of ticks\n                will be chosen automatically to be less than or\n                equal to `nticks`. Has an effect only if\n                `tickmode` is set to "auto".\n            outlinecolor\n                Sets the axis line color.\n            outlinewidth\n                Sets the width (in px) of the axis line.\n            separatethousands\n                If "true", even 4-digit integers are separated\n            showexponent\n                If "all", all exponents are shown besides their\n                significands. If "first", only the exponent of\n                the first tick is shown. If "last", only the\n                exponent of the last tick is shown. If "none",\n                no exponents appear.\n            showticklabels\n                Determines whether or not the tick labels are\n                drawn.\n            showtickprefix\n                If "all", all tick labels are displayed with a\n                prefix. If "first", only the first tick is\n                displayed with a prefix. If "last", only the\n                last tick is displayed with a suffix. If\n                "none", tick prefixes are hidden.\n            showticksuffix\n                Same as `showtickprefix` but for tick suffixes.\n            thickness\n                Sets the thickness of the color bar This\n                measure excludes the size of the padding, ticks\n                and labels.\n            thicknessmode\n                Determines whether this color bar\'s thickness\n                (i.e. the measure in the constant color\n                direction) is set in units of plot "fraction"\n                or in "pixels". Use `thickness` to set the\n                value.\n            tick0\n                Sets the placement of the first tick on this\n                axis. Use with `dtick`. If the axis `type` is\n                "log", then you must take the log of your\n                starting tick (e.g. to set the starting tick to\n                100, set the `tick0` to 2) except when\n                `dtick`=*L<f>* (see `dtick` for more info). If\n                the axis `type` is "date", it should be a date\n                string, like date data. If the axis `type` is\n                "category", it should be a number, using the\n                scale where each category is assigned a serial\n                number from zero in the order it appears.\n            tickangle\n                Sets the angle of the tick labels with respect\n                to the horizontal. For example, a `tickangle`\n                of -90 draws the tick labels vertically.\n            tickcolor\n                Sets the tick color.\n            tickfont\n                Sets the color bar\'s tick label font\n            tickformat\n                Sets the tick label formatting rule using d3\n                formatting mini-languages which are very\n                similar to those in Python. For numbers, see:\n                https://github.com/d3/d3-3.x-api-\n                reference/blob/master/Formatting.md#d3_format\n                And for dates see:\n                https://github.com/d3/d3-time-\n                format#locale_format We add one item to d3\'s\n                date formatter: "%{n}f" for fractional seconds\n                with n digits. For example, *2016-10-13\n                09:15:23.456* with tickformat "%H~%M~%S.%2f"\n                would display "09~15~23.46"\n            tickformatstops\n                A tuple of :class:`plotly.graph_objects.volume.\n                colorbar.Tickformatstop` instances or dicts\n                with compatible properties\n            tickformatstopdefaults\n                When used in a template (as layout.template.dat\n                a.volume.colorbar.tickformatstopdefaults), sets\n                the default property values to use for elements\n                of volume.colorbar.tickformatstops\n            ticklabeloverflow\n                Determines how we handle tick labels that would\n                overflow either the graph div or the domain of\n                the axis. The default value for inside tick\n                labels is *hide past domain*. In other cases\n                the default is *hide past div*.\n            ticklabelposition\n                Determines where tick labels are drawn.\n            ticklen\n                Sets the tick length (in px).\n            tickmode\n                Sets the tick mode for this axis. If "auto",\n                the number of ticks is set via `nticks`. If\n                "linear", the placement of the ticks is\n                determined by a starting position `tick0` and a\n                tick step `dtick` ("linear" is the default\n                value if `tick0` and `dtick` are provided). If\n                "array", the placement of the ticks is set via\n                `tickvals` and the tick text is `ticktext`.\n                ("array" is the default value if `tickvals` is\n                provided).\n            tickprefix\n                Sets a tick label prefix.\n            ticks\n                Determines whether ticks are drawn or not. If\n                "", this axis\' ticks are not drawn. If\n                "outside" ("inside"), this axis\' are drawn\n                outside (inside) the axis lines.\n            ticksuffix\n                Sets a tick label suffix.\n            ticktext\n                Sets the text displayed at the ticks position\n                via `tickvals`. Only has an effect if\n                `tickmode` is set to "array". Used with\n                `tickvals`.\n            ticktextsrc\n                Sets the source reference on Chart Studio Cloud\n                for  ticktext .\n            tickvals\n                Sets the values at which ticks on this axis\n                appear. Only has an effect if `tickmode` is set\n                to "array". Used with `ticktext`.\n            tickvalssrc\n                Sets the source reference on Chart Studio Cloud\n                for  tickvals .\n            tickwidth\n                Sets the tick width (in px).\n            title\n                :class:`plotly.graph_objects.volume.colorbar.Ti\n                tle` instance or dict with compatible\n                properties\n            titlefont\n                Deprecated: Please use\n                volume.colorbar.title.font instead. Sets this\n                color bar\'s title font. Note that the title\'s\n                font used to be set by the now deprecated\n                `titlefont` attribute.\n            titleside\n                Deprecated: Please use\n                volume.colorbar.title.side instead. Determines\n                the location of color bar\'s title with respect\n                to the color bar. Note that the title\'s\n                location used to be set by the now deprecated\n                `titleside` attribute.\n            x\n                Sets the x position of the color bar (in plot\n                fraction).\n            xanchor\n                Sets this color bar\'s horizontal position\n                anchor. This anchor binds the `x` position to\n                the "left", "center" or "right" of the color\n                bar.\n            xpad\n                Sets the amount of padding (in px) along the x\n                direction.\n            y\n                Sets the y position of the color bar (in plot\n                fraction).\n            yanchor\n                Sets this color bar\'s vertical position anchor\n                This anchor binds the `y` position to the\n                "top", "middle" or "bottom" of the color bar.\n            ypad\n                Sets the amount of padding (in px) along the y\n                direction.\n'), **kwargs)
def __init__(self, plotly_name='colorbar', parent_name='volume', **kwargs):
    super(ColorbarValidator, self).__init__(plotly_name=plotly_name, parent_name=parent_name, data_class_str=kwargs.pop('data_class_str', 'ColorBar'), data_docs=kwargs.pop('data_docs', '\n            bgcolor\n                Sets the color of padded area.\n            bordercolor\n                Sets the axis line color.\n            borderwidth\n                Sets the width (in px) or the border enclosing\n                this color bar.\n            dtick\n                Sets the step in-between ticks on this axis.\n                Use with `tick0`. Must be a positive number, or\n                special strings available to "log" and "date"\n                axes. If the axis `type` is "log", then ticks\n                are set every 10^(n*dtick) where n is the tick\n                number. For example, to set a tick mark at 1,\n                10, 100, 1000, ... set dtick to 1. To set tick\n                marks at 1, 100, 10000, ... set dtick to 2. To\n                set tick marks at 1, 5, 25, 125, 625, 3125, ...\n                set dtick to log_10(5), or 0.69897000433. "log"\n                has several special values; "L<f>", where `f`\n                is a positive number, gives ticks linearly\n                spaced in value (but not position). For example\n                `tick0` = 0.1, `dtick` = "L0.5" will put ticks\n                at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10\n                plus small digits between, use "D1" (all\n                digits) or "D2" (only 2 and 5). `tick0` is\n                ignored for "D1" and "D2". If the axis `type`\n                is "date", then you must convert the time to\n                milliseconds. For example, to set the interval\n                between ticks to one day, set `dtick` to\n                86400000.0. "date" also has special values\n                "M<n>" gives ticks spaced by a number of\n                months. `n` must be a positive integer. To set\n                ticks on the 15th of every third month, set\n                `tick0` to "2000-01-15" and `dtick` to "M3". To\n                set ticks every 4 years, set `dtick` to "M48"\n            exponentformat\n                Determines a formatting rule for the tick\n                exponents. For example, consider the number\n                1,000,000,000. If "none", it appears as\n                1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n                "power", 1x10^9 (with 9 in a super script). If\n                "SI", 1G. If "B", 1B.\n            len\n                Sets the length of the color bar This measure\n                excludes the padding of both ends. That is, the\n                color bar length is this length minus the\n                padding on both ends.\n            lenmode\n                Determines whether this color bar\'s length\n                (i.e. the measure in the color variation\n                direction) is set in units of plot "fraction"\n                or in *pixels. Use `len` to set the value.\n            minexponent\n                Hide SI prefix for 10^n if |n| is below this\n                number. This only has an effect when\n                `tickformat` is "SI" or "B".\n            nticks\n                Specifies the maximum number of ticks for the\n                particular axis. The actual number of ticks\n                will be chosen automatically to be less than or\n                equal to `nticks`. Has an effect only if\n                `tickmode` is set to "auto".\n            outlinecolor\n                Sets the axis line color.\n            outlinewidth\n                Sets the width (in px) of the axis line.\n            separatethousands\n                If "true", even 4-digit integers are separated\n            showexponent\n                If "all", all exponents are shown besides their\n                significands. If "first", only the exponent of\n                the first tick is shown. If "last", only the\n                exponent of the last tick is shown. If "none",\n                no exponents appear.\n            showticklabels\n                Determines whether or not the tick labels are\n                drawn.\n            showtickprefix\n                If "all", all tick labels are displayed with a\n                prefix. If "first", only the first tick is\n                displayed with a prefix. If "last", only the\n                last tick is displayed with a suffix. If\n                "none", tick prefixes are hidden.\n            showticksuffix\n                Same as `showtickprefix` but for tick suffixes.\n            thickness\n                Sets the thickness of the color bar This\n                measure excludes the size of the padding, ticks\n                and labels.\n            thicknessmode\n                Determines whether this color bar\'s thickness\n                (i.e. the measure in the constant color\n                direction) is set in units of plot "fraction"\n                or in "pixels". Use `thickness` to set the\n                value.\n            tick0\n                Sets the placement of the first tick on this\n                axis. Use with `dtick`. If the axis `type` is\n                "log", then you must take the log of your\n                starting tick (e.g. to set the starting tick to\n                100, set the `tick0` to 2) except when\n                `dtick`=*L<f>* (see `dtick` for more info). If\n                the axis `type` is "date", it should be a date\n                string, like date data. If the axis `type` is\n                "category", it should be a number, using the\n                scale where each category is assigned a serial\n                number from zero in the order it appears.\n            tickangle\n                Sets the angle of the tick labels with respect\n                to the horizontal. For example, a `tickangle`\n                of -90 draws the tick labels vertically.\n            tickcolor\n                Sets the tick color.\n            tickfont\n                Sets the color bar\'s tick label font\n            tickformat\n                Sets the tick label formatting rule using d3\n                formatting mini-languages which are very\n                similar to those in Python. For numbers, see:\n                https://github.com/d3/d3-3.x-api-\n                reference/blob/master/Formatting.md#d3_format\n                And for dates see:\n                https://github.com/d3/d3-time-\n                format#locale_format We add one item to d3\'s\n                date formatter: "%{n}f" for fractional seconds\n                with n digits. For example, *2016-10-13\n                09:15:23.456* with tickformat "%H~%M~%S.%2f"\n                would display "09~15~23.46"\n            tickformatstops\n                A tuple of :class:`plotly.graph_objects.volume.\n                colorbar.Tickformatstop` instances or dicts\n                with compatible properties\n            tickformatstopdefaults\n                When used in a template (as layout.template.dat\n                a.volume.colorbar.tickformatstopdefaults), sets\n                the default property values to use for elements\n                of volume.colorbar.tickformatstops\n            ticklabeloverflow\n                Determines how we handle tick labels that would\n                overflow either the graph div or the domain of\n                the axis. The default value for inside tick\n                labels is *hide past domain*. In other cases\n                the default is *hide past div*.\n            ticklabelposition\n                Determines where tick labels are drawn.\n            ticklen\n                Sets the tick length (in px).\n            tickmode\n                Sets the tick mode for this axis. If "auto",\n                the number of ticks is set via `nticks`. If\n                "linear", the placement of the ticks is\n                determined by a starting position `tick0` and a\n                tick step `dtick` ("linear" is the default\n                value if `tick0` and `dtick` are provided). If\n                "array", the placement of the ticks is set via\n                `tickvals` and the tick text is `ticktext`.\n                ("array" is the default value if `tickvals` is\n                provided).\n            tickprefix\n                Sets a tick label prefix.\n            ticks\n                Determines whether ticks are drawn or not. If\n                , this axis\' ticks are not drawn. If\n                "outside" ("inside"), this axis\' are drawn\n                outside (inside) the axis lines.\n            ticksuffix\n                Sets a tick label suffix.\n            ticktext\n                Sets the text displayed at the ticks position\n                via `tickvals`. Only has an effect if\n                `tickmode` is set to "array". Used with\n                `tickvals`.\n            ticktextsrc\n                Sets the source reference on Chart Studio Cloud\n                for  ticktext .\n            tickvals\n                Sets the values at which ticks on this axis\n                appear. Only has an effect if `tickmode` is set\n                to "array". Used with `ticktext`.\n            tickvalssrc\n                Sets the source reference on Chart Studio Cloud\n                for  tickvals .\n            tickwidth\n                Sets the tick width (in px).\n            title\n                :class:`plotly.graph_objects.volume.colorbar.Ti\n                tle` instance or dict with compatible\n                properties\n            titlefont\n                Deprecated: Please use\n                volume.colorbar.title.font instead. Sets this\n                color bar\'s title font. Note that the title\'s\n                font used to be set by the now deprecated\n                `titlefont` attribute.\n            titleside\n                Deprecated: Please use\n                volume.colorbar.title.side instead. Determines\n                the location of color bar\'s title with respect\n                to the color bar. Note that the title\'s\n                location used to be set by the now deprecated\n                `titleside` attribute.\n            x\n                Sets the x position of the color bar (in plot\n                fraction).\n            xanchor\n                Sets this color bar\'s horizontal position\n                anchor. This anchor binds the `x` position to\n                the "left", "center" or "right" of the color\n                bar.\n            xpad\n                Sets the amount of padding (in px) along the x\n                direction.\n            y\n                Sets the y position of the color bar (in plot\n                fraction).\n            yanchor\n                Sets this color bar\'s vertical position anchor\n                This anchor binds the `y` position to the\n                "top", "middle" or "bottom" of the color bar.\n            ypad\n                Sets the amount of padding (in px) along the y\n                direction.\n'), **kwargs)