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\layout\scene\xaxis\__pycache__\_title.cpython-313.pyc | _title.cpython-313.pyc | Other | 3,730 | 0.8 | 0.034091 | 0 | python-kit | 771 | 2024-03-06T07:35:27.666216 | GPL-3.0 | false | 9f7111648c04820061d4923fd89a80fd |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 808 | 0.95 | 0 | 0 | awesome-app | 750 | 2023-12-08T06:28:55.710661 | BSD-3-Clause | false | 7842813359c62e5339027e50048d0e45 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Autorangeoptions(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.yaxis"\n _path_str = "layout.scene.yaxis.autorangeoptions"\n _valid_props = {\n "clipmax",\n "clipmin",\n "include",\n "includesrc",\n "maxallowed",\n "minallowed",\n }\n\n @property\n def clipmax(self):\n """\n Clip autorange maximum if it goes beyond this value. Has no\n effect when `autorangeoptions.maxallowed` is provided.\n\n The 'clipmax' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmax"]\n\n @clipmax.setter\n def clipmax(self, val):\n self["clipmax"] = val\n\n @property\n def clipmin(self):\n """\n Clip autorange minimum if it goes beyond this value. Has no\n effect when `autorangeoptions.minallowed` is provided.\n\n The 'clipmin' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmin"]\n\n @clipmin.setter\n def clipmin(self, val):\n self["clipmin"] = val\n\n @property\n def include(self):\n """\n Ensure this value is included in autorange.\n\n The 'include' property accepts values of any type\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["include"]\n\n @include.setter\n def include(self, val):\n self["include"] = val\n\n @property\n def includesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `include`.\n\n The 'includesrc' 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["includesrc"]\n\n @includesrc.setter\n def includesrc(self, val):\n self["includesrc"] = val\n\n @property\n def maxallowed(self):\n """\n Use this value exactly as autorange maximum.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Use this value exactly as autorange minimum.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n """\n\n def __init__(\n self,\n arg=None,\n clipmax=None,\n clipmin=None,\n include=None,\n includesrc=None,\n maxallowed=None,\n minallowed=None,\n **kwargs,\n ):\n """\n Construct a new Autorangeoptions object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.y\n axis.Autorangeoptions`\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n\n Returns\n -------\n Autorangeoptions\n """\n super().__init__("autorangeoptions")\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.layout.scene.yaxis.Autorangeoptions\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.yaxis.Autorangeoptions`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("clipmax", arg, clipmax)\n self._set_property("clipmin", arg, clipmin)\n self._set_property("include", arg, include)\n self._set_property("includesrc", arg, includesrc)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\_autorangeoptions.py | _autorangeoptions.py | Python | 5,894 | 0.95 | 0.12963 | 0.016484 | node-utils | 454 | 2025-02-24T17:37:39.565418 | Apache-2.0 | false | b326b72e47c63c3c04d7e5a5429ca51f |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.yaxis"\n _path_str = "layout.scene.yaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.yaxis.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.layout.scene.yaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.yaxis.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\layout\scene\yaxis\_tickfont.py | _tickfont.py | Python | 9,914 | 0.95 | 0.10479 | 0.010526 | node-utils | 156 | 2024-02-28T08:09:16.676805 | GPL-3.0 | false | 931632b9131dfa2b4c6d7ba8440c6d01 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.yaxis"\n _path_str = "layout.scene.yaxis.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.layout.scene.y\n axis.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.layout.scene.yaxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.yaxis.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\layout\scene\yaxis\_tickformatstop.py | _tickformatstop.py | Python | 8,527 | 0.95 | 0.082988 | 0.019048 | node-utils | 725 | 2024-02-18T17:58:01.078899 | MIT | false | e307b311fcc66d6d64c6685c5c5b8e37 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.yaxis"\n _path_str = "layout.scene.yaxis.title"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this axis' title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.yaxis.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.layout.scene.yaxis.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 text(self):\n """\n Sets the title of this axis.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.yaxis.Title`\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.yaxis.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.yaxis.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("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\_title.py | _title.py | Python | 2,861 | 0.95 | 0.115385 | 0.023256 | awesome-app | 376 | 2023-12-26T06:45:10.823246 | MIT | false | 812824765a105bfbab8aeaffeaedf639 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._autorangeoptions import Autorangeoptions\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 [\n "._autorangeoptions.Autorangeoptions",\n "._tickfont.Tickfont",\n "._tickformatstop.Tickformatstop",\n "._title.Title",\n ],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\__init__.py | __init__.py | Python | 596 | 0.85 | 0.045455 | 0 | vue-tools | 292 | 2025-01-18T06:25:04.528281 | MIT | false | 4e73dd48e8c9c8599c98139b5aa0ce7a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.yaxis.title"\n _path_str = "layout.scene.yaxis.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this axis' title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.y\n axis.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.layout.scene.yaxis.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.yaxis.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\layout\scene\yaxis\title\_font.py | _font.py | Python | 9,921 | 0.95 | 0.10479 | 0.010526 | python-kit | 962 | 2024-01-20T03:58:50.677699 | BSD-3-Clause | false | 827f6fb4e0679bf676387fa8c97b0e07 |
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\layout\scene\yaxis\title\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | awesome-app | 672 | 2024-10-25T15:54:58.495641 | Apache-2.0 | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\title\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,926 | 0.8 | 0.048583 | 0 | vue-tools | 163 | 2024-04-02T05:36:11.831401 | GPL-3.0 | false | b14bbe8b938b9af01b340d5f79c3909d |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\title\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 510 | 0.85 | 0 | 0 | node-utils | 75 | 2023-09-09T00:29:03.799562 | Apache-2.0 | false | 1dc87fa9e258cd6c18516f5deca937ff |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\__pycache__\_autorangeoptions.cpython-313.pyc | _autorangeoptions.cpython-313.pyc | Other | 6,954 | 0.8 | 0.073333 | 0 | react-lib | 38 | 2025-03-28T07:09:24.743499 | Apache-2.0 | false | 9f1aef386dd4d3a49fe3074fcd87a412 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 10,961 | 0.8 | 0.04918 | 0 | react-lib | 970 | 2023-11-26T09:31:01.724998 | BSD-3-Clause | false | 8f9b30296ebfe4a2e68ec793b354f028 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\__pycache__\_tickformatstop.cpython-313.pyc | _tickformatstop.cpython-313.pyc | Other | 9,305 | 0.8 | 0.024876 | 0.005348 | react-lib | 510 | 2023-08-27T14:54:31.296004 | MIT | false | 355384f13d800dcd94ae968eaae36425 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\__pycache__\_title.cpython-313.pyc | _title.cpython-313.pyc | Other | 3,730 | 0.8 | 0.034091 | 0 | awesome-app | 903 | 2024-01-16T00:13:30.567929 | GPL-3.0 | false | 233dc33b75e1ebe19e9db1d56de105a1 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\yaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 808 | 0.95 | 0 | 0 | python-kit | 272 | 2025-06-01T06:13:23.076493 | BSD-3-Clause | false | 422e11b2f8f6baa5afa7e20dcd29666a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Autorangeoptions(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.zaxis"\n _path_str = "layout.scene.zaxis.autorangeoptions"\n _valid_props = {\n "clipmax",\n "clipmin",\n "include",\n "includesrc",\n "maxallowed",\n "minallowed",\n }\n\n @property\n def clipmax(self):\n """\n Clip autorange maximum if it goes beyond this value. Has no\n effect when `autorangeoptions.maxallowed` is provided.\n\n The 'clipmax' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmax"]\n\n @clipmax.setter\n def clipmax(self, val):\n self["clipmax"] = val\n\n @property\n def clipmin(self):\n """\n Clip autorange minimum if it goes beyond this value. Has no\n effect when `autorangeoptions.minallowed` is provided.\n\n The 'clipmin' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmin"]\n\n @clipmin.setter\n def clipmin(self, val):\n self["clipmin"] = val\n\n @property\n def include(self):\n """\n Ensure this value is included in autorange.\n\n The 'include' property accepts values of any type\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["include"]\n\n @include.setter\n def include(self, val):\n self["include"] = val\n\n @property\n def includesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `include`.\n\n The 'includesrc' 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["includesrc"]\n\n @includesrc.setter\n def includesrc(self, val):\n self["includesrc"] = val\n\n @property\n def maxallowed(self):\n """\n Use this value exactly as autorange maximum.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Use this value exactly as autorange minimum.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n """\n\n def __init__(\n self,\n arg=None,\n clipmax=None,\n clipmin=None,\n include=None,\n includesrc=None,\n maxallowed=None,\n minallowed=None,\n **kwargs,\n ):\n """\n Construct a new Autorangeoptions object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.z\n axis.Autorangeoptions`\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n\n Returns\n -------\n Autorangeoptions\n """\n super().__init__("autorangeoptions")\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.layout.scene.zaxis.Autorangeoptions\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.zaxis.Autorangeoptions`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("clipmax", arg, clipmax)\n self._set_property("clipmin", arg, clipmin)\n self._set_property("include", arg, include)\n self._set_property("includesrc", arg, includesrc)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\_autorangeoptions.py | _autorangeoptions.py | Python | 5,894 | 0.95 | 0.12963 | 0.016484 | awesome-app | 436 | 2025-03-30T06:45:07.483562 | Apache-2.0 | false | b21eec12be3f396b2195d54c755bead8 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.zaxis"\n _path_str = "layout.scene.zaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.zaxis.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.layout.scene.zaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.zaxis.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\layout\scene\zaxis\_tickfont.py | _tickfont.py | Python | 9,914 | 0.95 | 0.10479 | 0.010526 | react-lib | 0 | 2024-09-01T19:01:58.043614 | GPL-3.0 | false | 11668fc137971a71b3ffeaac39195141 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.zaxis"\n _path_str = "layout.scene.zaxis.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.layout.scene.z\n axis.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.layout.scene.zaxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.zaxis.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\layout\scene\zaxis\_tickformatstop.py | _tickformatstop.py | Python | 8,527 | 0.95 | 0.082988 | 0.019048 | node-utils | 290 | 2024-09-27T09:45:28.786253 | Apache-2.0 | false | b2283128fde583633b4458ca5dce0e9a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.zaxis"\n _path_str = "layout.scene.zaxis.title"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this axis' title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.zaxis.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.layout.scene.zaxis.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 text(self):\n """\n Sets the title of this axis.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.zaxis.Title`\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.zaxis.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.zaxis.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("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\_title.py | _title.py | Python | 2,861 | 0.95 | 0.115385 | 0.023256 | python-kit | 642 | 2023-10-04T18:36:11.362348 | MIT | false | 29e1d90bbf477600a9fb3dcefc9f7686 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._autorangeoptions import Autorangeoptions\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 [\n "._autorangeoptions.Autorangeoptions",\n "._tickfont.Tickfont",\n "._tickformatstop.Tickformatstop",\n "._title.Title",\n ],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\__init__.py | __init__.py | Python | 596 | 0.85 | 0.045455 | 0 | node-utils | 888 | 2023-08-30T16:12:28.691449 | GPL-3.0 | false | 4e73dd48e8c9c8599c98139b5aa0ce7a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.zaxis.title"\n _path_str = "layout.scene.zaxis.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this axis' title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.z\n axis.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.layout.scene.zaxis.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.zaxis.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\layout\scene\zaxis\title\_font.py | _font.py | Python | 9,921 | 0.95 | 0.10479 | 0.010526 | node-utils | 474 | 2023-08-15T13:52:04.960385 | Apache-2.0 | false | 3ade443879dff53783f89fe2b116c978 |
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\layout\scene\zaxis\title\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | react-lib | 855 | 2025-05-07T01:45:15.017705 | BSD-3-Clause | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\title\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,926 | 0.8 | 0.048583 | 0 | python-kit | 572 | 2024-07-09T00:52:20.666213 | BSD-3-Clause | false | 2bff1f45eeaeaa267090bce8223dfd53 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\title\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 510 | 0.85 | 0 | 0 | react-lib | 223 | 2024-02-05T02:41:27.442573 | GPL-3.0 | false | 108fa0efa6882e5f4de8f77701092d1c |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\__pycache__\_autorangeoptions.cpython-313.pyc | _autorangeoptions.cpython-313.pyc | Other | 6,954 | 0.8 | 0.073333 | 0 | vue-tools | 662 | 2025-02-10T05:18:29.216207 | GPL-3.0 | false | 93f7b7fdf0f9ff4e4ae539a8abf9d930 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 10,961 | 0.8 | 0.04918 | 0 | vue-tools | 995 | 2023-11-16T05:00:31.395900 | GPL-3.0 | false | 3eb0b639f6131cdef3b76eb07470b795 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\__pycache__\_tickformatstop.cpython-313.pyc | _tickformatstop.cpython-313.pyc | Other | 9,305 | 0.8 | 0.024876 | 0.005348 | python-kit | 827 | 2024-04-29T14:28:51.918378 | Apache-2.0 | false | 6d1cdd873b204b09ee868ce742dbb3e6 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\__pycache__\_title.cpython-313.pyc | _title.cpython-313.pyc | Other | 3,730 | 0.8 | 0.034091 | 0 | vue-tools | 945 | 2024-06-04T20:55:33.402755 | Apache-2.0 | false | aa7d091a41746527062cb66cb711176b |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\zaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 808 | 0.95 | 0 | 0 | react-lib | 499 | 2023-10-26T15:53:57.437476 | Apache-2.0 | false | 48a817b8549c619de61c437c6851aa27 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_annotation.cpython-313.pyc | _annotation.cpython-313.pyc | Other | 42,397 | 0.8 | 0.063981 | 0 | vue-tools | 474 | 2023-09-01T16:38:50.581456 | GPL-3.0 | false | 954f65d3dc4bc23a8243ead380cbe3d9 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_aspectratio.cpython-313.pyc | _aspectratio.cpython-313.pyc | Other | 3,886 | 0.8 | 0.024096 | 0 | node-utils | 422 | 2024-11-29T20:07:12.488739 | MIT | false | 42b678b66d2fb22f74bf6e6041d57538 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_camera.cpython-313.pyc | _camera.cpython-313.pyc | Other | 7,086 | 0.8 | 0.054422 | 0 | vue-tools | 772 | 2023-07-25T02:08:30.301137 | MIT | false | d0267d845c97c55bfda4ebadc8a1a191 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_domain.cpython-313.pyc | _domain.cpython-313.pyc | Other | 6,036 | 0.8 | 0.10219 | 0.016129 | awesome-app | 602 | 2025-02-09T12:10:24.243564 | BSD-3-Clause | false | 3df1fa84413713374f7bd286ae852157 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_xaxis.cpython-313.pyc | _xaxis.cpython-313.pyc | Other | 75,664 | 0.6 | 0.094642 | 0.00228 | python-kit | 551 | 2023-10-15T18:54:19.781143 | Apache-2.0 | false | fb0314d71c895a97c08d8b0fe9338d8c |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_yaxis.cpython-313.pyc | _yaxis.cpython-313.pyc | Other | 75,664 | 0.6 | 0.094642 | 0.00228 | python-kit | 435 | 2024-03-21T19:08:37.078821 | MIT | false | 53e6ae8e5ebc08ade3755102dc0873b6 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\_zaxis.cpython-313.pyc | _zaxis.cpython-313.pyc | Other | 75,664 | 0.6 | 0.094642 | 0.00228 | vue-tools | 237 | 2024-07-12T00:47:40.454621 | BSD-3-Clause | false | 4319a530b2f82e716900066a592300b3 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 1,080 | 0.85 | 0 | 0 | react-lib | 675 | 2024-01-11T17:08:17.729611 | Apache-2.0 | false | 9af9b097fe262cded3ac08b1d72050fc |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.selection"\n _path_str = "layout.selection.line"\n _valid_props = {"color", "dash", "width"}\n\n @property\n def color(self):\n """\n Sets the line color.\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 dash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'dash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["dash"]\n\n @dash.setter\n def dash(self, val):\n self["dash"] = val\n\n @property\n def width(self):\n """\n Sets the line width (in px).\n\n The 'width' 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["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 line color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\n """\n\n def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.selection.Line`\n color\n Sets the line color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\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.layout.selection.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.selection.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("dash", arg, dash)\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\layout\selection\_line.py | _line.py | Python | 4,166 | 0.95 | 0.100719 | 0.017094 | react-lib | 828 | 2023-10-18T23:44:00.606635 | BSD-3-Clause | false | 888e3e90e353ec894f6caad05cc36338 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._line import Line\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\selection\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | react-lib | 5 | 2023-10-06T06:27:41.795978 | GPL-3.0 | false | f588da998a6d694bb21b2be29a9f27bb |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\selection\__pycache__\_line.cpython-313.pyc | _line.cpython-313.pyc | Other | 5,047 | 0.8 | 0.028571 | 0 | awesome-app | 987 | 2023-09-22T19:13:34.111934 | GPL-3.0 | false | c9e3d3be556068bb0f58498d5f1a53a4 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\selection\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 502 | 0.85 | 0 | 0 | python-kit | 782 | 2023-07-10T21:42:05.790009 | BSD-3-Clause | false | e1b99b2b35204861cee3c37a892a75f4 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Label(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.shape"\n _path_str = "layout.shape.label"\n _valid_props = {\n "font",\n "padding",\n "text",\n "textangle",\n "textposition",\n "texttemplate",\n "xanchor",\n "yanchor",\n }\n\n @property\n def font(self):\n """\n Sets the shape label text 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.layout.shape.label.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.layout.shape.label.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def padding(self):\n """\n Sets padding (in px) between edge of label and edge of shape.\n\n The 'padding' 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["padding"]\n\n @padding.setter\n def padding(self, val):\n self["padding"] = val\n\n @property\n def text(self):\n """\n Sets the text to display with shape. It is also used for legend\n item if `name` is not provided.\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 textangle(self):\n """\n Sets the angle at which the label text is drawn with respect to\n the horizontal. For lines, angle "auto" is the same angle as\n the line. For all other shapes, angle "auto" is horizontal.\n\n The 'textangle' 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["textangle"]\n\n @textangle.setter\n def textangle(self, val):\n self["textangle"] = val\n\n @property\n def textposition(self):\n """\n Sets the position of the label text relative to the shape.\n Supported values for rectangles, circles and paths are *top\n left*, *top center*, *top right*, *middle left*, *middle\n center*, *middle right*, *bottom left*, *bottom center*, and\n *bottom right*. Supported values for lines are "start",\n "middle", and "end". Default: *middle center* for rectangles,\n circles, and paths; "middle" for lines.\n\n The 'textposition' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top left', 'top center', 'top right', 'middle left',\n 'middle center', 'middle right', 'bottom left', 'bottom\n center', 'bottom right', 'start', 'middle', 'end']\n\n Returns\n -------\n Any\n """\n return self["textposition"]\n\n @textposition.setter\n def textposition(self, val):\n self["textposition"] = val\n\n @property\n def texttemplate(self):\n """\n Template string used for rendering the shape's label. Note that\n this will override `text`. Variables are inserted using\n %{variable}, for example "x0: %{x0}". Numbers are formatted\n using d3-format's syntax %{variable:d3-format}, for example\n "Price: %{x0:$.2f}". See\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format for\n details on the formatting syntax. Dates are formatted using\n d3-time-format's syntax %{variable|d3-time-format}, for example\n "Day: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format for details on the date\n formatting syntax. A single multiplication or division\n operation may be applied to numeric variables, and combined\n with d3 number formatting, for example "Length in cm:\n %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes,\n variable values are given in log units. For date axes, x/y\n coordinate variables and center variables use datetimes, while\n all other variable values use values in ms. Finally, the\n template string has access to variables `x0`, `x1`, `y0`, `y1`,\n `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and\n `ycenter`.\n\n The 'texttemplate' 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["texttemplate"]\n\n @texttemplate.setter\n def texttemplate(self, val):\n self["texttemplate"] = val\n\n @property\n def xanchor(self):\n """\n Sets the label's horizontal position anchor This anchor binds\n the specified `textposition` to the "left", "center" or "right"\n of the label text. For example, if `textposition` is set to\n *top right* and `xanchor` to "right" then the right-most\n portion of the label text lines up with the right-most edge of\n the shape.\n\n The 'xanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', '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 yanchor(self):\n """\n Sets the label's vertical position anchor This anchor binds the\n specified `textposition` to the "top", "middle" or "bottom" of\n the label text. For example, if `textposition` is set to *top\n right* and `yanchor` to "top" then the top-most portion of the\n label text lines up with the top-most edge of the shape.\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 _prop_descriptions(self):\n return """\\n font\n Sets the shape label text font.\n padding\n Sets padding (in px) between edge of label and edge of\n shape.\n text\n Sets the text to display with shape. It is also used\n for legend item if `name` is not provided.\n textangle\n Sets the angle at which the label text is drawn with\n respect to the horizontal. For lines, angle "auto" is\n the same angle as the line. For all other shapes, angle\n "auto" is horizontal.\n textposition\n Sets the position of the label text relative to the\n shape. Supported values for rectangles, circles and\n paths are *top left*, *top center*, *top right*,\n *middle left*, *middle center*, *middle right*, *bottom\n left*, *bottom center*, and *bottom right*. Supported\n values for lines are "start", "middle", and "end".\n Default: *middle center* for rectangles, circles, and\n paths; "middle" for lines.\n texttemplate\n Template string used for rendering the shape's label.\n Note that this will override `text`. Variables are\n inserted using %{variable}, for example "x0: %{x0}".\n Numbers are formatted using d3-format's syntax\n %{variable:d3-format}, for example "Price: %{x0:$.2f}".\n See\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format\n for details on the formatting syntax. Dates are\n formatted using d3-time-format's syntax\n %{variable|d3-time-format}, for example "Day: %{x0|%m\n %b %Y}". See https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format for details on the\n date formatting syntax. A single multiplication or\n division operation may be applied to numeric variables,\n and combined with d3 number formatting, for example\n "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per\n second." For log axes, variable values are given in log\n units. For date axes, x/y coordinate variables and\n center variables use datetimes, while all other\n variable values use values in ms. Finally, the template\n string has access to variables `x0`, `x1`, `y0`, `y1`,\n `slope`, `dx`, `dy`, `width`, `height`, `length`,\n `xcenter` and `ycenter`.\n xanchor\n Sets the label's horizontal position anchor This anchor\n binds the specified `textposition` to the "left",\n "center" or "right" of the label text. For example, if\n `textposition` is set to *top right* and `xanchor` to\n "right" then the right-most portion of the label text\n lines up with the right-most edge of the shape.\n yanchor\n Sets the label's vertical position anchor This anchor\n binds the specified `textposition` to the "top",\n "middle" or "bottom" of the label text. For example, if\n `textposition` is set to *top right* and `yanchor` to\n "top" then the top-most portion of the label text lines\n up with the top-most edge of the shape.\n """\n\n def __init__(\n self,\n arg=None,\n font=None,\n padding=None,\n text=None,\n textangle=None,\n textposition=None,\n texttemplate=None,\n xanchor=None,\n yanchor=None,\n **kwargs,\n ):\n """\n Construct a new Label 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.layout.shape.Label`\n font\n Sets the shape label text font.\n padding\n Sets padding (in px) between edge of label and edge of\n shape.\n text\n Sets the text to display with shape. It is also used\n for legend item if `name` is not provided.\n textangle\n Sets the angle at which the label text is drawn with\n respect to the horizontal. For lines, angle "auto" is\n the same angle as the line. For all other shapes, angle\n "auto" is horizontal.\n textposition\n Sets the position of the label text relative to the\n shape. Supported values for rectangles, circles and\n paths are *top left*, *top center*, *top right*,\n *middle left*, *middle center*, *middle right*, *bottom\n left*, *bottom center*, and *bottom right*. Supported\n values for lines are "start", "middle", and "end".\n Default: *middle center* for rectangles, circles, and\n paths; "middle" for lines.\n texttemplate\n Template string used for rendering the shape's label.\n Note that this will override `text`. Variables are\n inserted using %{variable}, for example "x0: %{x0}".\n Numbers are formatted using d3-format's syntax\n %{variable:d3-format}, for example "Price: %{x0:$.2f}".\n See\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format\n for details on the formatting syntax. Dates are\n formatted using d3-time-format's syntax\n %{variable|d3-time-format}, for example "Day: %{x0|%m\n %b %Y}". See https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format for details on the\n date formatting syntax. A single multiplication or\n division operation may be applied to numeric variables,\n and combined with d3 number formatting, for example\n "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per\n second." For log axes, variable values are given in log\n units. For date axes, x/y coordinate variables and\n center variables use datetimes, while all other\n variable values use values in ms. Finally, the template\n string has access to variables `x0`, `x1`, `y0`, `y1`,\n `slope`, `dx`, `dy`, `width`, `height`, `length`,\n `xcenter` and `ycenter`.\n xanchor\n Sets the label's horizontal position anchor This anchor\n binds the specified `textposition` to the "left",\n "center" or "right" of the label text. For example, if\n `textposition` is set to *top right* and `xanchor` to\n "right" then the right-most portion of the label text\n lines up with the right-most edge of the shape.\n yanchor\n Sets the label's vertical position anchor This anchor\n binds the specified `textposition` to the "top",\n "middle" or "bottom" of the label text. For example, if\n `textposition` is set to *top right* and `yanchor` to\n "top" then the top-most portion of the label text lines\n up with the top-most edge of the shape.\n\n Returns\n -------\n Label\n """\n super().__init__("label")\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.layout.shape.Label\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.shape.Label`""")\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("padding", arg, padding)\n self._set_property("text", arg, text)\n self._set_property("textangle", arg, textangle)\n self._set_property("textposition", arg, textposition)\n self._set_property("texttemplate", arg, texttemplate)\n self._set_property("xanchor", arg, xanchor)\n self._set_property("yanchor", arg, yanchor)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\_label.py | _label.py | Python | 15,199 | 0.95 | 0.181818 | 0.019774 | vue-tools | 981 | 2024-06-04T15:49:47.741486 | GPL-3.0 | false | 56a596decaca41dee28f311d3781b98f |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.shape"\n _path_str = "layout.shape.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.layout.shape.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.layout.shape.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 :class:`plotly.graph_objs.layout.shape.L\n egendgrouptitle`\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.layout.shape.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.shape.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\layout\shape\_legendgrouptitle.py | _legendgrouptitle.py | Python | 2,978 | 0.95 | 0.115385 | 0.023256 | node-utils | 869 | 2024-12-30T22:33:51.242376 | Apache-2.0 | false | 258fd7af844101319e76526bb1868818 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.shape"\n _path_str = "layout.shape.line"\n _valid_props = {"color", "dash", "width"}\n\n @property\n def color(self):\n """\n Sets the line color.\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 dash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'dash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["dash"]\n\n @dash.setter\n def dash(self, val):\n self["dash"] = val\n\n @property\n def width(self):\n """\n Sets the line width (in px).\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 line color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\n """\n\n def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.shape.Line`\n color\n Sets the line color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\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.layout.shape.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.shape.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("dash", arg, dash)\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\layout\shape\_line.py | _line.py | Python | 4,146 | 0.95 | 0.100719 | 0.017094 | python-kit | 963 | 2023-08-16T22:17:33.088343 | MIT | false | ba38e983ec067950c09eeddd5ede2bc6 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._label import Label\n from ._legendgrouptitle import Legendgrouptitle\n from ._line import Line\n from . import label\n from . import legendgrouptitle\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".label", ".legendgrouptitle"],\n ["._label.Label", "._legendgrouptitle.Legendgrouptitle", "._line.Line"],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\__init__.py | __init__.py | Python | 494 | 0.85 | 0.058824 | 0 | awesome-app | 917 | 2025-06-19T07:55:49.926880 | GPL-3.0 | false | 26d2d0589562fa75e7bfd0f55cfe22a0 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.shape.label"\n _path_str = "layout.shape.label.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 the shape label text 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.layout.shape.label.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.layout.shape.label.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.shape.label.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\layout\shape\label\_font.py | _font.py | Python | 9,894 | 0.95 | 0.10479 | 0.010526 | awesome-app | 422 | 2025-06-05T12:53:44.636165 | GPL-3.0 | false | c781396cff2e1a2ca8585226fc40d85f |
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\layout\shape\label\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | node-utils | 437 | 2025-06-17T19:39:42.816340 | BSD-3-Clause | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\label\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,893 | 0.8 | 0.048583 | 0 | awesome-app | 232 | 2025-04-25T05:45:56.595477 | GPL-3.0 | false | dcdbcd7b9c539f4fc7efe40fc24156c6 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\label\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 504 | 0.85 | 0 | 0 | awesome-app | 716 | 2025-05-10T10:30:34.043225 | GPL-3.0 | false | 80bf625d3b8dfd57ea5e2cc48b9c5428 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.shape.legendgrouptitle"\n _path_str = "layout.shape.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.layout.shape.l\n egendgrouptitle.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.layout.shape.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.shape.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\layout\shape\legendgrouptitle\_font.py | _font.py | Python | 9,955 | 0.95 | 0.10479 | 0.010526 | react-lib | 852 | 2023-08-16T11:21:41.391822 | BSD-3-Clause | false | f4dce19540d95408cd49ff5156c815b8 |
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\layout\shape\legendgrouptitle\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | node-utils | 21 | 2024-09-12T04:59:19.284052 | GPL-3.0 | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\legendgrouptitle\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,965 | 0.8 | 0.048583 | 0 | python-kit | 66 | 2023-10-21T00:38:35.154598 | GPL-3.0 | false | affa615cc4c8c87096b33294cba9bc5e |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\legendgrouptitle\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 515 | 0.85 | 0 | 0 | python-kit | 90 | 2024-07-10T08:11:01.075217 | GPL-3.0 | false | b6ff2baa2f2f680cbafabe94b9b55f6e |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\__pycache__\_label.cpython-313.pyc | _label.cpython-313.pyc | Other | 15,633 | 0.8 | 0.159375 | 0.013289 | python-kit | 110 | 2025-03-02T18:59:10.044074 | GPL-3.0 | false | 1690b58bcef99ccfd3488e16905c486f |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\__pycache__\_legendgrouptitle.cpython-313.pyc | _legendgrouptitle.cpython-313.pyc | Other | 3,897 | 0.8 | 0.034884 | 0 | react-lib | 562 | 2023-08-14T12:48:38.447577 | BSD-3-Clause | false | 725cd587a071ad2391c089af3fb08324 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\__pycache__\_line.cpython-313.pyc | _line.cpython-313.pyc | Other | 5,022 | 0.8 | 0.028571 | 0 | node-utils | 625 | 2025-01-24T23:33:55.026448 | Apache-2.0 | false | fedfcedf8a2627db7e013bda59da5bd4 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\shape\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 761 | 0.95 | 0 | 0 | awesome-app | 176 | 2024-09-18T11:20:55.598789 | GPL-3.0 | false | 4fd12a0ec66faed02af8a46c69607f8c |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Currentvalue(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.slider"\n _path_str = "layout.slider.currentvalue"\n _valid_props = {"font", "offset", "prefix", "suffix", "visible", "xanchor"}\n\n @property\n def font(self):\n """\n Sets the font of the current value label text.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.slider.currentvalue.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.layout.slider.currentvalue.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def offset(self):\n """\n The amount of space, in pixels, between the current value label\n and the slider.\n\n The 'offset' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["offset"]\n\n @offset.setter\n def offset(self, val):\n self["offset"] = val\n\n @property\n def prefix(self):\n """\n When currentvalue.visible is true, this sets the prefix of the\n label.\n\n The 'prefix' 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["prefix"]\n\n @prefix.setter\n def prefix(self, val):\n self["prefix"] = val\n\n @property\n def suffix(self):\n """\n When currentvalue.visible is true, this sets the suffix of the\n label.\n\n The 'suffix' 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["suffix"]\n\n @suffix.setter\n def suffix(self, val):\n self["suffix"] = val\n\n @property\n def visible(self):\n """\n Shows the currently-selected value above the slider.\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def xanchor(self):\n """\n The alignment of the value readout relative to the length of\n the slider.\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 _prop_descriptions(self):\n return """\\n font\n Sets the font of the current value label text.\n offset\n The amount of space, in pixels, between the current\n value label and the slider.\n prefix\n When currentvalue.visible is true, this sets the prefix\n of the label.\n suffix\n When currentvalue.visible is true, this sets the suffix\n of the label.\n visible\n Shows the currently-selected value above the slider.\n xanchor\n The alignment of the value readout relative to the\n length of the slider.\n """\n\n def __init__(\n self,\n arg=None,\n font=None,\n offset=None,\n prefix=None,\n suffix=None,\n visible=None,\n xanchor=None,\n **kwargs,\n ):\n """\n Construct a new Currentvalue 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.layout.slider.Currentvalue`\n font\n Sets the font of the current value label text.\n offset\n The amount of space, in pixels, between the current\n value label and the slider.\n prefix\n When currentvalue.visible is true, this sets the prefix\n of the label.\n suffix\n When currentvalue.visible is true, this sets the suffix\n of the label.\n visible\n Shows the currently-selected value above the slider.\n xanchor\n The alignment of the value readout relative to the\n length of the slider.\n\n Returns\n -------\n Currentvalue\n """\n super().__init__("currentvalue")\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.layout.slider.Currentvalue\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.slider.Currentvalue`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("offset", arg, offset)\n self._set_property("prefix", arg, prefix)\n self._set_property("suffix", arg, suffix)\n self._set_property("visible", arg, visible)\n self._set_property("xanchor", arg, xanchor)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\_currentvalue.py | _currentvalue.py | Python | 6,059 | 0.95 | 0.090909 | 0.016129 | vue-tools | 163 | 2024-11-24T22:42:29.030445 | BSD-3-Clause | false | fdf6e66648b59e16088a2f8a30a8c32b |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.slider"\n _path_str = "layout.slider.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 the font of the slider step 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.layout.slider.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.layout.slider.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.slider.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\layout\slider\_font.py | _font.py | Python | 9,878 | 0.95 | 0.10479 | 0.010526 | python-kit | 633 | 2025-06-11T05:07:57.939993 | GPL-3.0 | false | 142b44ff36a3aff1b26217f46f337819 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Pad(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.slider"\n _path_str = "layout.slider.pad"\n _valid_props = {"b", "l", "r", "t"}\n\n @property\n def b(self):\n """\n The amount of padding (in px) along the bottom of the\n component.\n\n The 'b' 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["b"]\n\n @b.setter\n def b(self, val):\n self["b"] = val\n\n @property\n def l(self):\n """\n The amount of padding (in px) on the left side of the\n component.\n\n The 'l' 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["l"]\n\n @l.setter\n def l(self, val):\n self["l"] = val\n\n @property\n def r(self):\n """\n The amount of padding (in px) on the right side of the\n component.\n\n The 'r' 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["r"]\n\n @r.setter\n def r(self, val):\n self["r"] = val\n\n @property\n def t(self):\n """\n The amount of padding (in px) along the top of the component.\n\n The 't' 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["t"]\n\n @t.setter\n def t(self, val):\n self["t"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n b\n The amount of padding (in px) along the bottom of the\n component.\n l\n The amount of padding (in px) on the left side of the\n component.\n r\n The amount of padding (in px) on the right side of the\n component.\n t\n The amount of padding (in px) along the top of the\n component.\n """\n\n def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs):\n """\n Construct a new Pad object\n\n Set the padding of the slider component along each side.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.slider.Pad`\n b\n The amount of padding (in px) along the bottom of the\n component.\n l\n The amount of padding (in px) on the left side of the\n component.\n r\n The amount of padding (in px) on the right side of the\n component.\n t\n The amount of padding (in px) along the top of the\n component.\n\n Returns\n -------\n Pad\n """\n super().__init__("pad")\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.layout.slider.Pad\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.slider.Pad`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("b", arg, b)\n self._set_property("l", arg, l)\n self._set_property("r", arg, r)\n self._set_property("t", arg, t)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\_pad.py | _pad.py | Python | 4,055 | 0.95 | 0.09434 | 0.015152 | react-lib | 257 | 2025-02-09T23:14:28.856581 | GPL-3.0 | false | 8a1a0df954de637995a31028d250ddf4 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Step(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.slider"\n _path_str = "layout.slider.step"\n _valid_props = {\n "args",\n "execute",\n "label",\n "method",\n "name",\n "templateitemname",\n "value",\n "visible",\n }\n\n @property\n def args(self):\n """\n Sets the arguments values to be passed to the Plotly method set\n in `method` on slide.\n\n The 'args' property is an info array that may be specified as:\n\n * a list or tuple of up to 3 elements where:\n (0) The 'args[0]' property accepts values of any type\n (1) The 'args[1]' property accepts values of any type\n (2) The 'args[2]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["args"]\n\n @args.setter\n def args(self, val):\n self["args"] = val\n\n @property\n def execute(self):\n """\n When true, the API method is executed. When false, all other\n behaviors are the same and command execution is skipped. This\n may be useful when hooking into, for example, the\n `plotly_sliderchange` method and executing the API command\n manually without losing the benefit of the slider automatically\n binding to the state of the plot through the specification of\n `method` and `args`.\n\n The 'execute' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["execute"]\n\n @execute.setter\n def execute(self, val):\n self["execute"] = val\n\n @property\n def label(self):\n """\n Sets the text label to appear on the slider\n\n The 'label' 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["label"]\n\n @label.setter\n def label(self, val):\n self["label"] = val\n\n @property\n def method(self):\n """\n Sets the Plotly method to be called when the slider value is\n changed. If the `skip` method is used, the API slider will\n function as normal but will perform no API calls and will not\n bind automatically to state updates. This may be used to create\n a component interface and attach to slider events manually via\n JavaScript.\n\n The 'method' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['restyle', 'relayout', 'animate', 'update', 'skip']\n\n Returns\n -------\n Any\n """\n return self["method"]\n\n @method.setter\n def method(self, val):\n self["method"] = 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 Sets the value of the slider step, used to refer to the step\n programatically. Defaults to the slider label if not provided.\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 visible(self):\n """\n Determines whether or not this step is included in the slider.\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n args\n Sets the arguments values to be passed to the Plotly\n method set in `method` on slide.\n execute\n When true, the API method is executed. When false, all\n other behaviors are the same and command execution is\n skipped. This may be useful when hooking into, for\n example, the `plotly_sliderchange` method and executing\n the API command manually without losing the benefit of\n the slider automatically binding to the state of the\n plot through the specification of `method` and `args`.\n label\n Sets the text label to appear on the slider\n method\n Sets the Plotly method to be called when the slider\n value is changed. If the `skip` method is used, the API\n slider will function as normal but will perform no API\n calls and will not bind automatically to state updates.\n This may be used to create a component interface and\n attach to slider events manually via JavaScript.\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 Sets the value of the slider step, used to refer to the\n step programatically. Defaults to the slider label if\n not provided.\n visible\n Determines whether or not this step is included in the\n slider.\n """\n\n def __init__(\n self,\n arg=None,\n args=None,\n execute=None,\n label=None,\n method=None,\n name=None,\n templateitemname=None,\n value=None,\n visible=None,\n **kwargs,\n ):\n """\n Construct a new Step 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.layout.slider.Step`\n args\n Sets the arguments values to be passed to the Plotly\n method set in `method` on slide.\n execute\n When true, the API method is executed. When false, all\n other behaviors are the same and command execution is\n skipped. This may be useful when hooking into, for\n example, the `plotly_sliderchange` method and executing\n the API command manually without losing the benefit of\n the slider automatically binding to the state of the\n plot through the specification of `method` and `args`.\n label\n Sets the text label to appear on the slider\n method\n Sets the Plotly method to be called when the slider\n value is changed. If the `skip` method is used, the API\n slider will function as normal but will perform no API\n calls and will not bind automatically to state updates.\n This may be used to create a component interface and\n attach to slider events manually via JavaScript.\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 Sets the value of the slider step, used to refer to the\n step programatically. Defaults to the slider label if\n not provided.\n visible\n Determines whether or not this step is included in the\n slider.\n\n Returns\n -------\n Step\n """\n super().__init__("steps")\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.layout.slider.Step\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.slider.Step`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("args", arg, args)\n self._set_property("execute", arg, execute)\n self._set_property("label", arg, label)\n self._set_property("method", arg, method)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._set_property("visible", arg, visible)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\_step.py | _step.py | Python | 12,345 | 0.95 | 0.090395 | 0.012862 | vue-tools | 38 | 2024-05-08T09:05:03.185818 | BSD-3-Clause | false | 9f0f771ecbca72b5d1ebda51e314e053 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Transition(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.slider"\n _path_str = "layout.slider.transition"\n _valid_props = {"duration", "easing"}\n\n @property\n def duration(self):\n """\n Sets the duration of the slider transition\n\n The 'duration' 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["duration"]\n\n @duration.setter\n def duration(self, val):\n self["duration"] = val\n\n @property\n def easing(self):\n """\n Sets the easing function of the slider transition\n\n The 'easing' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['linear', 'quad', 'cubic', 'sin', 'exp', 'circle',\n 'elastic', 'back', 'bounce', 'linear-in', 'quad-in',\n 'cubic-in', 'sin-in', 'exp-in', 'circle-in', 'elastic-in',\n 'back-in', 'bounce-in', 'linear-out', 'quad-out',\n 'cubic-out', 'sin-out', 'exp-out', 'circle-out',\n 'elastic-out', 'back-out', 'bounce-out', 'linear-in-out',\n 'quad-in-out', 'cubic-in-out', 'sin-in-out', 'exp-in-out',\n 'circle-in-out', 'elastic-in-out', 'back-in-out',\n 'bounce-in-out']\n\n Returns\n -------\n Any\n """\n return self["easing"]\n\n @easing.setter\n def easing(self, val):\n self["easing"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n duration\n Sets the duration of the slider transition\n easing\n Sets the easing function of the slider transition\n """\n\n def __init__(self, arg=None, duration=None, easing=None, **kwargs):\n """\n Construct a new Transition 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.layout.slider.Transition`\n duration\n Sets the duration of the slider transition\n easing\n Sets the easing function of the slider transition\n\n Returns\n -------\n Transition\n """\n super().__init__("transition")\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.layout.slider.Transition\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.slider.Transition`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("duration", arg, duration)\n self._set_property("easing", arg, easing)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\_transition.py | _transition.py | Python | 3,438 | 0.95 | 0.12844 | 0.021978 | vue-tools | 931 | 2024-08-27T00:50:25.310730 | MIT | false | f1230ac488830b932abb06031bf29b64 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._currentvalue import Currentvalue\n from ._font import Font\n from ._pad import Pad\n from ._step import Step\n from ._transition import Transition\n from . import currentvalue\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".currentvalue"],\n [\n "._currentvalue.Currentvalue",\n "._font.Font",\n "._pad.Pad",\n "._step.Step",\n "._transition.Transition",\n ],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__init__.py | __init__.py | Python | 609 | 0.85 | 0.041667 | 0 | node-utils | 691 | 2025-03-14T08:51:01.930118 | BSD-3-Clause | false | 4ed9eb7b225d0d78008a90bc3b03fc07 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.slider.currentvalue"\n _path_str = "layout.slider.currentvalue.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 the font of the current value label text.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.slider.\n currentvalue.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.layout.slider.currentvalue.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.slider.currentvalue.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\layout\slider\currentvalue\_font.py | _font.py | Python | 9,950 | 0.95 | 0.10479 | 0.010526 | python-kit | 768 | 2023-09-23T03:02:27.665224 | BSD-3-Clause | false | b29237b0c7b6be0a3a6987c592dec408 |
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\layout\slider\currentvalue\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | awesome-app | 555 | 2024-03-13T15:04:30.579805 | GPL-3.0 | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\currentvalue\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,957 | 0.8 | 0.048583 | 0 | awesome-app | 271 | 2023-12-25T06:34:12.006819 | MIT | false | 0d75c68dd6640da3b3c80886a9a4710d |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\currentvalue\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 512 | 0.85 | 0 | 0 | node-utils | 335 | 2024-04-21T07:15:22.614590 | BSD-3-Clause | false | b1e877f43050e245b4a1daabbe1ee1ea |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__pycache__\_currentvalue.cpython-313.pyc | _currentvalue.cpython-313.pyc | Other | 7,154 | 0.8 | 0.018634 | 0 | react-lib | 856 | 2025-02-18T10:38:13.666243 | GPL-3.0 | false | 94c7166cc1551a70be503b36b854df2e |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,872 | 0.8 | 0.048387 | 0 | node-utils | 229 | 2024-11-17T21:12:08.221936 | BSD-3-Clause | false | 229f85c93fc38ea97a4f27fec7f35380 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__pycache__\_pad.cpython-313.pyc | _pad.cpython-313.pyc | Other | 5,110 | 0.8 | 0.016529 | 0 | react-lib | 300 | 2024-07-27T14:31:47.105644 | Apache-2.0 | false | f9eefcca9f0ede3359f45ec1d569ac89 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__pycache__\_step.cpython-313.pyc | _step.cpython-313.pyc | Other | 13,060 | 0.95 | 0.039855 | 0.003906 | python-kit | 234 | 2025-06-26T00:21:10.705086 | BSD-3-Clause | false | 7df3d3ddb571ea27615a331c7a0e9768 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__pycache__\_transition.cpython-313.pyc | _transition.cpython-313.pyc | Other | 4,256 | 0.95 | 0.053191 | 0 | react-lib | 627 | 2025-06-02T01:41:02.737939 | BSD-3-Clause | false | f3c85e7062143b6d8f4fc4bbb65269fd |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\slider\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 810 | 0.85 | 0 | 0 | node-utils | 263 | 2025-04-27T15:09:53.923756 | Apache-2.0 | false | c94d5d39ac2e8f59033516bd6d6975f3 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Domain(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.smith"\n _path_str = "layout.smith.domain"\n _valid_props = {"column", "row", "x", "y"}\n\n @property\n def column(self):\n """\n If there is a layout grid, use the domain for this column in\n the grid for this smith subplot .\n\n The 'column' 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["column"]\n\n @column.setter\n def column(self, val):\n self["column"] = val\n\n @property\n def row(self):\n """\n If there is a layout grid, use the domain for this row in the\n grid for this smith subplot .\n\n The 'row' 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["row"]\n\n @row.setter\n def row(self, val):\n self["row"] = val\n\n @property\n def x(self):\n """\n Sets the horizontal domain of this smith subplot (in plot\n fraction).\n\n The 'x' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'x[0]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n (1) The 'x[1]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n list\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def y(self):\n """\n Sets the vertical domain of this smith subplot (in plot\n fraction).\n\n The 'y' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'y[0]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n (1) The 'y[1]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n list\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n column\n If there is a layout grid, use the domain for this\n column in the grid for this smith subplot .\n row\n If there is a layout grid, use the domain for this row\n in the grid for this smith subplot .\n x\n Sets the horizontal domain of this smith subplot (in\n plot fraction).\n y\n Sets the vertical domain of this smith subplot (in plot\n fraction).\n """\n\n def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs):\n """\n Construct a new Domain 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.layout.smith.Domain`\n column\n If there is a layout grid, use the domain for this\n column in the grid for this smith subplot .\n row\n If there is a layout grid, use the domain for this row\n in the grid for this smith subplot .\n x\n Sets the horizontal domain of this smith subplot (in\n plot fraction).\n y\n Sets the vertical domain of this smith subplot (in plot\n fraction).\n\n Returns\n -------\n Domain\n """\n super().__init__("domain")\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.layout.smith.Domain\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.smith.Domain`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("column", arg, column)\n self._set_property("row", arg, row)\n self._set_property("x", arg, x)\n self._set_property("y", arg, y)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\_domain.py | _domain.py | Python | 5,045 | 0.95 | 0.158824 | 0.028169 | python-kit | 312 | 2025-01-11T23:27:19.493453 | MIT | false | 25f8946138dffec2956369096554ea4a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Imaginaryaxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.smith"\n _path_str = "layout.smith.imaginaryaxis"\n _valid_props = {\n "color",\n "gridcolor",\n "griddash",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "layer",\n "linecolor",\n "linewidth",\n "showgrid",\n "showline",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "tickcolor",\n "tickfont",\n "tickformat",\n "ticklen",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "visible",\n }\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def griddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'griddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["griddash"]\n\n @griddash.setter\n def griddash(self, val):\n self["griddash"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text 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 'hoverformat' 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["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = 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 layer(self):\n """\n Sets the layer on which this axis is displayed. If *above\n traces*, this axis is displayed above all the subplot's traces\n If *below traces*, this axis is displayed below all the\n subplot's traces, but above the grid lines. Useful when used\n together with scatter-like traces with `cliponaxis` set to\n False to show markers and/or text nodes above this axis.\n\n The 'layer' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['above traces', 'below traces']\n\n Returns\n -------\n Any\n """\n return self["layer"]\n\n @layer.setter\n def layer(self, val):\n self["layer"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether 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 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.smith.imaginaryaxis.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.layout.smith.imaginaryaxis.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 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 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 tickvals(self):\n """\n Sets the values at which ticks on this axis appear. Defaults to\n `realaxis.tickvals` plus the same as negatives and zero.\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 visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text 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 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 layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether 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 tickcolor\n Sets the tick color.\n tickfont\n Sets the tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n ticklen\n Sets the tick length (in px).\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 tickvals\n Sets the values at which ticks on this axis appear.\n Defaults to `realaxis.tickvals` plus the same as\n negatives and zero.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n gridcolor=None,\n griddash=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n layer=None,\n linecolor=None,\n linewidth=None,\n showgrid=None,\n showline=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n ticklen=None,\n tickprefix=None,\n ticks=None,\n ticksuffix=None,\n tickvals=None,\n tickvalssrc=None,\n tickwidth=None,\n visible=None,\n **kwargs,\n ):\n """\n Construct a new Imaginaryaxis 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.layout.smith.Imaginaryaxis`\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text 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 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 layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether 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 tickcolor\n Sets the tick color.\n tickfont\n Sets the tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n ticklen\n Sets the tick length (in px).\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 tickvals\n Sets the values at which ticks on this axis appear.\n Defaults to `realaxis.tickvals` plus the same as\n negatives and zero.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n\n Returns\n -------\n Imaginaryaxis\n """\n super().__init__("imaginaryaxis")\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.layout.smith.Imaginaryaxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.smith.Imaginaryaxis`""")\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("gridcolor", arg, gridcolor)\n self._set_property("griddash", arg, griddash)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("layer", arg, layer)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("tickcolor", arg, tickcolor)\n self._set_property("tickfont", arg, tickfont)\n self._set_property("tickformat", arg, tickformat)\n self._set_property("ticklen", arg, ticklen)\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("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("tickwidth", arg, tickwidth)\n self._set_property("visible", arg, visible)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\_imaginaryaxis.py | _imaginaryaxis.py | Python | 28,494 | 0.95 | 0.116763 | 0.006623 | node-utils | 677 | 2024-02-03T16:50:06.614700 | Apache-2.0 | false | 74ca423e831dd7edb089025e5c36eef1 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Realaxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.smith"\n _path_str = "layout.smith.realaxis"\n _valid_props = {\n "color",\n "gridcolor",\n "griddash",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "layer",\n "linecolor",\n "linewidth",\n "showgrid",\n "showline",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "side",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "ticklen",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "visible",\n }\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def griddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'griddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["griddash"]\n\n @griddash.setter\n def griddash(self, val):\n self["griddash"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text 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 'hoverformat' 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["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = 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 layer(self):\n """\n Sets the layer on which this axis is displayed. If *above\n traces*, this axis is displayed above all the subplot's traces\n If *below traces*, this axis is displayed below all the\n subplot's traces, but above the grid lines. Useful when used\n together with scatter-like traces with `cliponaxis` set to\n False to show markers and/or text nodes above this axis.\n\n The 'layer' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['above traces', 'below traces']\n\n Returns\n -------\n Any\n """\n return self["layer"]\n\n @layer.setter\n def layer(self, val):\n self["layer"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether 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 side(self):\n """\n Determines on which side of real axis line the tick and tick\n labels appear.\n\n The 'side' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['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 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.smith.realaxis.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.layout.smith.realaxis.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 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 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 "top" ("bottom"), this axis' are drawn\n above (below) the axis line.\n\n The 'ticks' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top', 'bottom', '']\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 tickvals(self):\n """\n Sets the values at which ticks on this axis appear.\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 visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text 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 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 layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether 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 side\n Determines on which side of real axis line the tick and\n tick labels appear.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n ticklen\n Sets the tick length (in px).\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 "top" ("bottom"), this\n axis' are drawn above (below) the axis line.\n ticksuffix\n Sets a tick label suffix.\n tickvals\n Sets the values at which ticks on this axis appear.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n gridcolor=None,\n griddash=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n layer=None,\n linecolor=None,\n linewidth=None,\n showgrid=None,\n showline=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n side=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n ticklen=None,\n tickprefix=None,\n ticks=None,\n ticksuffix=None,\n tickvals=None,\n tickvalssrc=None,\n tickwidth=None,\n visible=None,\n **kwargs,\n ):\n """\n Construct a new Realaxis 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.layout.smith.Realaxis`\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text 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 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 layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether 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 side\n Determines on which side of real axis line the tick and\n tick labels appear.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n ticklen\n Sets the tick length (in px).\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 "top" ("bottom"), this\n axis' are drawn above (below) the axis line.\n ticksuffix\n Sets a tick label suffix.\n tickvals\n Sets the values at which ticks on this axis appear.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n\n Returns\n -------\n Realaxis\n """\n super().__init__("realaxis")\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.layout.smith.Realaxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.smith.Realaxis`""")\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("gridcolor", arg, gridcolor)\n self._set_property("griddash", arg, griddash)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("layer", arg, layer)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("side", arg, side)\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("ticklen", arg, ticklen)\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("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("tickwidth", arg, tickwidth)\n self._set_property("visible", arg, visible)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\_realaxis.py | _realaxis.py | Python | 30,024 | 0.95 | 0.113883 | 0.006219 | react-lib | 595 | 2025-05-30T06:25:39.576125 | Apache-2.0 | false | d316dade933b270fd7bfcfeb082ab2f7 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._domain import Domain\n from ._imaginaryaxis import Imaginaryaxis\n from ._realaxis import Realaxis\n from . import imaginaryaxis\n from . import realaxis\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".imaginaryaxis", ".realaxis"],\n ["._domain.Domain", "._imaginaryaxis.Imaginaryaxis", "._realaxis.Realaxis"],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\__init__.py | __init__.py | Python | 502 | 0.85 | 0.058824 | 0 | awesome-app | 808 | 2023-09-07T16:59:19.471924 | GPL-3.0 | false | 97d404798df417a04552cce7f5732e07 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.smith.imaginaryaxis"\n _path_str = "layout.smith.imaginaryaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.smith.i\n maginaryaxis.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.layout.smith.imaginaryaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.smith.imaginaryaxis.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\layout\smith\imaginaryaxis\_tickfont.py | _tickfont.py | Python | 9,955 | 0.95 | 0.10479 | 0.010526 | python-kit | 56 | 2025-07-07T22:35:14.531733 | GPL-3.0 | false | cff0c1a19ef05969d87cd8347d2feda3 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._tickfont.Tickfont"]\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\imaginaryaxis\__init__.py | __init__.py | Python | 267 | 0.85 | 0.090909 | 0 | awesome-app | 511 | 2024-07-15T14:08:25.344852 | GPL-3.0 | false | 041800f8ef5bcdde1ed51718ddc89de8 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\imaginaryaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 11,010 | 0.8 | 0.04918 | 0 | awesome-app | 98 | 2023-11-15T12:04:34.139332 | BSD-3-Clause | false | abf0dc52646ae676f6f9fdbf6cf8cd97 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\imaginaryaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 533 | 0.95 | 0 | 0 | python-kit | 73 | 2024-04-03T04:53:48.008713 | GPL-3.0 | false | edf785d4cda6d4b4263ec3d032083428 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.smith.realaxis"\n _path_str = "layout.smith.realaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.smith.r\n ealaxis.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.layout.smith.realaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.smith.realaxis.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\layout\smith\realaxis\_tickfont.py | _tickfont.py | Python | 9,930 | 0.95 | 0.10479 | 0.010526 | vue-tools | 235 | 2024-01-08T08:11:17.021631 | GPL-3.0 | false | f2b0e192ed51487fcba0ea5b9ccf0a2d |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._tickfont.Tickfont"]\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\realaxis\__init__.py | __init__.py | Python | 267 | 0.85 | 0.090909 | 0 | python-kit | 854 | 2023-12-20T01:26:08.175783 | MIT | false | 041800f8ef5bcdde1ed51718ddc89de8 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\realaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 10,980 | 0.8 | 0.04918 | 0 | react-lib | 107 | 2025-04-08T02:16:39.941768 | GPL-3.0 | false | 51092ce3d97b402cdea76511d9a9760a |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\realaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 528 | 0.95 | 0 | 0 | python-kit | 256 | 2025-05-31T12:41:09.674775 | MIT | false | 8cb837727e53cd00deda06d5ca68bfd7 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\__pycache__\_domain.cpython-313.pyc | _domain.cpython-313.pyc | Other | 6,036 | 0.8 | 0.10219 | 0.016129 | vue-tools | 824 | 2023-11-12T00:01:27.214285 | Apache-2.0 | false | a6a8ef1849651c2f0014389333f25160 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\__pycache__\_imaginaryaxis.cpython-313.pyc | _imaginaryaxis.cpython-313.pyc | Other | 29,607 | 0.8 | 0.079038 | 0.003788 | react-lib | 575 | 2023-08-27T03:11:36.323594 | GPL-3.0 | false | 931c604d40a1039c7e9151616c4904ea |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\__pycache__\_realaxis.cpython-313.pyc | _realaxis.cpython-313.pyc | Other | 31,085 | 0.8 | 0.074675 | 0.003578 | react-lib | 585 | 2023-10-27T21:19:00.271070 | GPL-3.0 | false | 8e635ce16dcc3a65cec0ba86542f377a |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\smith\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 768 | 0.95 | 0 | 0 | python-kit | 702 | 2024-07-15T06:48:02.563893 | BSD-3-Clause | false | 186e846f991b0d46ed36cc20aed727e1 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Data(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.template"\n _path_str = "layout.template.data"\n _valid_props = {\n "bar",\n "barpolar",\n "box",\n "candlestick",\n "carpet",\n "choropleth",\n "choroplethmap",\n "choroplethmapbox",\n "cone",\n "contour",\n "contourcarpet",\n "densitymap",\n "densitymapbox",\n "funnel",\n "funnelarea",\n "heatmap",\n "histogram",\n "histogram2d",\n "histogram2dcontour",\n "icicle",\n "image",\n "indicator",\n "isosurface",\n "mesh3d",\n "ohlc",\n "parcats",\n "parcoords",\n "pie",\n "sankey",\n "scatter",\n "scatter3d",\n "scattercarpet",\n "scattergeo",\n "scattergl",\n "scattermap",\n "scattermapbox",\n "scatterpolar",\n "scatterpolargl",\n "scattersmith",\n "scatterternary",\n "splom",\n "streamtube",\n "sunburst",\n "surface",\n "table",\n "treemap",\n "violin",\n "volume",\n "waterfall",\n }\n\n @property\n def barpolar(self):\n """\n The 'barpolar' property is a tuple of instances of\n Barpolar that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Barpolar\n - A list or tuple of dicts of string/value properties that\n will be passed to the Barpolar constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Barpolar]\n """\n return self["barpolar"]\n\n @barpolar.setter\n def barpolar(self, val):\n self["barpolar"] = val\n\n @property\n def bar(self):\n """\n The 'bar' property is a tuple of instances of\n Bar that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Bar\n - A list or tuple of dicts of string/value properties that\n will be passed to the Bar constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Bar]\n """\n return self["bar"]\n\n @bar.setter\n def bar(self, val):\n self["bar"] = val\n\n @property\n def box(self):\n """\n The 'box' property is a tuple of instances of\n Box that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Box\n - A list or tuple of dicts of string/value properties that\n will be passed to the Box constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Box]\n """\n return self["box"]\n\n @box.setter\n def box(self, val):\n self["box"] = val\n\n @property\n def candlestick(self):\n """\n The 'candlestick' property is a tuple of instances of\n Candlestick that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Candlestick\n - A list or tuple of dicts of string/value properties that\n will be passed to the Candlestick constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Candlestick]\n """\n return self["candlestick"]\n\n @candlestick.setter\n def candlestick(self, val):\n self["candlestick"] = val\n\n @property\n def carpet(self):\n """\n The 'carpet' property is a tuple of instances of\n Carpet that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Carpet\n - A list or tuple of dicts of string/value properties that\n will be passed to the Carpet constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Carpet]\n """\n return self["carpet"]\n\n @carpet.setter\n def carpet(self, val):\n self["carpet"] = val\n\n @property\n def choroplethmapbox(self):\n """\n The 'choroplethmapbox' property is a tuple of instances of\n Choroplethmapbox that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Choroplethmapbox\n - A list or tuple of dicts of string/value properties that\n will be passed to the Choroplethmapbox constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Choroplethmapbox]\n """\n return self["choroplethmapbox"]\n\n @choroplethmapbox.setter\n def choroplethmapbox(self, val):\n self["choroplethmapbox"] = val\n\n @property\n def choroplethmap(self):\n """\n The 'choroplethmap' property is a tuple of instances of\n Choroplethmap that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Choroplethmap\n - A list or tuple of dicts of string/value properties that\n will be passed to the Choroplethmap constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Choroplethmap]\n """\n return self["choroplethmap"]\n\n @choroplethmap.setter\n def choroplethmap(self, val):\n self["choroplethmap"] = val\n\n @property\n def choropleth(self):\n """\n The 'choropleth' property is a tuple of instances of\n Choropleth that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Choropleth\n - A list or tuple of dicts of string/value properties that\n will be passed to the Choropleth constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Choropleth]\n """\n return self["choropleth"]\n\n @choropleth.setter\n def choropleth(self, val):\n self["choropleth"] = val\n\n @property\n def cone(self):\n """\n The 'cone' property is a tuple of instances of\n Cone that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Cone\n - A list or tuple of dicts of string/value properties that\n will be passed to the Cone constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Cone]\n """\n return self["cone"]\n\n @cone.setter\n def cone(self, val):\n self["cone"] = val\n\n @property\n def contourcarpet(self):\n """\n The 'contourcarpet' property is a tuple of instances of\n Contourcarpet that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Contourcarpet\n - A list or tuple of dicts of string/value properties that\n will be passed to the Contourcarpet constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Contourcarpet]\n """\n return self["contourcarpet"]\n\n @contourcarpet.setter\n def contourcarpet(self, val):\n self["contourcarpet"] = val\n\n @property\n def contour(self):\n """\n The 'contour' property is a tuple of instances of\n Contour that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Contour\n - A list or tuple of dicts of string/value properties that\n will be passed to the Contour constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Contour]\n """\n return self["contour"]\n\n @contour.setter\n def contour(self, val):\n self["contour"] = val\n\n @property\n def densitymapbox(self):\n """\n The 'densitymapbox' property is a tuple of instances of\n Densitymapbox that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Densitymapbox\n - A list or tuple of dicts of string/value properties that\n will be passed to the Densitymapbox constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Densitymapbox]\n """\n return self["densitymapbox"]\n\n @densitymapbox.setter\n def densitymapbox(self, val):\n self["densitymapbox"] = val\n\n @property\n def densitymap(self):\n """\n The 'densitymap' property is a tuple of instances of\n Densitymap that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Densitymap\n - A list or tuple of dicts of string/value properties that\n will be passed to the Densitymap constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Densitymap]\n """\n return self["densitymap"]\n\n @densitymap.setter\n def densitymap(self, val):\n self["densitymap"] = val\n\n @property\n def funnelarea(self):\n """\n The 'funnelarea' property is a tuple of instances of\n Funnelarea that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Funnelarea\n - A list or tuple of dicts of string/value properties that\n will be passed to the Funnelarea constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Funnelarea]\n """\n return self["funnelarea"]\n\n @funnelarea.setter\n def funnelarea(self, val):\n self["funnelarea"] = val\n\n @property\n def funnel(self):\n """\n The 'funnel' property is a tuple of instances of\n Funnel that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Funnel\n - A list or tuple of dicts of string/value properties that\n will be passed to the Funnel constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Funnel]\n """\n return self["funnel"]\n\n @funnel.setter\n def funnel(self, val):\n self["funnel"] = val\n\n @property\n def heatmap(self):\n """\n The 'heatmap' property is a tuple of instances of\n Heatmap that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Heatmap\n - A list or tuple of dicts of string/value properties that\n will be passed to the Heatmap constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Heatmap]\n """\n return self["heatmap"]\n\n @heatmap.setter\n def heatmap(self, val):\n self["heatmap"] = val\n\n @property\n def histogram2dcontour(self):\n """\n The 'histogram2dcontour' property is a tuple of instances of\n Histogram2dContour that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Histogram2dContour\n - A list or tuple of dicts of string/value properties that\n will be passed to the Histogram2dContour constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Histogram2dContour]\n """\n return self["histogram2dcontour"]\n\n @histogram2dcontour.setter\n def histogram2dcontour(self, val):\n self["histogram2dcontour"] = val\n\n @property\n def histogram2d(self):\n """\n The 'histogram2d' property is a tuple of instances of\n Histogram2d that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Histogram2d\n - A list or tuple of dicts of string/value properties that\n will be passed to the Histogram2d constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Histogram2d]\n """\n return self["histogram2d"]\n\n @histogram2d.setter\n def histogram2d(self, val):\n self["histogram2d"] = val\n\n @property\n def histogram(self):\n """\n The 'histogram' property is a tuple of instances of\n Histogram that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Histogram\n - A list or tuple of dicts of string/value properties that\n will be passed to the Histogram constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Histogram]\n """\n return self["histogram"]\n\n @histogram.setter\n def histogram(self, val):\n self["histogram"] = val\n\n @property\n def icicle(self):\n """\n The 'icicle' property is a tuple of instances of\n Icicle that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Icicle\n - A list or tuple of dicts of string/value properties that\n will be passed to the Icicle constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Icicle]\n """\n return self["icicle"]\n\n @icicle.setter\n def icicle(self, val):\n self["icicle"] = val\n\n @property\n def image(self):\n """\n The 'image' property is a tuple of instances of\n Image that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Image\n - A list or tuple of dicts of string/value properties that\n will be passed to the Image constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Image]\n """\n return self["image"]\n\n @image.setter\n def image(self, val):\n self["image"] = val\n\n @property\n def indicator(self):\n """\n The 'indicator' property is a tuple of instances of\n Indicator that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Indicator\n - A list or tuple of dicts of string/value properties that\n will be passed to the Indicator constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Indicator]\n """\n return self["indicator"]\n\n @indicator.setter\n def indicator(self, val):\n self["indicator"] = val\n\n @property\n def isosurface(self):\n """\n The 'isosurface' property is a tuple of instances of\n Isosurface that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Isosurface\n - A list or tuple of dicts of string/value properties that\n will be passed to the Isosurface constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Isosurface]\n """\n return self["isosurface"]\n\n @isosurface.setter\n def isosurface(self, val):\n self["isosurface"] = val\n\n @property\n def mesh3d(self):\n """\n The 'mesh3d' property is a tuple of instances of\n Mesh3d that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Mesh3d\n - A list or tuple of dicts of string/value properties that\n will be passed to the Mesh3d constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Mesh3d]\n """\n return self["mesh3d"]\n\n @mesh3d.setter\n def mesh3d(self, val):\n self["mesh3d"] = val\n\n @property\n def ohlc(self):\n """\n The 'ohlc' property is a tuple of instances of\n Ohlc that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Ohlc\n - A list or tuple of dicts of string/value properties that\n will be passed to the Ohlc constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Ohlc]\n """\n return self["ohlc"]\n\n @ohlc.setter\n def ohlc(self, val):\n self["ohlc"] = val\n\n @property\n def parcats(self):\n """\n The 'parcats' property is a tuple of instances of\n Parcats that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Parcats\n - A list or tuple of dicts of string/value properties that\n will be passed to the Parcats constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Parcats]\n """\n return self["parcats"]\n\n @parcats.setter\n def parcats(self, val):\n self["parcats"] = val\n\n @property\n def parcoords(self):\n """\n The 'parcoords' property is a tuple of instances of\n Parcoords that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Parcoords\n - A list or tuple of dicts of string/value properties that\n will be passed to the Parcoords constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Parcoords]\n """\n return self["parcoords"]\n\n @parcoords.setter\n def parcoords(self, val):\n self["parcoords"] = val\n\n @property\n def pie(self):\n """\n The 'pie' property is a tuple of instances of\n Pie that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Pie\n - A list or tuple of dicts of string/value properties that\n will be passed to the Pie constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Pie]\n """\n return self["pie"]\n\n @pie.setter\n def pie(self, val):\n self["pie"] = val\n\n @property\n def sankey(self):\n """\n The 'sankey' property is a tuple of instances of\n Sankey that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Sankey\n - A list or tuple of dicts of string/value properties that\n will be passed to the Sankey constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Sankey]\n """\n return self["sankey"]\n\n @sankey.setter\n def sankey(self, val):\n self["sankey"] = val\n\n @property\n def scatter3d(self):\n """\n The 'scatter3d' property is a tuple of instances of\n Scatter3d that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scatter3d\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scatter3d constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scatter3d]\n """\n return self["scatter3d"]\n\n @scatter3d.setter\n def scatter3d(self, val):\n self["scatter3d"] = val\n\n @property\n def scattercarpet(self):\n """\n The 'scattercarpet' property is a tuple of instances of\n Scattercarpet that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scattercarpet\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scattercarpet constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scattercarpet]\n """\n return self["scattercarpet"]\n\n @scattercarpet.setter\n def scattercarpet(self, val):\n self["scattercarpet"] = val\n\n @property\n def scattergeo(self):\n """\n The 'scattergeo' property is a tuple of instances of\n Scattergeo that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scattergeo\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scattergeo constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scattergeo]\n """\n return self["scattergeo"]\n\n @scattergeo.setter\n def scattergeo(self, val):\n self["scattergeo"] = val\n\n @property\n def scattergl(self):\n """\n The 'scattergl' property is a tuple of instances of\n Scattergl that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scattergl\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scattergl constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scattergl]\n """\n return self["scattergl"]\n\n @scattergl.setter\n def scattergl(self, val):\n self["scattergl"] = val\n\n @property\n def scattermapbox(self):\n """\n The 'scattermapbox' property is a tuple of instances of\n Scattermapbox that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scattermapbox\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scattermapbox constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scattermapbox]\n """\n return self["scattermapbox"]\n\n @scattermapbox.setter\n def scattermapbox(self, val):\n self["scattermapbox"] = val\n\n @property\n def scattermap(self):\n """\n The 'scattermap' property is a tuple of instances of\n Scattermap that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scattermap\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scattermap constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scattermap]\n """\n return self["scattermap"]\n\n @scattermap.setter\n def scattermap(self, val):\n self["scattermap"] = val\n\n @property\n def scatterpolargl(self):\n """\n The 'scatterpolargl' property is a tuple of instances of\n Scatterpolargl that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scatterpolargl\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scatterpolargl constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scatterpolargl]\n """\n return self["scatterpolargl"]\n\n @scatterpolargl.setter\n def scatterpolargl(self, val):\n self["scatterpolargl"] = val\n\n @property\n def scatterpolar(self):\n """\n The 'scatterpolar' property is a tuple of instances of\n Scatterpolar that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scatterpolar\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scatterpolar constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scatterpolar]\n """\n return self["scatterpolar"]\n\n @scatterpolar.setter\n def scatterpolar(self, val):\n self["scatterpolar"] = val\n\n @property\n def scatter(self):\n """\n The 'scatter' property is a tuple of instances of\n Scatter that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scatter\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scatter constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scatter]\n """\n return self["scatter"]\n\n @scatter.setter\n def scatter(self, val):\n self["scatter"] = val\n\n @property\n def scattersmith(self):\n """\n The 'scattersmith' property is a tuple of instances of\n Scattersmith that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scattersmith\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scattersmith constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scattersmith]\n """\n return self["scattersmith"]\n\n @scattersmith.setter\n def scattersmith(self, val):\n self["scattersmith"] = val\n\n @property\n def scatterternary(self):\n """\n The 'scatterternary' property is a tuple of instances of\n Scatterternary that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Scatterternary\n - A list or tuple of dicts of string/value properties that\n will be passed to the Scatterternary constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Scatterternary]\n """\n return self["scatterternary"]\n\n @scatterternary.setter\n def scatterternary(self, val):\n self["scatterternary"] = val\n\n @property\n def splom(self):\n """\n The 'splom' property is a tuple of instances of\n Splom that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Splom\n - A list or tuple of dicts of string/value properties that\n will be passed to the Splom constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Splom]\n """\n return self["splom"]\n\n @splom.setter\n def splom(self, val):\n self["splom"] = val\n\n @property\n def streamtube(self):\n """\n The 'streamtube' property is a tuple of instances of\n Streamtube that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Streamtube\n - A list or tuple of dicts of string/value properties that\n will be passed to the Streamtube constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Streamtube]\n """\n return self["streamtube"]\n\n @streamtube.setter\n def streamtube(self, val):\n self["streamtube"] = val\n\n @property\n def sunburst(self):\n """\n The 'sunburst' property is a tuple of instances of\n Sunburst that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Sunburst\n - A list or tuple of dicts of string/value properties that\n will be passed to the Sunburst constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Sunburst]\n """\n return self["sunburst"]\n\n @sunburst.setter\n def sunburst(self, val):\n self["sunburst"] = val\n\n @property\n def surface(self):\n """\n The 'surface' property is a tuple of instances of\n Surface that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Surface\n - A list or tuple of dicts of string/value properties that\n will be passed to the Surface constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Surface]\n """\n return self["surface"]\n\n @surface.setter\n def surface(self, val):\n self["surface"] = val\n\n @property\n def table(self):\n """\n The 'table' property is a tuple of instances of\n Table that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Table\n - A list or tuple of dicts of string/value properties that\n will be passed to the Table constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Table]\n """\n return self["table"]\n\n @table.setter\n def table(self, val):\n self["table"] = val\n\n @property\n def treemap(self):\n """\n The 'treemap' property is a tuple of instances of\n Treemap that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Treemap\n - A list or tuple of dicts of string/value properties that\n will be passed to the Treemap constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Treemap]\n """\n return self["treemap"]\n\n @treemap.setter\n def treemap(self, val):\n self["treemap"] = val\n\n @property\n def violin(self):\n """\n The 'violin' property is a tuple of instances of\n Violin that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Violin\n - A list or tuple of dicts of string/value properties that\n will be passed to the Violin constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Violin]\n """\n return self["violin"]\n\n @violin.setter\n def violin(self, val):\n self["violin"] = val\n\n @property\n def volume(self):\n """\n The 'volume' property is a tuple of instances of\n Volume that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Volume\n - A list or tuple of dicts of string/value properties that\n will be passed to the Volume constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Volume]\n """\n return self["volume"]\n\n @volume.setter\n def volume(self, val):\n self["volume"] = val\n\n @property\n def waterfall(self):\n """\n The 'waterfall' property is a tuple of instances of\n Waterfall that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.layout.template.data.Waterfall\n - A list or tuple of dicts of string/value properties that\n will be passed to the Waterfall constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.layout.template.data.Waterfall]\n """\n return self["waterfall"]\n\n @waterfall.setter\n def waterfall(self, val):\n self["waterfall"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n barpolar\n A tuple of :class:`plotly.graph_objects.Barpolar`\n instances or dicts with compatible properties\n bar\n A tuple of :class:`plotly.graph_objects.Bar` instances\n or dicts with compatible properties\n box\n A tuple of :class:`plotly.graph_objects.Box` instances\n or dicts with compatible properties\n candlestick\n A tuple of :class:`plotly.graph_objects.Candlestick`\n instances or dicts with compatible properties\n carpet\n A tuple of :class:`plotly.graph_objects.Carpet`\n instances or dicts with compatible properties\n choroplethmapbox\n A tuple of\n :class:`plotly.graph_objects.Choroplethmapbox`\n instances or dicts with compatible properties\n choroplethmap\n A tuple of :class:`plotly.graph_objects.Choroplethmap`\n instances or dicts with compatible properties\n choropleth\n A tuple of :class:`plotly.graph_objects.Choropleth`\n instances or dicts with compatible properties\n cone\n A tuple of :class:`plotly.graph_objects.Cone` instances\n or dicts with compatible properties\n contourcarpet\n A tuple of :class:`plotly.graph_objects.Contourcarpet`\n instances or dicts with compatible properties\n contour\n A tuple of :class:`plotly.graph_objects.Contour`\n instances or dicts with compatible properties\n densitymapbox\n A tuple of :class:`plotly.graph_objects.Densitymapbox`\n instances or dicts with compatible properties\n densitymap\n A tuple of :class:`plotly.graph_objects.Densitymap`\n instances or dicts with compatible properties\n funnelarea\n A tuple of :class:`plotly.graph_objects.Funnelarea`\n instances or dicts with compatible properties\n funnel\n A tuple of :class:`plotly.graph_objects.Funnel`\n instances or dicts with compatible properties\n heatmap\n A tuple of :class:`plotly.graph_objects.Heatmap`\n instances or dicts with compatible properties\n histogram2dcontour\n A tuple of\n :class:`plotly.graph_objects.Histogram2dContour`\n instances or dicts with compatible properties\n histogram2d\n A tuple of :class:`plotly.graph_objects.Histogram2d`\n instances or dicts with compatible properties\n histogram\n A tuple of :class:`plotly.graph_objects.Histogram`\n instances or dicts with compatible properties\n icicle\n A tuple of :class:`plotly.graph_objects.Icicle`\n instances or dicts with compatible properties\n image\n A tuple of :class:`plotly.graph_objects.Image`\n instances or dicts with compatible properties\n indicator\n A tuple of :class:`plotly.graph_objects.Indicator`\n instances or dicts with compatible properties\n isosurface\n A tuple of :class:`plotly.graph_objects.Isosurface`\n instances or dicts with compatible properties\n mesh3d\n A tuple of :class:`plotly.graph_objects.Mesh3d`\n instances or dicts with compatible properties\n ohlc\n A tuple of :class:`plotly.graph_objects.Ohlc` instances\n or dicts with compatible properties\n parcats\n A tuple of :class:`plotly.graph_objects.Parcats`\n instances or dicts with compatible properties\n parcoords\n A tuple of :class:`plotly.graph_objects.Parcoords`\n instances or dicts with compatible properties\n pie\n A tuple of :class:`plotly.graph_objects.Pie` instances\n or dicts with compatible properties\n sankey\n A tuple of :class:`plotly.graph_objects.Sankey`\n instances or dicts with compatible properties\n scatter3d\n A tuple of :class:`plotly.graph_objects.Scatter3d`\n instances or dicts with compatible properties\n scattercarpet\n A tuple of :class:`plotly.graph_objects.Scattercarpet`\n instances or dicts with compatible properties\n scattergeo\n A tuple of :class:`plotly.graph_objects.Scattergeo`\n instances or dicts with compatible properties\n scattergl\n A tuple of :class:`plotly.graph_objects.Scattergl`\n instances or dicts with compatible properties\n scattermapbox\n A tuple of :class:`plotly.graph_objects.Scattermapbox`\n instances or dicts with compatible properties\n scattermap\n A tuple of :class:`plotly.graph_objects.Scattermap`\n instances or dicts with compatible properties\n scatterpolargl\n A tuple of :class:`plotly.graph_objects.Scatterpolargl`\n instances or dicts with compatible properties\n scatterpolar\n A tuple of :class:`plotly.graph_objects.Scatterpolar`\n instances or dicts with compatible properties\n scatter\n A tuple of :class:`plotly.graph_objects.Scatter`\n instances or dicts with compatible properties\n scattersmith\n A tuple of :class:`plotly.graph_objects.Scattersmith`\n instances or dicts with compatible properties\n scatterternary\n A tuple of :class:`plotly.graph_objects.Scatterternary`\n instances or dicts with compatible properties\n splom\n A tuple of :class:`plotly.graph_objects.Splom`\n instances or dicts with compatible properties\n streamtube\n A tuple of :class:`plotly.graph_objects.Streamtube`\n instances or dicts with compatible properties\n sunburst\n A tuple of :class:`plotly.graph_objects.Sunburst`\n instances or dicts with compatible properties\n surface\n A tuple of :class:`plotly.graph_objects.Surface`\n instances or dicts with compatible properties\n table\n A tuple of :class:`plotly.graph_objects.Table`\n instances or dicts with compatible properties\n treemap\n A tuple of :class:`plotly.graph_objects.Treemap`\n instances or dicts with compatible properties\n violin\n A tuple of :class:`plotly.graph_objects.Violin`\n instances or dicts with compatible properties\n volume\n A tuple of :class:`plotly.graph_objects.Volume`\n instances or dicts with compatible properties\n waterfall\n A tuple of :class:`plotly.graph_objects.Waterfall`\n instances or dicts with compatible properties\n """\n\n def __init__(\n self,\n arg=None,\n barpolar=None,\n bar=None,\n box=None,\n candlestick=None,\n carpet=None,\n choroplethmapbox=None,\n choroplethmap=None,\n choropleth=None,\n cone=None,\n contourcarpet=None,\n contour=None,\n densitymapbox=None,\n densitymap=None,\n funnelarea=None,\n funnel=None,\n heatmap=None,\n histogram2dcontour=None,\n histogram2d=None,\n histogram=None,\n icicle=None,\n image=None,\n indicator=None,\n isosurface=None,\n mesh3d=None,\n ohlc=None,\n parcats=None,\n parcoords=None,\n pie=None,\n sankey=None,\n scatter3d=None,\n scattercarpet=None,\n scattergeo=None,\n scattergl=None,\n scattermapbox=None,\n scattermap=None,\n scatterpolargl=None,\n scatterpolar=None,\n scatter=None,\n scattersmith=None,\n scatterternary=None,\n splom=None,\n streamtube=None,\n sunburst=None,\n surface=None,\n table=None,\n treemap=None,\n violin=None,\n volume=None,\n waterfall=None,\n **kwargs,\n ):\n """\n Construct a new Data 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.layout.template.Data`\n barpolar\n A tuple of :class:`plotly.graph_objects.Barpolar`\n instances or dicts with compatible properties\n bar\n A tuple of :class:`plotly.graph_objects.Bar` instances\n or dicts with compatible properties\n box\n A tuple of :class:`plotly.graph_objects.Box` instances\n or dicts with compatible properties\n candlestick\n A tuple of :class:`plotly.graph_objects.Candlestick`\n instances or dicts with compatible properties\n carpet\n A tuple of :class:`plotly.graph_objects.Carpet`\n instances or dicts with compatible properties\n choroplethmapbox\n A tuple of\n :class:`plotly.graph_objects.Choroplethmapbox`\n instances or dicts with compatible properties\n choroplethmap\n A tuple of :class:`plotly.graph_objects.Choroplethmap`\n instances or dicts with compatible properties\n choropleth\n A tuple of :class:`plotly.graph_objects.Choropleth`\n instances or dicts with compatible properties\n cone\n A tuple of :class:`plotly.graph_objects.Cone` instances\n or dicts with compatible properties\n contourcarpet\n A tuple of :class:`plotly.graph_objects.Contourcarpet`\n instances or dicts with compatible properties\n contour\n A tuple of :class:`plotly.graph_objects.Contour`\n instances or dicts with compatible properties\n densitymapbox\n A tuple of :class:`plotly.graph_objects.Densitymapbox`\n instances or dicts with compatible properties\n densitymap\n A tuple of :class:`plotly.graph_objects.Densitymap`\n instances or dicts with compatible properties\n funnelarea\n A tuple of :class:`plotly.graph_objects.Funnelarea`\n instances or dicts with compatible properties\n funnel\n A tuple of :class:`plotly.graph_objects.Funnel`\n instances or dicts with compatible properties\n heatmap\n A tuple of :class:`plotly.graph_objects.Heatmap`\n instances or dicts with compatible properties\n histogram2dcontour\n A tuple of\n :class:`plotly.graph_objects.Histogram2dContour`\n instances or dicts with compatible properties\n histogram2d\n A tuple of :class:`plotly.graph_objects.Histogram2d`\n instances or dicts with compatible properties\n histogram\n A tuple of :class:`plotly.graph_objects.Histogram`\n instances or dicts with compatible properties\n icicle\n A tuple of :class:`plotly.graph_objects.Icicle`\n instances or dicts with compatible properties\n image\n A tuple of :class:`plotly.graph_objects.Image`\n instances or dicts with compatible properties\n indicator\n A tuple of :class:`plotly.graph_objects.Indicator`\n instances or dicts with compatible properties\n isosurface\n A tuple of :class:`plotly.graph_objects.Isosurface`\n instances or dicts with compatible properties\n mesh3d\n A tuple of :class:`plotly.graph_objects.Mesh3d`\n instances or dicts with compatible properties\n ohlc\n A tuple of :class:`plotly.graph_objects.Ohlc` instances\n or dicts with compatible properties\n parcats\n A tuple of :class:`plotly.graph_objects.Parcats`\n instances or dicts with compatible properties\n parcoords\n A tuple of :class:`plotly.graph_objects.Parcoords`\n instances or dicts with compatible properties\n pie\n A tuple of :class:`plotly.graph_objects.Pie` instances\n or dicts with compatible properties\n sankey\n A tuple of :class:`plotly.graph_objects.Sankey`\n instances or dicts with compatible properties\n scatter3d\n A tuple of :class:`plotly.graph_objects.Scatter3d`\n instances or dicts with compatible properties\n scattercarpet\n A tuple of :class:`plotly.graph_objects.Scattercarpet`\n instances or dicts with compatible properties\n scattergeo\n A tuple of :class:`plotly.graph_objects.Scattergeo`\n instances or dicts with compatible properties\n scattergl\n A tuple of :class:`plotly.graph_objects.Scattergl`\n instances or dicts with compatible properties\n scattermapbox\n A tuple of :class:`plotly.graph_objects.Scattermapbox`\n instances or dicts with compatible properties\n scattermap\n A tuple of :class:`plotly.graph_objects.Scattermap`\n instances or dicts with compatible properties\n scatterpolargl\n A tuple of :class:`plotly.graph_objects.Scatterpolargl`\n instances or dicts with compatible properties\n scatterpolar\n A tuple of :class:`plotly.graph_objects.Scatterpolar`\n instances or dicts with compatible properties\n scatter\n A tuple of :class:`plotly.graph_objects.Scatter`\n instances or dicts with compatible properties\n scattersmith\n A tuple of :class:`plotly.graph_objects.Scattersmith`\n instances or dicts with compatible properties\n scatterternary\n A tuple of :class:`plotly.graph_objects.Scatterternary`\n instances or dicts with compatible properties\n splom\n A tuple of :class:`plotly.graph_objects.Splom`\n instances or dicts with compatible properties\n streamtube\n A tuple of :class:`plotly.graph_objects.Streamtube`\n instances or dicts with compatible properties\n sunburst\n A tuple of :class:`plotly.graph_objects.Sunburst`\n instances or dicts with compatible properties\n surface\n A tuple of :class:`plotly.graph_objects.Surface`\n instances or dicts with compatible properties\n table\n A tuple of :class:`plotly.graph_objects.Table`\n instances or dicts with compatible properties\n treemap\n A tuple of :class:`plotly.graph_objects.Treemap`\n instances or dicts with compatible properties\n violin\n A tuple of :class:`plotly.graph_objects.Violin`\n instances or dicts with compatible properties\n volume\n A tuple of :class:`plotly.graph_objects.Volume`\n instances or dicts with compatible properties\n waterfall\n A tuple of :class:`plotly.graph_objects.Waterfall`\n instances or dicts with compatible properties\n\n Returns\n -------\n Data\n """\n super().__init__("data")\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.layout.template.Data\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.template.Data`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("barpolar", arg, barpolar)\n self._set_property("bar", arg, bar)\n self._set_property("box", arg, box)\n self._set_property("candlestick", arg, candlestick)\n self._set_property("carpet", arg, carpet)\n self._set_property("choroplethmapbox", arg, choroplethmapbox)\n self._set_property("choroplethmap", arg, choroplethmap)\n self._set_property("choropleth", arg, choropleth)\n self._set_property("cone", arg, cone)\n self._set_property("contourcarpet", arg, contourcarpet)\n self._set_property("contour", arg, contour)\n self._set_property("densitymapbox", arg, densitymapbox)\n self._set_property("densitymap", arg, densitymap)\n self._set_property("funnelarea", arg, funnelarea)\n self._set_property("funnel", arg, funnel)\n self._set_property("heatmap", arg, heatmap)\n self._set_property("histogram2dcontour", arg, histogram2dcontour)\n self._set_property("histogram2d", arg, histogram2d)\n self._set_property("histogram", arg, histogram)\n self._set_property("icicle", arg, icicle)\n self._set_property("image", arg, image)\n self._set_property("indicator", arg, indicator)\n self._set_property("isosurface", arg, isosurface)\n self._set_property("mesh3d", arg, mesh3d)\n self._set_property("ohlc", arg, ohlc)\n self._set_property("parcats", arg, parcats)\n self._set_property("parcoords", arg, parcoords)\n self._set_property("pie", arg, pie)\n self._set_property("sankey", arg, sankey)\n self._set_property("scatter3d", arg, scatter3d)\n self._set_property("scattercarpet", arg, scattercarpet)\n self._set_property("scattergeo", arg, scattergeo)\n self._set_property("scattergl", arg, scattergl)\n self._set_property("scattermapbox", arg, scattermapbox)\n self._set_property("scattermap", arg, scattermap)\n self._set_property("scatterpolargl", arg, scatterpolargl)\n self._set_property("scatterpolar", arg, scatterpolar)\n self._set_property("scatter", arg, scatter)\n self._set_property("scattersmith", arg, scattersmith)\n self._set_property("scatterternary", arg, scatterternary)\n self._set_property("splom", arg, splom)\n self._set_property("streamtube", arg, streamtube)\n self._set_property("sunburst", arg, sunburst)\n self._set_property("surface", arg, surface)\n self._set_property("table", arg, table)\n self._set_property("treemap", arg, treemap)\n self._set_property("violin", arg, violin)\n self._set_property("volume", arg, volume)\n self._set_property("waterfall", arg, waterfall)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\_data.py | _data.py | Python | 49,447 | 0.95 | 0.141463 | 0.002347 | vue-tools | 955 | 2024-02-13T05:36:12.624991 | Apache-2.0 | false | de5f971203d9def9283b835ace17b9ce |
from plotly.graph_objs import Layout\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\_layout.py | _layout.py | Python | 37 | 0.65 | 0 | 0 | node-utils | 372 | 2025-01-03T19:49:27.767910 | MIT | false | 459d286594a9a2ae79d248917c1e05f1 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._data import Data\n from ._layout import Layout\n from . import data\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [".data"], ["._data.Data", "._layout.Layout"]\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\__init__.py | __init__.py | Python | 332 | 0.85 | 0.076923 | 0 | react-lib | 958 | 2024-10-27T17:23:12.209255 | BSD-3-Clause | false | b3415e0a9c5c14ffd708c56cf89fde91 |
from plotly.graph_objs import Bar\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_bar.py | _bar.py | Python | 34 | 0.65 | 0 | 0 | python-kit | 542 | 2023-10-25T02:04:03.945316 | MIT | false | b8b1622a475e168a11ff2bf6c1349476 |
from plotly.graph_objs import Barpolar\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_barpolar.py | _barpolar.py | Python | 39 | 0.65 | 0 | 0 | react-lib | 425 | 2023-10-14T10:09:18.975453 | BSD-3-Clause | false | 8ce349e11fc0b6ac11ff4b38980d0fda |
from plotly.graph_objs import Box\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_box.py | _box.py | Python | 34 | 0.65 | 0 | 0 | node-utils | 998 | 2025-04-22T04:25:30.232310 | BSD-3-Clause | false | 859d1dd0e4a96a9ab2e2b47c00bc9118 |
from plotly.graph_objs import Candlestick\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_candlestick.py | _candlestick.py | Python | 42 | 0.65 | 0 | 0 | python-kit | 575 | 2023-11-30T04:36:01.416919 | MIT | false | 9a5bf2b8d6697c7f93c8c48f64ae8ef0 |
from plotly.graph_objs import Carpet\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_carpet.py | _carpet.py | Python | 37 | 0.65 | 0 | 0 | awesome-app | 525 | 2024-07-30T11:33:10.842927 | BSD-3-Clause | false | f3b7cebad7dc934694ef1e47dfcd1ffb |
from plotly.graph_objs import Choropleth\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_choropleth.py | _choropleth.py | Python | 41 | 0.65 | 0 | 0 | awesome-app | 471 | 2023-08-24T05:19:09.213676 | BSD-3-Clause | false | e1cd81f9ecd4272f61417396f6aba2af |
from plotly.graph_objs import Choroplethmap\n | .venv\Lib\site-packages\plotly\graph_objs\layout\template\data\_choroplethmap.py | _choroplethmap.py | Python | 44 | 0.65 | 0 | 0 | vue-tools | 868 | 2024-11-12T09:51:03.630510 | GPL-3.0 | false | 67e0f8d3dc5ef976fa631600211d7670 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.