content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\legendgrouptitle\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,908
0.8
0.048583
0
vue-tools
800
2025-05-31T21:29:48.249933
Apache-2.0
false
b99ae037482931859d9a95ecc2378db0
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\legendgrouptitle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
506
0.85
0
0
awesome-app
402
2023-10-12T04:22:47.894956
GPL-3.0
false
0be3bc5beb12385c10b5bfa7824e8d6b
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseTraceHierarchyType):\n _parent_path_str = "box.marker"\n _path_str = "box.marker.line"\n _valid_props = {"color", "outliercolor", "outlierwidth", "width"}\n\n @property\n def color(self):\n """\n Sets the marker.line color. It accepts either a specific color\n or an array of numbers that are mapped to the colorscale\n relative to the max and min values of the array or relative to\n `marker.line.cmin` and `marker.line.cmax` if set.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def outliercolor(self):\n """\n Sets the border line color of the outlier sample points.\n Defaults to marker.color\n\n The 'outliercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["outliercolor"]\n\n @outliercolor.setter\n def outliercolor(self, val):\n self["outliercolor"] = val\n\n @property\n def outlierwidth(self):\n """\n Sets the border line width (in px) of the outlier sample\n points.\n\n The 'outlierwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["outlierwidth"]\n\n @outlierwidth.setter\n def outlierwidth(self, val):\n self["outlierwidth"] = val\n\n @property\n def width(self):\n """\n Sets the width (in px) of the lines bounding the marker points.\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the marker.line color. It accepts either a\n specific color or an array of numbers that are mapped\n to the colorscale relative to the max and min values of\n the array or relative to `marker.line.cmin` and\n `marker.line.cmax` if set.\n outliercolor\n Sets the border line color of the outlier sample\n points. Defaults to marker.color\n outlierwidth\n Sets the border line width (in px) of the outlier\n sample points.\n width\n Sets the width (in px) of the lines bounding the marker\n points.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n outliercolor=None,\n outlierwidth=None,\n width=None,\n **kwargs,\n ):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.box.marker.Line`\n color\n Sets the marker.line color. It accepts either a\n specific color or an array of numbers that are mapped\n to the colorscale relative to the max and min values of\n the array or relative to `marker.line.cmin` and\n `marker.line.cmax` if set.\n outliercolor\n Sets the border line color of the outlier sample\n points. Defaults to marker.color\n outlierwidth\n Sets the border line width (in px) of the outlier\n sample points.\n width\n Sets the width (in px) of the lines bounding the marker\n points.\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.box.marker.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.marker.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("outliercolor", arg, outliercolor)\n self._set_property("outlierwidth", arg, outlierwidth)\n self._set_property("width", arg, width)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\box\marker\_line.py
_line.py
Python
5,612
0.95
0.110497
0.019355
node-utils
79
2025-01-21T12:15:16.437743
MIT
false
bafa2e4d77f80a4ce309152573e3c8e2
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._line import Line\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])\n
.venv\Lib\site-packages\plotly\graph_objs\box\marker\__init__.py
__init__.py
Python
237
0.85
0.111111
0
python-kit
654
2024-02-05T22:02:09.183277
MIT
false
f588da998a6d694bb21b2be29a9f27bb
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\marker\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
6,379
0.8
0.05
0
react-lib
748
2025-03-05T14:15:35.247211
MIT
false
6c253d523e85bb35f3b6793bf79aabe9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\marker\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
496
0.85
0
0
python-kit
832
2024-02-11T23:14:26.088080
BSD-3-Clause
false
b3f36da74583e791cf8138c06e475159
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Marker(_BaseTraceHierarchyType):\n _parent_path_str = "box.selected"\n _path_str = "box.selected.marker"\n _valid_props = {"color", "opacity", "size"}\n\n @property\n def color(self):\n """\n Sets the marker color of selected points.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def opacity(self):\n """\n Sets the marker opacity of selected points.\n\n The 'opacity' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["opacity"]\n\n @opacity.setter\n def opacity(self, val):\n self["opacity"] = val\n\n @property\n def size(self):\n """\n Sets the marker size of selected points.\n\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the marker color of selected points.\n opacity\n Sets the marker opacity of selected points.\n size\n Sets the marker size of selected points.\n """\n\n def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs):\n """\n Construct a new Marker object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.box.selected.Marker`\n color\n Sets the marker color of selected points.\n opacity\n Sets the marker opacity of selected points.\n size\n Sets the marker size of selected points.\n\n Returns\n -------\n Marker\n """\n super().__init__("marker")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.box.selected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.selected.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("opacity", arg, opacity)\n self._set_property("size", arg, size)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\box\selected\_marker.py
_marker.py
Python
3,564
0.95
0.110236
0.019048
react-lib
668
2024-08-07T07:16:32.890951
MIT
false
f40053eb62d3337ebd3356748c326988
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._marker.Marker"])\n
.venv\Lib\site-packages\plotly\graph_objs\box\selected\__init__.py
__init__.py
Python
245
0.85
0.111111
0
react-lib
836
2024-09-23T04:57:52.967252
MIT
false
55cabd952db1725aa5e8b5b02c335926
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\selected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
4,515
0.8
0.032609
0
node-utils
433
2025-01-20T03:41:28.451268
MIT
false
754200dc4720e24e346911eb32805591
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\selected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
508
0.85
0
0
node-utils
728
2025-06-05T10:56:23.090844
BSD-3-Clause
false
b93a44c96ef034c538432b784c25301b
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Marker(_BaseTraceHierarchyType):\n _parent_path_str = "box.unselected"\n _path_str = "box.unselected.marker"\n _valid_props = {"color", "opacity", "size"}\n\n @property\n def color(self):\n """\n Sets the marker color of unselected points, applied only when a\n selection exists.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def opacity(self):\n """\n Sets the marker opacity of unselected points, applied only when\n a selection exists.\n\n The 'opacity' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["opacity"]\n\n @opacity.setter\n def opacity(self, val):\n self["opacity"] = val\n\n @property\n def size(self):\n """\n Sets the marker size of unselected points, applied only when a\n selection exists.\n\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the marker color of unselected points, applied\n only when a selection exists.\n opacity\n Sets the marker opacity of unselected points, applied\n only when a selection exists.\n size\n Sets the marker size of unselected points, applied only\n when a selection exists.\n """\n\n def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs):\n """\n Construct a new Marker object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.box.unselected.Marker`\n color\n Sets the marker color of unselected points, applied\n only when a selection exists.\n opacity\n Sets the marker opacity of unselected points, applied\n only when a selection exists.\n size\n Sets the marker size of unselected points, applied only\n when a selection exists.\n\n Returns\n -------\n Marker\n """\n super().__init__("marker")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.box.unselected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.unselected.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("opacity", arg, opacity)\n self._set_property("size", arg, size)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\box\unselected\_marker.py
_marker.py
Python
4,030
0.95
0.102941
0.017544
python-kit
848
2024-05-09T11:44:10.944073
MIT
false
ef0eecbbd230a15e98387fd8c852ff60
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._marker.Marker"])\n
.venv\Lib\site-packages\plotly\graph_objs\box\unselected\__init__.py
__init__.py
Python
245
0.85
0.111111
0
python-kit
364
2023-09-25T03:51:46.098895
GPL-3.0
false
55cabd952db1725aa5e8b5b02c335926
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\unselected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
4,938
0.8
0.029703
0
node-utils
265
2025-01-02T18:52:19.782268
MIT
false
c958bc4150cfaeeacbad95cab83e2b86
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\unselected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
510
0.85
0
0
python-kit
514
2024-04-21T08:36:45.775174
Apache-2.0
false
03acad9240b75798740b39ad0e49d572
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_hoverlabel.cpython-313.pyc
_hoverlabel.cpython-313.pyc
Other
11,348
0.8
0.142276
0
awesome-app
333
2024-02-25T15:43:06.611042
Apache-2.0
false
c5f755d7446fd3e05fff375d5638cbb1
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,822
0.8
0.04
0
vue-tools
341
2025-01-12T04:16:39.759284
BSD-3-Clause
false
99791bd2871d30883a719ce1baf6d82c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
3,773
0.8
0.039474
0
node-utils
948
2024-06-01T01:49:32.936846
BSD-3-Clause
false
e03060199ffb24f0b676720e6efc58a9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
14,263
0.8
0.035088
0
react-lib
967
2024-06-04T01:35:42.803309
GPL-3.0
false
5c2ad0d96bbe8169def45af2c0531d80
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_selected.cpython-313.pyc
_selected.cpython-313.pyc
Other
3,136
0.8
0.080645
0
node-utils
273
2024-05-29T02:08:07.796350
Apache-2.0
false
f958b8cbef9a8c9a229c07c0a3e0a22a
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,278
0.8
0.054348
0
vue-tools
577
2025-05-18T20:11:13.585665
MIT
false
564c76ecab4d404051523ffed967f3d3
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\_unselected.cpython-313.pyc
_unselected.cpython-313.pyc
Other
3,172
0.8
0.076923
0
vue-tools
666
2024-11-28T01:31:58.226976
MIT
false
02d7c50b7a1e5a4efda225400e331753
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,157
0.95
0
0
vue-tools
110
2025-05-16T11:42:21.163060
GPL-3.0
false
f6ea4123d31f63942870100a825cd2bb
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Decreasing(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick"\n _path_str = "candlestick.decreasing"\n _valid_props = {"fillcolor", "line"}\n\n @property\n def fillcolor(self):\n """\n Sets the fill color. Defaults to a half-transparent variant of\n the line color, marker color, or marker line color, whichever\n is available.\n\n The 'fillcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["fillcolor"]\n\n @fillcolor.setter\n def fillcolor(self, val):\n self["fillcolor"] = val\n\n @property\n def line(self):\n """\n The 'line' property is an instance of Line\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.candlestick.decreasing.Line`\n - A dict of string/value properties that will be passed\n to the Line constructor\n\n Returns\n -------\n plotly.graph_objs.candlestick.decreasing.Line\n """\n return self["line"]\n\n @line.setter\n def line(self, val):\n self["line"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n fillcolor\n Sets the fill color. Defaults to a half-transparent\n variant of the line color, marker color, or marker line\n color, whichever is available.\n line\n :class:`plotly.graph_objects.candlestick.decreasing.Lin\n e` instance or dict with compatible properties\n """\n\n def __init__(self, arg=None, fillcolor=None, line=None, **kwargs):\n """\n Construct a new Decreasing object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.Decreasing`\n fillcolor\n Sets the fill color. Defaults to a half-transparent\n variant of the line color, marker color, or marker line\n color, whichever is available.\n line\n :class:`plotly.graph_objects.candlestick.decreasing.Lin\n e` instance or dict with compatible properties\n\n Returns\n -------\n Decreasing\n """\n super().__init__("decreasing")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.Decreasing\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.Decreasing`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("fillcolor", arg, fillcolor)\n self._set_property("line", arg, line)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\_decreasing.py
_decreasing.py
Python
3,663
0.95
0.132743
0.020833
react-lib
367
2024-08-31T08:43:12.496253
Apache-2.0
false
a1da27817fe02b20f9f824b670f9b494
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Hoverlabel(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick"\n _path_str = "candlestick.hoverlabel"\n _valid_props = {\n "align",\n "alignsrc",\n "bgcolor",\n "bgcolorsrc",\n "bordercolor",\n "bordercolorsrc",\n "font",\n "namelength",\n "namelengthsrc",\n "split",\n }\n\n @property\n def align(self):\n """\n Sets the horizontal alignment of the text content within hover\n label box. Has an effect only if the hover label text spans\n more two or more lines\n\n The 'align' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'right', 'auto']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["align"]\n\n @align.setter\n def align(self, val):\n self["align"] = val\n\n @property\n def alignsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `align`.\n\n The 'alignsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["alignsrc"]\n\n @alignsrc.setter\n def alignsrc(self, val):\n self["alignsrc"] = val\n\n @property\n def bgcolor(self):\n """\n Sets the background color of the hover labels for this trace\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bgcolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `bgcolor`.\n\n The 'bgcolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bgcolorsrc"]\n\n @bgcolorsrc.setter\n def bgcolorsrc(self, val):\n self["bgcolorsrc"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the border color of the hover labels for this trace.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def bordercolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n\n The 'bordercolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bordercolorsrc"]\n\n @bordercolorsrc.setter\n def bordercolorsrc(self, val):\n self["bordercolorsrc"] = val\n\n @property\n def font(self):\n """\n Sets the font used in hover labels.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.candlestick.hoverlabel.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.candlestick.hoverlabel.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def namelength(self):\n """\n Sets the default length (in number of characters) of the trace\n name in the hover labels for all traces. -1 shows the whole\n name regardless of length. 0-3 shows the first 0-3 characters,\n and an integer >3 will show the whole name if it is less than\n that many characters, but if it is longer, will truncate to\n `namelength - 3` characters and add an ellipsis.\n\n The 'namelength' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [-1, 9223372036854775807]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["namelength"]\n\n @namelength.setter\n def namelength(self, val):\n self["namelength"] = val\n\n @property\n def namelengthsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n The 'namelengthsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["namelengthsrc"]\n\n @namelengthsrc.setter\n def namelengthsrc(self, val):\n self["namelengthsrc"] = val\n\n @property\n def split(self):\n """\n Show hover information (open, close, high, low) in separate\n labels.\n\n The 'split' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["split"]\n\n @split.setter\n def split(self, val):\n self["split"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n split\n Show hover information (open, close, high, low) in\n separate labels.\n """\n\n def __init__(\n self,\n arg=None,\n align=None,\n alignsrc=None,\n bgcolor=None,\n bgcolorsrc=None,\n bordercolor=None,\n bordercolorsrc=None,\n font=None,\n namelength=None,\n namelengthsrc=None,\n split=None,\n **kwargs,\n ):\n """\n Construct a new Hoverlabel object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.Hoverlabel`\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n split\n Show hover information (open, close, high, low) in\n separate labels.\n\n Returns\n -------\n Hoverlabel\n """\n super().__init__("hoverlabel")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.Hoverlabel`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("align", arg, align)\n self._set_property("alignsrc", arg, alignsrc)\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bgcolorsrc", arg, bgcolorsrc)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("bordercolorsrc", arg, bordercolorsrc)\n self._set_property("font", arg, font)\n self._set_property("namelength", arg, namelength)\n self._set_property("namelengthsrc", arg, namelengthsrc)\n self._set_property("split", arg, split)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\_hoverlabel.py
_hoverlabel.py
Python
11,164
0.95
0.163934
0.009494
awesome-app
363
2023-09-26T15:24:04.050674
Apache-2.0
false
9fdcd1d56e6e1636320717f70ea14880
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Increasing(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick"\n _path_str = "candlestick.increasing"\n _valid_props = {"fillcolor", "line"}\n\n @property\n def fillcolor(self):\n """\n Sets the fill color. Defaults to a half-transparent variant of\n the line color, marker color, or marker line color, whichever\n is available.\n\n The 'fillcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["fillcolor"]\n\n @fillcolor.setter\n def fillcolor(self, val):\n self["fillcolor"] = val\n\n @property\n def line(self):\n """\n The 'line' property is an instance of Line\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.candlestick.increasing.Line`\n - A dict of string/value properties that will be passed\n to the Line constructor\n\n Returns\n -------\n plotly.graph_objs.candlestick.increasing.Line\n """\n return self["line"]\n\n @line.setter\n def line(self, val):\n self["line"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n fillcolor\n Sets the fill color. Defaults to a half-transparent\n variant of the line color, marker color, or marker line\n color, whichever is available.\n line\n :class:`plotly.graph_objects.candlestick.increasing.Lin\n e` instance or dict with compatible properties\n """\n\n def __init__(self, arg=None, fillcolor=None, line=None, **kwargs):\n """\n Construct a new Increasing object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.Increasing`\n fillcolor\n Sets the fill color. Defaults to a half-transparent\n variant of the line color, marker color, or marker line\n color, whichever is available.\n line\n :class:`plotly.graph_objects.candlestick.increasing.Lin\n e` instance or dict with compatible properties\n\n Returns\n -------\n Increasing\n """\n super().__init__("increasing")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.Increasing\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.Increasing`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("fillcolor", arg, fillcolor)\n self._set_property("line", arg, line)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\_increasing.py
_increasing.py
Python
3,663
0.95
0.132743
0.020833
react-lib
426
2023-10-06T11:30:15.157794
GPL-3.0
false
6d610731bb809f1e202b0e30cbd0fdd5
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick"\n _path_str = "candlestick.legendgrouptitle"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this legend group's title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.candlestick.legendgrouptitle.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.candlestick.legendgrouptitle.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of the legend group.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Legendgrouptitle object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.Legendgrouptitle`\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n\n Returns\n -------\n Legendgrouptitle\n """\n super().__init__("legendgrouptitle")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.Legendgrouptitle`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,967
0.95
0.115385
0.023256
python-kit
462
2024-03-23T00:08:08.135505
MIT
false
b356cc1e580b99609106d5895fbd1b84
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick"\n _path_str = "candlestick.line"\n _valid_props = {"width"}\n\n @property\n def width(self):\n """\n Sets the width (in px) of line bounding the box(es). Note that\n this style setting can also be set per direction via\n `increasing.line.width` and `decreasing.line.width`.\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n width\n Sets the width (in px) of line bounding the box(es).\n Note that this style setting can also be set per\n direction via `increasing.line.width` and\n `decreasing.line.width`.\n """\n\n def __init__(self, arg=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.Line`\n width\n Sets the width (in px) of line bounding the box(es).\n Note that this style setting can also be set per\n direction via `increasing.line.width` and\n `decreasing.line.width`.\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("width", arg, width)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\_line.py
_line.py
Python
2,591
0.95
0.105882
0.028169
vue-tools
278
2024-09-27T12:43:23.517835
BSD-3-Clause
false
3095727579bc9022dd0726e1d303a21e
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Stream(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick"\n _path_str = "candlestick.stream"\n _valid_props = {"maxpoints", "token"}\n\n @property\n def maxpoints(self):\n """\n Sets the maximum number of points to keep on the plots from an\n incoming stream. If `maxpoints` is set to 50, only the newest\n 50 points will be displayed on the plot.\n\n The 'maxpoints' property is a number and may be specified as:\n - An int or float in the interval [0, 10000]\n\n Returns\n -------\n int|float\n """\n return self["maxpoints"]\n\n @maxpoints.setter\n def maxpoints(self, val):\n self["maxpoints"] = val\n\n @property\n def token(self):\n """\n The stream id number links a data trace on a plot with a\n stream. See https://chart-studio.plotly.com/settings for more\n details.\n\n The 'token' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["token"]\n\n @token.setter\n def token(self, val):\n self["token"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n """\n\n def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):\n """\n Construct a new Stream object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.Stream`\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n\n Returns\n -------\n Stream\n """\n super().__init__("stream")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.Stream`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("maxpoints", arg, maxpoints)\n self._set_property("token", arg, token)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\_stream.py
_stream.py
Python
3,531
0.95
0.122807
0.020833
node-utils
332
2024-08-06T10:09:23.350084
GPL-3.0
false
a394030514153564922c8eb7210fd4b2
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._decreasing import Decreasing\n from ._hoverlabel import Hoverlabel\n from ._increasing import Increasing\n from ._legendgrouptitle import Legendgrouptitle\n from ._line import Line\n from ._stream import Stream\n from . import decreasing\n from . import hoverlabel\n from . import increasing\n from . import legendgrouptitle\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".decreasing", ".hoverlabel", ".increasing", ".legendgrouptitle"],\n [\n "._decreasing.Decreasing",\n "._hoverlabel.Hoverlabel",\n "._increasing.Increasing",\n "._legendgrouptitle.Legendgrouptitle",\n "._line.Line",\n "._stream.Stream",\n ],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__init__.py
__init__.py
Python
880
0.85
0.034483
0
vue-tools
558
2023-12-14T19:12:04.131230
BSD-3-Clause
false
8ef2351f81a6f79da2222fe4d954a5e1
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick.decreasing"\n _path_str = "candlestick.decreasing.line"\n _valid_props = {"color", "width"}\n\n @property\n def color(self):\n """\n Sets the color of line bounding the box(es).\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def width(self):\n """\n Sets the width (in px) of line bounding the box(es).\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the color of line bounding the box(es).\n width\n Sets the width (in px) of line bounding the box(es).\n """\n\n def __init__(self, arg=None, color=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.decreasing.Line`\n color\n Sets the color of line bounding the box(es).\n width\n Sets the width (in px) of line bounding the box(es).\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.decreasing.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.decreasing.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("width", arg, width)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\decreasing\_line.py
_line.py
Python
3,039
0.95
0.115385
0.023256
python-kit
198
2023-08-03T01:16:52.605942
BSD-3-Clause
false
ec761720b426cc016a8d3bb058b4663e
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._line import Line\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\decreasing\__init__.py
__init__.py
Python
237
0.85
0.111111
0
vue-tools
972
2024-07-17T15:45:42.918750
MIT
false
f588da998a6d694bb21b2be29a9f27bb
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\decreasing\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
3,894
0.8
0.034091
0
node-utils
609
2024-05-31T22:00:11.289812
BSD-3-Clause
false
01187dbec2185a9426597d8b93551136
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\decreasing\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
508
0.85
0
0
vue-tools
201
2025-03-16T08:17:16.194674
Apache-2.0
false
9348542f1c44fa2fb53e6c9d1b4f1435
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick.hoverlabel"\n _path_str = "candlestick.hoverlabel.font"\n _valid_props = {\n "color",\n "colorsrc",\n "family",\n "familysrc",\n "lineposition",\n "linepositionsrc",\n "shadow",\n "shadowsrc",\n "size",\n "sizesrc",\n "style",\n "stylesrc",\n "textcase",\n "textcasesrc",\n "variant",\n "variantsrc",\n "weight",\n "weightsrc",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def colorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `color`.\n\n The 'colorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["colorsrc"]\n\n @colorsrc.setter\n def colorsrc(self, val):\n self["colorsrc"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def familysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `family`.\n\n The 'familysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["familysrc"]\n\n @familysrc.setter\n def familysrc(self, val):\n self["familysrc"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n - A list or array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def linepositionsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n\n The 'linepositionsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["linepositionsrc"]\n\n @linepositionsrc.setter\n def linepositionsrc(self, val):\n self["linepositionsrc"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def shadowsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `shadow`.\n\n The 'shadowsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["shadowsrc"]\n\n @shadowsrc.setter\n def shadowsrc(self, val):\n self["shadowsrc"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def sizesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `size`.\n\n The 'sizesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["sizesrc"]\n\n @sizesrc.setter\n def sizesrc(self, val):\n self["sizesrc"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def stylesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `style`.\n\n The 'stylesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["stylesrc"]\n\n @stylesrc.setter\n def stylesrc(self, val):\n self["stylesrc"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def textcasesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `textcase`.\n\n The 'textcasesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["textcasesrc"]\n\n @textcasesrc.setter\n def textcasesrc(self, val):\n self["textcasesrc"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def variantsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `variant`.\n\n The 'variantsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["variantsrc"]\n\n @variantsrc.setter\n def variantsrc(self, val):\n self["variantsrc"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def weightsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `weight`.\n\n The 'weightsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["weightsrc"]\n\n @weightsrc.setter\n def weightsrc(self, val):\n self["weightsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n colorsrc=None,\n family=None,\n familysrc=None,\n lineposition=None,\n linepositionsrc=None,\n shadow=None,\n shadowsrc=None,\n size=None,\n sizesrc=None,\n style=None,\n stylesrc=None,\n textcase=None,\n textcasesrc=None,\n variant=None,\n variantsrc=None,\n weight=None,\n weightsrc=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the font used in hover labels.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.hoverlabel.Font`\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.hoverlabel.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("family", arg, family)\n self._set_property("familysrc", arg, familysrc)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("linepositionsrc", arg, linepositionsrc)\n self._set_property("shadow", arg, shadow)\n self._set_property("shadowsrc", arg, shadowsrc)\n self._set_property("size", arg, size)\n self._set_property("sizesrc", arg, sizesrc)\n self._set_property("style", arg, style)\n self._set_property("stylesrc", arg, stylesrc)\n self._set_property("textcase", arg, textcase)\n self._set_property("textcasesrc", arg, textcasesrc)\n self._set_property("variant", arg, variant)\n self._set_property("variantsrc", arg, variantsrc)\n self._set_property("weight", arg, weight)\n self._set_property("weightsrc", arg, weightsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\hoverlabel\_font.py
_font.py
Python
17,163
0.95
0.136286
0.005976
awesome-app
266
2025-03-12T13:44:59.733114
BSD-3-Clause
false
0a895cb6645c860ff10ce969948f451c
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\hoverlabel\__init__.py
__init__.py
Python
237
0.85
0.111111
0
python-kit
160
2024-10-23T05:09:38.243726
MIT
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\hoverlabel\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
18,413
0.8
0.1
0
node-utils
28
2023-08-09T04:09:33.549488
GPL-3.0
false
c47f5c4c7e15041ddfe61d874384c353
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\hoverlabel\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
508
0.85
0
0
python-kit
485
2024-03-04T08:44:56.427773
Apache-2.0
false
078e8615329d81d4e2f2490b9cd3b85c
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick.increasing"\n _path_str = "candlestick.increasing.line"\n _valid_props = {"color", "width"}\n\n @property\n def color(self):\n """\n Sets the color of line bounding the box(es).\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def width(self):\n """\n Sets the width (in px) of line bounding the box(es).\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the color of line bounding the box(es).\n width\n Sets the width (in px) of line bounding the box(es).\n """\n\n def __init__(self, arg=None, color=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.candlestick.increasing.Line`\n color\n Sets the color of line bounding the box(es).\n width\n Sets the width (in px) of line bounding the box(es).\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.increasing.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.increasing.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("width", arg, width)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\increasing\_line.py
_line.py
Python
3,039
0.95
0.115385
0.023256
awesome-app
914
2025-03-01T07:14:27.713127
Apache-2.0
false
e94f0ff31f9f9c6a7d95ab934f595f7e
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._line import Line\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\increasing\__init__.py
__init__.py
Python
237
0.85
0.111111
0
awesome-app
568
2025-05-30T13:24:49.969889
MIT
false
f588da998a6d694bb21b2be29a9f27bb
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\increasing\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
3,894
0.8
0.034091
0
react-lib
51
2025-02-18T04:42:47.098673
BSD-3-Clause
false
6517c408103069b997a12e7e682359c9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\increasing\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
508
0.85
0
0
awesome-app
579
2024-11-27T11:46:26.522196
GPL-3.0
false
1cf589b4cbfea0fde394d3649ccb38a1
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "candlestick.legendgrouptitle"\n _path_str = "candlestick.legendgrouptitle.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this legend group's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.candlestick.le\n gendgrouptitle.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.candlestick.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.candlestick.legendgrouptitle.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\legendgrouptitle\_font.py
_font.py
Python
9,947
0.95
0.10479
0.010526
react-lib
103
2025-01-01T19:20:41.047813
MIT
false
77baeb4171bebbc72e6cacebf6eefee5
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
662
2024-07-10T09:00:21.601648
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\legendgrouptitle\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,957
0.8
0.048583
0
awesome-app
949
2024-11-06T21:38:03.944869
BSD-3-Clause
false
e03f35b573fb5ed677455a864917d3ed
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\legendgrouptitle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
514
0.85
0
0
awesome-app
309
2023-10-10T22:02:18.490878
MIT
false
4f5a1311c0f01be43e3e43c63f04fb89
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\_decreasing.cpython-313.pyc
_decreasing.cpython-313.pyc
Other
4,479
0.8
0.069767
0
python-kit
790
2024-10-06T13:04:37.770836
GPL-3.0
false
d8e38c86887c51137a645d954d0adf49
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\_hoverlabel.cpython-313.pyc
_hoverlabel.cpython-313.pyc
Other
12,156
0.8
0.134615
0
awesome-app
238
2025-04-17T14:47:28.472877
BSD-3-Clause
false
88e30951b260b0cc3ac6b8a37bc16345
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\_increasing.cpython-313.pyc
_increasing.cpython-313.pyc
Other
4,479
0.8
0.069767
0
python-kit
661
2023-12-05T14:50:19.412381
Apache-2.0
false
dea33e17e5943d169405f4012528cbed
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,886
0.8
0.04
0
node-utils
264
2024-06-13T04:46:23.597529
Apache-2.0
false
7c01b4cf9e68d5b7b23edf5b6931f0b1
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
3,336
0.8
0.027027
0
react-lib
664
2025-05-23T22:08:24.707385
BSD-3-Clause
false
a2354c06440fa2dd32b301d9e4b80fb7
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,333
0.8
0.054348
0
python-kit
385
2024-11-03T07:11:57.770922
Apache-2.0
false
a8a21019966fc33e76ac6058d472f066
\n\n
.venv\Lib\site-packages\plotly\graph_objs\candlestick\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,082
0.95
0
0
react-lib
649
2023-09-22T05:46:04.962734
Apache-2.0
false
1302f44077ad059044c9b5ab6122ec18
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Aaxis(_BaseTraceHierarchyType):\n _parent_path_str = "carpet"\n _path_str = "carpet.aaxis"\n _valid_props = {\n "arraydtick",\n "arraytick0",\n "autorange",\n "autotypenumbers",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "cheatertype",\n "color",\n "dtick",\n "endline",\n "endlinecolor",\n "endlinewidth",\n "exponentformat",\n "fixedrange",\n "gridcolor",\n "griddash",\n "gridwidth",\n "labelalias",\n "labelpadding",\n "labelprefix",\n "labelsuffix",\n "linecolor",\n "linewidth",\n "minexponent",\n "minorgridcolor",\n "minorgridcount",\n "minorgriddash",\n "minorgridwidth",\n "nticks",\n "range",\n "rangemode",\n "separatethousands",\n "showexponent",\n "showgrid",\n "showline",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "smoothing",\n "startline",\n "startlinecolor",\n "startlinewidth",\n "tick0",\n "tickangle",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "tickmode",\n "tickprefix",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "title",\n "type",\n }\n\n @property\n def arraydtick(self):\n """\n The stride between grid lines along the axis\n\n The 'arraydtick' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["arraydtick"]\n\n @arraydtick.setter\n def arraydtick(self, val):\n self["arraydtick"] = val\n\n @property\n def arraytick0(self):\n """\n The starting index of grid lines along the axis\n\n The 'arraytick0' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["arraytick0"]\n\n @arraytick0.setter\n def arraytick0(self, val):\n self["arraytick0"] = val\n\n @property\n def autorange(self):\n """\n Determines whether or not the range of this axis is computed in\n relation to the input data. See `rangemode` for more info. If\n `range` is provided, then `autorange` is set to False.\n\n The 'autorange' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, False, 'reversed']\n\n Returns\n -------\n Any\n """\n return self["autorange"]\n\n @autorange.setter\n def autorange(self, val):\n self["autorange"] = val\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def cheatertype(self):\n """\n The 'cheatertype' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['index', 'value']\n\n Returns\n -------\n Any\n """\n return self["cheatertype"]\n\n @cheatertype.setter\n def cheatertype(self, val):\n self["cheatertype"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dtick(self):\n """\n The stride between grid lines along the axis\n\n The 'dtick' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["dtick"]\n\n @dtick.setter\n def dtick(self, val):\n self["dtick"] = val\n\n @property\n def endline(self):\n """\n Determines whether or not a line is drawn at along the final\n value of this axis. If True, the end line is drawn on top of\n the grid lines.\n\n The 'endline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["endline"]\n\n @endline.setter\n def endline(self, val):\n self["endline"] = val\n\n @property\n def endlinecolor(self):\n """\n Sets the line color of the end line.\n\n The 'endlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["endlinecolor"]\n\n @endlinecolor.setter\n def endlinecolor(self, val):\n self["endlinecolor"] = val\n\n @property\n def endlinewidth(self):\n """\n Sets the width (in px) of the end line.\n\n The 'endlinewidth' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["endlinewidth"]\n\n @endlinewidth.setter\n def endlinewidth(self, val):\n self["endlinewidth"] = val\n\n @property\n def exponentformat(self):\n """\n Determines a formatting rule for the tick exponents. For\n example, consider the number 1,000,000,000. If "none", it\n appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If\n "B", 1B.\n\n The 'exponentformat' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['none', 'e', 'E', 'power', 'SI', 'B']\n\n Returns\n -------\n Any\n """\n return self["exponentformat"]\n\n @exponentformat.setter\n def exponentformat(self, val):\n self["exponentformat"] = val\n\n @property\n def fixedrange(self):\n """\n Determines whether or not this axis is zoom-able. If true, then\n zoom is disabled.\n\n The 'fixedrange' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["fixedrange"]\n\n @fixedrange.setter\n def fixedrange(self, val):\n self["fixedrange"] = val\n\n @property\n def gridcolor(self):\n """\n Sets the axis line color.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def griddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'griddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["griddash"]\n\n @griddash.setter\n def griddash(self, val):\n self["griddash"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def labelpadding(self):\n """\n Extra padding between label and the axis\n\n The 'labelpadding' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n\n Returns\n -------\n int\n """\n return self["labelpadding"]\n\n @labelpadding.setter\n def labelpadding(self, val):\n self["labelpadding"] = val\n\n @property\n def labelprefix(self):\n """\n Sets a axis label prefix.\n\n The 'labelprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["labelprefix"]\n\n @labelprefix.setter\n def labelprefix(self, val):\n self["labelprefix"] = val\n\n @property\n def labelsuffix(self):\n """\n Sets a axis label suffix.\n\n The 'labelsuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["labelsuffix"]\n\n @labelsuffix.setter\n def labelsuffix(self, val):\n self["labelsuffix"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def minexponent(self):\n """\n Hide SI prefix for 10^n if |n| is below this number\n\n The 'minexponent' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minexponent"]\n\n @minexponent.setter\n def minexponent(self, val):\n self["minexponent"] = val\n\n @property\n def minorgridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'minorgridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["minorgridcolor"]\n\n @minorgridcolor.setter\n def minorgridcolor(self, val):\n self["minorgridcolor"] = val\n\n @property\n def minorgridcount(self):\n """\n Sets the number of minor grid ticks per major grid tick\n\n The 'minorgridcount' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["minorgridcount"]\n\n @minorgridcount.setter\n def minorgridcount(self, val):\n self["minorgridcount"] = val\n\n @property\n def minorgriddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'minorgriddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["minorgriddash"]\n\n @minorgriddash.setter\n def minorgriddash(self, val):\n self["minorgriddash"] = val\n\n @property\n def minorgridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'minorgridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minorgridwidth"]\n\n @minorgridwidth.setter\n def minorgridwidth(self, val):\n self["minorgridwidth"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def range(self):\n """\n Sets the range of this axis. If the axis `type` is "log", then\n you must take the log of your desired range (e.g. to set the\n range from 1 to 100, set the range from 0 to 2). If the axis\n `type` is "date", it should be date strings, like date data,\n though Date objects and unix milliseconds will be accepted and\n converted to strings. If the axis `type` is "category", it\n should be numbers, using the scale where each category is\n assigned a serial number from zero in the order it appears.\n\n The 'range' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'range[0]' property accepts values of any type\n (1) The 'range[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["range"]\n\n @range.setter\n def range(self, val):\n self["range"] = val\n\n @property\n def rangemode(self):\n """\n If "normal", the range is computed in relation to the extrema\n of the input data. If "tozero", the range extends to 0,\n regardless of the input data If "nonnegative", the range is\n non-negative, regardless of the input data.\n\n The 'rangemode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'tozero', 'nonnegative']\n\n Returns\n -------\n Any\n """\n return self["rangemode"]\n\n @rangemode.setter\n def rangemode(self, val):\n self["rangemode"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether axis labels are drawn on the low side, the\n high side, both, or neither side of the axis.\n\n The 'showticklabels' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['start', 'end', 'both', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticklabels"]\n\n @showticklabels.setter\n def showticklabels(self, val):\n self["showticklabels"] = val\n\n @property\n def showtickprefix(self):\n """\n If "all", all tick labels are displayed with a prefix. If\n "first", only the first tick is displayed with a prefix. If\n "last", only the last tick is displayed with a suffix. If\n "none", tick prefixes are hidden.\n\n The 'showtickprefix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showtickprefix"]\n\n @showtickprefix.setter\n def showtickprefix(self, val):\n self["showtickprefix"] = val\n\n @property\n def showticksuffix(self):\n """\n Same as `showtickprefix` but for tick suffixes.\n\n The 'showticksuffix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticksuffix"]\n\n @showticksuffix.setter\n def showticksuffix(self, val):\n self["showticksuffix"] = val\n\n @property\n def smoothing(self):\n """\n The 'smoothing' property is a number and may be specified as:\n - An int or float in the interval [0, 1.3]\n\n Returns\n -------\n int|float\n """\n return self["smoothing"]\n\n @smoothing.setter\n def smoothing(self, val):\n self["smoothing"] = val\n\n @property\n def startline(self):\n """\n Determines whether or not a line is drawn at along the starting\n value of this axis. If True, the start line is drawn on top of\n the grid lines.\n\n The 'startline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["startline"]\n\n @startline.setter\n def startline(self, val):\n self["startline"] = val\n\n @property\n def startlinecolor(self):\n """\n Sets the line color of the start line.\n\n The 'startlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["startlinecolor"]\n\n @startlinecolor.setter\n def startlinecolor(self, val):\n self["startlinecolor"] = val\n\n @property\n def startlinewidth(self):\n """\n Sets the width (in px) of the start line.\n\n The 'startlinewidth' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["startlinewidth"]\n\n @startlinewidth.setter\n def startlinewidth(self, val):\n self["startlinewidth"] = val\n\n @property\n def tick0(self):\n """\n The starting index of grid lines along the axis\n\n The 'tick0' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["tick0"]\n\n @tick0.setter\n def tick0(self, val):\n self["tick0"] = val\n\n @property\n def tickangle(self):\n """\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the tick\n labels vertically.\n\n The 'tickangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["tickangle"]\n\n @tickangle.setter\n def tickangle(self, val):\n self["tickangle"] = val\n\n @property\n def tickfont(self):\n """\n Sets the tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.aaxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.aaxis.Tickfont\n """\n return self["tickfont"]\n\n @tickfont.setter\n def tickfont(self, val):\n self["tickfont"] = val\n\n @property\n def tickformat(self):\n """\n Sets the tick label formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'tickformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickformat"]\n\n @tickformat.setter\n def tickformat(self, val):\n self["tickformat"] = val\n\n @property\n def tickformatstops(self):\n """\n The 'tickformatstops' property is a tuple of instances of\n Tickformatstop that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.carpet.aaxis.Tickformatstop\n - A list or tuple of dicts of string/value properties that\n will be passed to the Tickformatstop constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.carpet.aaxis.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as\n layout.template.data.carpet.aaxis.tickformatstopdefaults), sets\n the default property values to use for elements of\n carpet.aaxis.tickformatstops\n\n The 'tickformatstopdefaults' property is an instance of Tickformatstop\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.aaxis.Tickformatstop`\n - A dict of string/value properties that will be passed\n to the Tickformatstop constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.aaxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = val\n\n @property\n def tickmode(self):\n """\n The 'tickmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['linear', 'array']\n\n Returns\n -------\n Any\n """\n return self["tickmode"]\n\n @tickmode.setter\n def tickmode(self, val):\n self["tickmode"] = val\n\n @property\n def tickprefix(self):\n """\n Sets a tick label prefix.\n\n The 'tickprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickprefix"]\n\n @tickprefix.setter\n def tickprefix(self, val):\n self["tickprefix"] = val\n\n @property\n def ticksuffix(self):\n """\n Sets a tick label suffix.\n\n The 'ticksuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["ticksuffix"]\n\n @ticksuffix.setter\n def ticksuffix(self, val):\n self["ticksuffix"] = val\n\n @property\n def ticktext(self):\n """\n Sets the text displayed at the ticks position via `tickvals`.\n Only has an effect if `tickmode` is set to "array". Used with\n `tickvals`.\n\n The 'ticktext' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["ticktext"]\n\n @ticktext.setter\n def ticktext(self, val):\n self["ticktext"] = val\n\n @property\n def ticktextsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `ticktext`.\n\n The 'ticktextsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["ticktextsrc"]\n\n @ticktextsrc.setter\n def ticktextsrc(self, val):\n self["ticktextsrc"] = val\n\n @property\n def tickvals(self):\n """\n Sets the values at which ticks on this axis appear. Only has an\n effect if `tickmode` is set to "array". Used with `ticktext`.\n\n The 'tickvals' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["tickvals"]\n\n @tickvals.setter\n def tickvals(self, val):\n self["tickvals"] = val\n\n @property\n def tickvalssrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `tickvals`.\n\n The 'tickvalssrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["tickvalssrc"]\n\n @tickvalssrc.setter\n def tickvalssrc(self, val):\n self["tickvalssrc"] = val\n\n @property\n def title(self):\n """\n The 'title' property is an instance of Title\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.aaxis.Title`\n - A dict of string/value properties that will be passed\n to the Title constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.aaxis.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def type(self):\n """\n Sets the axis type. By default, plotly attempts to determined\n the axis type by looking into the data of the traces that\n referenced the axis in question.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'date', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n arraydtick\n The stride between grid lines along the axis\n arraytick0\n The starting index of grid lines along the axis\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided, then `autorange`\n is set to False.\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`.\n cheatertype\n\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n The stride between grid lines along the axis\n endline\n Determines whether or not a line is drawn at along the\n final value of this axis. If True, the end line is\n drawn on top of the grid lines.\n endlinecolor\n Sets the line color of the end line.\n endlinewidth\n Sets the width (in px) of the end line.\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n fixedrange\n Determines whether or not this axis is zoom-able. If\n true, then zoom is disabled.\n gridcolor\n Sets the axis line color.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the axis line.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n labelpadding\n Extra padding between label and the axis\n labelprefix\n Sets a axis label prefix.\n labelsuffix\n Sets a axis label suffix.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number\n minorgridcolor\n Sets the color of the grid lines.\n minorgridcount\n Sets the number of minor grid ticks per major grid tick\n minorgriddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n minorgridwidth\n Sets the width (in px) of the grid lines.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data.\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 the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether axis labels are drawn on the low\n side, the high side, both, or neither side of the axis.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n smoothing\n\n startline\n Determines whether or not a line is drawn at along the\n starting value of this axis. If True, the start line is\n drawn on top of the grid lines.\n startlinecolor\n Sets the line color of the start line.\n startlinewidth\n Sets the width (in px) of the start line.\n tick0\n The starting index of grid lines along the axis\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickfont\n Sets the tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.carpet.aaxis.Ti\n ckformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.carpet\n .aaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n carpet.aaxis.tickformatstops\n tickmode\n\n tickprefix\n Sets a tick label prefix.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n title\n :class:`plotly.graph_objects.carpet.aaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n """\n\n def __init__(\n self,\n arg=None,\n arraydtick=None,\n arraytick0=None,\n autorange=None,\n autotypenumbers=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n cheatertype=None,\n color=None,\n dtick=None,\n endline=None,\n endlinecolor=None,\n endlinewidth=None,\n exponentformat=None,\n fixedrange=None,\n gridcolor=None,\n griddash=None,\n gridwidth=None,\n labelalias=None,\n labelpadding=None,\n labelprefix=None,\n labelsuffix=None,\n linecolor=None,\n linewidth=None,\n minexponent=None,\n minorgridcolor=None,\n minorgridcount=None,\n minorgriddash=None,\n minorgridwidth=None,\n nticks=None,\n range=None,\n rangemode=None,\n separatethousands=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n smoothing=None,\n startline=None,\n startlinecolor=None,\n startlinewidth=None,\n tick0=None,\n tickangle=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=None,\n tickmode=None,\n tickprefix=None,\n ticksuffix=None,\n ticktext=None,\n ticktextsrc=None,\n tickvals=None,\n tickvalssrc=None,\n title=None,\n type=None,\n **kwargs,\n ):\n """\n Construct a new Aaxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.carpet.Aaxis`\n arraydtick\n The stride between grid lines along the axis\n arraytick0\n The starting index of grid lines along the axis\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided, then `autorange`\n is set to False.\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`.\n cheatertype\n\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n The stride between grid lines along the axis\n endline\n Determines whether or not a line is drawn at along the\n final value of this axis. If True, the end line is\n drawn on top of the grid lines.\n endlinecolor\n Sets the line color of the end line.\n endlinewidth\n Sets the width (in px) of the end line.\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n fixedrange\n Determines whether or not this axis is zoom-able. If\n true, then zoom is disabled.\n gridcolor\n Sets the axis line color.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the axis line.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n labelpadding\n Extra padding between label and the axis\n labelprefix\n Sets a axis label prefix.\n labelsuffix\n Sets a axis label suffix.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number\n minorgridcolor\n Sets the color of the grid lines.\n minorgridcount\n Sets the number of minor grid ticks per major grid tick\n minorgriddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n minorgridwidth\n Sets the width (in px) of the grid lines.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data.\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 the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether axis labels are drawn on the low\n side, the high side, both, or neither side of the axis.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n smoothing\n\n startline\n Determines whether or not a line is drawn at along the\n starting value of this axis. If True, the start line is\n drawn on top of the grid lines.\n startlinecolor\n Sets the line color of the start line.\n startlinewidth\n Sets the width (in px) of the start line.\n tick0\n The starting index of grid lines along the axis\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickfont\n Sets the tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.carpet.aaxis.Ti\n ckformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.carpet\n .aaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n carpet.aaxis.tickformatstops\n tickmode\n\n tickprefix\n Sets a tick label prefix.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n title\n :class:`plotly.graph_objects.carpet.aaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n\n Returns\n -------\n Aaxis\n """\n super().__init__("aaxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.Aaxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.Aaxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("arraydtick", arg, arraydtick)\n self._set_property("arraytick0", arg, arraytick0)\n self._set_property("autorange", arg, autorange)\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("cheatertype", arg, cheatertype)\n self._set_property("color", arg, color)\n self._set_property("dtick", arg, dtick)\n self._set_property("endline", arg, endline)\n self._set_property("endlinecolor", arg, endlinecolor)\n self._set_property("endlinewidth", arg, endlinewidth)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("fixedrange", arg, fixedrange)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("griddash", arg, griddash)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("labelpadding", arg, labelpadding)\n self._set_property("labelprefix", arg, labelprefix)\n self._set_property("labelsuffix", arg, labelsuffix)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("minorgridcolor", arg, minorgridcolor)\n self._set_property("minorgridcount", arg, minorgridcount)\n self._set_property("minorgriddash", arg, minorgriddash)\n self._set_property("minorgridwidth", arg, minorgridwidth)\n self._set_property("nticks", arg, nticks)\n self._set_property("range", arg, range)\n self._set_property("rangemode", arg, rangemode)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("smoothing", arg, smoothing)\n self._set_property("startline", arg, startline)\n self._set_property("startlinecolor", arg, startlinecolor)\n self._set_property("startlinewidth", arg, startlinewidth)\n self._set_property("tick0", arg, tick0)\n self._set_property("tickangle", arg, tickangle)\n self._set_property("tickfont", arg, tickfont)\n self._set_property("tickformat", arg, tickformat)\n self._set_property("tickformatstops", arg, tickformatstops)\n self._set_property("tickformatstopdefaults", arg, tickformatstopdefaults)\n self._set_property("tickmode", arg, tickmode)\n self._set_property("tickprefix", arg, tickprefix)\n self._set_property("ticksuffix", arg, ticksuffix)\n self._set_property("ticktext", arg, ticktext)\n self._set_property("ticktextsrc", arg, ticktextsrc)\n self._set_property("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("title", arg, title)\n self._set_property("type", arg, type)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\_aaxis.py
_aaxis.py
Python
60,412
0.75
0.112432
0.002491
react-lib
215
2024-01-19T07:16:12.789423
Apache-2.0
false
ba1f775b4ed1a7d5870b1cd95d96eaa0
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Baxis(_BaseTraceHierarchyType):\n _parent_path_str = "carpet"\n _path_str = "carpet.baxis"\n _valid_props = {\n "arraydtick",\n "arraytick0",\n "autorange",\n "autotypenumbers",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "cheatertype",\n "color",\n "dtick",\n "endline",\n "endlinecolor",\n "endlinewidth",\n "exponentformat",\n "fixedrange",\n "gridcolor",\n "griddash",\n "gridwidth",\n "labelalias",\n "labelpadding",\n "labelprefix",\n "labelsuffix",\n "linecolor",\n "linewidth",\n "minexponent",\n "minorgridcolor",\n "minorgridcount",\n "minorgriddash",\n "minorgridwidth",\n "nticks",\n "range",\n "rangemode",\n "separatethousands",\n "showexponent",\n "showgrid",\n "showline",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "smoothing",\n "startline",\n "startlinecolor",\n "startlinewidth",\n "tick0",\n "tickangle",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "tickmode",\n "tickprefix",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "title",\n "type",\n }\n\n @property\n def arraydtick(self):\n """\n The stride between grid lines along the axis\n\n The 'arraydtick' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["arraydtick"]\n\n @arraydtick.setter\n def arraydtick(self, val):\n self["arraydtick"] = val\n\n @property\n def arraytick0(self):\n """\n The starting index of grid lines along the axis\n\n The 'arraytick0' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["arraytick0"]\n\n @arraytick0.setter\n def arraytick0(self, val):\n self["arraytick0"] = val\n\n @property\n def autorange(self):\n """\n Determines whether or not the range of this axis is computed in\n relation to the input data. See `rangemode` for more info. If\n `range` is provided, then `autorange` is set to False.\n\n The 'autorange' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, False, 'reversed']\n\n Returns\n -------\n Any\n """\n return self["autorange"]\n\n @autorange.setter\n def autorange(self, val):\n self["autorange"] = val\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def cheatertype(self):\n """\n The 'cheatertype' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['index', 'value']\n\n Returns\n -------\n Any\n """\n return self["cheatertype"]\n\n @cheatertype.setter\n def cheatertype(self, val):\n self["cheatertype"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dtick(self):\n """\n The stride between grid lines along the axis\n\n The 'dtick' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["dtick"]\n\n @dtick.setter\n def dtick(self, val):\n self["dtick"] = val\n\n @property\n def endline(self):\n """\n Determines whether or not a line is drawn at along the final\n value of this axis. If True, the end line is drawn on top of\n the grid lines.\n\n The 'endline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["endline"]\n\n @endline.setter\n def endline(self, val):\n self["endline"] = val\n\n @property\n def endlinecolor(self):\n """\n Sets the line color of the end line.\n\n The 'endlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["endlinecolor"]\n\n @endlinecolor.setter\n def endlinecolor(self, val):\n self["endlinecolor"] = val\n\n @property\n def endlinewidth(self):\n """\n Sets the width (in px) of the end line.\n\n The 'endlinewidth' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["endlinewidth"]\n\n @endlinewidth.setter\n def endlinewidth(self, val):\n self["endlinewidth"] = val\n\n @property\n def exponentformat(self):\n """\n Determines a formatting rule for the tick exponents. For\n example, consider the number 1,000,000,000. If "none", it\n appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If\n "B", 1B.\n\n The 'exponentformat' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['none', 'e', 'E', 'power', 'SI', 'B']\n\n Returns\n -------\n Any\n """\n return self["exponentformat"]\n\n @exponentformat.setter\n def exponentformat(self, val):\n self["exponentformat"] = val\n\n @property\n def fixedrange(self):\n """\n Determines whether or not this axis is zoom-able. If true, then\n zoom is disabled.\n\n The 'fixedrange' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["fixedrange"]\n\n @fixedrange.setter\n def fixedrange(self, val):\n self["fixedrange"] = val\n\n @property\n def gridcolor(self):\n """\n Sets the axis line color.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def griddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'griddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["griddash"]\n\n @griddash.setter\n def griddash(self, val):\n self["griddash"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def labelpadding(self):\n """\n Extra padding between label and the axis\n\n The 'labelpadding' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n\n Returns\n -------\n int\n """\n return self["labelpadding"]\n\n @labelpadding.setter\n def labelpadding(self, val):\n self["labelpadding"] = val\n\n @property\n def labelprefix(self):\n """\n Sets a axis label prefix.\n\n The 'labelprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["labelprefix"]\n\n @labelprefix.setter\n def labelprefix(self, val):\n self["labelprefix"] = val\n\n @property\n def labelsuffix(self):\n """\n Sets a axis label suffix.\n\n The 'labelsuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["labelsuffix"]\n\n @labelsuffix.setter\n def labelsuffix(self, val):\n self["labelsuffix"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def minexponent(self):\n """\n Hide SI prefix for 10^n if |n| is below this number\n\n The 'minexponent' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minexponent"]\n\n @minexponent.setter\n def minexponent(self, val):\n self["minexponent"] = val\n\n @property\n def minorgridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'minorgridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["minorgridcolor"]\n\n @minorgridcolor.setter\n def minorgridcolor(self, val):\n self["minorgridcolor"] = val\n\n @property\n def minorgridcount(self):\n """\n Sets the number of minor grid ticks per major grid tick\n\n The 'minorgridcount' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["minorgridcount"]\n\n @minorgridcount.setter\n def minorgridcount(self, val):\n self["minorgridcount"] = val\n\n @property\n def minorgriddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'minorgriddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["minorgriddash"]\n\n @minorgriddash.setter\n def minorgriddash(self, val):\n self["minorgriddash"] = val\n\n @property\n def minorgridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'minorgridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minorgridwidth"]\n\n @minorgridwidth.setter\n def minorgridwidth(self, val):\n self["minorgridwidth"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def range(self):\n """\n Sets the range of this axis. If the axis `type` is "log", then\n you must take the log of your desired range (e.g. to set the\n range from 1 to 100, set the range from 0 to 2). If the axis\n `type` is "date", it should be date strings, like date data,\n though Date objects and unix milliseconds will be accepted and\n converted to strings. If the axis `type` is "category", it\n should be numbers, using the scale where each category is\n assigned a serial number from zero in the order it appears.\n\n The 'range' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'range[0]' property accepts values of any type\n (1) The 'range[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["range"]\n\n @range.setter\n def range(self, val):\n self["range"] = val\n\n @property\n def rangemode(self):\n """\n If "normal", the range is computed in relation to the extrema\n of the input data. If "tozero", the range extends to 0,\n regardless of the input data If "nonnegative", the range is\n non-negative, regardless of the input data.\n\n The 'rangemode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'tozero', 'nonnegative']\n\n Returns\n -------\n Any\n """\n return self["rangemode"]\n\n @rangemode.setter\n def rangemode(self, val):\n self["rangemode"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether axis labels are drawn on the low side, the\n high side, both, or neither side of the axis.\n\n The 'showticklabels' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['start', 'end', 'both', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticklabels"]\n\n @showticklabels.setter\n def showticklabels(self, val):\n self["showticklabels"] = val\n\n @property\n def showtickprefix(self):\n """\n If "all", all tick labels are displayed with a prefix. If\n "first", only the first tick is displayed with a prefix. If\n "last", only the last tick is displayed with a suffix. If\n "none", tick prefixes are hidden.\n\n The 'showtickprefix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showtickprefix"]\n\n @showtickprefix.setter\n def showtickprefix(self, val):\n self["showtickprefix"] = val\n\n @property\n def showticksuffix(self):\n """\n Same as `showtickprefix` but for tick suffixes.\n\n The 'showticksuffix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticksuffix"]\n\n @showticksuffix.setter\n def showticksuffix(self, val):\n self["showticksuffix"] = val\n\n @property\n def smoothing(self):\n """\n The 'smoothing' property is a number and may be specified as:\n - An int or float in the interval [0, 1.3]\n\n Returns\n -------\n int|float\n """\n return self["smoothing"]\n\n @smoothing.setter\n def smoothing(self, val):\n self["smoothing"] = val\n\n @property\n def startline(self):\n """\n Determines whether or not a line is drawn at along the starting\n value of this axis. If True, the start line is drawn on top of\n the grid lines.\n\n The 'startline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["startline"]\n\n @startline.setter\n def startline(self, val):\n self["startline"] = val\n\n @property\n def startlinecolor(self):\n """\n Sets the line color of the start line.\n\n The 'startlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["startlinecolor"]\n\n @startlinecolor.setter\n def startlinecolor(self, val):\n self["startlinecolor"] = val\n\n @property\n def startlinewidth(self):\n """\n Sets the width (in px) of the start line.\n\n The 'startlinewidth' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["startlinewidth"]\n\n @startlinewidth.setter\n def startlinewidth(self, val):\n self["startlinewidth"] = val\n\n @property\n def tick0(self):\n """\n The starting index of grid lines along the axis\n\n The 'tick0' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["tick0"]\n\n @tick0.setter\n def tick0(self, val):\n self["tick0"] = val\n\n @property\n def tickangle(self):\n """\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the tick\n labels vertically.\n\n The 'tickangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["tickangle"]\n\n @tickangle.setter\n def tickangle(self, val):\n self["tickangle"] = val\n\n @property\n def tickfont(self):\n """\n Sets the tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.baxis.Tickfont\n """\n return self["tickfont"]\n\n @tickfont.setter\n def tickfont(self, val):\n self["tickfont"] = val\n\n @property\n def tickformat(self):\n """\n Sets the tick label formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'tickformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickformat"]\n\n @tickformat.setter\n def tickformat(self, val):\n self["tickformat"] = val\n\n @property\n def tickformatstops(self):\n """\n The 'tickformatstops' property is a tuple of instances of\n Tickformatstop that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.carpet.baxis.Tickformatstop\n - A list or tuple of dicts of string/value properties that\n will be passed to the Tickformatstop constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.carpet.baxis.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as\n layout.template.data.carpet.baxis.tickformatstopdefaults), sets\n the default property values to use for elements of\n carpet.baxis.tickformatstops\n\n The 'tickformatstopdefaults' property is an instance of Tickformatstop\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop`\n - A dict of string/value properties that will be passed\n to the Tickformatstop constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.baxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = val\n\n @property\n def tickmode(self):\n """\n The 'tickmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['linear', 'array']\n\n Returns\n -------\n Any\n """\n return self["tickmode"]\n\n @tickmode.setter\n def tickmode(self, val):\n self["tickmode"] = val\n\n @property\n def tickprefix(self):\n """\n Sets a tick label prefix.\n\n The 'tickprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickprefix"]\n\n @tickprefix.setter\n def tickprefix(self, val):\n self["tickprefix"] = val\n\n @property\n def ticksuffix(self):\n """\n Sets a tick label suffix.\n\n The 'ticksuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["ticksuffix"]\n\n @ticksuffix.setter\n def ticksuffix(self, val):\n self["ticksuffix"] = val\n\n @property\n def ticktext(self):\n """\n Sets the text displayed at the ticks position via `tickvals`.\n Only has an effect if `tickmode` is set to "array". Used with\n `tickvals`.\n\n The 'ticktext' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["ticktext"]\n\n @ticktext.setter\n def ticktext(self, val):\n self["ticktext"] = val\n\n @property\n def ticktextsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `ticktext`.\n\n The 'ticktextsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["ticktextsrc"]\n\n @ticktextsrc.setter\n def ticktextsrc(self, val):\n self["ticktextsrc"] = val\n\n @property\n def tickvals(self):\n """\n Sets the values at which ticks on this axis appear. Only has an\n effect if `tickmode` is set to "array". Used with `ticktext`.\n\n The 'tickvals' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["tickvals"]\n\n @tickvals.setter\n def tickvals(self, val):\n self["tickvals"] = val\n\n @property\n def tickvalssrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `tickvals`.\n\n The 'tickvalssrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["tickvalssrc"]\n\n @tickvalssrc.setter\n def tickvalssrc(self, val):\n self["tickvalssrc"] = val\n\n @property\n def title(self):\n """\n The 'title' property is an instance of Title\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.baxis.Title`\n - A dict of string/value properties that will be passed\n to the Title constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.baxis.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def type(self):\n """\n Sets the axis type. By default, plotly attempts to determined\n the axis type by looking into the data of the traces that\n referenced the axis in question.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'date', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n arraydtick\n The stride between grid lines along the axis\n arraytick0\n The starting index of grid lines along the axis\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided, then `autorange`\n is set to False.\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`.\n cheatertype\n\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n The stride between grid lines along the axis\n endline\n Determines whether or not a line is drawn at along the\n final value of this axis. If True, the end line is\n drawn on top of the grid lines.\n endlinecolor\n Sets the line color of the end line.\n endlinewidth\n Sets the width (in px) of the end line.\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n fixedrange\n Determines whether or not this axis is zoom-able. If\n true, then zoom is disabled.\n gridcolor\n Sets the axis line color.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the axis line.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n labelpadding\n Extra padding between label and the axis\n labelprefix\n Sets a axis label prefix.\n labelsuffix\n Sets a axis label suffix.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number\n minorgridcolor\n Sets the color of the grid lines.\n minorgridcount\n Sets the number of minor grid ticks per major grid tick\n minorgriddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n minorgridwidth\n Sets the width (in px) of the grid lines.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data.\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 the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether axis labels are drawn on the low\n side, the high side, both, or neither side of the axis.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n smoothing\n\n startline\n Determines whether or not a line is drawn at along the\n starting value of this axis. If True, the start line is\n drawn on top of the grid lines.\n startlinecolor\n Sets the line color of the start line.\n startlinewidth\n Sets the width (in px) of the start line.\n tick0\n The starting index of grid lines along the axis\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickfont\n Sets the tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.carpet.baxis.Ti\n ckformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.carpet\n .baxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n carpet.baxis.tickformatstops\n tickmode\n\n tickprefix\n Sets a tick label prefix.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n title\n :class:`plotly.graph_objects.carpet.baxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n """\n\n def __init__(\n self,\n arg=None,\n arraydtick=None,\n arraytick0=None,\n autorange=None,\n autotypenumbers=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n cheatertype=None,\n color=None,\n dtick=None,\n endline=None,\n endlinecolor=None,\n endlinewidth=None,\n exponentformat=None,\n fixedrange=None,\n gridcolor=None,\n griddash=None,\n gridwidth=None,\n labelalias=None,\n labelpadding=None,\n labelprefix=None,\n labelsuffix=None,\n linecolor=None,\n linewidth=None,\n minexponent=None,\n minorgridcolor=None,\n minorgridcount=None,\n minorgriddash=None,\n minorgridwidth=None,\n nticks=None,\n range=None,\n rangemode=None,\n separatethousands=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n smoothing=None,\n startline=None,\n startlinecolor=None,\n startlinewidth=None,\n tick0=None,\n tickangle=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=None,\n tickmode=None,\n tickprefix=None,\n ticksuffix=None,\n ticktext=None,\n ticktextsrc=None,\n tickvals=None,\n tickvalssrc=None,\n title=None,\n type=None,\n **kwargs,\n ):\n """\n Construct a new Baxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.carpet.Baxis`\n arraydtick\n The stride between grid lines along the axis\n arraytick0\n The starting index of grid lines along the axis\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided, then `autorange`\n is set to False.\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`.\n cheatertype\n\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n The stride between grid lines along the axis\n endline\n Determines whether or not a line is drawn at along the\n final value of this axis. If True, the end line is\n drawn on top of the grid lines.\n endlinecolor\n Sets the line color of the end line.\n endlinewidth\n Sets the width (in px) of the end line.\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n fixedrange\n Determines whether or not this axis is zoom-able. If\n true, then zoom is disabled.\n gridcolor\n Sets the axis line color.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the axis line.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n labelpadding\n Extra padding between label and the axis\n labelprefix\n Sets a axis label prefix.\n labelsuffix\n Sets a axis label suffix.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number\n minorgridcolor\n Sets the color of the grid lines.\n minorgridcount\n Sets the number of minor grid ticks per major grid tick\n minorgriddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n minorgridwidth\n Sets the width (in px) of the grid lines.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data.\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 the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether axis labels are drawn on the low\n side, the high side, both, or neither side of the axis.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n smoothing\n\n startline\n Determines whether or not a line is drawn at along the\n starting value of this axis. If True, the start line is\n drawn on top of the grid lines.\n startlinecolor\n Sets the line color of the start line.\n startlinewidth\n Sets the width (in px) of the start line.\n tick0\n The starting index of grid lines along the axis\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickfont\n Sets the tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.carpet.baxis.Ti\n ckformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.carpet\n .baxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n carpet.baxis.tickformatstops\n tickmode\n\n tickprefix\n Sets a tick label prefix.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n title\n :class:`plotly.graph_objects.carpet.baxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n\n Returns\n -------\n Baxis\n """\n super().__init__("baxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.Baxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.Baxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("arraydtick", arg, arraydtick)\n self._set_property("arraytick0", arg, arraytick0)\n self._set_property("autorange", arg, autorange)\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("cheatertype", arg, cheatertype)\n self._set_property("color", arg, color)\n self._set_property("dtick", arg, dtick)\n self._set_property("endline", arg, endline)\n self._set_property("endlinecolor", arg, endlinecolor)\n self._set_property("endlinewidth", arg, endlinewidth)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("fixedrange", arg, fixedrange)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("griddash", arg, griddash)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("labelpadding", arg, labelpadding)\n self._set_property("labelprefix", arg, labelprefix)\n self._set_property("labelsuffix", arg, labelsuffix)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("minorgridcolor", arg, minorgridcolor)\n self._set_property("minorgridcount", arg, minorgridcount)\n self._set_property("minorgriddash", arg, minorgriddash)\n self._set_property("minorgridwidth", arg, minorgridwidth)\n self._set_property("nticks", arg, nticks)\n self._set_property("range", arg, range)\n self._set_property("rangemode", arg, rangemode)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("smoothing", arg, smoothing)\n self._set_property("startline", arg, startline)\n self._set_property("startlinecolor", arg, startlinecolor)\n self._set_property("startlinewidth", arg, startlinewidth)\n self._set_property("tick0", arg, tick0)\n self._set_property("tickangle", arg, tickangle)\n self._set_property("tickfont", arg, tickfont)\n self._set_property("tickformat", arg, tickformat)\n self._set_property("tickformatstops", arg, tickformatstops)\n self._set_property("tickformatstopdefaults", arg, tickformatstopdefaults)\n self._set_property("tickmode", arg, tickmode)\n self._set_property("tickprefix", arg, tickprefix)\n self._set_property("ticksuffix", arg, ticksuffix)\n self._set_property("ticktext", arg, ticktext)\n self._set_property("ticktextsrc", arg, ticktextsrc)\n self._set_property("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("title", arg, title)\n self._set_property("type", arg, type)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\_baxis.py
_baxis.py
Python
60,412
0.75
0.112432
0.002491
python-kit
211
2024-01-24T10:39:16.596837
BSD-3-Clause
false
46632e1b030bdfe89db1c7cb23ddf78c
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "carpet"\n _path_str = "carpet.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n The default font used for axis & tick labels on this carpet\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.carpet.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\_font.py
_font.py
Python
9,847
0.95
0.108108
0.010563
vue-tools
545
2023-08-09T06:44:31.070035
BSD-3-Clause
false
eee1cc39d8b7a112af74aa6cd3368076
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseTraceHierarchyType):\n _parent_path_str = "carpet"\n _path_str = "carpet.legendgrouptitle"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this legend group's title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.legendgrouptitle.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.legendgrouptitle.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of the legend group.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Legendgrouptitle object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.Legendgrouptitle`\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n\n Returns\n -------\n Legendgrouptitle\n """\n super().__init__("legendgrouptitle")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.Legendgrouptitle`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,932
0.95
0.115385
0.023256
react-lib
730
2024-02-09T00:01:46.291749
MIT
false
35d9fa15601ba90ff341213c271c40aa
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Stream(_BaseTraceHierarchyType):\n _parent_path_str = "carpet"\n _path_str = "carpet.stream"\n _valid_props = {"maxpoints", "token"}\n\n @property\n def maxpoints(self):\n """\n Sets the maximum number of points to keep on the plots from an\n incoming stream. If `maxpoints` is set to 50, only the newest\n 50 points will be displayed on the plot.\n\n The 'maxpoints' property is a number and may be specified as:\n - An int or float in the interval [0, 10000]\n\n Returns\n -------\n int|float\n """\n return self["maxpoints"]\n\n @maxpoints.setter\n def maxpoints(self, val):\n self["maxpoints"] = val\n\n @property\n def token(self):\n """\n The stream id number links a data trace on a plot with a\n stream. See https://chart-studio.plotly.com/settings for more\n details.\n\n The 'token' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["token"]\n\n @token.setter\n def token(self, val):\n self["token"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n """\n\n def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):\n """\n Construct a new Stream object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.carpet.Stream`\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n\n Returns\n -------\n Stream\n """\n super().__init__("stream")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.Stream`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("maxpoints", arg, maxpoints)\n self._set_property("token", arg, token)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\_stream.py
_stream.py
Python
3,494
0.95
0.123894
0.021053
node-utils
375
2025-01-05T01:00:59.770357
Apache-2.0
false
b45e1ad1193efaf92c14ec53d5f29668
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._aaxis import Aaxis\n from ._baxis import Baxis\n from ._font import Font\n from ._legendgrouptitle import Legendgrouptitle\n from ._stream import Stream\n from . import aaxis\n from . import baxis\n from . import legendgrouptitle\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".aaxis", ".baxis", ".legendgrouptitle"],\n [\n "._aaxis.Aaxis",\n "._baxis.Baxis",\n "._font.Font",\n "._legendgrouptitle.Legendgrouptitle",\n "._stream.Stream",\n ],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__init__.py
__init__.py
Python
697
0.85
0.038462
0
react-lib
265
2024-12-13T19:09:45.382288
BSD-3-Clause
false
f42df1ccd442b3c2cf35d5339c66f6be
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.aaxis"\n _path_str = "carpet.aaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.aaxis.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.aaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.aaxis.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\_tickfont.py
_tickfont.py
Python
9,881
0.95
0.10479
0.010526
vue-tools
131
2025-06-23T21:55:54.770039
GPL-3.0
false
1238c8155d6e4b7e3c4997e3d5a7770c
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.aaxis"\n _path_str = "carpet.aaxis.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.aaxis.Tickformatstop`\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n\n Returns\n -------\n Tickformatstop\n """\n super().__init__("tickformatstops")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.aaxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.aaxis.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\_tickformatstop.py
_tickformatstop.py
Python
8,493
0.95
0.082988
0.019048
react-lib
37
2023-12-16T15:01:01.625871
BSD-3-Clause
false
6ac8f1aae7142b35a5c29a265298bc1e
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.aaxis"\n _path_str = "carpet.aaxis.title"\n _valid_props = {"font", "offset", "text"}\n\n @property\n def font(self):\n """\n Sets this axis' title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.aaxis.title.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.aaxis.title.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def offset(self):\n """\n An additional amount by which to offset the title from the tick\n labels, given in pixels.\n\n The 'offset' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["offset"]\n\n @offset.setter\n def offset(self, val):\n self["offset"] = val\n\n @property\n def text(self):\n """\n Sets the title of this axis.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this axis' title font.\n offset\n An additional amount by which to offset the title from\n the tick labels, given in pixels.\n text\n Sets the title of this axis.\n """\n\n def __init__(self, arg=None, font=None, offset=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.aaxis.Title`\n font\n Sets this axis' title font.\n offset\n An additional amount by which to offset the title from\n the tick labels, given in pixels.\n text\n Sets the title of this axis.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.aaxis.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.aaxis.Title`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("offset", arg, offset)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\_title.py
_title.py
Python
3,564
0.95
0.107692
0.018519
node-utils
214
2023-12-25T18:12:47.723431
GPL-3.0
false
466511c52c2b3dcee51e966e32985874
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\n from ._title import Title\n from . import title\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".title"],\n ["._tickfont.Tickfont", "._tickformatstop.Tickformatstop", "._title.Title"],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\__init__.py
__init__.py
Python
446
0.85
0.0625
0
vue-tools
62
2024-09-07T23:02:31.500354
Apache-2.0
false
c1c51c7cdaa97ba16b501a938689f435
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.aaxis.title"\n _path_str = "carpet.aaxis.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this axis' title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.aaxis.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.aaxis.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.aaxis.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\title\_font.py
_font.py
Python
9,887
0.95
0.10479
0.010526
python-kit
480
2024-12-23T17:09:26.406342
Apache-2.0
false
8a530163c3b85b9d14476fd2682ad57c
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\title\__init__.py
__init__.py
Python
237
0.85
0.111111
0
vue-tools
412
2024-06-02T00:47:30.421640
Apache-2.0
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\title\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,887
0.8
0.048583
0
awesome-app
611
2025-05-06T02:44:58.528133
Apache-2.0
false
4c1d845308b780ec8e415b869384161f
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\title\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
504
0.85
0
0
react-lib
205
2024-04-08T02:41:00.977213
BSD-3-Clause
false
62f6dfedc3edbd6b8d50c91b0f348224
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
10,923
0.8
0.04918
0
node-utils
621
2025-03-27T08:56:18.001256
MIT
false
ce8181cd639f2dc2d530fe81afaea490
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,266
0.8
0.024876
0.005348
node-utils
987
2023-12-05T11:16:05.101901
BSD-3-Clause
false
d8a395f828ae21dddd58c8f745ee11b9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,498
0.8
0.031579
0
vue-tools
302
2025-06-27T00:50:23.518967
GPL-3.0
false
2ae1037f9c423bcfb1ec7814ee3fe48b
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\aaxis\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
704
0.95
0
0
react-lib
688
2023-07-11T21:24:52.688522
MIT
false
cccd746489ca0a566a4d37605355b42e
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.baxis"\n _path_str = "carpet.baxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.baxis.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.baxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\_tickfont.py
_tickfont.py
Python
9,881
0.95
0.10479
0.010526
node-utils
580
2025-07-01T06:03:06.160932
MIT
false
12967338f7540c5b67730fb4d6144951
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.baxis"\n _path_str = "carpet.baxis.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.baxis.Tickformatstop`\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n\n Returns\n -------\n Tickformatstop\n """\n super().__init__("tickformatstops")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.baxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\_tickformatstop.py
_tickformatstop.py
Python
8,493
0.95
0.082988
0.019048
awesome-app
95
2024-05-11T13:12:41.779403
GPL-3.0
false
87a42af70ae9335449f0059043991769
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.baxis"\n _path_str = "carpet.baxis.title"\n _valid_props = {"font", "offset", "text"}\n\n @property\n def font(self):\n """\n Sets this axis' title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.carpet.baxis.title.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.carpet.baxis.title.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def offset(self):\n """\n An additional amount by which to offset the title from the tick\n labels, given in pixels.\n\n The 'offset' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["offset"]\n\n @offset.setter\n def offset(self, val):\n self["offset"] = val\n\n @property\n def text(self):\n """\n Sets the title of this axis.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this axis' title font.\n offset\n An additional amount by which to offset the title from\n the tick labels, given in pixels.\n text\n Sets the title of this axis.\n """\n\n def __init__(self, arg=None, font=None, offset=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.baxis.Title`\n font\n Sets this axis' title font.\n offset\n An additional amount by which to offset the title from\n the tick labels, given in pixels.\n text\n Sets the title of this axis.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.baxis.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.baxis.Title`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("offset", arg, offset)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\_title.py
_title.py
Python
3,564
0.95
0.107692
0.018519
react-lib
207
2024-03-12T22:24:10.880876
MIT
false
03b04528620fde8101e928eda3851363
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\n from ._title import Title\n from . import title\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".title"],\n ["._tickfont.Tickfont", "._tickformatstop.Tickformatstop", "._title.Title"],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\__init__.py
__init__.py
Python
446
0.85
0.0625
0
awesome-app
886
2023-10-06T11:05:54.805560
BSD-3-Clause
false
c1c51c7cdaa97ba16b501a938689f435
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.baxis.title"\n _path_str = "carpet.baxis.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this axis' title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.baxis.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.baxis.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.baxis.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\title\_font.py
_font.py
Python
9,887
0.95
0.10479
0.010526
node-utils
579
2025-04-08T19:02:56.797682
BSD-3-Clause
false
c0f06c20857c5cbc39ea0b20b0740733
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\title\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
896
2024-09-13T05:23:09.699355
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\title\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,887
0.8
0.048583
0
node-utils
348
2024-05-19T04:15:41.089839
GPL-3.0
false
e75e5e1912ecd1c54c9c6d7d1b2ce54c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\title\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
504
0.85
0
0
react-lib
104
2025-02-24T09:23:46.072846
Apache-2.0
false
aed4ace49a4f2d6f8fc4d15bed8ab111
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
10,923
0.8
0.04918
0
vue-tools
231
2023-08-22T23:22:45.795060
MIT
false
7ec5efa1abbd370976d0c6208241a009
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,266
0.8
0.024876
0.005348
react-lib
59
2025-03-14T21:51:53.302522
BSD-3-Clause
false
7663061e89171565e972e6c9a617e8e8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,498
0.8
0.031579
0
node-utils
612
2023-10-18T09:44:39.074660
MIT
false
218522b466d32b3a6ee07abaa67dbd6f
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\baxis\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
704
0.95
0
0
vue-tools
619
2024-05-21T18:16:36.864489
Apache-2.0
false
2a4346bfc4295a619865b3091e0b2c77
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "carpet.legendgrouptitle"\n _path_str = "carpet.legendgrouptitle.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this legend group's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.carpet.legendgrouptitle.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.carpet.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.carpet.legendgrouptitle.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\legendgrouptitle\_font.py
_font.py
Python
9,921
0.95
0.10479
0.010526
awesome-app
559
2024-12-10T04:23:56.522561
MIT
false
37384662b3ee3dabdcfe9c1770f875d4
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
python-kit
396
2024-03-12T07:33:45.003557
Apache-2.0
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\legendgrouptitle\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,926
0.8
0.048583
0
vue-tools
432
2025-03-27T08:55:42.661660
BSD-3-Clause
false
43b8086c00940bfe5a644cdaf9902d7c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\legendgrouptitle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
509
0.85
0
0
awesome-app
842
2024-09-24T12:53:05.969548
Apache-2.0
false
0ee178387c628b81f11f0f4461e68d09
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__pycache__\_aaxis.cpython-313.pyc
_aaxis.cpython-313.pyc
Other
61,419
0.6
0.072621
0.000929
python-kit
397
2024-07-12T13:33:31.338359
GPL-3.0
false
db52d27b8d33ddef3b16b87e1657e3e8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__pycache__\_baxis.cpython-313.pyc
_baxis.cpython-313.pyc
Other
61,419
0.6
0.072621
0.000929
react-lib
555
2024-10-17T15:27:30.339036
GPL-3.0
false
3c96a8ef8cea6aebd8c64a6f2cfbad52
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,840
0.8
0.052846
0
react-lib
260
2024-01-03T15:18:01.572436
MIT
false
62541e4e511b1a305e573ab6c21e829c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,846
0.8
0.04
0
python-kit
260
2023-07-15T23:11:33.101448
GPL-3.0
false
81733e69ad382218df4647dd56531320
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,296
0.8
0.054348
0
python-kit
735
2023-12-08T07:27:05.092892
Apache-2.0
false
800de2912c96cdfa5da84df60dcd84c2
\n\n
.venv\Lib\site-packages\plotly\graph_objs\carpet\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
898
0.95
0
0
node-utils
13
2024-09-28T04:05:42.168810
GPL-3.0
false
32037bd5b7d8631e2fcedf13877826d9
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass ColorBar(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.colorbar"\n _valid_props = {\n "bgcolor",\n "bordercolor",\n "borderwidth",\n "dtick",\n "exponentformat",\n "labelalias",\n "len",\n "lenmode",\n "minexponent",\n "nticks",\n "orientation",\n "outlinecolor",\n "outlinewidth",\n "separatethousands",\n "showexponent",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "thickness",\n "thicknessmode",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklabeloverflow",\n "ticklabelposition",\n "ticklabelstep",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "title",\n "x",\n "xanchor",\n "xpad",\n "xref",\n "y",\n "yanchor",\n "ypad",\n "yref",\n }\n\n @property\n def bgcolor(self):\n """\n Sets the color of padded area.\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the axis line color.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def borderwidth(self):\n """\n Sets the width (in px) or the border enclosing this color bar.\n\n The 'borderwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["borderwidth"]\n\n @borderwidth.setter\n def borderwidth(self, val):\n self["borderwidth"] = val\n\n @property\n def dtick(self):\n """\n Sets the step in-between ticks on this axis. Use with `tick0`.\n Must be a positive number, or special strings available to\n "log" and "date" axes. If the axis `type` is "log", then ticks\n are set every 10^(n*dtick) where n is the tick number. For\n example, to set a tick mark at 1, 10, 100, 1000, ... set dtick\n to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2.\n To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special values;\n "L<f>", where `f` is a positive number, gives ticks linearly\n spaced in value (but not position). For example `tick0` = 0.1,\n `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To\n show powers of 10 plus small digits between, use "D1" (all\n digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and\n "D2". If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval between\n ticks to one day, set `dtick` to 86400000.0. "date" also has\n special values "M<n>" gives ticks spaced by a number of months.\n `n` must be a positive integer. To set ticks on the 15th of\n every third month, set `tick0` to "2000-01-15" and `dtick` to\n "M3". To set ticks every 4 years, set `dtick` to "M48"\n\n The 'dtick' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["dtick"]\n\n @dtick.setter\n def dtick(self, val):\n self["dtick"] = val\n\n @property\n def exponentformat(self):\n """\n Determines a formatting rule for the tick exponents. For\n example, consider the number 1,000,000,000. If "none", it\n appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If\n "B", 1B.\n\n The 'exponentformat' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['none', 'e', 'E', 'power', 'SI', 'B']\n\n Returns\n -------\n Any\n """\n return self["exponentformat"]\n\n @exponentformat.setter\n def exponentformat(self, val):\n self["exponentformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def len(self):\n """\n Sets the length of the color bar This measure excludes the\n padding of both ends. That is, the color bar length is this\n length minus the padding on both ends.\n\n The 'len' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["len"]\n\n @len.setter\n def len(self, val):\n self["len"] = val\n\n @property\n def lenmode(self):\n """\n Determines whether this color bar's length (i.e. the measure in\n the color variation direction) is set in units of plot\n "fraction" or in *pixels. Use `len` to set the value.\n\n The 'lenmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fraction', 'pixels']\n\n Returns\n -------\n Any\n """\n return self["lenmode"]\n\n @lenmode.setter\n def lenmode(self, val):\n self["lenmode"] = val\n\n @property\n def minexponent(self):\n """\n Hide SI prefix for 10^n if |n| is below this number. This only\n has an effect when `tickformat` is "SI" or "B".\n\n The 'minexponent' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minexponent"]\n\n @minexponent.setter\n def minexponent(self, val):\n self["minexponent"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def orientation(self):\n """\n Sets the orientation of the colorbar.\n\n The 'orientation' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['h', 'v']\n\n Returns\n -------\n Any\n """\n return self["orientation"]\n\n @orientation.setter\n def orientation(self, val):\n self["orientation"] = val\n\n @property\n def outlinecolor(self):\n """\n Sets the axis line color.\n\n The 'outlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["outlinecolor"]\n\n @outlinecolor.setter\n def outlinecolor(self, val):\n self["outlinecolor"] = val\n\n @property\n def outlinewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'outlinewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["outlinewidth"]\n\n @outlinewidth.setter\n def outlinewidth(self, val):\n self["outlinewidth"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether or not the tick labels are drawn.\n\n The 'showticklabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showticklabels"]\n\n @showticklabels.setter\n def showticklabels(self, val):\n self["showticklabels"] = val\n\n @property\n def showtickprefix(self):\n """\n If "all", all tick labels are displayed with a prefix. If\n "first", only the first tick is displayed with a prefix. If\n "last", only the last tick is displayed with a suffix. If\n "none", tick prefixes are hidden.\n\n The 'showtickprefix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showtickprefix"]\n\n @showtickprefix.setter\n def showtickprefix(self, val):\n self["showtickprefix"] = val\n\n @property\n def showticksuffix(self):\n """\n Same as `showtickprefix` but for tick suffixes.\n\n The 'showticksuffix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticksuffix"]\n\n @showticksuffix.setter\n def showticksuffix(self, val):\n self["showticksuffix"] = val\n\n @property\n def thickness(self):\n """\n Sets the thickness of the color bar This measure excludes the\n size of the padding, ticks and labels.\n\n The 'thickness' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["thickness"]\n\n @thickness.setter\n def thickness(self, val):\n self["thickness"] = val\n\n @property\n def thicknessmode(self):\n """\n Determines whether this color bar's thickness (i.e. the measure\n in the constant color direction) is set in units of plot\n "fraction" or in "pixels". Use `thickness` to set the value.\n\n The 'thicknessmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fraction', 'pixels']\n\n Returns\n -------\n Any\n """\n return self["thicknessmode"]\n\n @thicknessmode.setter\n def thicknessmode(self, val):\n self["thicknessmode"] = val\n\n @property\n def tick0(self):\n """\n Sets the placement of the first tick on this axis. Use with\n `dtick`. If the axis `type` is "log", then you must take the\n log of your starting tick (e.g. to set the starting tick to\n 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see\n `dtick` for more info). If the axis `type` is "date", it should\n be a date string, like date data. If the axis `type` is\n "category", it should be a number, using the scale where each\n category is assigned a serial number from zero in the order it\n appears.\n\n The 'tick0' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["tick0"]\n\n @tick0.setter\n def tick0(self, val):\n self["tick0"] = val\n\n @property\n def tickangle(self):\n """\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the tick\n labels vertically.\n\n The 'tickangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["tickangle"]\n\n @tickangle.setter\n def tickangle(self, val):\n self["tickangle"] = val\n\n @property\n def tickcolor(self):\n """\n Sets the tick color.\n\n The 'tickcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["tickcolor"]\n\n @tickcolor.setter\n def tickcolor(self, val):\n self["tickcolor"] = val\n\n @property\n def tickfont(self):\n """\n Sets the color bar's tick label font\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.colorbar.Tickfont\n """\n return self["tickfont"]\n\n @tickfont.setter\n def tickfont(self, val):\n self["tickfont"] = val\n\n @property\n def tickformat(self):\n """\n Sets the tick label formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'tickformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickformat"]\n\n @tickformat.setter\n def tickformat(self, val):\n self["tickformat"] = val\n\n @property\n def tickformatstops(self):\n """\n The 'tickformatstops' property is a tuple of instances of\n Tickformatstop that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.choropleth.colorbar.Tickformatstop\n - A list or tuple of dicts of string/value properties that\n will be passed to the Tickformatstop constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.choropleth.colorbar.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as layout.template.data.choropleth.col\n orbar.tickformatstopdefaults), sets the default property values\n to use for elements of choropleth.colorbar.tickformatstops\n\n The 'tickformatstopdefaults' property is an instance of Tickformatstop\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickformatstop`\n - A dict of string/value properties that will be passed\n to the Tickformatstop constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.colorbar.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = val\n\n @property\n def ticklabeloverflow(self):\n """\n Determines how we handle tick labels that would overflow either\n the graph div or the domain of the axis. The default value for\n inside tick labels is *hide past domain*. In other cases the\n default is *hide past div*.\n\n The 'ticklabeloverflow' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['allow', 'hide past div', 'hide past domain']\n\n Returns\n -------\n Any\n """\n return self["ticklabeloverflow"]\n\n @ticklabeloverflow.setter\n def ticklabeloverflow(self, val):\n self["ticklabeloverflow"] = val\n\n @property\n def ticklabelposition(self):\n """\n Determines where tick labels are drawn relative to the ticks.\n Left and right options are used when `orientation` is "h", top\n and bottom when `orientation` is "v".\n\n The 'ticklabelposition' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['outside', 'inside', 'outside top', 'inside top',\n 'outside left', 'inside left', 'outside right', 'inside\n right', 'outside bottom', 'inside bottom']\n\n Returns\n -------\n Any\n """\n return self["ticklabelposition"]\n\n @ticklabelposition.setter\n def ticklabelposition(self, val):\n self["ticklabelposition"] = val\n\n @property\n def ticklabelstep(self):\n """\n Sets the spacing between tick labels as compared to the spacing\n between ticks. A value of 1 (default) means each tick gets a\n label. A value of 2 means shows every 2nd label. A larger value\n n means only every nth tick is labeled. `tick0` determines\n which labels are shown. Not implemented for axes with `type`\n "log" or "multicategory", or when `tickmode` is "array".\n\n The 'ticklabelstep' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["ticklabelstep"]\n\n @ticklabelstep.setter\n def ticklabelstep(self, val):\n self["ticklabelstep"] = val\n\n @property\n def ticklen(self):\n """\n Sets the tick length (in px).\n\n The 'ticklen' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["ticklen"]\n\n @ticklen.setter\n def ticklen(self, val):\n self["ticklen"] = val\n\n @property\n def tickmode(self):\n """\n Sets the tick mode for this axis. If "auto", the number of\n ticks is set via `nticks`. If "linear", the placement of the\n ticks is determined by a starting position `tick0` and a tick\n step `dtick` ("linear" is the default value if `tick0` and\n `dtick` are provided). If "array", the placement of the ticks\n is set via `tickvals` and the tick text is `ticktext`. ("array"\n is the default value if `tickvals` is provided).\n\n The 'tickmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', 'linear', 'array']\n\n Returns\n -------\n Any\n """\n return self["tickmode"]\n\n @tickmode.setter\n def tickmode(self, val):\n self["tickmode"] = val\n\n @property\n def tickprefix(self):\n """\n Sets a tick label prefix.\n\n The 'tickprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickprefix"]\n\n @tickprefix.setter\n def tickprefix(self, val):\n self["tickprefix"] = val\n\n @property\n def ticks(self):\n """\n Determines whether ticks are drawn or not. If "", this axis'\n ticks are not drawn. If "outside" ("inside"), this axis' are\n drawn outside (inside) the axis lines.\n\n The 'ticks' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['outside', 'inside', '']\n\n Returns\n -------\n Any\n """\n return self["ticks"]\n\n @ticks.setter\n def ticks(self, val):\n self["ticks"] = val\n\n @property\n def ticksuffix(self):\n """\n Sets a tick label suffix.\n\n The 'ticksuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["ticksuffix"]\n\n @ticksuffix.setter\n def ticksuffix(self, val):\n self["ticksuffix"] = val\n\n @property\n def ticktext(self):\n """\n Sets the text displayed at the ticks position via `tickvals`.\n Only has an effect if `tickmode` is set to "array". Used with\n `tickvals`.\n\n The 'ticktext' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["ticktext"]\n\n @ticktext.setter\n def ticktext(self, val):\n self["ticktext"] = val\n\n @property\n def ticktextsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `ticktext`.\n\n The 'ticktextsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["ticktextsrc"]\n\n @ticktextsrc.setter\n def ticktextsrc(self, val):\n self["ticktextsrc"] = val\n\n @property\n def tickvals(self):\n """\n Sets the values at which ticks on this axis appear. Only has an\n effect if `tickmode` is set to "array". Used with `ticktext`.\n\n The 'tickvals' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["tickvals"]\n\n @tickvals.setter\n def tickvals(self, val):\n self["tickvals"] = val\n\n @property\n def tickvalssrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `tickvals`.\n\n The 'tickvalssrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["tickvalssrc"]\n\n @tickvalssrc.setter\n def tickvalssrc(self, val):\n self["tickvalssrc"] = val\n\n @property\n def tickwidth(self):\n """\n Sets the tick width (in px).\n\n The 'tickwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["tickwidth"]\n\n @tickwidth.setter\n def tickwidth(self, val):\n self["tickwidth"] = val\n\n @property\n def title(self):\n """\n The 'title' property is an instance of Title\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.colorbar.Title`\n - A dict of string/value properties that will be passed\n to the Title constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.colorbar.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def x(self):\n """\n Sets the x position with respect to `xref` of the color bar (in\n plot fraction). When `xref` is "paper", defaults to 1.02 when\n `orientation` is "v" and 0.5 when `orientation` is "h". When\n `xref` is "container", defaults to 1 when `orientation` is "v"\n and 0.5 when `orientation` is "h". Must be between 0 and 1 if\n `xref` is "container" and between "-2" and 3 if `xref` is\n "paper".\n\n The 'x' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def xanchor(self):\n """\n Sets this color bar's horizontal position anchor. This anchor\n binds the `x` position to the "left", "center" or "right" of\n the color bar. Defaults to "left" when `orientation` is "v" and\n "center" when `orientation` is "h".\n\n The 'xanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'center', 'right']\n\n Returns\n -------\n Any\n """\n return self["xanchor"]\n\n @xanchor.setter\n def xanchor(self, val):\n self["xanchor"] = val\n\n @property\n def xpad(self):\n """\n Sets the amount of padding (in px) along the x direction.\n\n The 'xpad' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["xpad"]\n\n @xpad.setter\n def xpad(self, val):\n self["xpad"] = val\n\n @property\n def xref(self):\n """\n Sets the container `x` refers to. "container" spans the entire\n `width` of the plot. "paper" refers to the width of the\n plotting area only.\n\n The 'xref' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['container', 'paper']\n\n Returns\n -------\n Any\n """\n return self["xref"]\n\n @xref.setter\n def xref(self, val):\n self["xref"] = val\n\n @property\n def y(self):\n """\n Sets the y position with respect to `yref` of the color bar (in\n plot fraction). When `yref` is "paper", defaults to 0.5 when\n `orientation` is "v" and 1.02 when `orientation` is "h". When\n `yref` is "container", defaults to 0.5 when `orientation` is\n "v" and 1 when `orientation` is "h". Must be between 0 and 1 if\n `yref` is "container" and between "-2" and 3 if `yref` is\n "paper".\n\n The 'y' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def yanchor(self):\n """\n Sets this color bar's vertical position anchor This anchor\n binds the `y` position to the "top", "middle" or "bottom" of\n the color bar. Defaults to "middle" when `orientation` is "v"\n and "bottom" when `orientation` is "h".\n\n The 'yanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top', 'middle', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["yanchor"]\n\n @yanchor.setter\n def yanchor(self, val):\n self["yanchor"] = val\n\n @property\n def ypad(self):\n """\n Sets the amount of padding (in px) along the y direction.\n\n The 'ypad' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["ypad"]\n\n @ypad.setter\n def ypad(self, val):\n self["ypad"] = val\n\n @property\n def yref(self):\n """\n Sets the container `y` refers to. "container" spans the entire\n `height` of the plot. "paper" refers to the height of the\n plotting area only.\n\n The 'yref' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['container', 'paper']\n\n Returns\n -------\n Any\n """\n return self["yref"]\n\n @yref.setter\n def yref(self, val):\n self["yref"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\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 this\n color bar.\n dtick\n Sets the step in-between ticks on this axis. Use with\n `tick0`. Must be a positive number, or special strings\n available to "log" and "date" axes. If the axis `type`\n is "log", then ticks are set every 10^(n*dtick) where n\n is the tick number. For example, to set a tick mark at\n 1, 10, 100, 1000, ... set dtick to 1. To set tick marks\n at 1, 100, 10000, ... set dtick to 2. To set tick marks\n at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special\n values; "L<f>", where `f` is a positive number, gives\n ticks linearly spaced in value (but not position). For\n example `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 plus\n small digits between, use "D1" (all digits) or "D2"\n (only 2 and 5). `tick0` is ignored for "D1" and "D2".\n If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval\n between ticks to one day, set `dtick` to 86400000.0.\n "date" also has special values "M<n>" gives ticks\n spaced by a number of months. `n` must be a positive\n integer. To set ticks on the 15th of every third month,\n set `tick0` to "2000-01-15" and `dtick` to "M3". To set\n ticks every 4 years, set `dtick` to "M48"\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n len\n Sets the length of the color bar This measure excludes\n the padding of both ends. That is, the color bar length\n is this length minus the padding on both ends.\n lenmode\n Determines whether this color bar's length (i.e. the\n measure in the color variation direction) is set in\n units of plot "fraction" or in *pixels. Use `len` to\n set the value.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number.\n This only has an effect when `tickformat` is "SI" or\n "B".\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n orientation\n Sets the orientation of the colorbar.\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 the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "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 measure\n excludes the size of the padding, ticks and labels.\n thicknessmode\n Determines whether this color bar's thickness (i.e. the\n measure in the constant color direction) is set in\n units of plot "fraction" or in "pixels". Use\n `thickness` to set the value.\n tick0\n Sets the placement of the first tick on this axis. Use\n with `dtick`. If the axis `type` is "log", then you\n must take the log of your starting tick (e.g. to set\n the starting tick to 100, set the `tick0` to 2) except\n when `dtick`=*L<f>* (see `dtick` for more info). If the\n axis `type` is "date", it should be a date string, like\n date data. If the axis `type` is "category", it should\n be a number, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n 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 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.choropleth.colo\n rbar.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.chorop\n leth.colorbar.tickformatstopdefaults), sets the default\n property values to use for elements of\n choropleth.colorbar.tickformatstops\n ticklabeloverflow\n Determines how we handle tick labels that would\n overflow either the graph div or the domain of the\n axis. The default value for inside tick labels is *hide\n past domain*. In other cases the default is *hide past\n div*.\n ticklabelposition\n Determines where tick labels are drawn relative to the\n ticks. Left and right options are used when\n `orientation` is "h", top and bottom when `orientation`\n is "v".\n ticklabelstep\n Sets the spacing between tick labels as compared to the\n spacing between ticks. A value of 1 (default) means\n each tick gets a label. A value of 2 means shows every\n 2nd label. A larger value n means only every nth tick\n is labeled. `tick0` determines which labels are shown.\n Not implemented for axes with `type` "log" or\n "multicategory", or when `tickmode` is "array".\n ticklen\n Sets the tick length (in px).\n tickmode\n Sets the tick mode for this axis. If "auto", the number\n of ticks is set via `nticks`. If "linear", the\n placement of the ticks is determined by a starting\n position `tick0` and a tick step `dtick` ("linear" is\n the default value if `tick0` and `dtick` are provided).\n If "array", the placement of the ticks is set via\n `tickvals` and the tick text is `ticktext`. ("array" is\n the default value if `tickvals` is provided).\n tickprefix\n Sets a tick label prefix.\n ticks\n Determines whether ticks are drawn or not. If "", this\n axis' ticks are not drawn. If "outside" ("inside"),\n this axis' are drawn outside (inside) the axis lines.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n title\n :class:`plotly.graph_objects.choropleth.colorbar.Title`\n instance or dict with compatible properties\n x\n Sets the x position with respect to `xref` of the color\n bar (in plot fraction). When `xref` is "paper",\n defaults to 1.02 when `orientation` is "v" and 0.5 when\n `orientation` is "h". When `xref` is "container",\n defaults to 1 when `orientation` is "v" and 0.5 when\n `orientation` is "h". Must be between 0 and 1 if `xref`\n is "container" and between "-2" and 3 if `xref` is\n "paper".\n xanchor\n Sets this color bar's horizontal position anchor. This\n anchor binds the `x` position to the "left", "center"\n or "right" of the color bar. Defaults to "left" when\n `orientation` is "v" and "center" when `orientation` is\n "h".\n xpad\n Sets the amount of padding (in px) along the x\n direction.\n xref\n Sets the container `x` refers to. "container" spans the\n entire `width` of the plot. "paper" refers to the width\n of the plotting area only.\n y\n Sets the y position with respect to `yref` of the color\n bar (in plot fraction). When `yref` is "paper",\n defaults to 0.5 when `orientation` is "v" and 1.02 when\n `orientation` is "h". When `yref` is "container",\n defaults to 0.5 when `orientation` is "v" and 1 when\n `orientation` is "h". Must be between 0 and 1 if `yref`\n is "container" and between "-2" and 3 if `yref` is\n "paper".\n yanchor\n Sets this color bar's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the color bar. Defaults to "middle" when\n `orientation` is "v" and "bottom" when `orientation` is\n "h".\n ypad\n Sets the amount of padding (in px) along the y\n direction.\n yref\n Sets the container `y` refers to. "container" spans the\n entire `height` of the plot. "paper" refers to the\n height of the plotting area only.\n """\n\n def __init__(\n self,\n arg=None,\n bgcolor=None,\n bordercolor=None,\n borderwidth=None,\n dtick=None,\n exponentformat=None,\n labelalias=None,\n len=None,\n lenmode=None,\n minexponent=None,\n nticks=None,\n orientation=None,\n outlinecolor=None,\n outlinewidth=None,\n separatethousands=None,\n showexponent=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n thickness=None,\n thicknessmode=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=None,\n ticklabeloverflow=None,\n ticklabelposition=None,\n ticklabelstep=None,\n ticklen=None,\n tickmode=None,\n tickprefix=None,\n ticks=None,\n ticksuffix=None,\n ticktext=None,\n ticktextsrc=None,\n tickvals=None,\n tickvalssrc=None,\n tickwidth=None,\n title=None,\n x=None,\n xanchor=None,\n xpad=None,\n xref=None,\n y=None,\n yanchor=None,\n ypad=None,\n yref=None,\n **kwargs,\n ):\n """\n Construct a new ColorBar object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.ColorBar`\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 this\n color bar.\n dtick\n Sets the step in-between ticks on this axis. Use with\n `tick0`. Must be a positive number, or special strings\n available to "log" and "date" axes. If the axis `type`\n is "log", then ticks are set every 10^(n*dtick) where n\n is the tick number. For example, to set a tick mark at\n 1, 10, 100, 1000, ... set dtick to 1. To set tick marks\n at 1, 100, 10000, ... set dtick to 2. To set tick marks\n at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special\n values; "L<f>", where `f` is a positive number, gives\n ticks linearly spaced in value (but not position). For\n example `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 plus\n small digits between, use "D1" (all digits) or "D2"\n (only 2 and 5). `tick0` is ignored for "D1" and "D2".\n If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval\n between ticks to one day, set `dtick` to 86400000.0.\n "date" also has special values "M<n>" gives ticks\n spaced by a number of months. `n` must be a positive\n integer. To set ticks on the 15th of every third month,\n set `tick0` to "2000-01-15" and `dtick` to "M3". To set\n ticks every 4 years, set `dtick` to "M48"\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n len\n Sets the length of the color bar This measure excludes\n the padding of both ends. That is, the color bar length\n is this length minus the padding on both ends.\n lenmode\n Determines whether this color bar's length (i.e. the\n measure in the color variation direction) is set in\n units of plot "fraction" or in *pixels. Use `len` to\n set the value.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number.\n This only has an effect when `tickformat` is "SI" or\n "B".\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n orientation\n Sets the orientation of the colorbar.\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 the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "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 measure\n excludes the size of the padding, ticks and labels.\n thicknessmode\n Determines whether this color bar's thickness (i.e. the\n measure in the constant color direction) is set in\n units of plot "fraction" or in "pixels". Use\n `thickness` to set the value.\n tick0\n Sets the placement of the first tick on this axis. Use\n with `dtick`. If the axis `type` is "log", then you\n must take the log of your starting tick (e.g. to set\n the starting tick to 100, set the `tick0` to 2) except\n when `dtick`=*L<f>* (see `dtick` for more info). If the\n axis `type` is "date", it should be a date string, like\n date data. If the axis `type` is "category", it should\n be a number, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n 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 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.choropleth.colo\n rbar.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.chorop\n leth.colorbar.tickformatstopdefaults), sets the default\n property values to use for elements of\n choropleth.colorbar.tickformatstops\n ticklabeloverflow\n Determines how we handle tick labels that would\n overflow either the graph div or the domain of the\n axis. The default value for inside tick labels is *hide\n past domain*. In other cases the default is *hide past\n div*.\n ticklabelposition\n Determines where tick labels are drawn relative to the\n ticks. Left and right options are used when\n `orientation` is "h", top and bottom when `orientation`\n is "v".\n ticklabelstep\n Sets the spacing between tick labels as compared to the\n spacing between ticks. A value of 1 (default) means\n each tick gets a label. A value of 2 means shows every\n 2nd label. A larger value n means only every nth tick\n is labeled. `tick0` determines which labels are shown.\n Not implemented for axes with `type` "log" or\n "multicategory", or when `tickmode` is "array".\n ticklen\n Sets the tick length (in px).\n tickmode\n Sets the tick mode for this axis. If "auto", the number\n of ticks is set via `nticks`. If "linear", the\n placement of the ticks is determined by a starting\n position `tick0` and a tick step `dtick` ("linear" is\n the default value if `tick0` and `dtick` are provided).\n If "array", the placement of the ticks is set via\n `tickvals` and the tick text is `ticktext`. ("array" is\n the default value if `tickvals` is provided).\n tickprefix\n Sets a tick label prefix.\n ticks\n Determines whether ticks are drawn or not. If "", this\n axis' ticks are not drawn. If "outside" ("inside"),\n this axis' are drawn outside (inside) the axis lines.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n title\n :class:`plotly.graph_objects.choropleth.colorbar.Title`\n instance or dict with compatible properties\n x\n Sets the x position with respect to `xref` of the color\n bar (in plot fraction). When `xref` is "paper",\n defaults to 1.02 when `orientation` is "v" and 0.5 when\n `orientation` is "h". When `xref` is "container",\n defaults to 1 when `orientation` is "v" and 0.5 when\n `orientation` is "h". Must be between 0 and 1 if `xref`\n is "container" and between "-2" and 3 if `xref` is\n "paper".\n xanchor\n Sets this color bar's horizontal position anchor. This\n anchor binds the `x` position to the "left", "center"\n or "right" of the color bar. Defaults to "left" when\n `orientation` is "v" and "center" when `orientation` is\n "h".\n xpad\n Sets the amount of padding (in px) along the x\n direction.\n xref\n Sets the container `x` refers to. "container" spans the\n entire `width` of the plot. "paper" refers to the width\n of the plotting area only.\n y\n Sets the y position with respect to `yref` of the color\n bar (in plot fraction). When `yref` is "paper",\n defaults to 0.5 when `orientation` is "v" and 1.02 when\n `orientation` is "h". When `yref` is "container",\n defaults to 0.5 when `orientation` is "v" and 1 when\n `orientation` is "h". Must be between 0 and 1 if `yref`\n is "container" and between "-2" and 3 if `yref` is\n "paper".\n yanchor\n Sets this color bar's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the color bar. Defaults to "middle" when\n `orientation` is "v" and "bottom" when `orientation` is\n "h".\n ypad\n Sets the amount of padding (in px) along the y\n direction.\n yref\n Sets the container `y` refers to. "container" spans the\n entire `height` of the plot. "paper" refers to the\n height of the plotting area only.\n\n Returns\n -------\n ColorBar\n """\n super().__init__("colorbar")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.ColorBar\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.ColorBar`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("borderwidth", arg, borderwidth)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("len", arg, len)\n self._set_property("lenmode", arg, lenmode)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("nticks", arg, nticks)\n self._set_property("orientation", arg, orientation)\n self._set_property("outlinecolor", arg, outlinecolor)\n self._set_property("outlinewidth", arg, outlinewidth)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("thickness", arg, thickness)\n self._set_property("thicknessmode", arg, thicknessmode)\n self._set_property("tick0", arg, tick0)\n self._set_property("tickangle", arg, tickangle)\n self._set_property("tickcolor", arg, tickcolor)\n self._set_property("tickfont", arg, tickfont)\n self._set_property("tickformat", arg, tickformat)\n self._set_property("tickformatstops", arg, tickformatstops)\n self._set_property("tickformatstopdefaults", arg, tickformatstopdefaults)\n self._set_property("ticklabeloverflow", arg, ticklabeloverflow)\n self._set_property("ticklabelposition", arg, ticklabelposition)\n self._set_property("ticklabelstep", arg, ticklabelstep)\n self._set_property("ticklen", arg, ticklen)\n self._set_property("tickmode", arg, tickmode)\n self._set_property("tickprefix", arg, tickprefix)\n self._set_property("ticks", arg, ticks)\n self._set_property("ticksuffix", arg, ticksuffix)\n self._set_property("ticktext", arg, ticktext)\n self._set_property("ticktextsrc", arg, ticktextsrc)\n self._set_property("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("tickwidth", arg, tickwidth)\n self._set_property("title", arg, title)\n self._set_property("x", arg, x)\n self._set_property("xanchor", arg, xanchor)\n self._set_property("xpad", arg, xpad)\n self._set_property("xref", arg, xref)\n self._set_property("y", arg, y)\n self._set_property("yanchor", arg, yanchor)\n self._set_property("ypad", arg, ypad)\n self._set_property("yref", arg, yref)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_colorbar.py
_colorbar.py
Python
60,406
0.75
0.116212
0.001978
vue-tools
852
2024-08-10T21:57:46.782031
Apache-2.0
false
aaab9be7be71be37f4eb4c1b6a2f03cf
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Hoverlabel(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.hoverlabel"\n _valid_props = {\n "align",\n "alignsrc",\n "bgcolor",\n "bgcolorsrc",\n "bordercolor",\n "bordercolorsrc",\n "font",\n "namelength",\n "namelengthsrc",\n }\n\n @property\n def align(self):\n """\n Sets the horizontal alignment of the text content within hover\n label box. Has an effect only if the hover label text spans\n more two or more lines\n\n The 'align' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'right', 'auto']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["align"]\n\n @align.setter\n def align(self, val):\n self["align"] = val\n\n @property\n def alignsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `align`.\n\n The 'alignsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["alignsrc"]\n\n @alignsrc.setter\n def alignsrc(self, val):\n self["alignsrc"] = val\n\n @property\n def bgcolor(self):\n """\n Sets the background color of the hover labels for this trace\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bgcolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `bgcolor`.\n\n The 'bgcolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bgcolorsrc"]\n\n @bgcolorsrc.setter\n def bgcolorsrc(self, val):\n self["bgcolorsrc"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the border color of the hover labels for this trace.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def bordercolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n\n The 'bordercolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bordercolorsrc"]\n\n @bordercolorsrc.setter\n def bordercolorsrc(self, val):\n self["bordercolorsrc"] = val\n\n @property\n def font(self):\n """\n Sets the font used in hover labels.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.hoverlabel.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.hoverlabel.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def namelength(self):\n """\n Sets the default length (in number of characters) of the trace\n name in the hover labels for all traces. -1 shows the whole\n name regardless of length. 0-3 shows the first 0-3 characters,\n and an integer >3 will show the whole name if it is less than\n that many characters, but if it is longer, will truncate to\n `namelength - 3` characters and add an ellipsis.\n\n The 'namelength' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [-1, 9223372036854775807]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["namelength"]\n\n @namelength.setter\n def namelength(self, val):\n self["namelength"] = val\n\n @property\n def namelengthsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n The 'namelengthsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["namelengthsrc"]\n\n @namelengthsrc.setter\n def namelengthsrc(self, val):\n self["namelengthsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n """\n\n def __init__(\n self,\n arg=None,\n align=None,\n alignsrc=None,\n bgcolor=None,\n bgcolorsrc=None,\n bordercolor=None,\n bordercolorsrc=None,\n font=None,\n namelength=None,\n namelengthsrc=None,\n **kwargs,\n ):\n """\n Construct a new Hoverlabel object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.Hoverlabel`\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n Returns\n -------\n Hoverlabel\n """\n super().__init__("hoverlabel")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.Hoverlabel`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("align", arg, align)\n self._set_property("alignsrc", arg, alignsrc)\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bgcolorsrc", arg, bgcolorsrc)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("bordercolorsrc", arg, bordercolorsrc)\n self._set_property("font", arg, font)\n self._set_property("namelength", arg, namelength)\n self._set_property("namelengthsrc", arg, namelengthsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_hoverlabel.py
_hoverlabel.py
Python
10,478
0.95
0.171598
0.010274
vue-tools
109
2024-02-12T11:02:09.986458
Apache-2.0
false
badefff9abcb83f0ce8990fdab59f427
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.legendgrouptitle"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this legend group's title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.legendgrouptitle.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.legendgrouptitle.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of the legend group.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Legendgrouptitle object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.Legendgrouptitle`\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n\n Returns\n -------\n Legendgrouptitle\n """\n super().__init__("legendgrouptitle")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.Legendgrouptitle`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,960
0.95
0.115385
0.023256
awesome-app
918
2024-08-07T14:38:12.824491
Apache-2.0
false
fccf59980deb665026147850ec23b42e
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Marker(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.marker"\n _valid_props = {"line", "opacity", "opacitysrc"}\n\n @property\n def line(self):\n """\n The 'line' property is an instance of Line\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.marker.Line`\n - A dict of string/value properties that will be passed\n to the Line constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.marker.Line\n """\n return self["line"]\n\n @line.setter\n def line(self, val):\n self["line"] = val\n\n @property\n def opacity(self):\n """\n Sets the opacity of the locations.\n\n The 'opacity' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["opacity"]\n\n @opacity.setter\n def opacity(self, val):\n self["opacity"] = val\n\n @property\n def opacitysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `opacity`.\n\n The 'opacitysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["opacitysrc"]\n\n @opacitysrc.setter\n def opacitysrc(self, val):\n self["opacitysrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n line\n :class:`plotly.graph_objects.choropleth.marker.Line`\n instance or dict with compatible properties\n opacity\n Sets the opacity of the locations.\n opacitysrc\n Sets the source reference on Chart Studio Cloud for\n `opacity`.\n """\n\n def __init__(self, arg=None, line=None, opacity=None, opacitysrc=None, **kwargs):\n """\n Construct a new Marker object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.Marker`\n line\n :class:`plotly.graph_objects.choropleth.marker.Line`\n instance or dict with compatible properties\n opacity\n Sets the opacity of the locations.\n opacitysrc\n Sets the source reference on Chart Studio Cloud for\n `opacity`.\n\n Returns\n -------\n Marker\n """\n super().__init__("marker")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("line", arg, line)\n self._set_property("opacity", arg, opacity)\n self._set_property("opacitysrc", arg, opacitysrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_marker.py
_marker.py
Python
3,771
0.95
0.147287
0.018519
awesome-app
327
2025-03-08T00:16:03.723618
Apache-2.0
false
9413f89164536492f11d5b6c200072fd
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Selected(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.selected"\n _valid_props = {"marker"}\n\n @property\n def marker(self):\n """\n The 'marker' property is an instance of Marker\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.selected.Marker`\n - A dict of string/value properties that will be passed\n to the Marker constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.selected.Marker\n """\n return self["marker"]\n\n @marker.setter\n def marker(self, val):\n self["marker"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n marker\n :class:`plotly.graph_objects.choropleth.selected.Marker\n ` instance or dict with compatible properties\n """\n\n def __init__(self, arg=None, marker=None, **kwargs):\n """\n Construct a new Selected object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.Selected`\n marker\n :class:`plotly.graph_objects.choropleth.selected.Marker\n ` instance or dict with compatible properties\n\n Returns\n -------\n Selected\n """\n super().__init__("selected")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.Selected\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.Selected`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("marker", arg, marker)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_selected.py
_selected.py
Python
2,443
0.95
0.15
0.029851
node-utils
540
2024-06-09T11:53:34.180248
Apache-2.0
false
4fee7d55d222472857ede86da326e639
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Stream(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.stream"\n _valid_props = {"maxpoints", "token"}\n\n @property\n def maxpoints(self):\n """\n Sets the maximum number of points to keep on the plots from an\n incoming stream. If `maxpoints` is set to 50, only the newest\n 50 points will be displayed on the plot.\n\n The 'maxpoints' property is a number and may be specified as:\n - An int or float in the interval [0, 10000]\n\n Returns\n -------\n int|float\n """\n return self["maxpoints"]\n\n @maxpoints.setter\n def maxpoints(self, val):\n self["maxpoints"] = val\n\n @property\n def token(self):\n """\n The stream id number links a data trace on a plot with a\n stream. See https://chart-studio.plotly.com/settings for more\n details.\n\n The 'token' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["token"]\n\n @token.setter\n def token(self, val):\n self["token"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n """\n\n def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):\n """\n Construct a new Stream object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.Stream`\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n\n Returns\n -------\n Stream\n """\n super().__init__("stream")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.Stream`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("maxpoints", arg, maxpoints)\n self._set_property("token", arg, token)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_stream.py
_stream.py
Python
3,526
0.95
0.122807
0.020833
python-kit
940
2024-06-30T09:28:42.674861
GPL-3.0
false
420c2b2512b64ca789e708e09fdc86da
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Unselected(_BaseTraceHierarchyType):\n _parent_path_str = "choropleth"\n _path_str = "choropleth.unselected"\n _valid_props = {"marker"}\n\n @property\n def marker(self):\n """\n The 'marker' property is an instance of Marker\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.choropleth.unselected.Marker`\n - A dict of string/value properties that will be passed\n to the Marker constructor\n\n Returns\n -------\n plotly.graph_objs.choropleth.unselected.Marker\n """\n return self["marker"]\n\n @marker.setter\n def marker(self, val):\n self["marker"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n marker\n :class:`plotly.graph_objects.choropleth.unselected.Mark\n er` instance or dict with compatible properties\n """\n\n def __init__(self, arg=None, marker=None, **kwargs):\n """\n Construct a new Unselected object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choropleth.Unselected`\n marker\n :class:`plotly.graph_objects.choropleth.unselected.Mark\n er` instance or dict with compatible properties\n\n Returns\n -------\n Unselected\n """\n super().__init__("unselected")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choropleth.Unselected\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choropleth.Unselected`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("marker", arg, marker)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\_unselected.py
_unselected.py
Python
2,467
0.95
0.15
0.029851
node-utils
257
2023-09-01T12:34:11.075779
Apache-2.0
false
52d2f413ab079b6b2fa5590c59b4194a
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._colorbar import ColorBar\n from ._hoverlabel import Hoverlabel\n from ._legendgrouptitle import Legendgrouptitle\n from ._marker import Marker\n from ._selected import Selected\n from ._stream import Stream\n from ._unselected import Unselected\n from . import colorbar\n from . import hoverlabel\n from . import legendgrouptitle\n from . import marker\n from . import selected\n from . import unselected\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [\n ".colorbar",\n ".hoverlabel",\n ".legendgrouptitle",\n ".marker",\n ".selected",\n ".unselected",\n ],\n [\n "._colorbar.ColorBar",\n "._hoverlabel.Hoverlabel",\n "._legendgrouptitle.Legendgrouptitle",\n "._marker.Marker",\n "._selected.Selected",\n "._stream.Stream",\n "._unselected.Unselected",\n ],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\choropleth\__init__.py
__init__.py
Python
1,106
0.85
0.025
0
node-utils
248
2024-08-14T20:54:39.677370
MIT
false
2b9f61aa3dc40440eb77e3d8d6184dc3