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\bar\marker\colorbar\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
10,982
0.8
0.04918
0
vue-tools
796
2023-11-29T22:05:43.694301
GPL-3.0
false
a395ff35630613055059f789ba9a11f9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\colorbar\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,309
0.8
0.024876
0.005348
react-lib
112
2025-02-13T10:31:10.896034
GPL-3.0
false
476cf8886bde1bf25ad7868be4996b7c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\colorbar\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,898
0.8
0.087379
0
vue-tools
378
2025-04-08T02:12:02.149384
GPL-3.0
false
c804441b3754731217d226666b78f580
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\colorbar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
711
0.95
0
0
node-utils
959
2023-08-15T05:44:24.288727
GPL-3.0
false
d1c0d7e8a400c876f7363c59138cfa6e
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\__pycache__\_colorbar.cpython-313.pyc
_colorbar.cpython-313.pyc
Other
61,259
0.6
0.082413
0
node-utils
872
2024-12-13T07:17:10.006327
Apache-2.0
false
75675c8ea4f58ad546037209ff7af216
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
21,267
0.95
0.113744
0
vue-tools
550
2024-12-27T23:22:56.138774
BSD-3-Clause
false
134003837002550fa3eced84fe2d164e
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\__pycache__\_pattern.cpython-313.pyc
_pattern.cpython-313.pyc
Other
14,431
0.8
0.071429
0
node-utils
991
2024-12-09T14:20:30.173978
Apache-2.0
false
ac9de78b62024f8856acc07031d680c2
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\marker\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
676
0.95
0
0
awesome-app
581
2025-02-05T20:04:24.186156
Apache-2.0
false
b52d2d80248054da7cd94883fc0f1dd4
# --- 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 = "bar.selected"\n _path_str = "bar.selected.marker"\n _valid_props = {"color", "opacity"}\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 _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 """\n\n def __init__(self, arg=None, color=None, opacity=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.bar.selected.Marker`\n color\n Sets the marker color of selected points.\n opacity\n Sets the marker opacity 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.bar.selected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.bar.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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\bar\selected\_marker.py
_marker.py
Python
2,991
0.95
0.115385
0.023256
vue-tools
986
2024-10-01T19:43:40.827921
Apache-2.0
false
c40f7d36ed0cf277fde8e31397cdb9ce
# --- 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 Textfont(_BaseTraceHierarchyType):\n _parent_path_str = "bar.selected"\n _path_str = "bar.selected.textfont"\n _valid_props = {"color"}\n\n @property\n def color(self):\n """\n Sets the text font 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 _prop_descriptions(self):\n return """\\n color\n Sets the text font color of selected points.\n """\n\n def __init__(self, arg=None, color=None, **kwargs):\n """\n Construct a new Textfont 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.bar.selected.Textfont`\n color\n Sets the text font color of selected points.\n\n Returns\n -------\n Textfont\n """\n super().__init__("textfont")\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.bar.selected.Textfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.bar.selected.Textfont`""")\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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\bar\selected\_textfont.py
_textfont.py
Python
2,400
0.95
0.123457
0.029851
react-lib
467
2024-06-07T16:31:01.452380
Apache-2.0
false
9175846ae4c3f1dcd925bd36b4d7a526
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\n from ._textfont import Textfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._marker.Marker", "._textfont.Textfont"]\n )\n
.venv\Lib\site-packages\plotly\graph_objs\bar\selected\__init__.py
__init__.py
Python
318
0.85
0.083333
0
awesome-app
89
2025-05-31T08:01:09.558205
Apache-2.0
false
7c7ff7a062dbdda499f13a5c14a6ba56
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\selected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
3,841
0.8
0.034483
0
react-lib
966
2025-01-07T06:58:30.679089
BSD-3-Clause
false
5284eb4337a3a47360ae4476124bdf00
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\selected\__pycache__\_textfont.cpython-313.pyc
_textfont.cpython-313.pyc
Other
3,173
0.8
0.051724
0
python-kit
198
2023-11-28T12:39:35.783822
Apache-2.0
false
fd8243f7266a83bf350262d5f09a4864
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\selected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
580
0.95
0
0
react-lib
811
2024-12-20T04:58:02.727084
GPL-3.0
false
af70a4b952d4cd4f1b3d8377726a90cb
# --- 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 = "bar.unselected"\n _path_str = "bar.unselected.marker"\n _valid_props = {"color", "opacity"}\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 _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 """\n\n def __init__(self, arg=None, color=None, opacity=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.bar.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\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.bar.unselected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.bar.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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\bar\unselected\_marker.py
_marker.py
Python
3,305
0.95
0.109091
0.021739
vue-tools
702
2025-01-18T20:24:13.914901
Apache-2.0
false
653aee1b8670f374ac5e49abc9f7b59d
# --- 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 Textfont(_BaseTraceHierarchyType):\n _parent_path_str = "bar.unselected"\n _path_str = "bar.unselected.textfont"\n _valid_props = {"color"}\n\n @property\n def color(self):\n """\n Sets the text font color of unselected points, applied only\n when a 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 _prop_descriptions(self):\n return """\\n color\n Sets the text font color of unselected points, applied\n only when a selection exists.\n """\n\n def __init__(self, arg=None, color=None, **kwargs):\n """\n Construct a new Textfont 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.bar.unselected.Textfont`\n color\n Sets the text font color of unselected points, applied\n only when a selection exists.\n\n Returns\n -------\n Textfont\n """\n super().__init__("textfont")\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.bar.unselected.Textfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.bar.unselected.Textfont`""")\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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\bar\unselected\_textfont.py
_textfont.py
Python
2,562
0.95
0.119048
0.028571
vue-tools
425
2025-07-02T05:18:38.599531
Apache-2.0
false
189d5e52c74441c1ac3ebb8498c2b323
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\n from ._textfont import Textfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._marker.Marker", "._textfont.Textfont"]\n )\n
.venv\Lib\site-packages\plotly\graph_objs\bar\unselected\__init__.py
__init__.py
Python
318
0.85
0.083333
0
awesome-app
316
2023-10-09T20:31:26.960742
MIT
false
7c7ff7a062dbdda499f13a5c14a6ba56
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\unselected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
4,125
0.8
0.032258
0
react-lib
573
2025-01-09T19:38:40.463177
GPL-3.0
false
b6d6c49ff9de51a4a37e37113c4c51bf
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\unselected\__pycache__\_textfont.cpython-313.pyc
_textfont.cpython-313.pyc
Other
3,321
0.8
0.048387
0
awesome-app
571
2025-03-04T18:19:24.157793
BSD-3-Clause
false
bb32221e818a66832ab929e1645787e9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\unselected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
582
0.95
0
0
python-kit
995
2024-11-28T23:49:59.641543
Apache-2.0
false
e277a1e224a62d8c4d8f0a0fa988d509
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_error_x.cpython-313.pyc
_error_x.cpython-313.pyc
Other
16,055
0.8
0.095652
0
vue-tools
790
2025-06-29T20:15:13.024199
BSD-3-Clause
false
641fd40051c532dba9f24262d4b23707
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_error_y.cpython-313.pyc
_error_y.cpython-313.pyc
Other
15,506
0.8
0.099398
0
python-kit
644
2023-12-22T15:08:48.143030
MIT
false
d65f0df9ffc7694ec438ea8a0a70d6d8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_hoverlabel.cpython-313.pyc
_hoverlabel.cpython-313.pyc
Other
11,348
0.8
0.142276
0
node-utils
165
2024-10-24T17:11:57.915758
MIT
false
adfe165aabc55ff7b1815646c70031a3
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_insidetextfont.cpython-313.pyc
_insidetextfont.cpython-313.pyc
Other
18,606
0.8
0.104167
0
awesome-app
236
2024-01-09T21:56:30.342168
MIT
false
9ef72937609b0f5d349c678524c0f834
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,822
0.8
0.04
0
awesome-app
717
2023-09-10T12:27:08.295103
Apache-2.0
false
7281166447eae23e7cc4fdbb3eb41989
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
25,695
0.95
0.126733
0
node-utils
438
2024-12-01T11:31:39.100646
GPL-3.0
false
509d42bb11b618c2c5a65cf8c695aa58
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_outsidetextfont.cpython-313.pyc
_outsidetextfont.cpython-313.pyc
Other
18,636
0.8
0.104167
0
react-lib
241
2023-09-01T10:38:00.879798
GPL-3.0
false
4e58f5979e8add30b5a763b6199f69e1
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_selected.cpython-313.pyc
_selected.cpython-313.pyc
Other
4,088
0.8
0.106667
0
python-kit
380
2024-06-08T08:26:19.367729
MIT
false
247b969d0d23be1bfd1fd603285ab69d
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,278
0.8
0.054348
0
react-lib
894
2024-09-17T13:56:06.085549
BSD-3-Clause
false
b9659707998ca66e86418208b2fcd2a5
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_textfont.cpython-313.pyc
_textfont.cpython-313.pyc
Other
18,403
0.8
0.104167
0
awesome-app
363
2024-06-15T00:48:51.357296
GPL-3.0
false
001de9cb90ffc958f059aba97edaaa16
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\_unselected.cpython-313.pyc
_unselected.cpython-313.pyc
Other
4,134
0.8
0.102564
0
vue-tools
816
2024-06-15T13:48:32.104579
BSD-3-Clause
false
edddba313c6ae8f09ca488d01e6c918c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\bar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,469
0.95
0
0
node-utils
333
2024-12-15T17:10:07.311270
GPL-3.0
false
521c9512e9b371d4501aedb384a18d22
# --- 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 = "barpolar"\n _path_str = "barpolar.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.barpolar.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.barpolar.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.barpolar.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.barpolar.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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\barpolar\_hoverlabel.py
_hoverlabel.py
Python
10,464
0.95
0.171598
0.010274
vue-tools
796
2023-09-12T12:28:49.251900
Apache-2.0
false
dea7fea2b4457196641948d56482933c
# --- 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 = "barpolar"\n _path_str = "barpolar.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.barpolar.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.barpolar.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.barpolar.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.barpolar.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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\barpolar\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,946
0.95
0.115385
0.023256
vue-tools
872
2024-12-17T22:36:29.846232
GPL-3.0
false
1add09e6fc24cca96a267f95e36b37e9
# --- 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 = "barpolar"\n _path_str = "barpolar.marker"\n _valid_props = {\n "autocolorscale",\n "cauto",\n "cmax",\n "cmid",\n "cmin",\n "color",\n "coloraxis",\n "colorbar",\n "colorscale",\n "colorsrc",\n "line",\n "opacity",\n "opacitysrc",\n "pattern",\n "reversescale",\n "showscale",\n }\n\n @property\n def autocolorscale(self):\n """\n Determines whether the colorscale is a default palette\n (`autocolorscale: true`) or the palette determined by\n `marker.colorscale`. Has an effect only if in `marker.color` is\n set to a numerical array. In case `colorscale` is unspecified\n or `autocolorscale` is true, the default palette will be chosen\n according to whether numbers in the `color` array are all\n positive, all negative or mixed.\n\n The 'autocolorscale' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["autocolorscale"]\n\n @autocolorscale.setter\n def autocolorscale(self, val):\n self["autocolorscale"] = val\n\n @property\n def cauto(self):\n """\n Determines whether or not the color domain is computed with\n respect to the input data (here in `marker.color`) or the\n bounds set in `marker.cmin` and `marker.cmax` Has an effect\n only if in `marker.color` is set to a numerical array. Defaults\n to `false` when `marker.cmin` and `marker.cmax` are set by the\n user.\n\n The 'cauto' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["cauto"]\n\n @cauto.setter\n def cauto(self, val):\n self["cauto"] = val\n\n @property\n def cmax(self):\n """\n Sets the upper bound of the color domain. Has an effect only if\n in `marker.color` is set to a numerical array. Value should\n have the same units as in `marker.color` and if set,\n `marker.cmin` must be set as well.\n\n The 'cmax' 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["cmax"]\n\n @cmax.setter\n def cmax(self, val):\n self["cmax"] = val\n\n @property\n def cmid(self):\n """\n Sets the mid-point of the color domain by scaling `marker.cmin`\n and/or `marker.cmax` to be equidistant to this point. Has an\n effect only if in `marker.color` is set to a numerical array.\n Value should have the same units as in `marker.color`. Has no\n effect when `marker.cauto` is `false`.\n\n The 'cmid' 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["cmid"]\n\n @cmid.setter\n def cmid(self, val):\n self["cmid"] = val\n\n @property\n def cmin(self):\n """\n Sets the lower bound of the color domain. Has an effect only if\n in `marker.color` is set to a numerical array. Value should\n have the same units as in `marker.color` and if set,\n `marker.cmax` must be set as well.\n\n The 'cmin' 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["cmin"]\n\n @cmin.setter\n def cmin(self, val):\n self["cmin"] = val\n\n @property\n def color(self):\n """\n Sets the marker color. It accepts either a specific color or an\n array of numbers that are mapped to the colorscale relative to\n the max and min values of the array or relative to\n `marker.cmin` and `marker.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 - A number that will be interpreted as a color\n according to barpolar.marker.colorscale\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 coloraxis(self):\n """\n Sets a reference to a shared color axis. References to these\n shared color axes are "coloraxis", "coloraxis2", "coloraxis3",\n etc. Settings for these shared color axes are set in the\n layout, under `layout.coloraxis`, `layout.coloraxis2`, etc.\n Note that multiple color scales can be linked to the same color\n axis.\n\n The 'coloraxis' property is an identifier of a particular\n subplot, of type 'coloraxis', that may be specified as the string 'coloraxis'\n optionally followed by an integer >= 1\n (e.g. 'coloraxis', 'coloraxis1', 'coloraxis2', 'coloraxis3', etc.)\n\n Returns\n -------\n str\n """\n return self["coloraxis"]\n\n @coloraxis.setter\n def coloraxis(self, val):\n self["coloraxis"] = val\n\n @property\n def colorbar(self):\n """\n The 'colorbar' property is an instance of ColorBar\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.barpolar.marker.ColorBar`\n - A dict of string/value properties that will be passed\n to the ColorBar constructor\n\n Returns\n -------\n plotly.graph_objs.barpolar.marker.ColorBar\n """\n return self["colorbar"]\n\n @colorbar.setter\n def colorbar(self, val):\n self["colorbar"] = val\n\n @property\n def colorscale(self):\n """\n Sets the colorscale. Has an effect only if in `marker.color` is\n set to a numerical array. The colorscale must be an array\n containing arrays mapping a normalized value to an rgb, rgba,\n hex, hsl, hsv, or named color string. At minimum, a mapping for\n the lowest (0) and highest (1) values are required. For\n example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`. To\n control the bounds of the colorscale in color space, use\n `marker.cmin` and `marker.cmax`. Alternatively, `colorscale`\n may be a palette name string of the following list: Blackbody,B\n luered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic\n ,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.\n\n The 'colorscale' property is a colorscale and may be\n specified as:\n - A list of colors that will be spaced evenly to create the colorscale.\n Many predefined colorscale lists are included in the sequential, diverging,\n and cyclical modules in the plotly.colors package.\n - A list of 2-element lists where the first element is the\n normalized color level value (starting at 0 and ending at 1),\n and the second item is a valid color string.\n (e.g. [[0, 'green'], [0.5, 'red'], [1.0, 'rgb(0, 0, 255)']])\n - One of the following named colorscales:\n ['aggrnyl', 'agsunset', 'algae', 'amp', 'armyrose', 'balance',\n 'blackbody', 'bluered', 'blues', 'blugrn', 'bluyl', 'brbg',\n 'brwnyl', 'bugn', 'bupu', 'burg', 'burgyl', 'cividis', 'curl',\n 'darkmint', 'deep', 'delta', 'dense', 'earth', 'edge', 'electric',\n 'emrld', 'fall', 'geyser', 'gnbu', 'gray', 'greens', 'greys',\n 'haline', 'hot', 'hsv', 'ice', 'icefire', 'inferno', 'jet',\n 'magenta', 'magma', 'matter', 'mint', 'mrybm', 'mygbm', 'oranges',\n 'orrd', 'oryel', 'oxy', 'peach', 'phase', 'picnic', 'pinkyl',\n 'piyg', 'plasma', 'plotly3', 'portland', 'prgn', 'pubu', 'pubugn',\n 'puor', 'purd', 'purp', 'purples', 'purpor', 'rainbow', 'rdbu',\n 'rdgy', 'rdpu', 'rdylbu', 'rdylgn', 'redor', 'reds', 'solar',\n 'spectral', 'speed', 'sunset', 'sunsetdark', 'teal', 'tealgrn',\n 'tealrose', 'tempo', 'temps', 'thermal', 'tropic', 'turbid',\n 'turbo', 'twilight', 'viridis', 'ylgn', 'ylgnbu', 'ylorbr',\n 'ylorrd'].\n Appending '_r' to a named colorscale reverses it.\n\n Returns\n -------\n str\n """\n return self["colorscale"]\n\n @colorscale.setter\n def colorscale(self, val):\n self["colorscale"] = 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 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.barpolar.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.barpolar.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 bars.\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 pattern(self):\n """\n Sets the pattern within the marker.\n\n The 'pattern' property is an instance of Pattern\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.barpolar.marker.Pattern`\n - A dict of string/value properties that will be passed\n to the Pattern constructor\n\n Returns\n -------\n plotly.graph_objs.barpolar.marker.Pattern\n """\n return self["pattern"]\n\n @pattern.setter\n def pattern(self, val):\n self["pattern"] = val\n\n @property\n def reversescale(self):\n """\n Reverses the color mapping if true. Has an effect only if in\n `marker.color` is set to a numerical array. If true,\n `marker.cmin` will correspond to the last color in the array\n and `marker.cmax` will correspond to the first color.\n\n The 'reversescale' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["reversescale"]\n\n @reversescale.setter\n def reversescale(self, val):\n self["reversescale"] = val\n\n @property\n def showscale(self):\n """\n Determines whether or not a colorbar is displayed for this\n trace. Has an effect only if in `marker.color` is set to a\n numerical array.\n\n The 'showscale' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showscale"]\n\n @showscale.setter\n def showscale(self, val):\n self["showscale"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n autocolorscale\n Determines whether the colorscale is a default palette\n (`autocolorscale: true`) or the palette determined by\n `marker.colorscale`. Has an effect only if in\n `marker.color` is set to a numerical array. In case\n `colorscale` is unspecified or `autocolorscale` is\n true, the default palette will be chosen according to\n whether numbers in the `color` array are all positive,\n all negative or mixed.\n cauto\n Determines whether or not the color domain is computed\n with respect to the input data (here in `marker.color`)\n or the bounds set in `marker.cmin` and `marker.cmax`\n Has an effect only if in `marker.color` is set to a\n numerical array. Defaults to `false` when `marker.cmin`\n and `marker.cmax` are set by the user.\n cmax\n Sets the upper bound of the color domain. Has an effect\n only if in `marker.color` is set to a numerical array.\n Value should have the same units as in `marker.color`\n and if set, `marker.cmin` must be set as well.\n cmid\n Sets the mid-point of the color domain by scaling\n `marker.cmin` and/or `marker.cmax` to be equidistant to\n this point. Has an effect only if in `marker.color` is\n set to a numerical array. Value should have the same\n units as in `marker.color`. Has no effect when\n `marker.cauto` is `false`.\n cmin\n Sets the lower bound of the color domain. Has an effect\n only if in `marker.color` is set to a numerical array.\n Value should have the same units as in `marker.color`\n and if set, `marker.cmax` must be set as well.\n color\n Sets the marker color. It accepts either a specific\n color or an array of numbers that are mapped to the\n colorscale relative to the max and min values of the\n array or relative to `marker.cmin` and `marker.cmax` if\n set.\n coloraxis\n Sets a reference to a shared color axis. References to\n these shared color axes are "coloraxis", "coloraxis2",\n "coloraxis3", etc. Settings for these shared color axes\n are set in the layout, under `layout.coloraxis`,\n `layout.coloraxis2`, etc. Note that multiple color\n scales can be linked to the same color axis.\n colorbar\n :class:`plotly.graph_objects.barpolar.marker.ColorBar`\n instance or dict with compatible properties\n colorscale\n Sets the colorscale. Has an effect only if in\n `marker.color` is set to a numerical array. The\n colorscale must be an array containing arrays mapping a\n normalized value to an rgb, rgba, hex, hsl, hsv, or\n named color string. At minimum, a mapping for the\n lowest (0) and highest (1) values are required. For\n example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.\n To control the bounds of the colorscale in color space,\n use `marker.cmin` and `marker.cmax`. Alternatively,\n `colorscale` may be a palette name string of the\n following list: Blackbody,Bluered,Blues,Cividis,Earth,E\n lectric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd\n Bu,Reds,Viridis,YlGnBu,YlOrRd.\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n line\n :class:`plotly.graph_objects.barpolar.marker.Line`\n instance or dict with compatible properties\n opacity\n Sets the opacity of the bars.\n opacitysrc\n Sets the source reference on Chart Studio Cloud for\n `opacity`.\n pattern\n Sets the pattern within the marker.\n reversescale\n Reverses the color mapping if true. Has an effect only\n if in `marker.color` is set to a numerical array. If\n true, `marker.cmin` will correspond to the last color\n in the array and `marker.cmax` will correspond to the\n first color.\n showscale\n Determines whether or not a colorbar is displayed for\n this trace. Has an effect only if in `marker.color` is\n set to a numerical array.\n """\n\n def __init__(\n self,\n arg=None,\n autocolorscale=None,\n cauto=None,\n cmax=None,\n cmid=None,\n cmin=None,\n color=None,\n coloraxis=None,\n colorbar=None,\n colorscale=None,\n colorsrc=None,\n line=None,\n opacity=None,\n opacitysrc=None,\n pattern=None,\n reversescale=None,\n showscale=None,\n **kwargs,\n ):\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.barpolar.Marker`\n autocolorscale\n Determines whether the colorscale is a default palette\n (`autocolorscale: true`) or the palette determined by\n `marker.colorscale`. Has an effect only if in\n `marker.color` is set to a numerical array. In case\n `colorscale` is unspecified or `autocolorscale` is\n true, the default palette will be chosen according to\n whether numbers in the `color` array are all positive,\n all negative or mixed.\n cauto\n Determines whether or not the color domain is computed\n with respect to the input data (here in `marker.color`)\n or the bounds set in `marker.cmin` and `marker.cmax`\n Has an effect only if in `marker.color` is set to a\n numerical array. Defaults to `false` when `marker.cmin`\n and `marker.cmax` are set by the user.\n cmax\n Sets the upper bound of the color domain. Has an effect\n only if in `marker.color` is set to a numerical array.\n Value should have the same units as in `marker.color`\n and if set, `marker.cmin` must be set as well.\n cmid\n Sets the mid-point of the color domain by scaling\n `marker.cmin` and/or `marker.cmax` to be equidistant to\n this point. Has an effect only if in `marker.color` is\n set to a numerical array. Value should have the same\n units as in `marker.color`. Has no effect when\n `marker.cauto` is `false`.\n cmin\n Sets the lower bound of the color domain. Has an effect\n only if in `marker.color` is set to a numerical array.\n Value should have the same units as in `marker.color`\n and if set, `marker.cmax` must be set as well.\n color\n Sets the marker color. It accepts either a specific\n color or an array of numbers that are mapped to the\n colorscale relative to the max and min values of the\n array or relative to `marker.cmin` and `marker.cmax` if\n set.\n coloraxis\n Sets a reference to a shared color axis. References to\n these shared color axes are "coloraxis", "coloraxis2",\n "coloraxis3", etc. Settings for these shared color axes\n are set in the layout, under `layout.coloraxis`,\n `layout.coloraxis2`, etc. Note that multiple color\n scales can be linked to the same color axis.\n colorbar\n :class:`plotly.graph_objects.barpolar.marker.ColorBar`\n instance or dict with compatible properties\n colorscale\n Sets the colorscale. Has an effect only if in\n `marker.color` is set to a numerical array. The\n colorscale must be an array containing arrays mapping a\n normalized value to an rgb, rgba, hex, hsl, hsv, or\n named color string. At minimum, a mapping for the\n lowest (0) and highest (1) values are required. For\n example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.\n To control the bounds of the colorscale in color space,\n use `marker.cmin` and `marker.cmax`. Alternatively,\n `colorscale` may be a palette name string of the\n following list: Blackbody,Bluered,Blues,Cividis,Earth,E\n lectric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd\n Bu,Reds,Viridis,YlGnBu,YlOrRd.\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n line\n :class:`plotly.graph_objects.barpolar.marker.Line`\n instance or dict with compatible properties\n opacity\n Sets the opacity of the bars.\n opacitysrc\n Sets the source reference on Chart Studio Cloud for\n `opacity`.\n pattern\n Sets the pattern within the marker.\n reversescale\n Reverses the color mapping if true. Has an effect only\n if in `marker.color` is set to a numerical array. If\n true, `marker.cmin` will correspond to the last color\n in the array and `marker.cmax` will correspond to the\n first color.\n showscale\n Determines whether or not a colorbar is displayed for\n this trace. Has an effect only if in `marker.color` is\n set to a numerical array.\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.barpolar.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("autocolorscale", arg, autocolorscale)\n self._set_property("cauto", arg, cauto)\n self._set_property("cmax", arg, cmax)\n self._set_property("cmid", arg, cmid)\n self._set_property("cmin", arg, cmin)\n self._set_property("color", arg, color)\n self._set_property("coloraxis", arg, coloraxis)\n self._set_property("colorbar", arg, colorbar)\n self._set_property("colorscale", arg, colorscale)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("line", arg, line)\n self._set_property("opacity", arg, opacity)\n self._set_property("opacitysrc", arg, opacitysrc)\n self._set_property("pattern", arg, pattern)\n self._set_property("reversescale", arg, reversescale)\n self._set_property("showscale", arg, showscale)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\_marker.py
_marker.py
Python
23,829
0.95
0.150769
0.00519
awesome-app
800
2025-05-24T21:28:51.276838
GPL-3.0
false
cab7ad8627c5e7554cc0f9b7d2113242
# --- 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 = "barpolar"\n _path_str = "barpolar.selected"\n _valid_props = {"marker", "textfont"}\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.barpolar.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.barpolar.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 textfont(self):\n """\n The 'textfont' property is an instance of Textfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.barpolar.selected.Textfont`\n - A dict of string/value properties that will be passed\n to the Textfont constructor\n\n Returns\n -------\n plotly.graph_objs.barpolar.selected.Textfont\n """\n return self["textfont"]\n\n @textfont.setter\n def textfont(self, val):\n self["textfont"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n marker\n :class:`plotly.graph_objects.barpolar.selected.Marker`\n instance or dict with compatible properties\n textfont\n :class:`plotly.graph_objects.barpolar.selected.Textfont\n ` instance or dict with compatible properties\n """\n\n def __init__(self, arg=None, marker=None, textfont=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.barpolar.Selected`\n marker\n :class:`plotly.graph_objects.barpolar.selected.Marker`\n instance or dict with compatible properties\n textfont\n :class:`plotly.graph_objects.barpolar.selected.Textfont\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.barpolar.Selected\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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._set_property("textfont", arg, textfont)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\_selected.py
_selected.py
Python
3,333
0.95
0.160377
0.022222
python-kit
818
2024-05-05T00:31:34.203855
BSD-3-Clause
false
849e492346ff000c3114d204b6c9e5a9
# --- 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 = "barpolar"\n _path_str = "barpolar.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.barpolar.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.barpolar.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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\barpolar\_stream.py
_stream.py
Python
3,516
0.95
0.122807
0.020833
vue-tools
276
2024-12-18T02:04:53.597499
Apache-2.0
false
2e70b9738c0bcde32819a8f4c5ea1e03
# --- 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 = "barpolar"\n _path_str = "barpolar.unselected"\n _valid_props = {"marker", "textfont"}\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.barpolar.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.barpolar.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 textfont(self):\n """\n The 'textfont' property is an instance of Textfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.barpolar.unselected.Textfont`\n - A dict of string/value properties that will be passed\n to the Textfont constructor\n\n Returns\n -------\n plotly.graph_objs.barpolar.unselected.Textfont\n """\n return self["textfont"]\n\n @textfont.setter\n def textfont(self, val):\n self["textfont"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n marker\n :class:`plotly.graph_objects.barpolar.unselected.Marker\n ` instance or dict with compatible properties\n textfont\n :class:`plotly.graph_objects.barpolar.unselected.Textfo\n nt` instance or dict with compatible properties\n """\n\n def __init__(self, arg=None, marker=None, textfont=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.barpolar.Unselected`\n marker\n :class:`plotly.graph_objects.barpolar.unselected.Marker\n ` instance or dict with compatible properties\n textfont\n :class:`plotly.graph_objects.barpolar.unselected.Textfo\n nt` 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.barpolar.Unselected\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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._set_property("textfont", arg, textfont)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\_unselected.py
_unselected.py
Python
3,367
0.95
0.160377
0.022222
awesome-app
589
2025-01-10T07:06:04.526685
BSD-3-Clause
false
cbe0ab65019ffe96cdce2759a42fbac3
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\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 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 [".hoverlabel", ".legendgrouptitle", ".marker", ".selected", ".unselected"],\n [\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\barpolar\__init__.py
__init__.py
Python
912
0.85
0.033333
0
vue-tools
699
2024-03-24T18:15:47.501356
BSD-3-Clause
false
88fa0eca0f99b6d5fb3a169e710f680c
# --- 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 = "barpolar.hoverlabel"\n _path_str = "barpolar.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.barpolar.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.barpolar.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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\barpolar\hoverlabel\_font.py
_font.py
Python
17,148
0.95
0.136286
0.005976
react-lib
83
2024-01-03T19:26:58.464966
Apache-2.0
false
1e9ba89e08b35d915aed5be34ad74526
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\barpolar\hoverlabel\__init__.py
__init__.py
Python
237
0.85
0.111111
0
python-kit
441
2024-09-12T01:51:17.237803
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\hoverlabel\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
18,395
0.8
0.1
0
python-kit
737
2025-04-27T11:50:36.381577
MIT
false
4ea0558fbec8e4f3e2e45a647115b506
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\hoverlabel\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
505
0.85
0
0
vue-tools
528
2024-03-13T22:34:02.303938
Apache-2.0
false
0e7e362dba8e7f1164e2a578d19861c6
# --- 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 = "barpolar.legendgrouptitle"\n _path_str = "barpolar.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.barpolar.legen\n dgrouptitle.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.barpolar.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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\barpolar\legendgrouptitle\_font.py
_font.py
Python
9,932
0.95
0.10479
0.010526
python-kit
781
2024-11-12T07:16:35.574838
BSD-3-Clause
false
fc5cd24dec0a09c6c2593a061042acbe
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\barpolar\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
awesome-app
341
2024-05-19T07:06:28.815276
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\legendgrouptitle\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,939
0.8
0.048583
0
awesome-app
224
2023-07-28T12:56:13.897743
MIT
false
41b739218846c20d11c8a542b71d702d
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\legendgrouptitle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
511
0.85
0
0
react-lib
356
2024-10-20T05:25:33.740357
GPL-3.0
false
a83536ac62d237a0a12ae45be0b9a681
# --- 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 = "barpolar.marker"\n _path_str = "barpolar.marker.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.barpolar.marker.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.barpolar.marker.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.barpolar.marker.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.barpolar.marker.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.barpolar.marke\n r.colorbar.tickformatstopdefaults), sets the default property\n values to use for elements of\n barpolar.marker.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.barpolar.marker.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.barpolar.marker.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.barpolar.marker.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.barpolar.marker.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.barpolar.marker\n .colorbar.Tickformatstop` instances or dicts with\n compatible properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.barpol\n ar.marker.colorbar.tickformatstopdefaults), sets the\n default property values to use for elements of\n barpolar.marker.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.barpolar.marker.colorbar.T\n itle` 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.barpolar.marker.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.barpolar.marker\n .colorbar.Tickformatstop` instances or dicts with\n compatible properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.barpol\n ar.marker.colorbar.tickformatstopdefaults), sets the\n default property values to use for elements of\n barpolar.marker.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.barpolar.marker.colorbar.T\n itle` 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.barpolar.marker.ColorBar\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.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\barpolar\marker\_colorbar.py
_colorbar.py
Python
60,531
0.75
0.116144
0.001976
awesome-app
204
2024-12-25T17:49:04.107057
GPL-3.0
false
e7ce92be6d9c9d345175b5fd76519a81
# --- 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 = "barpolar.marker"\n _path_str = "barpolar.marker.line"\n _valid_props = {\n "autocolorscale",\n "cauto",\n "cmax",\n "cmid",\n "cmin",\n "color",\n "coloraxis",\n "colorscale",\n "colorsrc",\n "reversescale",\n "width",\n "widthsrc",\n }\n\n @property\n def autocolorscale(self):\n """\n Determines whether the colorscale is a default palette\n (`autocolorscale: true`) or the palette determined by\n `marker.line.colorscale`. Has an effect only if in\n `marker.line.color` is set to a numerical array. In case\n `colorscale` is unspecified or `autocolorscale` is true, the\n default palette will be chosen according to whether numbers in\n the `color` array are all positive, all negative or mixed.\n\n The 'autocolorscale' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["autocolorscale"]\n\n @autocolorscale.setter\n def autocolorscale(self, val):\n self["autocolorscale"] = val\n\n @property\n def cauto(self):\n """\n Determines whether or not the color domain is computed with\n respect to the input data (here in `marker.line.color`) or the\n bounds set in `marker.line.cmin` and `marker.line.cmax` Has an\n effect only if in `marker.line.color` is set to a numerical\n array. Defaults to `false` when `marker.line.cmin` and\n `marker.line.cmax` are set by the user.\n\n The 'cauto' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["cauto"]\n\n @cauto.setter\n def cauto(self, val):\n self["cauto"] = val\n\n @property\n def cmax(self):\n """\n Sets the upper bound of the color domain. Has an effect only if\n in `marker.line.color` is set to a numerical array. Value\n should have the same units as in `marker.line.color` and if\n set, `marker.line.cmin` must be set as well.\n\n The 'cmax' 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["cmax"]\n\n @cmax.setter\n def cmax(self, val):\n self["cmax"] = val\n\n @property\n def cmid(self):\n """\n Sets the mid-point of the color domain by scaling\n `marker.line.cmin` and/or `marker.line.cmax` to be equidistant\n to this point. Has an effect only if in `marker.line.color` is\n set to a numerical array. Value should have the same units as\n in `marker.line.color`. Has no effect when `marker.line.cauto`\n is `false`.\n\n The 'cmid' 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["cmid"]\n\n @cmid.setter\n def cmid(self, val):\n self["cmid"] = val\n\n @property\n def cmin(self):\n """\n Sets the lower bound of the color domain. Has an effect only if\n in `marker.line.color` is set to a numerical array. Value\n should have the same units as in `marker.line.color` and if\n set, `marker.line.cmax` must be set as well.\n\n The 'cmin' 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["cmin"]\n\n @cmin.setter\n def cmin(self, val):\n self["cmin"] = val\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 - A number that will be interpreted as a color\n according to barpolar.marker.line.colorscale\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 coloraxis(self):\n """\n Sets a reference to a shared color axis. References to these\n shared color axes are "coloraxis", "coloraxis2", "coloraxis3",\n etc. Settings for these shared color axes are set in the\n layout, under `layout.coloraxis`, `layout.coloraxis2`, etc.\n Note that multiple color scales can be linked to the same color\n axis.\n\n The 'coloraxis' property is an identifier of a particular\n subplot, of type 'coloraxis', that may be specified as the string 'coloraxis'\n optionally followed by an integer >= 1\n (e.g. 'coloraxis', 'coloraxis1', 'coloraxis2', 'coloraxis3', etc.)\n\n Returns\n -------\n str\n """\n return self["coloraxis"]\n\n @coloraxis.setter\n def coloraxis(self, val):\n self["coloraxis"] = val\n\n @property\n def colorscale(self):\n """\n Sets the colorscale. Has an effect only if in\n `marker.line.color` is set to a numerical array. The colorscale\n must be an array containing arrays mapping a normalized value\n to an rgb, rgba, hex, hsl, hsv, or named color string. At\n minimum, a mapping for the lowest (0) and highest (1) values\n are required. For example, `[[0, 'rgb(0,0,255)'], [1,\n 'rgb(255,0,0)']]`. To control the bounds of the colorscale in\n color space, use `marker.line.cmin` and `marker.line.cmax`.\n Alternatively, `colorscale` may be a palette name string of the\n following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,\n Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,\n YlGnBu,YlOrRd.\n\n The 'colorscale' property is a colorscale and may be\n specified as:\n - A list of colors that will be spaced evenly to create the colorscale.\n Many predefined colorscale lists are included in the sequential, diverging,\n and cyclical modules in the plotly.colors package.\n - A list of 2-element lists where the first element is the\n normalized color level value (starting at 0 and ending at 1),\n and the second item is a valid color string.\n (e.g. [[0, 'green'], [0.5, 'red'], [1.0, 'rgb(0, 0, 255)']])\n - One of the following named colorscales:\n ['aggrnyl', 'agsunset', 'algae', 'amp', 'armyrose', 'balance',\n 'blackbody', 'bluered', 'blues', 'blugrn', 'bluyl', 'brbg',\n 'brwnyl', 'bugn', 'bupu', 'burg', 'burgyl', 'cividis', 'curl',\n 'darkmint', 'deep', 'delta', 'dense', 'earth', 'edge', 'electric',\n 'emrld', 'fall', 'geyser', 'gnbu', 'gray', 'greens', 'greys',\n 'haline', 'hot', 'hsv', 'ice', 'icefire', 'inferno', 'jet',\n 'magenta', 'magma', 'matter', 'mint', 'mrybm', 'mygbm', 'oranges',\n 'orrd', 'oryel', 'oxy', 'peach', 'phase', 'picnic', 'pinkyl',\n 'piyg', 'plasma', 'plotly3', 'portland', 'prgn', 'pubu', 'pubugn',\n 'puor', 'purd', 'purp', 'purples', 'purpor', 'rainbow', 'rdbu',\n 'rdgy', 'rdpu', 'rdylbu', 'rdylgn', 'redor', 'reds', 'solar',\n 'spectral', 'speed', 'sunset', 'sunsetdark', 'teal', 'tealgrn',\n 'tealrose', 'tempo', 'temps', 'thermal', 'tropic', 'turbid',\n 'turbo', 'twilight', 'viridis', 'ylgn', 'ylgnbu', 'ylorbr',\n 'ylorrd'].\n Appending '_r' to a named colorscale reverses it.\n\n Returns\n -------\n str\n """\n return self["colorscale"]\n\n @colorscale.setter\n def colorscale(self, val):\n self["colorscale"] = 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 reversescale(self):\n """\n Reverses the color mapping if true. Has an effect only if in\n `marker.line.color` is set to a numerical array. If true,\n `marker.line.cmin` will correspond to the last color in the\n array and `marker.line.cmax` will correspond to the first\n color.\n\n The 'reversescale' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["reversescale"]\n\n @reversescale.setter\n def reversescale(self, val):\n self["reversescale"] = 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 - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def widthsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `width`.\n\n The 'widthsrc' 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["widthsrc"]\n\n @widthsrc.setter\n def widthsrc(self, val):\n self["widthsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n autocolorscale\n Determines whether the colorscale is a default palette\n (`autocolorscale: true`) or the palette determined by\n `marker.line.colorscale`. Has an effect only if in\n `marker.line.color` is set to a numerical array. In\n case `colorscale` is unspecified or `autocolorscale` is\n true, the default palette will be chosen according to\n whether numbers in the `color` array are all positive,\n all negative or mixed.\n cauto\n Determines whether or not the color domain is computed\n with respect to the input data (here in\n `marker.line.color`) or the bounds set in\n `marker.line.cmin` and `marker.line.cmax` Has an effect\n only if in `marker.line.color` is set to a numerical\n array. Defaults to `false` when `marker.line.cmin` and\n `marker.line.cmax` are set by the user.\n cmax\n Sets the upper bound of the color domain. Has an effect\n only if in `marker.line.color` is set to a numerical\n array. Value should have the same units as in\n `marker.line.color` and if set, `marker.line.cmin` must\n be set as well.\n cmid\n Sets the mid-point of the color domain by scaling\n `marker.line.cmin` and/or `marker.line.cmax` to be\n equidistant to this point. Has an effect only if in\n `marker.line.color` is set to a numerical array. Value\n should have the same units as in `marker.line.color`.\n Has no effect when `marker.line.cauto` is `false`.\n cmin\n Sets the lower bound of the color domain. Has an effect\n only if in `marker.line.color` is set to a numerical\n array. Value should have the same units as in\n `marker.line.color` and if set, `marker.line.cmax` must\n be set as well.\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 coloraxis\n Sets a reference to a shared color axis. References to\n these shared color axes are "coloraxis", "coloraxis2",\n "coloraxis3", etc. Settings for these shared color axes\n are set in the layout, under `layout.coloraxis`,\n `layout.coloraxis2`, etc. Note that multiple color\n scales can be linked to the same color axis.\n colorscale\n Sets the colorscale. Has an effect only if in\n `marker.line.color` is set to a numerical array. The\n colorscale must be an array containing arrays mapping a\n normalized value to an rgb, rgba, hex, hsl, hsv, or\n named color string. At minimum, a mapping for the\n lowest (0) and highest (1) values are required. For\n example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.\n To control the bounds of the colorscale in color space,\n use `marker.line.cmin` and `marker.line.cmax`.\n Alternatively, `colorscale` may be a palette name\n string of the following list: Blackbody,Bluered,Blues,C\n ividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portl\n and,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n reversescale\n Reverses the color mapping if true. Has an effect only\n if in `marker.line.color` is set to a numerical array.\n If true, `marker.line.cmin` will correspond to the last\n color in the array and `marker.line.cmax` will\n correspond to the first color.\n width\n Sets the width (in px) of the lines bounding the marker\n points.\n widthsrc\n Sets the source reference on Chart Studio Cloud for\n `width`.\n """\n\n def __init__(\n self,\n arg=None,\n autocolorscale=None,\n cauto=None,\n cmax=None,\n cmid=None,\n cmin=None,\n color=None,\n coloraxis=None,\n colorscale=None,\n colorsrc=None,\n reversescale=None,\n width=None,\n widthsrc=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.barpolar.marker.Line`\n autocolorscale\n Determines whether the colorscale is a default palette\n (`autocolorscale: true`) or the palette determined by\n `marker.line.colorscale`. Has an effect only if in\n `marker.line.color` is set to a numerical array. In\n case `colorscale` is unspecified or `autocolorscale` is\n true, the default palette will be chosen according to\n whether numbers in the `color` array are all positive,\n all negative or mixed.\n cauto\n Determines whether or not the color domain is computed\n with respect to the input data (here in\n `marker.line.color`) or the bounds set in\n `marker.line.cmin` and `marker.line.cmax` Has an effect\n only if in `marker.line.color` is set to a numerical\n array. Defaults to `false` when `marker.line.cmin` and\n `marker.line.cmax` are set by the user.\n cmax\n Sets the upper bound of the color domain. Has an effect\n only if in `marker.line.color` is set to a numerical\n array. Value should have the same units as in\n `marker.line.color` and if set, `marker.line.cmin` must\n be set as well.\n cmid\n Sets the mid-point of the color domain by scaling\n `marker.line.cmin` and/or `marker.line.cmax` to be\n equidistant to this point. Has an effect only if in\n `marker.line.color` is set to a numerical array. Value\n should have the same units as in `marker.line.color`.\n Has no effect when `marker.line.cauto` is `false`.\n cmin\n Sets the lower bound of the color domain. Has an effect\n only if in `marker.line.color` is set to a numerical\n array. Value should have the same units as in\n `marker.line.color` and if set, `marker.line.cmax` must\n be set as well.\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 coloraxis\n Sets a reference to a shared color axis. References to\n these shared color axes are "coloraxis", "coloraxis2",\n "coloraxis3", etc. Settings for these shared color axes\n are set in the layout, under `layout.coloraxis`,\n `layout.coloraxis2`, etc. Note that multiple color\n scales can be linked to the same color axis.\n colorscale\n Sets the colorscale. Has an effect only if in\n `marker.line.color` is set to a numerical array. The\n colorscale must be an array containing arrays mapping a\n normalized value to an rgb, rgba, hex, hsl, hsv, or\n named color string. At minimum, a mapping for the\n lowest (0) and highest (1) values are required. For\n example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.\n To control the bounds of the colorscale in color space,\n use `marker.line.cmin` and `marker.line.cmax`.\n Alternatively, `colorscale` may be a palette name\n string of the following list: Blackbody,Bluered,Blues,C\n ividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portl\n and,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n reversescale\n Reverses the color mapping if true. Has an effect only\n if in `marker.line.color` is set to a numerical array.\n If true, `marker.line.cmin` will correspond to the last\n color in the array and `marker.line.cmax` will\n correspond to the first color.\n width\n Sets the width (in px) of the lines bounding the marker\n points.\n widthsrc\n Sets the source reference on Chart Studio Cloud for\n `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.barpolar.marker.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("autocolorscale", arg, autocolorscale)\n self._set_property("cauto", arg, cauto)\n self._set_property("cmax", arg, cmax)\n self._set_property("cmid", arg, cmid)\n self._set_property("cmin", arg, cmin)\n self._set_property("color", arg, color)\n self._set_property("coloraxis", arg, coloraxis)\n self._set_property("colorscale", arg, colorscale)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("reversescale", arg, reversescale)\n self._set_property("width", arg, width)\n self._set_property("widthsrc", arg, widthsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\_line.py
_line.py
Python
20,928
0.95
0.141026
0.006148
python-kit
569
2023-09-19T21:30:25.478064
MIT
false
83937049b46eed10632086d5d5d1df20
# --- 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 Pattern(_BaseTraceHierarchyType):\n _parent_path_str = "barpolar.marker"\n _path_str = "barpolar.marker.pattern"\n _valid_props = {\n "bgcolor",\n "bgcolorsrc",\n "fgcolor",\n "fgcolorsrc",\n "fgopacity",\n "fillmode",\n "shape",\n "shapesrc",\n "size",\n "sizesrc",\n "solidity",\n "soliditysrc",\n }\n\n @property\n def bgcolor(self):\n """\n When there is no colorscale sets the color of background\n pattern fill. Defaults to a `marker.color` background when\n `fillmode` is "overlay". Otherwise, defaults to a transparent\n background.\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 fgcolor(self):\n """\n When there is no colorscale sets the color of foreground\n pattern fill. Defaults to a `marker.color` background when\n `fillmode` is "replace". Otherwise, defaults to dark grey or\n white to increase contrast with the `bgcolor`.\n\n The 'fgcolor' 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["fgcolor"]\n\n @fgcolor.setter\n def fgcolor(self, val):\n self["fgcolor"] = val\n\n @property\n def fgcolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `fgcolor`.\n\n The 'fgcolorsrc' 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["fgcolorsrc"]\n\n @fgcolorsrc.setter\n def fgcolorsrc(self, val):\n self["fgcolorsrc"] = val\n\n @property\n def fgopacity(self):\n """\n Sets the opacity of the foreground pattern fill. Defaults to a\n 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.\n\n The 'fgopacity' 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["fgopacity"]\n\n @fgopacity.setter\n def fgopacity(self, val):\n self["fgopacity"] = val\n\n @property\n def fillmode(self):\n """\n Determines whether `marker.color` should be used as a default\n to `bgcolor` or a `fgcolor`.\n\n The 'fillmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['replace', 'overlay']\n\n Returns\n -------\n Any\n """\n return self["fillmode"]\n\n @fillmode.setter\n def fillmode(self, val):\n self["fillmode"] = val\n\n @property\n def shape(self):\n """\n Sets the shape of the pattern fill. By default, no pattern is\n used for filling the area.\n\n The 'shape' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['', '/', '\\', 'x', '-', '|', '+', '.']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["shape"]\n\n @shape.setter\n def shape(self, val):\n self["shape"] = val\n\n @property\n def shapesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `shape`.\n\n The 'shapesrc' 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["shapesrc"]\n\n @shapesrc.setter\n def shapesrc(self, val):\n self["shapesrc"] = val\n\n @property\n def size(self):\n """\n Sets the size of unit squares of the pattern fill in pixels,\n which corresponds to the interval of repetition of the pattern.\n\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [0, 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 solidity(self):\n """\n Sets the solidity of the pattern fill. Solidity is roughly the\n fraction of the area filled by the pattern. Solidity of 0 shows\n only the background color without pattern and solidty of 1\n shows only the foreground color without pattern.\n\n The 'solidity' 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["solidity"]\n\n @solidity.setter\n def solidity(self, val):\n self["solidity"] = val\n\n @property\n def soliditysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `solidity`.\n\n The 'soliditysrc' 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["soliditysrc"]\n\n @soliditysrc.setter\n def soliditysrc(self, val):\n self["soliditysrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n bgcolor\n When there is no colorscale sets the color of\n background pattern fill. Defaults to a `marker.color`\n background when `fillmode` is "overlay". Otherwise,\n defaults to a transparent background.\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n fgcolor\n When there is no colorscale sets the color of\n foreground pattern fill. Defaults to a `marker.color`\n background when `fillmode` is "replace". Otherwise,\n defaults to dark grey or white to increase contrast\n with the `bgcolor`.\n fgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `fgcolor`.\n fgopacity\n Sets the opacity of the foreground pattern fill.\n Defaults to a 0.5 when `fillmode` is "overlay".\n Otherwise, defaults to 1.\n fillmode\n Determines whether `marker.color` should be used as a\n default to `bgcolor` or a `fgcolor`.\n shape\n Sets the shape of the pattern fill. By default, no\n pattern is used for filling the area.\n shapesrc\n Sets the source reference on Chart Studio Cloud for\n `shape`.\n size\n Sets the size of unit squares of the pattern fill in\n pixels, which corresponds to the interval of repetition\n of the pattern.\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n solidity\n Sets the solidity of the pattern fill. Solidity is\n roughly the fraction of the area filled by the pattern.\n Solidity of 0 shows only the background color without\n pattern and solidty of 1 shows only the foreground\n color without pattern.\n soliditysrc\n Sets the source reference on Chart Studio Cloud for\n `solidity`.\n """\n\n def __init__(\n self,\n arg=None,\n bgcolor=None,\n bgcolorsrc=None,\n fgcolor=None,\n fgcolorsrc=None,\n fgopacity=None,\n fillmode=None,\n shape=None,\n shapesrc=None,\n size=None,\n sizesrc=None,\n solidity=None,\n soliditysrc=None,\n **kwargs,\n ):\n """\n Construct a new Pattern object\n\n Sets the pattern within the marker.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.barpolar.marker.Pattern`\n bgcolor\n When there is no colorscale sets the color of\n background pattern fill. Defaults to a `marker.color`\n background when `fillmode` is "overlay". Otherwise,\n defaults to a transparent background.\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n fgcolor\n When there is no colorscale sets the color of\n foreground pattern fill. Defaults to a `marker.color`\n background when `fillmode` is "replace". Otherwise,\n defaults to dark grey or white to increase contrast\n with the `bgcolor`.\n fgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `fgcolor`.\n fgopacity\n Sets the opacity of the foreground pattern fill.\n Defaults to a 0.5 when `fillmode` is "overlay".\n Otherwise, defaults to 1.\n fillmode\n Determines whether `marker.color` should be used as a\n default to `bgcolor` or a `fgcolor`.\n shape\n Sets the shape of the pattern fill. By default, no\n pattern is used for filling the area.\n shapesrc\n Sets the source reference on Chart Studio Cloud for\n `shape`.\n size\n Sets the size of unit squares of the pattern fill in\n pixels, which corresponds to the interval of repetition\n of the pattern.\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n solidity\n Sets the solidity of the pattern fill. Solidity is\n roughly the fraction of the area filled by the pattern.\n Solidity of 0 shows only the background color without\n pattern and solidty of 1 shows only the foreground\n color without pattern.\n soliditysrc\n Sets the source reference on Chart Studio Cloud for\n `solidity`.\n\n Returns\n -------\n Pattern\n """\n super().__init__("pattern")\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.barpolar.marker.Pattern\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.Pattern`""")\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("bgcolorsrc", arg, bgcolorsrc)\n self._set_property("fgcolor", arg, fgcolor)\n self._set_property("fgcolorsrc", arg, fgcolorsrc)\n self._set_property("fgopacity", arg, fgopacity)\n self._set_property("fillmode", arg, fillmode)\n self._set_property("shape", arg, shape)\n self._set_property("shapesrc", arg, shapesrc)\n self._set_property("size", arg, size)\n self._set_property("sizesrc", arg, sizesrc)\n self._set_property("solidity", arg, solidity)\n self._set_property("soliditysrc", arg, soliditysrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\_pattern.py
_pattern.py
Python
13,443
0.95
0.117783
0.008021
vue-tools
946
2025-01-30T01:01:16.124404
GPL-3.0
false
7f5ea3173b4440ef7c0010181e47ba2c
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._colorbar import ColorBar\n from ._line import Line\n from ._pattern import Pattern\n from . import colorbar\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".colorbar"],\n ["._colorbar.ColorBar", "._line.Line", "._pattern.Pattern"],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\__init__.py
__init__.py
Python
420
0.85
0.0625
0
vue-tools
158
2024-07-09T11:43:04.807768
Apache-2.0
false
e4f446de64f21a130065a88e43704696
# --- 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 = "barpolar.marker.colorbar"\n _path_str = "barpolar.marker.colorbar.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 color bar's tick label font\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.barpolar.marke\n r.colorbar.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.barpolar.marker.colorbar.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.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\barpolar\marker\colorbar\_tickfont.py
_tickfont.py
Python
9,959
0.95
0.10479
0.010526
node-utils
124
2023-09-22T13:14:13.309038
MIT
false
c25732fdfb227a2f1983cd0a91aa1ef6
# --- 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 = "barpolar.marker.colorbar"\n _path_str = "barpolar.marker.colorbar.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 :class:`plotly.graph_objs.barpolar.marke\n r.colorbar.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.barpolar.marker.colorbar.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.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\barpolar\marker\colorbar\_tickformatstop.py
_tickformatstop.py
Python
8,554
0.95
0.082988
0.019048
python-kit
735
2023-07-21T04:53:15.777304
BSD-3-Clause
false
117d214649939183cd44d88deb5c33ac
# --- 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 = "barpolar.marker.colorbar"\n _path_str = "barpolar.marker.colorbar.title"\n _valid_props = {"font", "side", "text"}\n\n @property\n def font(self):\n """\n Sets this color bar'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.barpolar.marker.colorbar.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.barpolar.marker.colorbar.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 side(self):\n """\n Determines the location of color bar's title with respect to\n the color bar. Defaults to "top" when `orientation` if "v" and\n defaults to "right" when `orientation` if "h".\n\n The 'side' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['right', 'top', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["side"]\n\n @side.setter\n def side(self, val):\n self["side"] = val\n\n @property\n def text(self):\n """\n Sets the title of the color bar.\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 color bar's title font.\n side\n Determines the location of color bar's title with\n respect to the color bar. Defaults to "top" when\n `orientation` if "v" and defaults to "right" when\n `orientation` if "h".\n text\n Sets the title of the color bar.\n """\n\n def __init__(self, arg=None, font=None, side=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 :class:`plotly.graph_objs.barpolar.marke\n r.colorbar.Title`\n font\n Sets this color bar's title font.\n side\n Determines the location of color bar's title with\n respect to the color bar. Defaults to "top" when\n `orientation` if "v" and defaults to "right" when\n `orientation` if "h".\n text\n Sets the title of the color bar.\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.barpolar.marker.colorbar.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.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("side", arg, side)\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\barpolar\marker\colorbar\_title.py
_title.py
Python
4,028
0.95
0.147059
0.017544
node-utils
296
2024-11-17T04:37:23.602266
GPL-3.0
false
499c56a0193968cde0bcda8e44588b8d
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\barpolar\marker\colorbar\__init__.py
__init__.py
Python
446
0.85
0.0625
0
vue-tools
799
2023-08-06T13:08:38.643496
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 = "barpolar.marker.colorbar.title"\n _path_str = "barpolar.marker.colorbar.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 color bar'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.barpolar.marke\n r.colorbar.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.barpolar.marker.colorbar.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.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\barpolar\marker\colorbar\title\_font.py
_font.py
Python
9,954
0.95
0.10479
0.010526
react-lib
111
2025-06-28T21:26:25.223251
MIT
false
562f69b377b58c0199fbfb17d43b3f29
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\barpolar\marker\colorbar\title\__init__.py
__init__.py
Python
237
0.85
0.111111
0
vue-tools
832
2024-09-14T06:01:31.818857
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\colorbar\title\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,966
0.8
0.048583
0
react-lib
775
2025-06-09T02:59:14.847744
GPL-3.0
false
69395eca293d058c031e13b7ee2136b3
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\colorbar\title\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
516
0.85
0
0
node-utils
124
2023-07-28T06:43:33.957762
GPL-3.0
false
5bd0a7d477b2b80eb323c64669003447
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\colorbar\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
11,013
0.8
0.04918
0
awesome-app
147
2024-12-12T08:16:42.619858
Apache-2.0
false
806e74c5e0041d2ad93d645e5c94a77b
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\colorbar\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,339
0.8
0.024876
0.005348
python-kit
805
2023-12-04T07:19:34.141046
Apache-2.0
false
11bb8edfeca1b0f94fc7350aae6765f0
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\colorbar\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,939
0.8
0.087379
0
awesome-app
945
2023-09-01T11:53:51.743084
BSD-3-Clause
false
a103c88020e08e89ed938f9b256d7cfc
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\colorbar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
716
0.95
0
0
python-kit
637
2024-10-14T07:50:50.107663
BSD-3-Clause
false
ccb6114e0e4a3ecac9ea66a29dd9265c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\__pycache__\_colorbar.cpython-313.pyc
_colorbar.cpython-313.pyc
Other
61,381
0.6
0.082413
0
awesome-app
315
2025-06-23T04:19:36.236232
GPL-3.0
false
229e2d0fe7aa1e1632d9df2f961bac17
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
21,305
0.95
0.114014
0
awesome-app
934
2025-02-11T14:03:03.893543
GPL-3.0
false
719cf77506dee8c07e1ea2123659b673
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\__pycache__\_pattern.cpython-313.pyc
_pattern.cpython-313.pyc
Other
14,461
0.8
0.071661
0
python-kit
194
2023-11-20T03:31:57.953246
MIT
false
4b419f6224e2a28bf7fdfdc697360666
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\marker\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
681
0.95
0
0
python-kit
246
2024-08-21T23:42:12.005181
BSD-3-Clause
false
702baff15251868e9cbb9f18edbf020f
# --- 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 = "barpolar.selected"\n _path_str = "barpolar.selected.marker"\n _valid_props = {"color", "opacity"}\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 _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 """\n\n def __init__(self, arg=None, color=None, opacity=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.barpolar.selected.Marker`\n color\n Sets the marker color of selected points.\n opacity\n Sets the marker opacity 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.barpolar.selected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\selected\_marker.py
_marker.py
Python
3,016
0.95
0.115385
0.023256
python-kit
436
2023-09-27T13:07:13.892001
MIT
false
f1e7d759924942b0aa6f142da2a13f00
# --- 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 Textfont(_BaseTraceHierarchyType):\n _parent_path_str = "barpolar.selected"\n _path_str = "barpolar.selected.textfont"\n _valid_props = {"color"}\n\n @property\n def color(self):\n """\n Sets the text font 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 _prop_descriptions(self):\n return """\\n color\n Sets the text font color of selected points.\n """\n\n def __init__(self, arg=None, color=None, **kwargs):\n """\n Construct a new Textfont 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.barpolar.selected.Textfont`\n color\n Sets the text font color of selected points.\n\n Returns\n -------\n Textfont\n """\n super().__init__("textfont")\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.barpolar.selected.Textfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.selected.Textfont`""")\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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\selected\_textfont.py
_textfont.py
Python
2,425
0.95
0.123457
0.029851
python-kit
485
2025-06-28T15:51:15.228019
BSD-3-Clause
false
2f9f3af3b3f6eba034c147a9535566c4
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\n from ._textfont import Textfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._marker.Marker", "._textfont.Textfont"]\n )\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\selected\__init__.py
__init__.py
Python
318
0.85
0.083333
0
python-kit
488
2025-06-24T18:51:11.461637
BSD-3-Clause
false
7c7ff7a062dbdda499f13a5c14a6ba56
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\selected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
3,871
0.8
0.034483
0
python-kit
611
2024-05-26T01:32:20.573149
Apache-2.0
false
4896ce886c4d0a8bdd31bf1589c60e86
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\selected\__pycache__\_textfont.cpython-313.pyc
_textfont.cpython-313.pyc
Other
3,203
0.8
0.051724
0
node-utils
345
2025-06-18T06:27:50.297517
BSD-3-Clause
false
487106bbfd4b5335219e542e3e062323
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\selected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
585
0.95
0
0
python-kit
592
2024-06-21T14:00:22.311398
Apache-2.0
false
0cf74c7ee22cbc031f8f1090b0fe0cc8
# --- 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 = "barpolar.unselected"\n _path_str = "barpolar.unselected.marker"\n _valid_props = {"color", "opacity"}\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 _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 """\n\n def __init__(self, arg=None, color=None, opacity=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.barpolar.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\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.barpolar.unselected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\unselected\_marker.py
_marker.py
Python
3,330
0.95
0.109091
0.021739
vue-tools
562
2024-03-13T06:22:23.058694
MIT
false
5e24f34bcaba4111fc68429f0baca246
# --- 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 Textfont(_BaseTraceHierarchyType):\n _parent_path_str = "barpolar.unselected"\n _path_str = "barpolar.unselected.textfont"\n _valid_props = {"color"}\n\n @property\n def color(self):\n """\n Sets the text font color of unselected points, applied only\n when a 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 _prop_descriptions(self):\n return """\\n color\n Sets the text font color of unselected points, applied\n only when a selection exists.\n """\n\n def __init__(self, arg=None, color=None, **kwargs):\n """\n Construct a new Textfont 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.barpolar.unselected.Textfont`\n color\n Sets the text font color of unselected points, applied\n only when a selection exists.\n\n Returns\n -------\n Textfont\n """\n super().__init__("textfont")\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.barpolar.unselected.Textfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.barpolar.unselected.Textfont`""")\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._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\unselected\_textfont.py
_textfont.py
Python
2,587
0.95
0.119048
0.028571
node-utils
617
2025-04-16T16:08:16.969930
Apache-2.0
false
dc5f03413a4ae8c8b0400570cfe13f40
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\n from ._textfont import Textfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._marker.Marker", "._textfont.Textfont"]\n )\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\unselected\__init__.py
__init__.py
Python
318
0.85
0.083333
0
vue-tools
542
2024-09-30T21:18:18.379107
GPL-3.0
false
7c7ff7a062dbdda499f13a5c14a6ba56
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\unselected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
4,155
0.8
0.031915
0
python-kit
290
2024-04-01T15:17:15.888545
BSD-3-Clause
false
502d53808a14f35d8800dc947149c249
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\unselected\__pycache__\_textfont.cpython-313.pyc
_textfont.cpython-313.pyc
Other
3,351
0.8
0.048387
0
python-kit
245
2025-07-07T21:39:01.857898
Apache-2.0
false
1d14e00f968d921d1ba809bfc2a92b26
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\unselected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
587
0.95
0
0
python-kit
931
2024-02-07T17:23:42.257885
Apache-2.0
false
9350e4e930190c19236f53b7fee5681c
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\_hoverlabel.cpython-313.pyc
_hoverlabel.cpython-313.pyc
Other
11,391
0.8
0.142276
0
vue-tools
983
2024-05-28T17:30:23.716093
Apache-2.0
false
a7b3c07df386c6b5d30f5d7dcc0a8c57
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,862
0.8
0.04
0
node-utils
244
2025-04-13T20:53:25.715890
GPL-3.0
false
aa7f38b6672935d070fdd1a9024e2590
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
24,434
0.95
0.127349
0
vue-tools
324
2024-06-25T08:25:28.366646
GPL-3.0
false
662148a7aa0286b89d85cadbfee87a0e
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\_selected.cpython-313.pyc
_selected.cpython-313.pyc
Other
4,166
0.8
0.103896
0
react-lib
398
2024-11-07T19:04:45.430310
MIT
false
d4f3f6a65ccd181d4ae586f3198a2899
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,312
0.8
0.054348
0
node-utils
972
2023-10-20T03:54:51.898433
Apache-2.0
false
488ae07628272236be2eb7fc30e0b479
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\_unselected.cpython-313.pyc
_unselected.cpython-313.pyc
Other
4,211
0.8
0.101266
0
vue-tools
254
2024-11-12T22:27:38.796248
GPL-3.0
false
76ffcf369c7b1e2bfd21c8c42525fbee
\n\n
.venv\Lib\site-packages\plotly\graph_objs\barpolar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,114
0.95
0
0
react-lib
899
2025-06-13T12:24:53.295580
Apache-2.0
false
7caf87e504c9319f974207e1de6ace11
# --- 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 = "box"\n _path_str = "box.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.box.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.box.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.box.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.box.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\_hoverlabel.py
_hoverlabel.py
Python
10,429
0.95
0.171598
0.010274
react-lib
942
2023-10-09T14:26:42.830543
MIT
false
c06ac8189855a0eee9031f91d9cdb413
# --- 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 = "box"\n _path_str = "box.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.box.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.box.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.box.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.box.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,911
0.95
0.115385
0.023256
react-lib
984
2024-06-11T23:00:36.526581
BSD-3-Clause
false
575a49d9fc95fa733f2edfc17c90460e
# --- 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"\n _path_str = "box.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 :class:`plotly.graph_objs.box.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.box.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\_line.py
_line.py
Python
2,932
0.95
0.116505
0.023529
vue-tools
793
2025-01-20T04:20:45.732136
GPL-3.0
false
da6c20fd4a4a3cbeae67860ebdd3a261
# --- 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"\n _path_str = "box.marker"\n _valid_props = {\n "angle",\n "color",\n "line",\n "opacity",\n "outliercolor",\n "size",\n "symbol",\n }\n\n @property\n def angle(self):\n """\n Sets the marker angle in respect to `angleref`.\n\n The 'angle' 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["angle"]\n\n @angle.setter\n def angle(self, val):\n self["angle"] = val\n\n @property\n def color(self):\n """\n Sets the marker color. It accepts either a specific color or an\n array of numbers that are mapped to the colorscale relative to\n the max and min values of the array or relative to\n `marker.cmin` and `marker.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 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.box.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.box.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 marker opacity.\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 outliercolor(self):\n """\n Sets the color of the outlier sample points.\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 size(self):\n """\n Sets the marker size (in px).\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 symbol(self):\n """\n Sets the marker symbol type. Adding 100 is equivalent to\n appending "-open" to a symbol name. Adding 200 is equivalent to\n appending "-dot" to a symbol name. Adding 300 is equivalent to\n appending "-open-dot" or "dot-open" to a symbol name.\n\n The 'symbol' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [0, '0', 'circle', 100, '100', 'circle-open', 200, '200',\n 'circle-dot', 300, '300', 'circle-open-dot', 1, '1',\n 'square', 101, '101', 'square-open', 201, '201',\n 'square-dot', 301, '301', 'square-open-dot', 2, '2',\n 'diamond', 102, '102', 'diamond-open', 202, '202',\n 'diamond-dot', 302, '302', 'diamond-open-dot', 3, '3',\n 'cross', 103, '103', 'cross-open', 203, '203',\n 'cross-dot', 303, '303', 'cross-open-dot', 4, '4', 'x',\n 104, '104', 'x-open', 204, '204', 'x-dot', 304, '304',\n 'x-open-dot', 5, '5', 'triangle-up', 105, '105',\n 'triangle-up-open', 205, '205', 'triangle-up-dot', 305,\n '305', 'triangle-up-open-dot', 6, '6', 'triangle-down',\n 106, '106', 'triangle-down-open', 206, '206',\n 'triangle-down-dot', 306, '306', 'triangle-down-open-dot',\n 7, '7', 'triangle-left', 107, '107', 'triangle-left-open',\n 207, '207', 'triangle-left-dot', 307, '307',\n 'triangle-left-open-dot', 8, '8', 'triangle-right', 108,\n '108', 'triangle-right-open', 208, '208',\n 'triangle-right-dot', 308, '308',\n 'triangle-right-open-dot', 9, '9', 'triangle-ne', 109,\n '109', 'triangle-ne-open', 209, '209', 'triangle-ne-dot',\n 309, '309', 'triangle-ne-open-dot', 10, '10',\n 'triangle-se', 110, '110', 'triangle-se-open', 210, '210',\n 'triangle-se-dot', 310, '310', 'triangle-se-open-dot', 11,\n '11', 'triangle-sw', 111, '111', 'triangle-sw-open', 211,\n '211', 'triangle-sw-dot', 311, '311',\n 'triangle-sw-open-dot', 12, '12', 'triangle-nw', 112,\n '112', 'triangle-nw-open', 212, '212', 'triangle-nw-dot',\n 312, '312', 'triangle-nw-open-dot', 13, '13', 'pentagon',\n 113, '113', 'pentagon-open', 213, '213', 'pentagon-dot',\n 313, '313', 'pentagon-open-dot', 14, '14', 'hexagon', 114,\n '114', 'hexagon-open', 214, '214', 'hexagon-dot', 314,\n '314', 'hexagon-open-dot', 15, '15', 'hexagon2', 115,\n '115', 'hexagon2-open', 215, '215', 'hexagon2-dot', 315,\n '315', 'hexagon2-open-dot', 16, '16', 'octagon', 116,\n '116', 'octagon-open', 216, '216', 'octagon-dot', 316,\n '316', 'octagon-open-dot', 17, '17', 'star', 117, '117',\n 'star-open', 217, '217', 'star-dot', 317, '317',\n 'star-open-dot', 18, '18', 'hexagram', 118, '118',\n 'hexagram-open', 218, '218', 'hexagram-dot', 318, '318',\n 'hexagram-open-dot', 19, '19', 'star-triangle-up', 119,\n '119', 'star-triangle-up-open', 219, '219',\n 'star-triangle-up-dot', 319, '319',\n 'star-triangle-up-open-dot', 20, '20',\n 'star-triangle-down', 120, '120',\n 'star-triangle-down-open', 220, '220',\n 'star-triangle-down-dot', 320, '320',\n 'star-triangle-down-open-dot', 21, '21', 'star-square',\n 121, '121', 'star-square-open', 221, '221',\n 'star-square-dot', 321, '321', 'star-square-open-dot', 22,\n '22', 'star-diamond', 122, '122', 'star-diamond-open',\n 222, '222', 'star-diamond-dot', 322, '322',\n 'star-diamond-open-dot', 23, '23', 'diamond-tall', 123,\n '123', 'diamond-tall-open', 223, '223',\n 'diamond-tall-dot', 323, '323', 'diamond-tall-open-dot',\n 24, '24', 'diamond-wide', 124, '124', 'diamond-wide-open',\n 224, '224', 'diamond-wide-dot', 324, '324',\n 'diamond-wide-open-dot', 25, '25', 'hourglass', 125,\n '125', 'hourglass-open', 26, '26', 'bowtie', 126, '126',\n 'bowtie-open', 27, '27', 'circle-cross', 127, '127',\n 'circle-cross-open', 28, '28', 'circle-x', 128, '128',\n 'circle-x-open', 29, '29', 'square-cross', 129, '129',\n 'square-cross-open', 30, '30', 'square-x', 130, '130',\n 'square-x-open', 31, '31', 'diamond-cross', 131, '131',\n 'diamond-cross-open', 32, '32', 'diamond-x', 132, '132',\n 'diamond-x-open', 33, '33', 'cross-thin', 133, '133',\n 'cross-thin-open', 34, '34', 'x-thin', 134, '134',\n 'x-thin-open', 35, '35', 'asterisk', 135, '135',\n 'asterisk-open', 36, '36', 'hash', 136, '136',\n 'hash-open', 236, '236', 'hash-dot', 336, '336',\n 'hash-open-dot', 37, '37', 'y-up', 137, '137',\n 'y-up-open', 38, '38', 'y-down', 138, '138',\n 'y-down-open', 39, '39', 'y-left', 139, '139',\n 'y-left-open', 40, '40', 'y-right', 140, '140',\n 'y-right-open', 41, '41', 'line-ew', 141, '141',\n 'line-ew-open', 42, '42', 'line-ns', 142, '142',\n 'line-ns-open', 43, '43', 'line-ne', 143, '143',\n 'line-ne-open', 44, '44', 'line-nw', 144, '144',\n 'line-nw-open', 45, '45', 'arrow-up', 145, '145',\n 'arrow-up-open', 46, '46', 'arrow-down', 146, '146',\n 'arrow-down-open', 47, '47', 'arrow-left', 147, '147',\n 'arrow-left-open', 48, '48', 'arrow-right', 148, '148',\n 'arrow-right-open', 49, '49', 'arrow-bar-up', 149, '149',\n 'arrow-bar-up-open', 50, '50', 'arrow-bar-down', 150,\n '150', 'arrow-bar-down-open', 51, '51', 'arrow-bar-left',\n 151, '151', 'arrow-bar-left-open', 52, '52',\n 'arrow-bar-right', 152, '152', 'arrow-bar-right-open', 53,\n '53', 'arrow', 153, '153', 'arrow-open', 54, '54',\n 'arrow-wide', 154, '154', 'arrow-wide-open']\n\n Returns\n -------\n Any\n """\n return self["symbol"]\n\n @symbol.setter\n def symbol(self, val):\n self["symbol"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n angle\n Sets the marker angle in respect to `angleref`.\n color\n Sets the marker color. It accepts either a specific\n color or an array of numbers that are mapped to the\n colorscale relative to the max and min values of the\n array or relative to `marker.cmin` and `marker.cmax` if\n set.\n line\n :class:`plotly.graph_objects.box.marker.Line` instance\n or dict with compatible properties\n opacity\n Sets the marker opacity.\n outliercolor\n Sets the color of the outlier sample points.\n size\n Sets the marker size (in px).\n symbol\n Sets the marker symbol type. Adding 100 is equivalent\n to appending "-open" to a symbol name. Adding 200 is\n equivalent to appending "-dot" to a symbol name. Adding\n 300 is equivalent to appending "-open-dot" or "dot-\n open" to a symbol name.\n """\n\n def __init__(\n self,\n arg=None,\n angle=None,\n color=None,\n line=None,\n opacity=None,\n outliercolor=None,\n size=None,\n symbol=None,\n **kwargs,\n ):\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 :class:`plotly.graph_objs.box.Marker`\n angle\n Sets the marker angle in respect to `angleref`.\n color\n Sets the marker color. It accepts either a specific\n color or an array of numbers that are mapped to the\n colorscale relative to the max and min values of the\n array or relative to `marker.cmin` and `marker.cmax` if\n set.\n line\n :class:`plotly.graph_objects.box.marker.Line` instance\n or dict with compatible properties\n opacity\n Sets the marker opacity.\n outliercolor\n Sets the color of the outlier sample points.\n size\n Sets the marker size (in px).\n symbol\n Sets the marker symbol type. Adding 100 is equivalent\n to appending "-open" to a symbol name. Adding 200 is\n equivalent to appending "-dot" to a symbol name. Adding\n 300 is equivalent to appending "-open-dot" or "dot-\n open" to a symbol name.\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.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("angle", arg, angle)\n self._set_property("color", arg, color)\n self._set_property("line", arg, line)\n self._set_property("opacity", arg, opacity)\n self._set_property("outliercolor", arg, outliercolor)\n self._set_property("size", arg, size)\n self._set_property("symbol", arg, symbol)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\box\_marker.py
_marker.py
Python
13,981
0.95
0.081232
0.009375
python-kit
72
2024-07-24T16:13:21.906057
MIT
false
8c309535ab9770b25e4276c325eeb0b8
# --- 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 = "box"\n _path_str = "box.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.box.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.box.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.box.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 :class:`plotly.graph_objs.box.Selected`\n marker\n :class:`plotly.graph_objects.box.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.box.Selected\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\_selected.py
_selected.py
Python
2,366
0.95
0.151899
0.030303
react-lib
383
2024-05-31T17:36:01.923361
MIT
false
53f92b1ba46209c9d43824cde03213e0
# --- 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 = "box"\n _path_str = "box.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.box.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.box.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\_stream.py
_stream.py
Python
3,479
0.95
0.123894
0.021053
node-utils
764
2024-06-26T10:58:59.887920
Apache-2.0
false
224109e4f70b1b61336e9be928526290
# --- 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 = "box"\n _path_str = "box.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.box.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.box.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.box.unselected.Marker`\n 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.box.Unselected`\n marker\n :class:`plotly.graph_objects.box.unselected.Marker`\n 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.box.Unselected\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\_unselected.py
_unselected.py
Python
2,402
0.95
0.15
0.029851
node-utils
531
2024-02-24T23:45:25.852122
MIT
false
e3b67e9f2f7fddb6e810fc6cf3bb7424
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._hoverlabel import Hoverlabel\n from ._legendgrouptitle import Legendgrouptitle\n from ._line import Line\n from ._marker import Marker\n from ._selected import Selected\n from ._stream import Stream\n from ._unselected import Unselected\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 [".hoverlabel", ".legendgrouptitle", ".marker", ".selected", ".unselected"],\n [\n "._hoverlabel.Hoverlabel",\n "._legendgrouptitle.Legendgrouptitle",\n "._line.Line",\n "._marker.Marker",\n "._selected.Selected",\n "._stream.Stream",\n "._unselected.Unselected",\n ],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\box\__init__.py
__init__.py
Python
967
0.85
0.03125
0
awesome-app
845
2023-11-30T23:16:57.321673
BSD-3-Clause
false
fca678c77f78a46c96ba3cb9df89db64
# --- 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 = "box.hoverlabel"\n _path_str = "box.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.box.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.box.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\hoverlabel\_font.py
_font.py
Python
17,123
0.95
0.136286
0.005976
node-utils
569
2023-07-19T14:37:59.913640
BSD-3-Clause
false
c41aaf6b4d71ba8a3f93455092d82143
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\box\hoverlabel\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
122
2024-07-13T20:21:32.475281
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\hoverlabel\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
18,365
0.8
0.1
0
vue-tools
748
2024-12-07T05:14:11.963076
BSD-3-Clause
false
c1aa4de3a26f690c7a604ec2d4e3361e
\n\n
.venv\Lib\site-packages\plotly\graph_objs\box\hoverlabel\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
500
0.85
0
0
awesome-app
162
2025-02-14T04:26:58.429515
GPL-3.0
false
cbeaec559125fbd2f29fcf59e90b79d3
# --- 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 = "box.legendgrouptitle"\n _path_str = "box.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.box.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.box.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.box.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\box\legendgrouptitle\_font.py
_font.py
Python
9,906
0.95
0.10479
0.010526
awesome-app
33
2024-12-28T22:36:08.317997
BSD-3-Clause
false
e520eea154a5944843881e0bd7ba7bd8
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\box\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
python-kit
294
2023-08-17T13:07:04.281888
BSD-3-Clause
false
78f0039a1e574405772be52751197792