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
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "choroplethmapbox.colorbar.title"\n _path_str = "choroplethmapbox.colorbar.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this color bar's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.choroplethmapb\n ox.colorbar.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choroplethmapbox.colorbar.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\title\_font.py
_font.py
Python
9,959
0.95
0.10479
0.010526
python-kit
621
2025-03-18T17:28:55.162049
Apache-2.0
false
5f444ecea8fe1fb741dcb99ebdcb1a07
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\choroplethmapbox\colorbar\title\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
796
2025-06-18T03:51:47.274768
GPL-3.0
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\title\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,972
0.8
0.048583
0
node-utils
789
2024-05-25T02:41:46.088823
Apache-2.0
false
7902ef2ba38a40fa4e73262e8fce1ea2
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\title\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
517
0.85
0
0
awesome-app
299
2025-05-11T21:41:59.076783
MIT
false
119b4093278d6e717f88c2fb292679b6
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
11,019
0.8
0.04918
0
node-utils
418
2023-11-01T12:23:21.762800
BSD-3-Clause
false
67273618a1d7b62d5666bbba7f6ea98a
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,345
0.8
0.024876
0.005348
node-utils
146
2024-01-15T21:22:47.415222
Apache-2.0
false
3d30d74f920cf4812e51c811b6765e03
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,947
0.8
0.087379
0
awesome-app
793
2024-01-11T03:52:30.506837
Apache-2.0
false
a493b8e2d3d82880c1a63e99bb5d4c24
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\colorbar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
717
0.95
0
0
vue-tools
928
2024-06-29T04:43:00.645005
BSD-3-Clause
false
cf7e2f26818234b9de75eef419678128
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "choroplethmapbox.hoverlabel"\n _path_str = "choroplethmapbox.hoverlabel.font"\n _valid_props = {\n "color",\n "colorsrc",\n "family",\n "familysrc",\n "lineposition",\n "linepositionsrc",\n "shadow",\n "shadowsrc",\n "size",\n "sizesrc",\n "style",\n "stylesrc",\n "textcase",\n "textcasesrc",\n "variant",\n "variantsrc",\n "weight",\n "weightsrc",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def colorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `color`.\n\n The 'colorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["colorsrc"]\n\n @colorsrc.setter\n def colorsrc(self, val):\n self["colorsrc"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def familysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `family`.\n\n The 'familysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["familysrc"]\n\n @familysrc.setter\n def familysrc(self, val):\n self["familysrc"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n - A list or array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def linepositionsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n\n The 'linepositionsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["linepositionsrc"]\n\n @linepositionsrc.setter\n def linepositionsrc(self, val):\n self["linepositionsrc"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def shadowsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `shadow`.\n\n The 'shadowsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["shadowsrc"]\n\n @shadowsrc.setter\n def shadowsrc(self, val):\n self["shadowsrc"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def sizesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `size`.\n\n The 'sizesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["sizesrc"]\n\n @sizesrc.setter\n def sizesrc(self, val):\n self["sizesrc"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def stylesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `style`.\n\n The 'stylesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["stylesrc"]\n\n @stylesrc.setter\n def stylesrc(self, val):\n self["stylesrc"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def textcasesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `textcase`.\n\n The 'textcasesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["textcasesrc"]\n\n @textcasesrc.setter\n def textcasesrc(self, val):\n self["textcasesrc"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def variantsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `variant`.\n\n The 'variantsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["variantsrc"]\n\n @variantsrc.setter\n def variantsrc(self, val):\n self["variantsrc"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def weightsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `weight`.\n\n The 'weightsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["weightsrc"]\n\n @weightsrc.setter\n def weightsrc(self, val):\n self["weightsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n colorsrc=None,\n family=None,\n familysrc=None,\n lineposition=None,\n linepositionsrc=None,\n shadow=None,\n shadowsrc=None,\n size=None,\n sizesrc=None,\n style=None,\n stylesrc=None,\n textcase=None,\n textcasesrc=None,\n variant=None,\n variantsrc=None,\n weight=None,\n weightsrc=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the font used in hover labels.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.choroplethmapb\n ox.hoverlabel.Font`\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choroplethmapbox.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choroplethmapbox.hoverlabel.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("family", arg, family)\n self._set_property("familysrc", arg, familysrc)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("linepositionsrc", arg, linepositionsrc)\n self._set_property("shadow", arg, shadow)\n self._set_property("shadowsrc", arg, shadowsrc)\n self._set_property("size", arg, size)\n self._set_property("sizesrc", arg, sizesrc)\n self._set_property("style", arg, style)\n self._set_property("stylesrc", arg, stylesrc)\n self._set_property("textcase", arg, textcase)\n self._set_property("textcasesrc", arg, textcasesrc)\n self._set_property("variant", arg, variant)\n self._set_property("variantsrc", arg, variantsrc)\n self._set_property("weight", arg, weight)\n self._set_property("weightsrc", arg, weightsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\hoverlabel\_font.py
_font.py
Python
17,189
0.95
0.136286
0.005976
python-kit
852
2024-01-14T10:43:14.555181
MIT
false
f29f23d588ae62a6cf707850e7be4774
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\choroplethmapbox\hoverlabel\__init__.py
__init__.py
Python
237
0.85
0.111111
0
awesome-app
754
2025-04-11T12:40:00.783915
MIT
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\hoverlabel\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
18,444
0.8
0.1
0
awesome-app
341
2024-12-02T17:45:34.866978
MIT
false
e8574cb5ae21e140f506f57b8d6a57c8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\hoverlabel\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
513
0.85
0
0
vue-tools
825
2024-02-24T01:44:17.735646
BSD-3-Clause
false
c422b635d597f2e926c32d1c850e8446
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "choroplethmapbox.legendgrouptitle"\n _path_str = "choroplethmapbox.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.choroplethmapb\n ox.legendgrouptitle.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choroplethmapbox.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\choroplethmapbox\legendgrouptitle\_font.py
_font.py
Python
9,972
0.95
0.10479
0.010526
awesome-app
696
2024-11-23T19:57:16.616523
BSD-3-Clause
false
4a1d8ce7c2975c369966aa30153bf183
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\choroplethmapbox\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
awesome-app
889
2024-03-31T10:22:24.282001
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\legendgrouptitle\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,987
0.8
0.048583
0
node-utils
140
2025-03-23T18:13:57.690104
BSD-3-Clause
false
5501e478b17f0c174d12ec22eba3cd45
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\legendgrouptitle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
519
0.85
0
0
awesome-app
163
2024-06-08T08:28:05.033828
Apache-2.0
false
614e850a37af3e518f492aa9e5e28342
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseTraceHierarchyType):\n _parent_path_str = "choroplethmapbox.marker"\n _path_str = "choroplethmapbox.marker.line"\n _valid_props = {"color", "colorsrc", "width", "widthsrc"}\n\n @property\n def color(self):\n """\n Sets the marker.line color. It accepts either a specific color\n or an array of numbers that are mapped to the colorscale\n relative to the max and min values of the array or relative to\n `marker.line.cmin` and `marker.line.cmax` if set.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def colorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `color`.\n\n The 'colorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["colorsrc"]\n\n @colorsrc.setter\n def colorsrc(self, val):\n self["colorsrc"] = val\n\n @property\n def width(self):\n """\n Sets the width (in px) of the lines bounding the marker points.\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def widthsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `width`.\n\n The 'widthsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["widthsrc"]\n\n @widthsrc.setter\n def widthsrc(self, val):\n self["widthsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the marker.line color. It accepts either a\n specific color or an array of numbers that are mapped\n to the colorscale relative to the max and min values of\n the array or relative to `marker.line.cmin` and\n `marker.line.cmax` if set.\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n width\n Sets the width (in px) of the lines bounding the marker\n points.\n widthsrc\n Sets the source reference on Chart Studio Cloud for\n `width`.\n """\n\n def __init__(\n self, arg=None, color=None, colorsrc=None, width=None, widthsrc=None, **kwargs\n ):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.choroplethmapbox.marker.Line`\n color\n Sets the marker.line color. It accepts either a\n specific color or an array of numbers that are mapped\n to the colorscale relative to the max and min values of\n the array or relative to `marker.line.cmin` and\n `marker.line.cmax` if set.\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n width\n Sets the width (in px) of the lines bounding the marker\n points.\n widthsrc\n Sets the source reference on Chart Studio Cloud for\n `width`.\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choroplethmapbox.marker.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choroplethmapbox.marker.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("width", arg, width)\n self._set_property("widthsrc", arg, widthsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\marker\_line.py
_line.py
Python
5,318
0.95
0.146199
0.013793
node-utils
888
2023-09-14T18:56:52.490066
MIT
false
d2a1c53bd9ea20c83fa96c5a0275da9d
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\choroplethmapbox\marker\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
34
2024-05-08T16:57:57.779067
MIT
false
f588da998a6d694bb21b2be29a9f27bb
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\marker\__pycache__\_line.cpython-313.pyc
_line.cpython-313.pyc
Other
6,201
0.8
0.088235
0
node-utils
250
2024-05-03T16:22:49.462154
MIT
false
bd2fccbaaaba5ebd4976c453dbc6e8d8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\marker\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
509
0.85
0
0
python-kit
277
2025-04-19T17:14:51.007130
BSD-3-Clause
false
1e051733cc987bb5e7267190ba444cd9
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Marker(_BaseTraceHierarchyType):\n _parent_path_str = "choroplethmapbox.selected"\n _path_str = "choroplethmapbox.selected.marker"\n _valid_props = {"opacity"}\n\n @property\n def opacity(self):\n """\n Sets the marker opacity of selected points.\n\n The 'opacity' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["opacity"]\n\n @opacity.setter\n def opacity(self, val):\n self["opacity"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n opacity\n Sets the marker opacity of selected points.\n """\n\n def __init__(self, arg=None, opacity=None, **kwargs):\n """\n Construct a new Marker object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.choroplethmapb\n ox.selected.Marker`\n opacity\n Sets the marker opacity of selected points.\n\n Returns\n -------\n Marker\n """\n super().__init__("marker")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choroplethmapbox.selected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choroplethmapbox.selected.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("opacity", arg, opacity)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\selected\_marker.py
_marker.py
Python
2,237
0.95
0.116883
0.031746
node-utils
281
2024-08-23T00:56:15.387101
BSD-3-Clause
false
6a1d6f1d4701972bcafa04d8774aa6aa
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._marker.Marker"])\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\selected\__init__.py
__init__.py
Python
245
0.85
0.111111
0
python-kit
803
2025-06-06T06:09:10.218057
Apache-2.0
false
55cabd952db1725aa5e8b5b02c335926
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\selected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
3,030
0.8
0.036364
0
vue-tools
911
2023-08-29T09:26:06.039694
Apache-2.0
false
7b043ff4e48a76a422fecc6d398a1d27
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\selected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
521
0.85
0
0
python-kit
91
2024-10-27T03:40:58.584563
GPL-3.0
false
59a8b6a7f3955400c566aac07ded76ab
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Marker(_BaseTraceHierarchyType):\n _parent_path_str = "choroplethmapbox.unselected"\n _path_str = "choroplethmapbox.unselected.marker"\n _valid_props = {"opacity"}\n\n @property\n def opacity(self):\n """\n Sets the marker opacity of unselected points, applied only when\n a selection exists.\n\n The 'opacity' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["opacity"]\n\n @opacity.setter\n def opacity(self, val):\n self["opacity"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n opacity\n Sets the marker opacity of unselected points, applied\n only when a selection exists.\n """\n\n def __init__(self, arg=None, opacity=None, **kwargs):\n """\n Construct a new Marker object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.choroplethmapb\n ox.unselected.Marker`\n opacity\n Sets the marker opacity of unselected points, applied\n only when a selection exists.\n\n Returns\n -------\n Marker\n """\n super().__init__("marker")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.choroplethmapbox.unselected.Marker\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.choroplethmapbox.unselected.Marker`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("opacity", arg, opacity)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\unselected\_marker.py
_marker.py
Python
2,399
0.95
0.1125
0.030303
python-kit
851
2024-09-28T01:32:27.854180
GPL-3.0
false
1724117d004851643f4e49ae762a58cb
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._marker import Marker\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._marker.Marker"])\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\unselected\__init__.py
__init__.py
Python
245
0.85
0.111111
0
node-utils
149
2023-12-04T18:23:23.327204
Apache-2.0
false
55cabd952db1725aa5e8b5b02c335926
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\unselected\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
3,178
0.8
0.034483
0
node-utils
822
2023-11-11T18:53:54.068996
BSD-3-Clause
false
c50d7de68c49ecca545b5824ddc0a720
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\unselected\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
523
0.85
0
0
react-lib
359
2023-12-19T17:15:29.493599
MIT
false
57bbdc702fa0dd5618154bb9450f4c27
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_colorbar.cpython-313.pyc
_colorbar.cpython-313.pyc
Other
61,405
0.6
0.082273
0
vue-tools
141
2024-04-21T01:23:42.124108
Apache-2.0
false
9d358eb36dfb7d90d5929cb7ac519645
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_hoverlabel.cpython-313.pyc
_hoverlabel.cpython-313.pyc
Other
11,455
0.8
0.142276
0
react-lib
106
2024-05-11T08:15:18.936377
Apache-2.0
false
8d256a4678944c2a7eab7605cd7f2b37
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,927
0.8
0.04
0
python-kit
962
2025-02-18T08:57:17.802331
GPL-3.0
false
6aadd0298a2a334df6a33052f7641e00
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_marker.cpython-313.pyc
_marker.cpython-313.pyc
Other
4,746
0.8
0.076923
0
awesome-app
149
2023-07-16T06:42:12.761580
BSD-3-Clause
false
ba112c959c9f3416b84fc3107c1af3d8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_selected.cpython-313.pyc
_selected.cpython-313.pyc
Other
3,275
0.8
0.079365
0
react-lib
698
2024-08-03T23:15:15.449910
MIT
false
a0dc87a928e1fb4b1caabb51fea57ad4
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,363
0.8
0.054348
0
vue-tools
597
2023-11-22T18:13:50.548373
BSD-3-Clause
false
130a02945f32ad872648af72abf6f2ae
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\_unselected.cpython-313.pyc
_unselected.cpython-313.pyc
Other
3,307
0.8
0.076923
0
react-lib
613
2024-03-20T20:19:28.224112
BSD-3-Clause
false
a470b6a24e666b6e284b4458d619e2b4
\n\n
.venv\Lib\site-packages\plotly\graph_objs\choroplethmapbox\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,231
0.95
0
0
vue-tools
407
2025-02-23T07:28:08.138359
MIT
false
2012694d3fc1edb8798ef37d78de61c1
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass ColorBar(_BaseTraceHierarchyType):\n _parent_path_str = "cone"\n _path_str = "cone.colorbar"\n _valid_props = {\n "bgcolor",\n "bordercolor",\n "borderwidth",\n "dtick",\n "exponentformat",\n "labelalias",\n "len",\n "lenmode",\n "minexponent",\n "nticks",\n "orientation",\n "outlinecolor",\n "outlinewidth",\n "separatethousands",\n "showexponent",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "thickness",\n "thicknessmode",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklabeloverflow",\n "ticklabelposition",\n "ticklabelstep",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "title",\n "x",\n "xanchor",\n "xpad",\n "xref",\n "y",\n "yanchor",\n "ypad",\n "yref",\n }\n\n @property\n def bgcolor(self):\n """\n Sets the color of padded area.\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the axis line color.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def borderwidth(self):\n """\n Sets the width (in px) or the border enclosing this color bar.\n\n The 'borderwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["borderwidth"]\n\n @borderwidth.setter\n def borderwidth(self, val):\n self["borderwidth"] = val\n\n @property\n def dtick(self):\n """\n Sets the step in-between ticks on this axis. Use with `tick0`.\n Must be a positive number, or special strings available to\n "log" and "date" axes. If the axis `type` is "log", then ticks\n are set every 10^(n*dtick) where n is the tick number. For\n example, to set a tick mark at 1, 10, 100, 1000, ... set dtick\n to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2.\n To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special values;\n "L<f>", where `f` is a positive number, gives ticks linearly\n spaced in value (but not position). For example `tick0` = 0.1,\n `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To\n show powers of 10 plus small digits between, use "D1" (all\n digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and\n "D2". If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval between\n ticks to one day, set `dtick` to 86400000.0. "date" also has\n special values "M<n>" gives ticks spaced by a number of months.\n `n` must be a positive integer. To set ticks on the 15th of\n every third month, set `tick0` to "2000-01-15" and `dtick` to\n "M3". To set ticks every 4 years, set `dtick` to "M48"\n\n The 'dtick' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["dtick"]\n\n @dtick.setter\n def dtick(self, val):\n self["dtick"] = val\n\n @property\n def exponentformat(self):\n """\n Determines a formatting rule for the tick exponents. For\n example, consider the number 1,000,000,000. If "none", it\n appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If\n "B", 1B.\n\n The 'exponentformat' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['none', 'e', 'E', 'power', 'SI', 'B']\n\n Returns\n -------\n Any\n """\n return self["exponentformat"]\n\n @exponentformat.setter\n def exponentformat(self, val):\n self["exponentformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def len(self):\n """\n Sets the length of the color bar This measure excludes the\n padding of both ends. That is, the color bar length is this\n length minus the padding on both ends.\n\n The 'len' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["len"]\n\n @len.setter\n def len(self, val):\n self["len"] = val\n\n @property\n def lenmode(self):\n """\n Determines whether this color bar's length (i.e. the measure in\n the color variation direction) is set in units of plot\n "fraction" or in *pixels. Use `len` to set the value.\n\n The 'lenmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fraction', 'pixels']\n\n Returns\n -------\n Any\n """\n return self["lenmode"]\n\n @lenmode.setter\n def lenmode(self, val):\n self["lenmode"] = val\n\n @property\n def minexponent(self):\n """\n Hide SI prefix for 10^n if |n| is below this number. This only\n has an effect when `tickformat` is "SI" or "B".\n\n The 'minexponent' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minexponent"]\n\n @minexponent.setter\n def minexponent(self, val):\n self["minexponent"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def orientation(self):\n """\n Sets the orientation of the colorbar.\n\n The 'orientation' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['h', 'v']\n\n Returns\n -------\n Any\n """\n return self["orientation"]\n\n @orientation.setter\n def orientation(self, val):\n self["orientation"] = val\n\n @property\n def outlinecolor(self):\n """\n Sets the axis line color.\n\n The 'outlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["outlinecolor"]\n\n @outlinecolor.setter\n def outlinecolor(self, val):\n self["outlinecolor"] = val\n\n @property\n def outlinewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'outlinewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["outlinewidth"]\n\n @outlinewidth.setter\n def outlinewidth(self, val):\n self["outlinewidth"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether or not the tick labels are drawn.\n\n The 'showticklabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showticklabels"]\n\n @showticklabels.setter\n def showticklabels(self, val):\n self["showticklabels"] = val\n\n @property\n def showtickprefix(self):\n """\n If "all", all tick labels are displayed with a prefix. If\n "first", only the first tick is displayed with a prefix. If\n "last", only the last tick is displayed with a suffix. If\n "none", tick prefixes are hidden.\n\n The 'showtickprefix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showtickprefix"]\n\n @showtickprefix.setter\n def showtickprefix(self, val):\n self["showtickprefix"] = val\n\n @property\n def showticksuffix(self):\n """\n Same as `showtickprefix` but for tick suffixes.\n\n The 'showticksuffix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticksuffix"]\n\n @showticksuffix.setter\n def showticksuffix(self, val):\n self["showticksuffix"] = val\n\n @property\n def thickness(self):\n """\n Sets the thickness of the color bar This measure excludes the\n size of the padding, ticks and labels.\n\n The 'thickness' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["thickness"]\n\n @thickness.setter\n def thickness(self, val):\n self["thickness"] = val\n\n @property\n def thicknessmode(self):\n """\n Determines whether this color bar's thickness (i.e. the measure\n in the constant color direction) is set in units of plot\n "fraction" or in "pixels". Use `thickness` to set the value.\n\n The 'thicknessmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fraction', 'pixels']\n\n Returns\n -------\n Any\n """\n return self["thicknessmode"]\n\n @thicknessmode.setter\n def thicknessmode(self, val):\n self["thicknessmode"] = val\n\n @property\n def tick0(self):\n """\n Sets the placement of the first tick on this axis. Use with\n `dtick`. If the axis `type` is "log", then you must take the\n log of your starting tick (e.g. to set the starting tick to\n 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see\n `dtick` for more info). If the axis `type` is "date", it should\n be a date string, like date data. If the axis `type` is\n "category", it should be a number, using the scale where each\n category is assigned a serial number from zero in the order it\n appears.\n\n The 'tick0' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["tick0"]\n\n @tick0.setter\n def tick0(self, val):\n self["tick0"] = val\n\n @property\n def tickangle(self):\n """\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the tick\n labels vertically.\n\n The 'tickangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["tickangle"]\n\n @tickangle.setter\n def tickangle(self, val):\n self["tickangle"] = val\n\n @property\n def tickcolor(self):\n """\n Sets the tick color.\n\n The 'tickcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["tickcolor"]\n\n @tickcolor.setter\n def tickcolor(self, val):\n self["tickcolor"] = val\n\n @property\n def tickfont(self):\n """\n Sets the color bar's tick label font\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.cone.colorbar.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.cone.colorbar.Tickfont\n """\n return self["tickfont"]\n\n @tickfont.setter\n def tickfont(self, val):\n self["tickfont"] = val\n\n @property\n def tickformat(self):\n """\n Sets the tick label formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'tickformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickformat"]\n\n @tickformat.setter\n def tickformat(self, val):\n self["tickformat"] = val\n\n @property\n def tickformatstops(self):\n """\n The 'tickformatstops' property is a tuple of instances of\n Tickformatstop that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.cone.colorbar.Tickformatstop\n - A list or tuple of dicts of string/value properties that\n will be passed to the Tickformatstop constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.cone.colorbar.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as\n layout.template.data.cone.colorbar.tickformatstopdefaults),\n sets the default property values to use for elements of\n cone.colorbar.tickformatstops\n\n The 'tickformatstopdefaults' property is an instance of Tickformatstop\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.cone.colorbar.Tickformatstop`\n - A dict of string/value properties that will be passed\n to the Tickformatstop constructor\n\n Returns\n -------\n plotly.graph_objs.cone.colorbar.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = val\n\n @property\n def ticklabeloverflow(self):\n """\n Determines how we handle tick labels that would overflow either\n the graph div or the domain of the axis. The default value for\n inside tick labels is *hide past domain*. In other cases the\n default is *hide past div*.\n\n The 'ticklabeloverflow' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['allow', 'hide past div', 'hide past domain']\n\n Returns\n -------\n Any\n """\n return self["ticklabeloverflow"]\n\n @ticklabeloverflow.setter\n def ticklabeloverflow(self, val):\n self["ticklabeloverflow"] = val\n\n @property\n def ticklabelposition(self):\n """\n Determines where tick labels are drawn relative to the ticks.\n Left and right options are used when `orientation` is "h", top\n and bottom when `orientation` is "v".\n\n The 'ticklabelposition' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['outside', 'inside', 'outside top', 'inside top',\n 'outside left', 'inside left', 'outside right', 'inside\n right', 'outside bottom', 'inside bottom']\n\n Returns\n -------\n Any\n """\n return self["ticklabelposition"]\n\n @ticklabelposition.setter\n def ticklabelposition(self, val):\n self["ticklabelposition"] = val\n\n @property\n def ticklabelstep(self):\n """\n Sets the spacing between tick labels as compared to the spacing\n between ticks. A value of 1 (default) means each tick gets a\n label. A value of 2 means shows every 2nd label. A larger value\n n means only every nth tick is labeled. `tick0` determines\n which labels are shown. Not implemented for axes with `type`\n "log" or "multicategory", or when `tickmode` is "array".\n\n The 'ticklabelstep' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["ticklabelstep"]\n\n @ticklabelstep.setter\n def ticklabelstep(self, val):\n self["ticklabelstep"] = val\n\n @property\n def ticklen(self):\n """\n Sets the tick length (in px).\n\n The 'ticklen' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["ticklen"]\n\n @ticklen.setter\n def ticklen(self, val):\n self["ticklen"] = val\n\n @property\n def tickmode(self):\n """\n Sets the tick mode for this axis. If "auto", the number of\n ticks is set via `nticks`. If "linear", the placement of the\n ticks is determined by a starting position `tick0` and a tick\n step `dtick` ("linear" is the default value if `tick0` and\n `dtick` are provided). If "array", the placement of the ticks\n is set via `tickvals` and the tick text is `ticktext`. ("array"\n is the default value if `tickvals` is provided).\n\n The 'tickmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', 'linear', 'array']\n\n Returns\n -------\n Any\n """\n return self["tickmode"]\n\n @tickmode.setter\n def tickmode(self, val):\n self["tickmode"] = val\n\n @property\n def tickprefix(self):\n """\n Sets a tick label prefix.\n\n The 'tickprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickprefix"]\n\n @tickprefix.setter\n def tickprefix(self, val):\n self["tickprefix"] = val\n\n @property\n def ticks(self):\n """\n Determines whether ticks are drawn or not. If "", this axis'\n ticks are not drawn. If "outside" ("inside"), this axis' are\n drawn outside (inside) the axis lines.\n\n The 'ticks' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['outside', 'inside', '']\n\n Returns\n -------\n Any\n """\n return self["ticks"]\n\n @ticks.setter\n def ticks(self, val):\n self["ticks"] = val\n\n @property\n def ticksuffix(self):\n """\n Sets a tick label suffix.\n\n The 'ticksuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["ticksuffix"]\n\n @ticksuffix.setter\n def ticksuffix(self, val):\n self["ticksuffix"] = val\n\n @property\n def ticktext(self):\n """\n Sets the text displayed at the ticks position via `tickvals`.\n Only has an effect if `tickmode` is set to "array". Used with\n `tickvals`.\n\n The 'ticktext' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["ticktext"]\n\n @ticktext.setter\n def ticktext(self, val):\n self["ticktext"] = val\n\n @property\n def ticktextsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `ticktext`.\n\n The 'ticktextsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["ticktextsrc"]\n\n @ticktextsrc.setter\n def ticktextsrc(self, val):\n self["ticktextsrc"] = val\n\n @property\n def tickvals(self):\n """\n Sets the values at which ticks on this axis appear. Only has an\n effect if `tickmode` is set to "array". Used with `ticktext`.\n\n The 'tickvals' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["tickvals"]\n\n @tickvals.setter\n def tickvals(self, val):\n self["tickvals"] = val\n\n @property\n def tickvalssrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `tickvals`.\n\n The 'tickvalssrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["tickvalssrc"]\n\n @tickvalssrc.setter\n def tickvalssrc(self, val):\n self["tickvalssrc"] = val\n\n @property\n def tickwidth(self):\n """\n Sets the tick width (in px).\n\n The 'tickwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["tickwidth"]\n\n @tickwidth.setter\n def tickwidth(self, val):\n self["tickwidth"] = val\n\n @property\n def title(self):\n """\n The 'title' property is an instance of Title\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.cone.colorbar.Title`\n - A dict of string/value properties that will be passed\n to the Title constructor\n\n Returns\n -------\n plotly.graph_objs.cone.colorbar.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def x(self):\n """\n Sets the x position with respect to `xref` of the color bar (in\n plot fraction). When `xref` is "paper", defaults to 1.02 when\n `orientation` is "v" and 0.5 when `orientation` is "h". When\n `xref` is "container", defaults to 1 when `orientation` is "v"\n and 0.5 when `orientation` is "h". Must be between 0 and 1 if\n `xref` is "container" and between "-2" and 3 if `xref` is\n "paper".\n\n The 'x' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def xanchor(self):\n """\n Sets this color bar's horizontal position anchor. This anchor\n binds the `x` position to the "left", "center" or "right" of\n the color bar. Defaults to "left" when `orientation` is "v" and\n "center" when `orientation` is "h".\n\n The 'xanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'center', 'right']\n\n Returns\n -------\n Any\n """\n return self["xanchor"]\n\n @xanchor.setter\n def xanchor(self, val):\n self["xanchor"] = val\n\n @property\n def xpad(self):\n """\n Sets the amount of padding (in px) along the x direction.\n\n The 'xpad' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["xpad"]\n\n @xpad.setter\n def xpad(self, val):\n self["xpad"] = val\n\n @property\n def xref(self):\n """\n Sets the container `x` refers to. "container" spans the entire\n `width` of the plot. "paper" refers to the width of the\n plotting area only.\n\n The 'xref' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['container', 'paper']\n\n Returns\n -------\n Any\n """\n return self["xref"]\n\n @xref.setter\n def xref(self, val):\n self["xref"] = val\n\n @property\n def y(self):\n """\n Sets the y position with respect to `yref` of the color bar (in\n plot fraction). When `yref` is "paper", defaults to 0.5 when\n `orientation` is "v" and 1.02 when `orientation` is "h". When\n `yref` is "container", defaults to 0.5 when `orientation` is\n "v" and 1 when `orientation` is "h". Must be between 0 and 1 if\n `yref` is "container" and between "-2" and 3 if `yref` is\n "paper".\n\n The 'y' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def yanchor(self):\n """\n Sets this color bar's vertical position anchor This anchor\n binds the `y` position to the "top", "middle" or "bottom" of\n the color bar. Defaults to "middle" when `orientation` is "v"\n and "bottom" when `orientation` is "h".\n\n The 'yanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top', 'middle', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["yanchor"]\n\n @yanchor.setter\n def yanchor(self, val):\n self["yanchor"] = val\n\n @property\n def ypad(self):\n """\n Sets the amount of padding (in px) along the y direction.\n\n The 'ypad' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["ypad"]\n\n @ypad.setter\n def ypad(self, val):\n self["ypad"] = val\n\n @property\n def yref(self):\n """\n Sets the container `y` refers to. "container" spans the entire\n `height` of the plot. "paper" refers to the height of the\n plotting area only.\n\n The 'yref' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['container', 'paper']\n\n Returns\n -------\n Any\n """\n return self["yref"]\n\n @yref.setter\n def yref(self, val):\n self["yref"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n bgcolor\n Sets the color of padded area.\n bordercolor\n Sets the axis line color.\n borderwidth\n Sets the width (in px) or the border enclosing this\n color bar.\n dtick\n Sets the step in-between ticks on this axis. Use with\n `tick0`. Must be a positive number, or special strings\n available to "log" and "date" axes. If the axis `type`\n is "log", then ticks are set every 10^(n*dtick) where n\n is the tick number. For example, to set a tick mark at\n 1, 10, 100, 1000, ... set dtick to 1. To set tick marks\n at 1, 100, 10000, ... set dtick to 2. To set tick marks\n at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special\n values; "L<f>", where `f` is a positive number, gives\n ticks linearly spaced in value (but not position). For\n example `tick0` = 0.1, `dtick` = "L0.5" will put ticks\n at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus\n small digits between, use "D1" (all digits) or "D2"\n (only 2 and 5). `tick0` is ignored for "D1" and "D2".\n If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval\n between ticks to one day, set `dtick` to 86400000.0.\n "date" also has special values "M<n>" gives ticks\n spaced by a number of months. `n` must be a positive\n integer. To set ticks on the 15th of every third month,\n set `tick0` to "2000-01-15" and `dtick` to "M3". To set\n ticks every 4 years, set `dtick` to "M48"\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n len\n Sets the length of the color bar This measure excludes\n the padding of both ends. That is, the color bar length\n is this length minus the padding on both ends.\n lenmode\n Determines whether this color bar's length (i.e. the\n measure in the color variation direction) is set in\n units of plot "fraction" or in *pixels. Use `len` to\n set the value.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number.\n This only has an effect when `tickformat` is "SI" or\n "B".\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n orientation\n Sets the orientation of the colorbar.\n outlinecolor\n Sets the axis line color.\n outlinewidth\n Sets the width (in px) of the axis line.\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n thickness\n Sets the thickness of the color bar This measure\n excludes the size of the padding, ticks and labels.\n thicknessmode\n Determines whether this color bar's thickness (i.e. the\n measure in the constant color direction) is set in\n units of plot "fraction" or in "pixels". Use\n `thickness` to set the value.\n tick0\n Sets the placement of the first tick on this axis. Use\n with `dtick`. If the axis `type` is "log", then you\n must take the log of your starting tick (e.g. to set\n the starting tick to 100, set the `tick0` to 2) except\n when `dtick`=*L<f>* (see `dtick` for more info). If the\n axis `type` is "date", it should be a date string, like\n date data. If the axis `type` is "category", it should\n be a number, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickcolor\n Sets the tick color.\n tickfont\n Sets the color bar's tick label font\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.cone.colorbar.T\n ickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.cone.c\n olorbar.tickformatstopdefaults), sets the default\n property values to use for elements of\n cone.colorbar.tickformatstops\n ticklabeloverflow\n Determines how we handle tick labels that would\n overflow either the graph div or the domain of the\n axis. The default value for inside tick labels is *hide\n past domain*. In other cases the default is *hide past\n div*.\n ticklabelposition\n Determines where tick labels are drawn relative to the\n ticks. Left and right options are used when\n `orientation` is "h", top and bottom when `orientation`\n is "v".\n ticklabelstep\n Sets the spacing between tick labels as compared to the\n spacing between ticks. A value of 1 (default) means\n each tick gets a label. A value of 2 means shows every\n 2nd label. A larger value n means only every nth tick\n is labeled. `tick0` determines which labels are shown.\n Not implemented for axes with `type` "log" or\n "multicategory", or when `tickmode` is "array".\n ticklen\n Sets the tick length (in px).\n tickmode\n Sets the tick mode for this axis. If "auto", the number\n of ticks is set via `nticks`. If "linear", the\n placement of the ticks is determined by a starting\n position `tick0` and a tick step `dtick` ("linear" is\n the default value if `tick0` and `dtick` are provided).\n If "array", the placement of the ticks is set via\n `tickvals` and the tick text is `ticktext`. ("array" is\n the default value if `tickvals` is provided).\n tickprefix\n Sets a tick label prefix.\n ticks\n Determines whether ticks are drawn or not. If "", this\n axis' ticks are not drawn. If "outside" ("inside"),\n this axis' are drawn outside (inside) the axis lines.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n title\n :class:`plotly.graph_objects.cone.colorbar.Title`\n instance or dict with compatible properties\n x\n Sets the x position with respect to `xref` of the color\n bar (in plot fraction). When `xref` is "paper",\n defaults to 1.02 when `orientation` is "v" and 0.5 when\n `orientation` is "h". When `xref` is "container",\n defaults to 1 when `orientation` is "v" and 0.5 when\n `orientation` is "h". Must be between 0 and 1 if `xref`\n is "container" and between "-2" and 3 if `xref` is\n "paper".\n xanchor\n Sets this color bar's horizontal position anchor. This\n anchor binds the `x` position to the "left", "center"\n or "right" of the color bar. Defaults to "left" when\n `orientation` is "v" and "center" when `orientation` is\n "h".\n xpad\n Sets the amount of padding (in px) along the x\n direction.\n xref\n Sets the container `x` refers to. "container" spans the\n entire `width` of the plot. "paper" refers to the width\n of the plotting area only.\n y\n Sets the y position with respect to `yref` of the color\n bar (in plot fraction). When `yref` is "paper",\n defaults to 0.5 when `orientation` is "v" and 1.02 when\n `orientation` is "h". When `yref` is "container",\n defaults to 0.5 when `orientation` is "v" and 1 when\n `orientation` is "h". Must be between 0 and 1 if `yref`\n is "container" and between "-2" and 3 if `yref` is\n "paper".\n yanchor\n Sets this color bar's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the color bar. Defaults to "middle" when\n `orientation` is "v" and "bottom" when `orientation` is\n "h".\n ypad\n Sets the amount of padding (in px) along the y\n direction.\n yref\n Sets the container `y` refers to. "container" spans the\n entire `height` of the plot. "paper" refers to the\n height of the plotting area only.\n """\n\n def __init__(\n self,\n arg=None,\n bgcolor=None,\n bordercolor=None,\n borderwidth=None,\n dtick=None,\n exponentformat=None,\n labelalias=None,\n len=None,\n lenmode=None,\n minexponent=None,\n nticks=None,\n orientation=None,\n outlinecolor=None,\n outlinewidth=None,\n separatethousands=None,\n showexponent=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n thickness=None,\n thicknessmode=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=None,\n ticklabeloverflow=None,\n ticklabelposition=None,\n ticklabelstep=None,\n ticklen=None,\n tickmode=None,\n tickprefix=None,\n ticks=None,\n ticksuffix=None,\n ticktext=None,\n ticktextsrc=None,\n tickvals=None,\n tickvalssrc=None,\n tickwidth=None,\n title=None,\n x=None,\n xanchor=None,\n xpad=None,\n xref=None,\n y=None,\n yanchor=None,\n ypad=None,\n yref=None,\n **kwargs,\n ):\n """\n Construct a new ColorBar object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.cone.ColorBar`\n bgcolor\n Sets the color of padded area.\n bordercolor\n Sets the axis line color.\n borderwidth\n Sets the width (in px) or the border enclosing this\n color bar.\n dtick\n Sets the step in-between ticks on this axis. Use with\n `tick0`. Must be a positive number, or special strings\n available to "log" and "date" axes. If the axis `type`\n is "log", then ticks are set every 10^(n*dtick) where n\n is the tick number. For example, to set a tick mark at\n 1, 10, 100, 1000, ... set dtick to 1. To set tick marks\n at 1, 100, 10000, ... set dtick to 2. To set tick marks\n at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special\n values; "L<f>", where `f` is a positive number, gives\n ticks linearly spaced in value (but not position). For\n example `tick0` = 0.1, `dtick` = "L0.5" will put ticks\n at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus\n small digits between, use "D1" (all digits) or "D2"\n (only 2 and 5). `tick0` is ignored for "D1" and "D2".\n If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval\n between ticks to one day, set `dtick` to 86400000.0.\n "date" also has special values "M<n>" gives ticks\n spaced by a number of months. `n` must be a positive\n integer. To set ticks on the 15th of every third month,\n set `tick0` to "2000-01-15" and `dtick` to "M3". To set\n ticks every 4 years, set `dtick` to "M48"\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n len\n Sets the length of the color bar This measure excludes\n the padding of both ends. That is, the color bar length\n is this length minus the padding on both ends.\n lenmode\n Determines whether this color bar's length (i.e. the\n measure in the color variation direction) is set in\n units of plot "fraction" or in *pixels. Use `len` to\n set the value.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number.\n This only has an effect when `tickformat` is "SI" or\n "B".\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n orientation\n Sets the orientation of the colorbar.\n outlinecolor\n Sets the axis line color.\n outlinewidth\n Sets the width (in px) of the axis line.\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n thickness\n Sets the thickness of the color bar This measure\n excludes the size of the padding, ticks and labels.\n thicknessmode\n Determines whether this color bar's thickness (i.e. the\n measure in the constant color direction) is set in\n units of plot "fraction" or in "pixels". Use\n `thickness` to set the value.\n tick0\n Sets the placement of the first tick on this axis. Use\n with `dtick`. If the axis `type` is "log", then you\n must take the log of your starting tick (e.g. to set\n the starting tick to 100, set the `tick0` to 2) except\n when `dtick`=*L<f>* (see `dtick` for more info). If the\n axis `type` is "date", it should be a date string, like\n date data. If the axis `type` is "category", it should\n be a number, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickcolor\n Sets the tick color.\n tickfont\n Sets the color bar's tick label font\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.cone.colorbar.T\n ickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.cone.c\n olorbar.tickformatstopdefaults), sets the default\n property values to use for elements of\n cone.colorbar.tickformatstops\n ticklabeloverflow\n Determines how we handle tick labels that would\n overflow either the graph div or the domain of the\n axis. The default value for inside tick labels is *hide\n past domain*. In other cases the default is *hide past\n div*.\n ticklabelposition\n Determines where tick labels are drawn relative to the\n ticks. Left and right options are used when\n `orientation` is "h", top and bottom when `orientation`\n is "v".\n ticklabelstep\n Sets the spacing between tick labels as compared to the\n spacing between ticks. A value of 1 (default) means\n each tick gets a label. A value of 2 means shows every\n 2nd label. A larger value n means only every nth tick\n is labeled. `tick0` determines which labels are shown.\n Not implemented for axes with `type` "log" or\n "multicategory", or when `tickmode` is "array".\n ticklen\n Sets the tick length (in px).\n tickmode\n Sets the tick mode for this axis. If "auto", the number\n of ticks is set via `nticks`. If "linear", the\n placement of the ticks is determined by a starting\n position `tick0` and a tick step `dtick` ("linear" is\n the default value if `tick0` and `dtick` are provided).\n If "array", the placement of the ticks is set via\n `tickvals` and the tick text is `ticktext`. ("array" is\n the default value if `tickvals` is provided).\n tickprefix\n Sets a tick label prefix.\n ticks\n Determines whether ticks are drawn or not. If "", this\n axis' ticks are not drawn. If "outside" ("inside"),\n this axis' are drawn outside (inside) the axis lines.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n title\n :class:`plotly.graph_objects.cone.colorbar.Title`\n instance or dict with compatible properties\n x\n Sets the x position with respect to `xref` of the color\n bar (in plot fraction). When `xref` is "paper",\n defaults to 1.02 when `orientation` is "v" and 0.5 when\n `orientation` is "h". When `xref` is "container",\n defaults to 1 when `orientation` is "v" and 0.5 when\n `orientation` is "h". Must be between 0 and 1 if `xref`\n is "container" and between "-2" and 3 if `xref` is\n "paper".\n xanchor\n Sets this color bar's horizontal position anchor. This\n anchor binds the `x` position to the "left", "center"\n or "right" of the color bar. Defaults to "left" when\n `orientation` is "v" and "center" when `orientation` is\n "h".\n xpad\n Sets the amount of padding (in px) along the x\n direction.\n xref\n Sets the container `x` refers to. "container" spans the\n entire `width` of the plot. "paper" refers to the width\n of the plotting area only.\n y\n Sets the y position with respect to `yref` of the color\n bar (in plot fraction). When `yref` is "paper",\n defaults to 0.5 when `orientation` is "v" and 1.02 when\n `orientation` is "h". When `yref` is "container",\n defaults to 0.5 when `orientation` is "v" and 1 when\n `orientation` is "h". Must be between 0 and 1 if `yref`\n is "container" and between "-2" and 3 if `yref` is\n "paper".\n yanchor\n Sets this color bar's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the color bar. Defaults to "middle" when\n `orientation` is "v" and "bottom" when `orientation` is\n "h".\n ypad\n Sets the amount of padding (in px) along the y\n direction.\n yref\n Sets the container `y` refers to. "container" spans the\n entire `height` of the plot. "paper" refers to the\n height of the plotting area only.\n\n Returns\n -------\n ColorBar\n """\n super().__init__("colorbar")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.ColorBar\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.ColorBar`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("borderwidth", arg, borderwidth)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("len", arg, len)\n self._set_property("lenmode", arg, lenmode)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("nticks", arg, nticks)\n self._set_property("orientation", arg, orientation)\n self._set_property("outlinecolor", arg, outlinecolor)\n self._set_property("outlinewidth", arg, outlinewidth)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("thickness", arg, thickness)\n self._set_property("thicknessmode", arg, thicknessmode)\n self._set_property("tick0", arg, tick0)\n self._set_property("tickangle", arg, tickangle)\n self._set_property("tickcolor", arg, tickcolor)\n self._set_property("tickfont", arg, tickfont)\n self._set_property("tickformat", arg, tickformat)\n self._set_property("tickformatstops", arg, tickformatstops)\n self._set_property("tickformatstopdefaults", arg, tickformatstopdefaults)\n self._set_property("ticklabeloverflow", arg, ticklabeloverflow)\n self._set_property("ticklabelposition", arg, ticklabelposition)\n self._set_property("ticklabelstep", arg, ticklabelstep)\n self._set_property("ticklen", arg, ticklen)\n self._set_property("tickmode", arg, tickmode)\n self._set_property("tickprefix", arg, tickprefix)\n self._set_property("ticks", arg, ticks)\n self._set_property("ticksuffix", arg, ticksuffix)\n self._set_property("ticktext", arg, ticktext)\n self._set_property("ticktextsrc", arg, ticktextsrc)\n self._set_property("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("tickwidth", arg, tickwidth)\n self._set_property("title", arg, title)\n self._set_property("x", arg, x)\n self._set_property("xanchor", arg, xanchor)\n self._set_property("xpad", arg, xpad)\n self._set_property("xref", arg, xref)\n self._set_property("y", arg, y)\n self._set_property("yanchor", arg, yanchor)\n self._set_property("ypad", arg, ypad)\n self._set_property("yref", arg, yref)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\_colorbar.py
_colorbar.py
Python
60,263
0.75
0.116212
0.001978
awesome-app
721
2023-10-03T09:57:31.337554
Apache-2.0
false
8182f35b2c059423c7bd62f199296470
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Hoverlabel(_BaseTraceHierarchyType):\n _parent_path_str = "cone"\n _path_str = "cone.hoverlabel"\n _valid_props = {\n "align",\n "alignsrc",\n "bgcolor",\n "bgcolorsrc",\n "bordercolor",\n "bordercolorsrc",\n "font",\n "namelength",\n "namelengthsrc",\n }\n\n @property\n def align(self):\n """\n Sets the horizontal alignment of the text content within hover\n label box. Has an effect only if the hover label text spans\n more two or more lines\n\n The 'align' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'right', 'auto']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["align"]\n\n @align.setter\n def align(self, val):\n self["align"] = val\n\n @property\n def alignsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `align`.\n\n The 'alignsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["alignsrc"]\n\n @alignsrc.setter\n def alignsrc(self, val):\n self["alignsrc"] = val\n\n @property\n def bgcolor(self):\n """\n Sets the background color of the hover labels for this trace\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bgcolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `bgcolor`.\n\n The 'bgcolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bgcolorsrc"]\n\n @bgcolorsrc.setter\n def bgcolorsrc(self, val):\n self["bgcolorsrc"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the border color of the hover labels for this trace.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def bordercolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n\n The 'bordercolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bordercolorsrc"]\n\n @bordercolorsrc.setter\n def bordercolorsrc(self, val):\n self["bordercolorsrc"] = val\n\n @property\n def font(self):\n """\n Sets the font used in hover labels.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.cone.hoverlabel.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.cone.hoverlabel.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def namelength(self):\n """\n Sets the default length (in number of characters) of the trace\n name in the hover labels for all traces. -1 shows the whole\n name regardless of length. 0-3 shows the first 0-3 characters,\n and an integer >3 will show the whole name if it is less than\n that many characters, but if it is longer, will truncate to\n `namelength - 3` characters and add an ellipsis.\n\n The 'namelength' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [-1, 9223372036854775807]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["namelength"]\n\n @namelength.setter\n def namelength(self, val):\n self["namelength"] = val\n\n @property\n def namelengthsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n The 'namelengthsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["namelengthsrc"]\n\n @namelengthsrc.setter\n def namelengthsrc(self, val):\n self["namelengthsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n """\n\n def __init__(\n self,\n arg=None,\n align=None,\n alignsrc=None,\n bgcolor=None,\n bgcolorsrc=None,\n bordercolor=None,\n bordercolorsrc=None,\n font=None,\n namelength=None,\n namelengthsrc=None,\n **kwargs,\n ):\n """\n Construct a new Hoverlabel object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.Hoverlabel`\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n Returns\n -------\n Hoverlabel\n """\n super().__init__("hoverlabel")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.Hoverlabel`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("align", arg, align)\n self._set_property("alignsrc", arg, alignsrc)\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bgcolorsrc", arg, bgcolorsrc)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("bordercolorsrc", arg, bordercolorsrc)\n self._set_property("font", arg, font)\n self._set_property("namelength", arg, namelength)\n self._set_property("namelengthsrc", arg, namelengthsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\_hoverlabel.py
_hoverlabel.py
Python
10,436
0.95
0.171598
0.010274
vue-tools
95
2024-05-13T02:14:23.566870
BSD-3-Clause
false
9ed5102bb46f430fc145547ddf4baf78
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseTraceHierarchyType):\n _parent_path_str = "cone"\n _path_str = "cone.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.cone.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.cone.legendgrouptitle.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of the legend group.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Legendgrouptitle object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.Legendgrouptitle`\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n\n Returns\n -------\n Legendgrouptitle\n """\n super().__init__("legendgrouptitle")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.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\cone\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,918
0.95
0.115385
0.023256
awesome-app
286
2025-02-24T02:57:17.510291
BSD-3-Clause
false
cfb05160d2e612a43d54efcb8f4a8d9c
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Lighting(_BaseTraceHierarchyType):\n _parent_path_str = "cone"\n _path_str = "cone.lighting"\n _valid_props = {\n "ambient",\n "diffuse",\n "facenormalsepsilon",\n "fresnel",\n "roughness",\n "specular",\n "vertexnormalsepsilon",\n }\n\n @property\n def ambient(self):\n """\n Ambient light increases overall color visibility but can wash\n out the image.\n\n The 'ambient' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["ambient"]\n\n @ambient.setter\n def ambient(self, val):\n self["ambient"] = val\n\n @property\n def diffuse(self):\n """\n Represents the extent that incident rays are reflected in a\n range of angles.\n\n The 'diffuse' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["diffuse"]\n\n @diffuse.setter\n def diffuse(self, val):\n self["diffuse"] = val\n\n @property\n def facenormalsepsilon(self):\n """\n Epsilon for face normals calculation avoids math issues arising\n from degenerate geometry.\n\n The 'facenormalsepsilon' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["facenormalsepsilon"]\n\n @facenormalsepsilon.setter\n def facenormalsepsilon(self, val):\n self["facenormalsepsilon"] = val\n\n @property\n def fresnel(self):\n """\n Represents the reflectance as a dependency of the viewing\n angle; e.g. paper is reflective when viewing it from the edge\n of the paper (almost 90 degrees), causing shine.\n\n The 'fresnel' property is a number and may be specified as:\n - An int or float in the interval [0, 5]\n\n Returns\n -------\n int|float\n """\n return self["fresnel"]\n\n @fresnel.setter\n def fresnel(self, val):\n self["fresnel"] = val\n\n @property\n def roughness(self):\n """\n Alters specular reflection; the rougher the surface, the wider\n and less contrasty the shine.\n\n The 'roughness' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["roughness"]\n\n @roughness.setter\n def roughness(self, val):\n self["roughness"] = val\n\n @property\n def specular(self):\n """\n Represents the level that incident rays are reflected in a\n single direction, causing shine.\n\n The 'specular' property is a number and may be specified as:\n - An int or float in the interval [0, 2]\n\n Returns\n -------\n int|float\n """\n return self["specular"]\n\n @specular.setter\n def specular(self, val):\n self["specular"] = val\n\n @property\n def vertexnormalsepsilon(self):\n """\n Epsilon for vertex normals calculation avoids math issues\n arising from degenerate geometry.\n\n The 'vertexnormalsepsilon' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n int|float\n """\n return self["vertexnormalsepsilon"]\n\n @vertexnormalsepsilon.setter\n def vertexnormalsepsilon(self, val):\n self["vertexnormalsepsilon"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n ambient\n Ambient light increases overall color visibility but\n can wash out the image.\n diffuse\n Represents the extent that incident rays are reflected\n in a range of angles.\n facenormalsepsilon\n Epsilon for face normals calculation avoids math issues\n arising from degenerate geometry.\n fresnel\n Represents the reflectance as a dependency of the\n viewing angle; e.g. paper is reflective when viewing it\n from the edge of the paper (almost 90 degrees), causing\n shine.\n roughness\n Alters specular reflection; the rougher the surface,\n the wider and less contrasty the shine.\n specular\n Represents the level that incident rays are reflected\n in a single direction, causing shine.\n vertexnormalsepsilon\n Epsilon for vertex normals calculation avoids math\n issues arising from degenerate geometry.\n """\n\n def __init__(\n self,\n arg=None,\n ambient=None,\n diffuse=None,\n facenormalsepsilon=None,\n fresnel=None,\n roughness=None,\n specular=None,\n vertexnormalsepsilon=None,\n **kwargs,\n ):\n """\n Construct a new Lighting object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.cone.Lighting`\n ambient\n Ambient light increases overall color visibility but\n can wash out the image.\n diffuse\n Represents the extent that incident rays are reflected\n in a range of angles.\n facenormalsepsilon\n Epsilon for face normals calculation avoids math issues\n arising from degenerate geometry.\n fresnel\n Represents the reflectance as a dependency of the\n viewing angle; e.g. paper is reflective when viewing it\n from the edge of the paper (almost 90 degrees), causing\n shine.\n roughness\n Alters specular reflection; the rougher the surface,\n the wider and less contrasty the shine.\n specular\n Represents the level that incident rays are reflected\n in a single direction, causing shine.\n vertexnormalsepsilon\n Epsilon for vertex normals calculation avoids math\n issues arising from degenerate geometry.\n\n Returns\n -------\n Lighting\n """\n super().__init__("lighting")\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.cone.Lighting\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.Lighting`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("ambient", arg, ambient)\n self._set_property("diffuse", arg, diffuse)\n self._set_property("facenormalsepsilon", arg, facenormalsepsilon)\n self._set_property("fresnel", arg, fresnel)\n self._set_property("roughness", arg, roughness)\n self._set_property("specular", arg, specular)\n self._set_property("vertexnormalsepsilon", arg, vertexnormalsepsilon)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\_lighting.py
_lighting.py
Python
7,731
0.95
0.104247
0.013575
python-kit
880
2023-10-20T11:19:55.768623
Apache-2.0
false
e3fb3c1f543b1df0d5c51632938e57d8
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Lightposition(_BaseTraceHierarchyType):\n _parent_path_str = "cone"\n _path_str = "cone.lightposition"\n _valid_props = {"x", "y", "z"}\n\n @property\n def x(self):\n """\n Numeric vector, representing the X coordinate for each vertex.\n\n The 'x' property is a number and may be specified as:\n - An int or float in the interval [-100000, 100000]\n\n Returns\n -------\n int|float\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def y(self):\n """\n Numeric vector, representing the Y coordinate for each vertex.\n\n The 'y' property is a number and may be specified as:\n - An int or float in the interval [-100000, 100000]\n\n Returns\n -------\n int|float\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def z(self):\n """\n Numeric vector, representing the Z coordinate for each vertex.\n\n The 'z' property is a number and may be specified as:\n - An int or float in the interval [-100000, 100000]\n\n Returns\n -------\n int|float\n """\n return self["z"]\n\n @z.setter\n def z(self, val):\n self["z"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n x\n Numeric vector, representing the X coordinate for each\n vertex.\n y\n Numeric vector, representing the Y coordinate for each\n vertex.\n z\n Numeric vector, representing the Z coordinate for each\n vertex.\n """\n\n def __init__(self, arg=None, x=None, y=None, z=None, **kwargs):\n """\n Construct a new Lightposition 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.cone.Lightposition`\n x\n Numeric vector, representing the X coordinate for each\n vertex.\n y\n Numeric vector, representing the Y coordinate for each\n vertex.\n z\n Numeric vector, representing the Z coordinate for each\n vertex.\n\n Returns\n -------\n Lightposition\n """\n super().__init__("lightposition")\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.cone.Lightposition\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.Lightposition`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("x", arg, x)\n self._set_property("y", arg, y)\n self._set_property("z", arg, z)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\_lightposition.py
_lightposition.py
Python
3,479
0.95
0.170543
0.018692
awesome-app
929
2024-10-01T09:01:09.575954
GPL-3.0
false
ba4bf42a5aa1a7d13518d233db5c2d9c
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Stream(_BaseTraceHierarchyType):\n _parent_path_str = "cone"\n _path_str = "cone.stream"\n _valid_props = {"maxpoints", "token"}\n\n @property\n def maxpoints(self):\n """\n Sets the maximum number of points to keep on the plots from an\n incoming stream. If `maxpoints` is set to 50, only the newest\n 50 points will be displayed on the plot.\n\n The 'maxpoints' property is a number and may be specified as:\n - An int or float in the interval [0, 10000]\n\n Returns\n -------\n int|float\n """\n return self["maxpoints"]\n\n @maxpoints.setter\n def maxpoints(self, val):\n self["maxpoints"] = val\n\n @property\n def token(self):\n """\n The stream id number links a data trace on a plot with a\n stream. See https://chart-studio.plotly.com/settings for more\n details.\n\n The 'token' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["token"]\n\n @token.setter\n def token(self, val):\n self["token"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n """\n\n def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):\n """\n Construct a new Stream object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.cone.Stream`\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n\n Returns\n -------\n Stream\n """\n super().__init__("stream")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.Stream`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("maxpoints", arg, maxpoints)\n self._set_property("token", arg, token)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\_stream.py
_stream.py
Python
3,484
0.95
0.123894
0.021053
node-utils
160
2024-08-02T11:52:59.286096
BSD-3-Clause
false
208e6853236093c160dc5cf86fb4566c
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._colorbar import ColorBar\n from ._hoverlabel import Hoverlabel\n from ._legendgrouptitle import Legendgrouptitle\n from ._lighting import Lighting\n from ._lightposition import Lightposition\n from ._stream import Stream\n from . import colorbar\n from . import hoverlabel\n from . import legendgrouptitle\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".colorbar", ".hoverlabel", ".legendgrouptitle"],\n [\n "._colorbar.ColorBar",\n "._hoverlabel.Hoverlabel",\n "._legendgrouptitle.Legendgrouptitle",\n "._lighting.Lighting",\n "._lightposition.Lightposition",\n "._stream.Stream",\n ],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__init__.py
__init__.py
Python
852
0.85
0.035714
0
react-lib
227
2024-05-05T17:45:46.716528
BSD-3-Clause
false
1c5b1d1caed62ef81cd466804630570e
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseTraceHierarchyType):\n _parent_path_str = "cone.colorbar"\n _path_str = "cone.colorbar.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the color bar's tick label font\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.colorbar.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.colorbar.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.colorbar.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\_tickfont.py
_tickfont.py
Python
9,903
0.95
0.10479
0.010526
awesome-app
778
2024-03-03T22:10:02.916316
BSD-3-Clause
false
68bffa75a16e560c8b0b64841ba85efd
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseTraceHierarchyType):\n _parent_path_str = "cone.colorbar"\n _path_str = "cone.colorbar.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.colorbar.Tickformatstop`\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n\n Returns\n -------\n Tickformatstop\n """\n super().__init__("tickformatstops")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.colorbar.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.colorbar.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\_tickformatstop.py
_tickformatstop.py
Python
8,498
0.95
0.082988
0.019048
vue-tools
885
2023-11-05T23:55:15.438234
GPL-3.0
false
06be4f2cea2274e79730329c6c94ab74
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseTraceHierarchyType):\n _parent_path_str = "cone.colorbar"\n _path_str = "cone.colorbar.title"\n _valid_props = {"font", "side", "text"}\n\n @property\n def font(self):\n """\n Sets this color bar's title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.cone.colorbar.title.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.cone.colorbar.title.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def side(self):\n """\n Determines the location of color bar's title with respect to\n the color bar. Defaults to "top" when `orientation` if "v" and\n defaults to "right" when `orientation` if "h".\n\n The 'side' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['right', 'top', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["side"]\n\n @side.setter\n def side(self, val):\n self["side"] = val\n\n @property\n def text(self):\n """\n Sets the title of the color bar.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this color bar's title font.\n side\n Determines the location of color bar's title with\n respect to the color bar. Defaults to "top" when\n `orientation` if "v" and defaults to "right" when\n `orientation` if "h".\n text\n Sets the title of the color bar.\n """\n\n def __init__(self, arg=None, font=None, side=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.colorbar.Title`\n font\n Sets this color bar's title font.\n side\n Determines the location of color bar's title with\n respect to the color bar. Defaults to "top" when\n `orientation` if "v" and defaults to "right" when\n `orientation` if "h".\n text\n Sets the title of the color bar.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.colorbar.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.colorbar.Title`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("side", arg, side)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\_title.py
_title.py
Python
3,950
0.95
0.147059
0.017544
react-lib
82
2024-04-30T13:23:08.557817
MIT
false
414c18ffa2012a443c17ae315b8f760a
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\n from ._title import Title\n from . import title\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".title"],\n ["._tickfont.Tickfont", "._tickformatstop.Tickformatstop", "._title.Title"],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\__init__.py
__init__.py
Python
446
0.85
0.0625
0
node-utils
660
2024-02-06T12:50:54.238407
GPL-3.0
false
c1c51c7cdaa97ba16b501a938689f435
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "cone.colorbar.title"\n _path_str = "cone.colorbar.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this color bar's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.colorbar.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.colorbar.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.colorbar.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\title\_font.py
_font.py
Python
9,898
0.95
0.10479
0.010526
vue-tools
944
2024-02-07T18:39:40.921371
MIT
false
e9e27a2f07388ebed527260a52de856a
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\cone\colorbar\title\__init__.py
__init__.py
Python
237
0.85
0.111111
0
python-kit
360
2023-09-04T16:10:00.982116
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\title\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,899
0.8
0.048583
0
vue-tools
213
2024-05-17T09:35:07.908233
Apache-2.0
false
21aa1ac994a05843bd86c05357d0a95d
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\title\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
505
0.85
0
0
python-kit
190
2025-03-02T17:58:42.037838
GPL-3.0
false
6bf63ac2e734cc5e03465261abce132f
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
10,946
0.8
0.04898
0
node-utils
694
2024-08-16T09:35:21.557500
MIT
false
3d9e858ce44da0c836d5576bd30bd506
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,272
0.8
0.024752
0.005319
react-lib
527
2024-01-12T01:44:33.632245
MIT
false
73a668f4331e44782b350a0782d93f99
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,850
0.8
0.086538
0
node-utils
229
2024-05-05T15:08:42.964794
GPL-3.0
false
51a7bf270721eb97bf3508e40dd6def3
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\colorbar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
705
0.95
0
0
react-lib
131
2024-01-15T23:07:58.108107
BSD-3-Clause
false
7f5e4c913ff78d1a1c8fac50c7b27854
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "cone.hoverlabel"\n _path_str = "cone.hoverlabel.font"\n _valid_props = {\n "color",\n "colorsrc",\n "family",\n "familysrc",\n "lineposition",\n "linepositionsrc",\n "shadow",\n "shadowsrc",\n "size",\n "sizesrc",\n "style",\n "stylesrc",\n "textcase",\n "textcasesrc",\n "variant",\n "variantsrc",\n "weight",\n "weightsrc",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def colorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `color`.\n\n The 'colorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["colorsrc"]\n\n @colorsrc.setter\n def colorsrc(self, val):\n self["colorsrc"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def familysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `family`.\n\n The 'familysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["familysrc"]\n\n @familysrc.setter\n def familysrc(self, val):\n self["familysrc"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n - A list or array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def linepositionsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n\n The 'linepositionsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["linepositionsrc"]\n\n @linepositionsrc.setter\n def linepositionsrc(self, val):\n self["linepositionsrc"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def shadowsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `shadow`.\n\n The 'shadowsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["shadowsrc"]\n\n @shadowsrc.setter\n def shadowsrc(self, val):\n self["shadowsrc"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def sizesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `size`.\n\n The 'sizesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["sizesrc"]\n\n @sizesrc.setter\n def sizesrc(self, val):\n self["sizesrc"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def stylesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `style`.\n\n The 'stylesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["stylesrc"]\n\n @stylesrc.setter\n def stylesrc(self, val):\n self["stylesrc"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def textcasesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `textcase`.\n\n The 'textcasesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["textcasesrc"]\n\n @textcasesrc.setter\n def textcasesrc(self, val):\n self["textcasesrc"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def variantsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `variant`.\n\n The 'variantsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["variantsrc"]\n\n @variantsrc.setter\n def variantsrc(self, val):\n self["variantsrc"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def weightsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `weight`.\n\n The 'weightsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["weightsrc"]\n\n @weightsrc.setter\n def weightsrc(self, val):\n self["weightsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n colorsrc=None,\n family=None,\n familysrc=None,\n lineposition=None,\n linepositionsrc=None,\n shadow=None,\n shadowsrc=None,\n size=None,\n sizesrc=None,\n style=None,\n stylesrc=None,\n textcase=None,\n textcasesrc=None,\n variant=None,\n variantsrc=None,\n weight=None,\n weightsrc=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the font used in hover labels.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.hoverlabel.Font`\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.hoverlabel.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("family", arg, family)\n self._set_property("familysrc", arg, familysrc)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("linepositionsrc", arg, linepositionsrc)\n self._set_property("shadow", arg, shadow)\n self._set_property("shadowsrc", arg, shadowsrc)\n self._set_property("size", arg, size)\n self._set_property("sizesrc", arg, sizesrc)\n self._set_property("style", arg, style)\n self._set_property("stylesrc", arg, stylesrc)\n self._set_property("textcase", arg, textcase)\n self._set_property("textcasesrc", arg, textcasesrc)\n self._set_property("variant", arg, variant)\n self._set_property("variantsrc", arg, variantsrc)\n self._set_property("weight", arg, weight)\n self._set_property("weightsrc", arg, weightsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\cone\hoverlabel\_font.py
_font.py
Python
17,128
0.95
0.136286
0.005976
react-lib
787
2024-12-17T05:02:54.639869
BSD-3-Clause
false
551306ad4cd6f5d95f284fae548048bb
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\cone\hoverlabel\__init__.py
__init__.py
Python
237
0.85
0.111111
0
node-utils
593
2024-10-02T01:55:41.852184
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\hoverlabel\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
18,371
0.8
0.1
0
awesome-app
538
2024-11-27T09:00:44.365390
Apache-2.0
false
c0fc4d86bf42521b7cb782adeb6c1495
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\hoverlabel\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
501
0.85
0
0
vue-tools
624
2023-07-19T08:48:53.928113
BSD-3-Clause
false
0a80ea8b266ebc3001304930545205be
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "cone.legendgrouptitle"\n _path_str = "cone.legendgrouptitle.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this legend group's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.cone.legendgrouptitle.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.cone.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.cone.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\cone\legendgrouptitle\_font.py
_font.py
Python
9,911
0.95
0.10479
0.010526
vue-tools
725
2024-02-13T22:27:01.760051
MIT
false
a77e47526feabf87e87f61f7d577d45a
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\cone\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
vue-tools
933
2024-06-24T23:35:34.852555
BSD-3-Clause
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\legendgrouptitle\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,914
0.8
0.048583
0
awesome-app
659
2024-01-26T12:34:41.834918
GPL-3.0
false
425cc42f69c30a5def8594c6fe2d39f5
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\legendgrouptitle\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
507
0.85
0
0
node-utils
896
2023-08-04T23:57:35.366669
Apache-2.0
false
326f9fac08137ac4d6b8389d3e7f44d9
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\_colorbar.cpython-313.pyc
_colorbar.cpython-313.pyc
Other
61,107
0.6
0.082343
0
python-kit
123
2024-05-11T21:39:53.011822
MIT
false
c5b67c9f44c848419f1469043b2b1f5f
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\_hoverlabel.cpython-313.pyc
_hoverlabel.cpython-313.pyc
Other
11,356
0.8
0.142276
0
vue-tools
577
2024-03-20T19:22:05.412532
GPL-3.0
false
2e827ed1d0cb9a2ed06c6b86e442642d
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\_legendgrouptitle.cpython-313.pyc
_legendgrouptitle.cpython-313.pyc
Other
3,830
0.8
0.04
0
awesome-app
914
2023-11-15T15:20:16.547258
MIT
false
3a62bd76a5755bf3cfc8fba5025b533d
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\_lighting.cpython-313.pyc
_lighting.cpython-313.pyc
Other
8,581
0.8
0.043478
0.005988
react-lib
484
2024-12-07T03:39:35.269715
Apache-2.0
false
77e9bbdf917c818d57ac568b04ffecbd
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\_lightposition.cpython-313.pyc
_lightposition.cpython-313.pyc
Other
4,517
0.8
0.108911
0
python-kit
433
2024-10-24T07:22:23.550527
BSD-3-Clause
false
399a517f69850764032358724fc8ac7e
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\_stream.cpython-313.pyc
_stream.cpython-313.pyc
Other
4,284
0.8
0.054945
0
react-lib
207
2025-06-25T09:05:22.929484
MIT
false
a4738c6bdae7636286d329eb5f549f0f
\n\n
.venv\Lib\site-packages\plotly\graph_objs\cone\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,044
0.95
0
0
python-kit
731
2024-09-24T09:39:53.827544
BSD-3-Clause
false
02b7213ca53437830e8840199fa09aac
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass ColorBar(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.colorbar"\n _valid_props = {\n "bgcolor",\n "bordercolor",\n "borderwidth",\n "dtick",\n "exponentformat",\n "labelalias",\n "len",\n "lenmode",\n "minexponent",\n "nticks",\n "orientation",\n "outlinecolor",\n "outlinewidth",\n "separatethousands",\n "showexponent",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "thickness",\n "thicknessmode",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklabeloverflow",\n "ticklabelposition",\n "ticklabelstep",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "title",\n "x",\n "xanchor",\n "xpad",\n "xref",\n "y",\n "yanchor",\n "ypad",\n "yref",\n }\n\n @property\n def bgcolor(self):\n """\n Sets the color of padded area.\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the axis line color.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def borderwidth(self):\n """\n Sets the width (in px) or the border enclosing this color bar.\n\n The 'borderwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["borderwidth"]\n\n @borderwidth.setter\n def borderwidth(self, val):\n self["borderwidth"] = val\n\n @property\n def dtick(self):\n """\n Sets the step in-between ticks on this axis. Use with `tick0`.\n Must be a positive number, or special strings available to\n "log" and "date" axes. If the axis `type` is "log", then ticks\n are set every 10^(n*dtick) where n is the tick number. For\n example, to set a tick mark at 1, 10, 100, 1000, ... set dtick\n to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2.\n To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special values;\n "L<f>", where `f` is a positive number, gives ticks linearly\n spaced in value (but not position). For example `tick0` = 0.1,\n `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To\n show powers of 10 plus small digits between, use "D1" (all\n digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and\n "D2". If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval between\n ticks to one day, set `dtick` to 86400000.0. "date" also has\n special values "M<n>" gives ticks spaced by a number of months.\n `n` must be a positive integer. To set ticks on the 15th of\n every third month, set `tick0` to "2000-01-15" and `dtick` to\n "M3". To set ticks every 4 years, set `dtick` to "M48"\n\n The 'dtick' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["dtick"]\n\n @dtick.setter\n def dtick(self, val):\n self["dtick"] = val\n\n @property\n def exponentformat(self):\n """\n Determines a formatting rule for the tick exponents. For\n example, consider the number 1,000,000,000. If "none", it\n appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If\n "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If\n "B", 1B.\n\n The 'exponentformat' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['none', 'e', 'E', 'power', 'SI', 'B']\n\n Returns\n -------\n Any\n """\n return self["exponentformat"]\n\n @exponentformat.setter\n def exponentformat(self, val):\n self["exponentformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def len(self):\n """\n Sets the length of the color bar This measure excludes the\n padding of both ends. That is, the color bar length is this\n length minus the padding on both ends.\n\n The 'len' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["len"]\n\n @len.setter\n def len(self, val):\n self["len"] = val\n\n @property\n def lenmode(self):\n """\n Determines whether this color bar's length (i.e. the measure in\n the color variation direction) is set in units of plot\n "fraction" or in *pixels. Use `len` to set the value.\n\n The 'lenmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fraction', 'pixels']\n\n Returns\n -------\n Any\n """\n return self["lenmode"]\n\n @lenmode.setter\n def lenmode(self, val):\n self["lenmode"] = val\n\n @property\n def minexponent(self):\n """\n Hide SI prefix for 10^n if |n| is below this number. This only\n has an effect when `tickformat` is "SI" or "B".\n\n The 'minexponent' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["minexponent"]\n\n @minexponent.setter\n def minexponent(self, val):\n self["minexponent"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def orientation(self):\n """\n Sets the orientation of the colorbar.\n\n The 'orientation' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['h', 'v']\n\n Returns\n -------\n Any\n """\n return self["orientation"]\n\n @orientation.setter\n def orientation(self, val):\n self["orientation"] = val\n\n @property\n def outlinecolor(self):\n """\n Sets the axis line color.\n\n The 'outlinecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["outlinecolor"]\n\n @outlinecolor.setter\n def outlinecolor(self, val):\n self["outlinecolor"] = val\n\n @property\n def outlinewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'outlinewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["outlinewidth"]\n\n @outlinewidth.setter\n def outlinewidth(self, val):\n self["outlinewidth"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether or not the tick labels are drawn.\n\n The 'showticklabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showticklabels"]\n\n @showticklabels.setter\n def showticklabels(self, val):\n self["showticklabels"] = val\n\n @property\n def showtickprefix(self):\n """\n If "all", all tick labels are displayed with a prefix. If\n "first", only the first tick is displayed with a prefix. If\n "last", only the last tick is displayed with a suffix. If\n "none", tick prefixes are hidden.\n\n The 'showtickprefix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showtickprefix"]\n\n @showtickprefix.setter\n def showtickprefix(self, val):\n self["showtickprefix"] = val\n\n @property\n def showticksuffix(self):\n """\n Same as `showtickprefix` but for tick suffixes.\n\n The 'showticksuffix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticksuffix"]\n\n @showticksuffix.setter\n def showticksuffix(self, val):\n self["showticksuffix"] = val\n\n @property\n def thickness(self):\n """\n Sets the thickness of the color bar This measure excludes the\n size of the padding, ticks and labels.\n\n The 'thickness' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["thickness"]\n\n @thickness.setter\n def thickness(self, val):\n self["thickness"] = val\n\n @property\n def thicknessmode(self):\n """\n Determines whether this color bar's thickness (i.e. the measure\n in the constant color direction) is set in units of plot\n "fraction" or in "pixels". Use `thickness` to set the value.\n\n The 'thicknessmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fraction', 'pixels']\n\n Returns\n -------\n Any\n """\n return self["thicknessmode"]\n\n @thicknessmode.setter\n def thicknessmode(self, val):\n self["thicknessmode"] = val\n\n @property\n def tick0(self):\n """\n Sets the placement of the first tick on this axis. Use with\n `dtick`. If the axis `type` is "log", then you must take the\n log of your starting tick (e.g. to set the starting tick to\n 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see\n `dtick` for more info). If the axis `type` is "date", it should\n be a date string, like date data. If the axis `type` is\n "category", it should be a number, using the scale where each\n category is assigned a serial number from zero in the order it\n appears.\n\n The 'tick0' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["tick0"]\n\n @tick0.setter\n def tick0(self, val):\n self["tick0"] = val\n\n @property\n def tickangle(self):\n """\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the tick\n labels vertically.\n\n The 'tickangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["tickangle"]\n\n @tickangle.setter\n def tickangle(self, val):\n self["tickangle"] = val\n\n @property\n def tickcolor(self):\n """\n Sets the tick color.\n\n The 'tickcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["tickcolor"]\n\n @tickcolor.setter\n def tickcolor(self, val):\n self["tickcolor"] = val\n\n @property\n def tickfont(self):\n """\n Sets the color bar's tick label font\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.contour.colorbar.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.contour.colorbar.Tickfont\n """\n return self["tickfont"]\n\n @tickfont.setter\n def tickfont(self, val):\n self["tickfont"] = val\n\n @property\n def tickformat(self):\n """\n Sets the tick label formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'tickformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickformat"]\n\n @tickformat.setter\n def tickformat(self, val):\n self["tickformat"] = val\n\n @property\n def tickformatstops(self):\n """\n The 'tickformatstops' property is a tuple of instances of\n Tickformatstop that may be specified as:\n - A list or tuple of instances of plotly.graph_objs.contour.colorbar.Tickformatstop\n - A list or tuple of dicts of string/value properties that\n will be passed to the Tickformatstop constructor\n\n Returns\n -------\n tuple[plotly.graph_objs.contour.colorbar.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as\n layout.template.data.contour.colorbar.tickformatstopdefaults),\n sets the default property values to use for elements of\n contour.colorbar.tickformatstops\n\n The 'tickformatstopdefaults' property is an instance of Tickformatstop\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.contour.colorbar.Tickformatstop`\n - A dict of string/value properties that will be passed\n to the Tickformatstop constructor\n\n Returns\n -------\n plotly.graph_objs.contour.colorbar.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = val\n\n @property\n def ticklabeloverflow(self):\n """\n Determines how we handle tick labels that would overflow either\n the graph div or the domain of the axis. The default value for\n inside tick labels is *hide past domain*. In other cases the\n default is *hide past div*.\n\n The 'ticklabeloverflow' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['allow', 'hide past div', 'hide past domain']\n\n Returns\n -------\n Any\n """\n return self["ticklabeloverflow"]\n\n @ticklabeloverflow.setter\n def ticklabeloverflow(self, val):\n self["ticklabeloverflow"] = val\n\n @property\n def ticklabelposition(self):\n """\n Determines where tick labels are drawn relative to the ticks.\n Left and right options are used when `orientation` is "h", top\n and bottom when `orientation` is "v".\n\n The 'ticklabelposition' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['outside', 'inside', 'outside top', 'inside top',\n 'outside left', 'inside left', 'outside right', 'inside\n right', 'outside bottom', 'inside bottom']\n\n Returns\n -------\n Any\n """\n return self["ticklabelposition"]\n\n @ticklabelposition.setter\n def ticklabelposition(self, val):\n self["ticklabelposition"] = val\n\n @property\n def ticklabelstep(self):\n """\n Sets the spacing between tick labels as compared to the spacing\n between ticks. A value of 1 (default) means each tick gets a\n label. A value of 2 means shows every 2nd label. A larger value\n n means only every nth tick is labeled. `tick0` determines\n which labels are shown. Not implemented for axes with `type`\n "log" or "multicategory", or when `tickmode` is "array".\n\n The 'ticklabelstep' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["ticklabelstep"]\n\n @ticklabelstep.setter\n def ticklabelstep(self, val):\n self["ticklabelstep"] = val\n\n @property\n def ticklen(self):\n """\n Sets the tick length (in px).\n\n The 'ticklen' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["ticklen"]\n\n @ticklen.setter\n def ticklen(self, val):\n self["ticklen"] = val\n\n @property\n def tickmode(self):\n """\n Sets the tick mode for this axis. If "auto", the number of\n ticks is set via `nticks`. If "linear", the placement of the\n ticks is determined by a starting position `tick0` and a tick\n step `dtick` ("linear" is the default value if `tick0` and\n `dtick` are provided). If "array", the placement of the ticks\n is set via `tickvals` and the tick text is `ticktext`. ("array"\n is the default value if `tickvals` is provided).\n\n The 'tickmode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', 'linear', 'array']\n\n Returns\n -------\n Any\n """\n return self["tickmode"]\n\n @tickmode.setter\n def tickmode(self, val):\n self["tickmode"] = val\n\n @property\n def tickprefix(self):\n """\n Sets a tick label prefix.\n\n The 'tickprefix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["tickprefix"]\n\n @tickprefix.setter\n def tickprefix(self, val):\n self["tickprefix"] = val\n\n @property\n def ticks(self):\n """\n Determines whether ticks are drawn or not. If "", this axis'\n ticks are not drawn. If "outside" ("inside"), this axis' are\n drawn outside (inside) the axis lines.\n\n The 'ticks' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['outside', 'inside', '']\n\n Returns\n -------\n Any\n """\n return self["ticks"]\n\n @ticks.setter\n def ticks(self, val):\n self["ticks"] = val\n\n @property\n def ticksuffix(self):\n """\n Sets a tick label suffix.\n\n The 'ticksuffix' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["ticksuffix"]\n\n @ticksuffix.setter\n def ticksuffix(self, val):\n self["ticksuffix"] = val\n\n @property\n def ticktext(self):\n """\n Sets the text displayed at the ticks position via `tickvals`.\n Only has an effect if `tickmode` is set to "array". Used with\n `tickvals`.\n\n The 'ticktext' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["ticktext"]\n\n @ticktext.setter\n def ticktext(self, val):\n self["ticktext"] = val\n\n @property\n def ticktextsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `ticktext`.\n\n The 'ticktextsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["ticktextsrc"]\n\n @ticktextsrc.setter\n def ticktextsrc(self, val):\n self["ticktextsrc"] = val\n\n @property\n def tickvals(self):\n """\n Sets the values at which ticks on this axis appear. Only has an\n effect if `tickmode` is set to "array". Used with `ticktext`.\n\n The 'tickvals' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["tickvals"]\n\n @tickvals.setter\n def tickvals(self, val):\n self["tickvals"] = val\n\n @property\n def tickvalssrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `tickvals`.\n\n The 'tickvalssrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["tickvalssrc"]\n\n @tickvalssrc.setter\n def tickvalssrc(self, val):\n self["tickvalssrc"] = val\n\n @property\n def tickwidth(self):\n """\n Sets the tick width (in px).\n\n The 'tickwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["tickwidth"]\n\n @tickwidth.setter\n def tickwidth(self, val):\n self["tickwidth"] = val\n\n @property\n def title(self):\n """\n The 'title' property is an instance of Title\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.contour.colorbar.Title`\n - A dict of string/value properties that will be passed\n to the Title constructor\n\n Returns\n -------\n plotly.graph_objs.contour.colorbar.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def x(self):\n """\n Sets the x position with respect to `xref` of the color bar (in\n plot fraction). When `xref` is "paper", defaults to 1.02 when\n `orientation` is "v" and 0.5 when `orientation` is "h". When\n `xref` is "container", defaults to 1 when `orientation` is "v"\n and 0.5 when `orientation` is "h". Must be between 0 and 1 if\n `xref` is "container" and between "-2" and 3 if `xref` is\n "paper".\n\n The 'x' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def xanchor(self):\n """\n Sets this color bar's horizontal position anchor. This anchor\n binds the `x` position to the "left", "center" or "right" of\n the color bar. Defaults to "left" when `orientation` is "v" and\n "center" when `orientation` is "h".\n\n The 'xanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'center', 'right']\n\n Returns\n -------\n Any\n """\n return self["xanchor"]\n\n @xanchor.setter\n def xanchor(self, val):\n self["xanchor"] = val\n\n @property\n def xpad(self):\n """\n Sets the amount of padding (in px) along the x direction.\n\n The 'xpad' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["xpad"]\n\n @xpad.setter\n def xpad(self, val):\n self["xpad"] = val\n\n @property\n def xref(self):\n """\n Sets the container `x` refers to. "container" spans the entire\n `width` of the plot. "paper" refers to the width of the\n plotting area only.\n\n The 'xref' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['container', 'paper']\n\n Returns\n -------\n Any\n """\n return self["xref"]\n\n @xref.setter\n def xref(self, val):\n self["xref"] = val\n\n @property\n def y(self):\n """\n Sets the y position with respect to `yref` of the color bar (in\n plot fraction). When `yref` is "paper", defaults to 0.5 when\n `orientation` is "v" and 1.02 when `orientation` is "h". When\n `yref` is "container", defaults to 0.5 when `orientation` is\n "v" and 1 when `orientation` is "h". Must be between 0 and 1 if\n `yref` is "container" and between "-2" and 3 if `yref` is\n "paper".\n\n The 'y' property is a number and may be specified as:\n - An int or float\n\n Returns\n -------\n int|float\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def yanchor(self):\n """\n Sets this color bar's vertical position anchor This anchor\n binds the `y` position to the "top", "middle" or "bottom" of\n the color bar. Defaults to "middle" when `orientation` is "v"\n and "bottom" when `orientation` is "h".\n\n The 'yanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top', 'middle', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["yanchor"]\n\n @yanchor.setter\n def yanchor(self, val):\n self["yanchor"] = val\n\n @property\n def ypad(self):\n """\n Sets the amount of padding (in px) along the y direction.\n\n The 'ypad' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["ypad"]\n\n @ypad.setter\n def ypad(self, val):\n self["ypad"] = val\n\n @property\n def yref(self):\n """\n Sets the container `y` refers to. "container" spans the entire\n `height` of the plot. "paper" refers to the height of the\n plotting area only.\n\n The 'yref' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['container', 'paper']\n\n Returns\n -------\n Any\n """\n return self["yref"]\n\n @yref.setter\n def yref(self, val):\n self["yref"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n bgcolor\n Sets the color of padded area.\n bordercolor\n Sets the axis line color.\n borderwidth\n Sets the width (in px) or the border enclosing this\n color bar.\n dtick\n Sets the step in-between ticks on this axis. Use with\n `tick0`. Must be a positive number, or special strings\n available to "log" and "date" axes. If the axis `type`\n is "log", then ticks are set every 10^(n*dtick) where n\n is the tick number. For example, to set a tick mark at\n 1, 10, 100, 1000, ... set dtick to 1. To set tick marks\n at 1, 100, 10000, ... set dtick to 2. To set tick marks\n at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special\n values; "L<f>", where `f` is a positive number, gives\n ticks linearly spaced in value (but not position). For\n example `tick0` = 0.1, `dtick` = "L0.5" will put ticks\n at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus\n small digits between, use "D1" (all digits) or "D2"\n (only 2 and 5). `tick0` is ignored for "D1" and "D2".\n If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval\n between ticks to one day, set `dtick` to 86400000.0.\n "date" also has special values "M<n>" gives ticks\n spaced by a number of months. `n` must be a positive\n integer. To set ticks on the 15th of every third month,\n set `tick0` to "2000-01-15" and `dtick` to "M3". To set\n ticks every 4 years, set `dtick` to "M48"\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n len\n Sets the length of the color bar This measure excludes\n the padding of both ends. That is, the color bar length\n is this length minus the padding on both ends.\n lenmode\n Determines whether this color bar's length (i.e. the\n measure in the color variation direction) is set in\n units of plot "fraction" or in *pixels. Use `len` to\n set the value.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number.\n This only has an effect when `tickformat` is "SI" or\n "B".\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n orientation\n Sets the orientation of the colorbar.\n outlinecolor\n Sets the axis line color.\n outlinewidth\n Sets the width (in px) of the axis line.\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n thickness\n Sets the thickness of the color bar This measure\n excludes the size of the padding, ticks and labels.\n thicknessmode\n Determines whether this color bar's thickness (i.e. the\n measure in the constant color direction) is set in\n units of plot "fraction" or in "pixels". Use\n `thickness` to set the value.\n tick0\n Sets the placement of the first tick on this axis. Use\n with `dtick`. If the axis `type` is "log", then you\n must take the log of your starting tick (e.g. to set\n the starting tick to 100, set the `tick0` to 2) except\n when `dtick`=*L<f>* (see `dtick` for more info). If the\n axis `type` is "date", it should be a date string, like\n date data. If the axis `type` is "category", it should\n be a number, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickcolor\n Sets the tick color.\n tickfont\n Sets the color bar's tick label font\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.contour.colorba\n r.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.contou\n r.colorbar.tickformatstopdefaults), sets the default\n property values to use for elements of\n contour.colorbar.tickformatstops\n ticklabeloverflow\n Determines how we handle tick labels that would\n overflow either the graph div or the domain of the\n axis. The default value for inside tick labels is *hide\n past domain*. In other cases the default is *hide past\n div*.\n ticklabelposition\n Determines where tick labels are drawn relative to the\n ticks. Left and right options are used when\n `orientation` is "h", top and bottom when `orientation`\n is "v".\n ticklabelstep\n Sets the spacing between tick labels as compared to the\n spacing between ticks. A value of 1 (default) means\n each tick gets a label. A value of 2 means shows every\n 2nd label. A larger value n means only every nth tick\n is labeled. `tick0` determines which labels are shown.\n Not implemented for axes with `type` "log" or\n "multicategory", or when `tickmode` is "array".\n ticklen\n Sets the tick length (in px).\n tickmode\n Sets the tick mode for this axis. If "auto", the number\n of ticks is set via `nticks`. If "linear", the\n placement of the ticks is determined by a starting\n position `tick0` and a tick step `dtick` ("linear" is\n the default value if `tick0` and `dtick` are provided).\n If "array", the placement of the ticks is set via\n `tickvals` and the tick text is `ticktext`. ("array" is\n the default value if `tickvals` is provided).\n tickprefix\n Sets a tick label prefix.\n ticks\n Determines whether ticks are drawn or not. If "", this\n axis' ticks are not drawn. If "outside" ("inside"),\n this axis' are drawn outside (inside) the axis lines.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n title\n :class:`plotly.graph_objects.contour.colorbar.Title`\n instance or dict with compatible properties\n x\n Sets the x position with respect to `xref` of the color\n bar (in plot fraction). When `xref` is "paper",\n defaults to 1.02 when `orientation` is "v" and 0.5 when\n `orientation` is "h". When `xref` is "container",\n defaults to 1 when `orientation` is "v" and 0.5 when\n `orientation` is "h". Must be between 0 and 1 if `xref`\n is "container" and between "-2" and 3 if `xref` is\n "paper".\n xanchor\n Sets this color bar's horizontal position anchor. This\n anchor binds the `x` position to the "left", "center"\n or "right" of the color bar. Defaults to "left" when\n `orientation` is "v" and "center" when `orientation` is\n "h".\n xpad\n Sets the amount of padding (in px) along the x\n direction.\n xref\n Sets the container `x` refers to. "container" spans the\n entire `width` of the plot. "paper" refers to the width\n of the plotting area only.\n y\n Sets the y position with respect to `yref` of the color\n bar (in plot fraction). When `yref` is "paper",\n defaults to 0.5 when `orientation` is "v" and 1.02 when\n `orientation` is "h". When `yref` is "container",\n defaults to 0.5 when `orientation` is "v" and 1 when\n `orientation` is "h". Must be between 0 and 1 if `yref`\n is "container" and between "-2" and 3 if `yref` is\n "paper".\n yanchor\n Sets this color bar's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the color bar. Defaults to "middle" when\n `orientation` is "v" and "bottom" when `orientation` is\n "h".\n ypad\n Sets the amount of padding (in px) along the y\n direction.\n yref\n Sets the container `y` refers to. "container" spans the\n entire `height` of the plot. "paper" refers to the\n height of the plotting area only.\n """\n\n def __init__(\n self,\n arg=None,\n bgcolor=None,\n bordercolor=None,\n borderwidth=None,\n dtick=None,\n exponentformat=None,\n labelalias=None,\n len=None,\n lenmode=None,\n minexponent=None,\n nticks=None,\n orientation=None,\n outlinecolor=None,\n outlinewidth=None,\n separatethousands=None,\n showexponent=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n thickness=None,\n thicknessmode=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=None,\n ticklabeloverflow=None,\n ticklabelposition=None,\n ticklabelstep=None,\n ticklen=None,\n tickmode=None,\n tickprefix=None,\n ticks=None,\n ticksuffix=None,\n ticktext=None,\n ticktextsrc=None,\n tickvals=None,\n tickvalssrc=None,\n tickwidth=None,\n title=None,\n x=None,\n xanchor=None,\n xpad=None,\n xref=None,\n y=None,\n yanchor=None,\n ypad=None,\n yref=None,\n **kwargs,\n ):\n """\n Construct a new ColorBar object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.ColorBar`\n bgcolor\n Sets the color of padded area.\n bordercolor\n Sets the axis line color.\n borderwidth\n Sets the width (in px) or the border enclosing this\n color bar.\n dtick\n Sets the step in-between ticks on this axis. Use with\n `tick0`. Must be a positive number, or special strings\n available to "log" and "date" axes. If the axis `type`\n is "log", then ticks are set every 10^(n*dtick) where n\n is the tick number. For example, to set a tick mark at\n 1, 10, 100, 1000, ... set dtick to 1. To set tick marks\n at 1, 100, 10000, ... set dtick to 2. To set tick marks\n at 1, 5, 25, 125, 625, 3125, ... set dtick to\n log_10(5), or 0.69897000433. "log" has several special\n values; "L<f>", where `f` is a positive number, gives\n ticks linearly spaced in value (but not position). For\n example `tick0` = 0.1, `dtick` = "L0.5" will put ticks\n at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus\n small digits between, use "D1" (all digits) or "D2"\n (only 2 and 5). `tick0` is ignored for "D1" and "D2".\n If the axis `type` is "date", then you must convert the\n time to milliseconds. For example, to set the interval\n between ticks to one day, set `dtick` to 86400000.0.\n "date" also has special values "M<n>" gives ticks\n spaced by a number of months. `n` must be a positive\n integer. To set ticks on the 15th of every third month,\n set `tick0` to "2000-01-15" and `dtick` to "M3". To set\n ticks every 4 years, set `dtick` to "M48"\n exponentformat\n Determines a formatting rule for the tick exponents.\n For example, consider the number 1,000,000,000. If\n "none", it appears as 1,000,000,000. If "e", 1e+9. If\n "E", 1E+9. If "power", 1x10^9 (with 9 in a super\n script). If "SI", 1G. If "B", 1B.\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n len\n Sets the length of the color bar This measure excludes\n the padding of both ends. That is, the color bar length\n is this length minus the padding on both ends.\n lenmode\n Determines whether this color bar's length (i.e. the\n measure in the color variation direction) is set in\n units of plot "fraction" or in *pixels. Use `len` to\n set the value.\n minexponent\n Hide SI prefix for 10^n if |n| is below this number.\n This only has an effect when `tickformat` is "SI" or\n "B".\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n orientation\n Sets the orientation of the colorbar.\n outlinecolor\n Sets the axis line color.\n outlinewidth\n Sets the width (in px) of the axis line.\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n thickness\n Sets the thickness of the color bar This measure\n excludes the size of the padding, ticks and labels.\n thicknessmode\n Determines whether this color bar's thickness (i.e. the\n measure in the constant color direction) is set in\n units of plot "fraction" or in "pixels". Use\n `thickness` to set the value.\n tick0\n Sets the placement of the first tick on this axis. Use\n with `dtick`. If the axis `type` is "log", then you\n must take the log of your starting tick (e.g. to set\n the starting tick to 100, set the `tick0` to 2) except\n when `dtick`=*L<f>* (see `dtick` for more info). If the\n axis `type` is "date", it should be a date string, like\n date data. If the axis `type` is "category", it should\n be a number, using the scale where each category is\n assigned a serial number from zero in the order it\n appears.\n tickangle\n Sets the angle of the tick labels with respect to the\n horizontal. For example, a `tickangle` of -90 draws the\n tick labels vertically.\n tickcolor\n Sets the tick color.\n tickfont\n Sets the color bar's tick label font\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.contour.colorba\n r.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.data.contou\n r.colorbar.tickformatstopdefaults), sets the default\n property values to use for elements of\n contour.colorbar.tickformatstops\n ticklabeloverflow\n Determines how we handle tick labels that would\n overflow either the graph div or the domain of the\n axis. The default value for inside tick labels is *hide\n past domain*. In other cases the default is *hide past\n div*.\n ticklabelposition\n Determines where tick labels are drawn relative to the\n ticks. Left and right options are used when\n `orientation` is "h", top and bottom when `orientation`\n is "v".\n ticklabelstep\n Sets the spacing between tick labels as compared to the\n spacing between ticks. A value of 1 (default) means\n each tick gets a label. A value of 2 means shows every\n 2nd label. A larger value n means only every nth tick\n is labeled. `tick0` determines which labels are shown.\n Not implemented for axes with `type` "log" or\n "multicategory", or when `tickmode` is "array".\n ticklen\n Sets the tick length (in px).\n tickmode\n Sets the tick mode for this axis. If "auto", the number\n of ticks is set via `nticks`. If "linear", the\n placement of the ticks is determined by a starting\n position `tick0` and a tick step `dtick` ("linear" is\n the default value if `tick0` and `dtick` are provided).\n If "array", the placement of the ticks is set via\n `tickvals` and the tick text is `ticktext`. ("array" is\n the default value if `tickvals` is provided).\n tickprefix\n Sets a tick label prefix.\n ticks\n Determines whether ticks are drawn or not. If "", this\n axis' ticks are not drawn. If "outside" ("inside"),\n this axis' are drawn outside (inside) the axis lines.\n ticksuffix\n Sets a tick label suffix.\n ticktext\n Sets the text displayed at the ticks position via\n `tickvals`. Only has an effect if `tickmode` is set to\n "array". Used with `tickvals`.\n ticktextsrc\n Sets the source reference on Chart Studio Cloud for\n `ticktext`.\n tickvals\n Sets the values at which ticks on this axis appear.\n Only has an effect if `tickmode` is set to "array".\n Used with `ticktext`.\n tickvalssrc\n Sets the source reference on Chart Studio Cloud for\n `tickvals`.\n tickwidth\n Sets the tick width (in px).\n title\n :class:`plotly.graph_objects.contour.colorbar.Title`\n instance or dict with compatible properties\n x\n Sets the x position with respect to `xref` of the color\n bar (in plot fraction). When `xref` is "paper",\n defaults to 1.02 when `orientation` is "v" and 0.5 when\n `orientation` is "h". When `xref` is "container",\n defaults to 1 when `orientation` is "v" and 0.5 when\n `orientation` is "h". Must be between 0 and 1 if `xref`\n is "container" and between "-2" and 3 if `xref` is\n "paper".\n xanchor\n Sets this color bar's horizontal position anchor. This\n anchor binds the `x` position to the "left", "center"\n or "right" of the color bar. Defaults to "left" when\n `orientation` is "v" and "center" when `orientation` is\n "h".\n xpad\n Sets the amount of padding (in px) along the x\n direction.\n xref\n Sets the container `x` refers to. "container" spans the\n entire `width` of the plot. "paper" refers to the width\n of the plotting area only.\n y\n Sets the y position with respect to `yref` of the color\n bar (in plot fraction). When `yref` is "paper",\n defaults to 0.5 when `orientation` is "v" and 1.02 when\n `orientation` is "h". When `yref` is "container",\n defaults to 0.5 when `orientation` is "v" and 1 when\n `orientation` is "h". Must be between 0 and 1 if `yref`\n is "container" and between "-2" and 3 if `yref` is\n "paper".\n yanchor\n Sets this color bar's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the color bar. Defaults to "middle" when\n `orientation` is "v" and "bottom" when `orientation` is\n "h".\n ypad\n Sets the amount of padding (in px) along the y\n direction.\n yref\n Sets the container `y` refers to. "container" spans the\n entire `height` of the plot. "paper" refers to the\n height of the plotting area only.\n\n Returns\n -------\n ColorBar\n """\n super().__init__("colorbar")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.ColorBar\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.ColorBar`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("borderwidth", arg, borderwidth)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("len", arg, len)\n self._set_property("lenmode", arg, lenmode)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("nticks", arg, nticks)\n self._set_property("orientation", arg, orientation)\n self._set_property("outlinecolor", arg, outlinecolor)\n self._set_property("outlinewidth", arg, outlinewidth)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("thickness", arg, thickness)\n self._set_property("thicknessmode", arg, thicknessmode)\n self._set_property("tick0", arg, tick0)\n self._set_property("tickangle", arg, tickangle)\n self._set_property("tickcolor", arg, tickcolor)\n self._set_property("tickfont", arg, tickfont)\n self._set_property("tickformat", arg, tickformat)\n self._set_property("tickformatstops", arg, tickformatstops)\n self._set_property("tickformatstopdefaults", arg, tickformatstopdefaults)\n self._set_property("ticklabeloverflow", arg, ticklabeloverflow)\n self._set_property("ticklabelposition", arg, ticklabelposition)\n self._set_property("ticklabelstep", arg, ticklabelstep)\n self._set_property("ticklen", arg, ticklen)\n self._set_property("tickmode", arg, tickmode)\n self._set_property("tickprefix", arg, tickprefix)\n self._set_property("ticks", arg, ticks)\n self._set_property("ticksuffix", arg, ticksuffix)\n self._set_property("ticktext", arg, ticktext)\n self._set_property("ticktextsrc", arg, ticktextsrc)\n self._set_property("tickvals", arg, tickvals)\n self._set_property("tickvalssrc", arg, tickvalssrc)\n self._set_property("tickwidth", arg, tickwidth)\n self._set_property("title", arg, title)\n self._set_property("x", arg, x)\n self._set_property("xanchor", arg, xanchor)\n self._set_property("xpad", arg, xpad)\n self._set_property("xref", arg, xref)\n self._set_property("y", arg, y)\n self._set_property("yanchor", arg, yanchor)\n self._set_property("ypad", arg, ypad)\n self._set_property("yref", arg, yref)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\_colorbar.py
_colorbar.py
Python
60,344
0.75
0.116144
0.001976
vue-tools
796
2023-09-18T03:24:41.789164
BSD-3-Clause
false
cbaec36314c4a1bcbf7fdd5373438a8d
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Contours(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.contours"\n _valid_props = {\n "coloring",\n "end",\n "labelfont",\n "labelformat",\n "operation",\n "showlabels",\n "showlines",\n "size",\n "start",\n "type",\n "value",\n }\n\n @property\n def coloring(self):\n """\n Determines the coloring method showing the contour values. If\n "fill", coloring is done evenly between each contour level If\n "heatmap", a heatmap gradient coloring is applied between each\n contour level. If "lines", coloring is done on the contour\n lines. If "none", no coloring is applied on this trace.\n\n The 'coloring' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['fill', 'heatmap', 'lines', 'none']\n\n Returns\n -------\n Any\n """\n return self["coloring"]\n\n @coloring.setter\n def coloring(self, val):\n self["coloring"] = val\n\n @property\n def end(self):\n """\n Sets the end contour level value. Must be more than\n `contours.start`\n\n The 'end' 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["end"]\n\n @end.setter\n def end(self, val):\n self["end"] = val\n\n @property\n def labelfont(self):\n """\n Sets the font used for labeling the contour levels. The default\n color comes from the lines, if shown. The default family and\n size come from `layout.font`.\n\n The 'labelfont' property is an instance of Labelfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.contour.contours.Labelfont`\n - A dict of string/value properties that will be passed\n to the Labelfont constructor\n\n Returns\n -------\n plotly.graph_objs.contour.contours.Labelfont\n """\n return self["labelfont"]\n\n @labelfont.setter\n def labelfont(self, val):\n self["labelfont"] = val\n\n @property\n def labelformat(self):\n """\n Sets the contour label formatting rule using d3 formatting\n mini-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.\n\n The 'labelformat' 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["labelformat"]\n\n @labelformat.setter\n def labelformat(self, val):\n self["labelformat"] = val\n\n @property\n def operation(self):\n """\n Sets the constraint operation. "=" keeps regions equal to\n `value` "<" and "<=" keep regions less than `value` ">" and\n ">=" keep regions greater than `value` "[]", "()", "[)", and\n "(]" keep regions inside `value[0]` to `value[1]` "][", ")(",\n "](", ")[" keep regions outside `value[0]` to value[1]` Open\n vs. closed intervals make no difference to constraint display,\n but all versions are allowed for consistency with filter\n transforms.\n\n The 'operation' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['=', '<', '>=', '>', '<=', '[]', '()', '[)', '(]', '][',\n ')(', '](', ')[']\n\n Returns\n -------\n Any\n """\n return self["operation"]\n\n @operation.setter\n def operation(self, val):\n self["operation"] = val\n\n @property\n def showlabels(self):\n """\n Determines whether to label the contour lines with their\n values.\n\n The 'showlabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showlabels"]\n\n @showlabels.setter\n def showlabels(self, val):\n self["showlabels"] = val\n\n @property\n def showlines(self):\n """\n Determines whether or not the contour lines are drawn. Has an\n effect only if `contours.coloring` is set to "fill".\n\n The 'showlines' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showlines"]\n\n @showlines.setter\n def showlines(self, val):\n self["showlines"] = val\n\n @property\n def size(self):\n """\n Sets the step between each contour level. Must be positive.\n\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def start(self):\n """\n Sets the starting contour level value. Must be less than\n `contours.end`\n\n The 'start' 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["start"]\n\n @start.setter\n def start(self, val):\n self["start"] = val\n\n @property\n def type(self):\n """\n If `levels`, the data is represented as a contour plot with\n multiple levels displayed. If `constraint`, the data is\n represented as constraints with the invalid region shaded as\n specified by the `operation` and `value` parameters.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['levels', 'constraint']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def value(self):\n """\n Sets the value or values of the constraint boundary. When\n `operation` is set to one of the comparison values\n (=,<,>=,>,<=) "value" is expected to be a number. When\n `operation` is set to one of the interval values\n ([],(),[),(],][,)(,](,)[) "value" is expected to be an array of\n two numbers where the first is the lower bound and the second\n is the upper bound.\n\n The 'value' property accepts values of any type\n\n Returns\n -------\n Any\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 coloring\n Determines the coloring method showing the contour\n values. If "fill", coloring is done evenly between each\n contour level If "heatmap", a heatmap gradient coloring\n is applied between each contour level. If "lines",\n coloring is done on the contour lines. If "none", no\n coloring is applied on this trace.\n end\n Sets the end contour level value. Must be more than\n `contours.start`\n labelfont\n Sets the font used for labeling the contour levels. The\n default color comes from the lines, if shown. The\n default family and size come from `layout.font`.\n labelformat\n Sets the contour label formatting rule using d3\n formatting mini-languages which are very similar to\n those in Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n operation\n Sets the constraint operation. "=" keeps regions equal\n to `value` "<" and "<=" keep regions less than `value`\n ">" and ">=" keep regions greater than `value` "[]",\n "()", "[)", and "(]" keep regions inside `value[0]` to\n `value[1]` "][", ")(", "](", ")[" keep regions outside\n `value[0]` to value[1]` Open vs. closed intervals make\n no difference to constraint display, but all versions\n are allowed for consistency with filter transforms.\n showlabels\n Determines whether to label the contour lines with\n their values.\n showlines\n Determines whether or not the contour lines are drawn.\n Has an effect only if `contours.coloring` is set to\n "fill".\n size\n Sets the step between each contour level. Must be\n positive.\n start\n Sets the starting contour level value. Must be less\n than `contours.end`\n type\n If `levels`, the data is represented as a contour plot\n with multiple levels displayed. If `constraint`, the\n data is represented as constraints with the invalid\n region shaded as specified by the `operation` and\n `value` parameters.\n value\n Sets the value or values of the constraint boundary.\n When `operation` is set to one of the comparison values\n (=,<,>=,>,<=) "value" is expected to be a number. When\n `operation` is set to one of the interval values\n ([],(),[),(],][,)(,](,)[) "value" is expected to be an\n array of two numbers where the first is the lower bound\n and the second is the upper bound.\n """\n\n def __init__(\n self,\n arg=None,\n coloring=None,\n end=None,\n labelfont=None,\n labelformat=None,\n operation=None,\n showlabels=None,\n showlines=None,\n size=None,\n start=None,\n type=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Contours 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.contour.Contours`\n coloring\n Determines the coloring method showing the contour\n values. If "fill", coloring is done evenly between each\n contour level If "heatmap", a heatmap gradient coloring\n is applied between each contour level. If "lines",\n coloring is done on the contour lines. If "none", no\n coloring is applied on this trace.\n end\n Sets the end contour level value. Must be more than\n `contours.start`\n labelfont\n Sets the font used for labeling the contour levels. The\n default color comes from the lines, if shown. The\n default family and size come from `layout.font`.\n labelformat\n Sets the contour label formatting rule using d3\n formatting mini-languages which are very similar to\n those in Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n operation\n Sets the constraint operation. "=" keeps regions equal\n to `value` "<" and "<=" keep regions less than `value`\n ">" and ">=" keep regions greater than `value` "[]",\n "()", "[)", and "(]" keep regions inside `value[0]` to\n `value[1]` "][", ")(", "](", ")[" keep regions outside\n `value[0]` to value[1]` Open vs. closed intervals make\n no difference to constraint display, but all versions\n are allowed for consistency with filter transforms.\n showlabels\n Determines whether to label the contour lines with\n their values.\n showlines\n Determines whether or not the contour lines are drawn.\n Has an effect only if `contours.coloring` is set to\n "fill".\n size\n Sets the step between each contour level. Must be\n positive.\n start\n Sets the starting contour level value. Must be less\n than `contours.end`\n type\n If `levels`, the data is represented as a contour plot\n with multiple levels displayed. If `constraint`, the\n data is represented as constraints with the invalid\n region shaded as specified by the `operation` and\n `value` parameters.\n value\n Sets the value or values of the constraint boundary.\n When `operation` is set to one of the comparison values\n (=,<,>=,>,<=) "value" is expected to be a number. When\n `operation` is set to one of the interval values\n ([],(),[),(],][,)(,](,)[) "value" is expected to be an\n array of two numbers where the first is the lower bound\n and the second is the upper bound.\n\n Returns\n -------\n Contours\n """\n super().__init__("contours")\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.contour.Contours\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.Contours`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("coloring", arg, coloring)\n self._set_property("end", arg, end)\n self._set_property("labelfont", arg, labelfont)\n self._set_property("labelformat", arg, labelformat)\n self._set_property("operation", arg, operation)\n self._set_property("showlabels", arg, showlabels)\n self._set_property("showlines", arg, showlines)\n self._set_property("size", arg, size)\n self._set_property("start", arg, start)\n self._set_property("type", arg, type)\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\contour\_contours.py
_contours.py
Python
14,513
0.95
0.09633
0.007853
awesome-app
907
2024-05-01T16:46:33.524580
BSD-3-Clause
false
d141571a7d39f97e0b46120271b76099
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Hoverlabel(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.hoverlabel"\n _valid_props = {\n "align",\n "alignsrc",\n "bgcolor",\n "bgcolorsrc",\n "bordercolor",\n "bordercolorsrc",\n "font",\n "namelength",\n "namelengthsrc",\n }\n\n @property\n def align(self):\n """\n Sets the horizontal alignment of the text content within hover\n label box. Has an effect only if the hover label text spans\n more two or more lines\n\n The 'align' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['left', 'right', 'auto']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["align"]\n\n @align.setter\n def align(self, val):\n self["align"] = val\n\n @property\n def alignsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `align`.\n\n The 'alignsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["alignsrc"]\n\n @alignsrc.setter\n def alignsrc(self, val):\n self["alignsrc"] = val\n\n @property\n def bgcolor(self):\n """\n Sets the background color of the hover labels for this trace\n\n The 'bgcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bgcolor"]\n\n @bgcolor.setter\n def bgcolor(self, val):\n self["bgcolor"] = val\n\n @property\n def bgcolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `bgcolor`.\n\n The 'bgcolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bgcolorsrc"]\n\n @bgcolorsrc.setter\n def bgcolorsrc(self, val):\n self["bgcolorsrc"] = val\n\n @property\n def bordercolor(self):\n """\n Sets the border color of the hover labels for this trace.\n\n The 'bordercolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["bordercolor"]\n\n @bordercolor.setter\n def bordercolor(self, val):\n self["bordercolor"] = val\n\n @property\n def bordercolorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n\n The 'bordercolorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["bordercolorsrc"]\n\n @bordercolorsrc.setter\n def bordercolorsrc(self, val):\n self["bordercolorsrc"] = val\n\n @property\n def font(self):\n """\n Sets the font used in hover labels.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.contour.hoverlabel.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.contour.hoverlabel.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def namelength(self):\n """\n Sets the default length (in number of characters) of the trace\n name in the hover labels for all traces. -1 shows the whole\n name regardless of length. 0-3 shows the first 0-3 characters,\n and an integer >3 will show the whole name if it is less than\n that many characters, but if it is longer, will truncate to\n `namelength - 3` characters and add an ellipsis.\n\n The 'namelength' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [-1, 9223372036854775807]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["namelength"]\n\n @namelength.setter\n def namelength(self, val):\n self["namelength"] = val\n\n @property\n def namelengthsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n The 'namelengthsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["namelengthsrc"]\n\n @namelengthsrc.setter\n def namelengthsrc(self, val):\n self["namelengthsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n """\n\n def __init__(\n self,\n arg=None,\n align=None,\n alignsrc=None,\n bgcolor=None,\n bgcolorsrc=None,\n bordercolor=None,\n bordercolorsrc=None,\n font=None,\n namelength=None,\n namelengthsrc=None,\n **kwargs,\n ):\n """\n Construct a new Hoverlabel object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.Hoverlabel`\n align\n Sets the horizontal alignment of the text content\n within hover label box. Has an effect only if the hover\n label text spans more two or more lines\n alignsrc\n Sets the source reference on Chart Studio Cloud for\n `align`.\n bgcolor\n Sets the background color of the hover labels for this\n trace\n bgcolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bgcolor`.\n bordercolor\n Sets the border color of the hover labels for this\n trace.\n bordercolorsrc\n Sets the source reference on Chart Studio Cloud for\n `bordercolor`.\n font\n Sets the font used in hover labels.\n namelength\n Sets the default length (in number of characters) of\n the trace name in the hover labels for all traces. -1\n shows the whole name regardless of length. 0-3 shows\n the first 0-3 characters, and an integer >3 will show\n the whole name if it is less than that many characters,\n but if it is longer, will truncate to `namelength - 3`\n characters and add an ellipsis.\n namelengthsrc\n Sets the source reference on Chart Studio Cloud for\n `namelength`.\n\n Returns\n -------\n Hoverlabel\n """\n super().__init__("hoverlabel")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.Hoverlabel`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("align", arg, align)\n self._set_property("alignsrc", arg, alignsrc)\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bgcolorsrc", arg, bgcolorsrc)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("bordercolorsrc", arg, bordercolorsrc)\n self._set_property("font", arg, font)\n self._set_property("namelength", arg, namelength)\n self._set_property("namelengthsrc", arg, namelengthsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\_hoverlabel.py
_hoverlabel.py
Python
10,457
0.95
0.171598
0.010274
awesome-app
170
2023-08-07T01:19:11.826315
MIT
false
683c4b8a8d295d07cce8e2600c699caf
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.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.contour.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.contour.legendgrouptitle.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of the legend group.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Legendgrouptitle object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.Legendgrouptitle`\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n\n Returns\n -------\n Legendgrouptitle\n """\n super().__init__("legendgrouptitle")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.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\contour\_legendgrouptitle.py
_legendgrouptitle.py
Python
2,939
0.95
0.115385
0.023256
node-utils
438
2023-11-05T02:23:15.977810
Apache-2.0
false
22a05207db7ae8fbf258082afa810c8a
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.line"\n _valid_props = {"color", "dash", "smoothing", "width"}\n\n @property\n def color(self):\n """\n Sets the color of the contour level. Has no effect if\n `contours.coloring` is set to "lines".\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 smoothing(self):\n """\n Sets the amount of smoothing for the contour lines, where 0\n corresponds to no smoothing.\n\n The 'smoothing' property is a number and may be specified as:\n - An int or float in the interval [0, 1.3]\n\n Returns\n -------\n int|float\n """\n return self["smoothing"]\n\n @smoothing.setter\n def smoothing(self, val):\n self["smoothing"] = val\n\n @property\n def width(self):\n """\n Sets the contour line width in (in px) Defaults to 0.5 when\n `contours.type` is "levels". Defaults to 2 when `contour.type`\n is "constraint".\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the color of the contour level. Has no effect if\n `contours.coloring` is set to "lines".\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 smoothing\n Sets the amount of smoothing for the contour lines,\n where 0 corresponds to no smoothing.\n width\n Sets the contour line width in (in px) Defaults to 0.5\n when `contours.type` is "levels". Defaults to 2 when\n `contour.type` is "constraint".\n """\n\n def __init__(\n self, arg=None, color=None, dash=None, smoothing=None, width=None, **kwargs\n ):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.contour.Line`\n color\n Sets the color of the contour level. Has no effect if\n `contours.coloring` is set to "lines".\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 smoothing\n Sets the amount of smoothing for the contour lines,\n where 0 corresponds to no smoothing.\n width\n Sets the contour line width in (in px) Defaults to 0.5\n when `contours.type` is "levels". Defaults to 2 when\n `contour.type` is "constraint".\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.contour.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.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("smoothing", arg, smoothing)\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\contour\_line.py
_line.py
Python
5,574
0.95
0.125714
0.013423
vue-tools
565
2023-08-23T15:52:13.403183
BSD-3-Clause
false
8107c498a6971e1119eaba831eb10c43
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Stream(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.stream"\n _valid_props = {"maxpoints", "token"}\n\n @property\n def maxpoints(self):\n """\n Sets the maximum number of points to keep on the plots from an\n incoming stream. If `maxpoints` is set to 50, only the newest\n 50 points will be displayed on the plot.\n\n The 'maxpoints' property is a number and may be specified as:\n - An int or float in the interval [0, 10000]\n\n Returns\n -------\n int|float\n """\n return self["maxpoints"]\n\n @maxpoints.setter\n def maxpoints(self, val):\n self["maxpoints"] = val\n\n @property\n def token(self):\n """\n The stream id number links a data trace on a plot with a\n stream. See https://chart-studio.plotly.com/settings for more\n details.\n\n The 'token' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["token"]\n\n @token.setter\n def token(self, val):\n self["token"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n """\n\n def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):\n """\n Construct a new Stream object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.Stream`\n maxpoints\n Sets the maximum number of points to keep on the plots\n from an incoming stream. If `maxpoints` is set to 50,\n only the newest 50 points will be displayed on the\n plot.\n token\n The stream id number links a data trace on a plot with\n a stream. See https://chart-studio.plotly.com/settings\n for more details.\n\n Returns\n -------\n Stream\n """\n super().__init__("stream")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.Stream\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.Stream`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("maxpoints", arg, maxpoints)\n self._set_property("token", arg, token)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\_stream.py
_stream.py
Python
3,511
0.95
0.122807
0.020833
awesome-app
827
2024-01-14T07:07:03.177773
MIT
false
2fd1bdfcfcd68a1249608201d8dfc838
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Textfont(_BaseTraceHierarchyType):\n _parent_path_str = "contour"\n _path_str = "contour.textfont"\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 Textfont object\n\n For this trace it only has an effect if `coloring` is set to\n "heatmap". Sets the 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.contour.Textfont`\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 Textfont\n """\n super().__init__("textfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.Textfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.Textfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._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\contour\_textfont.py
_textfont.py
Python
9,936
0.95
0.107463
0.01049
awesome-app
186
2024-07-02T16:24:52.770397
GPL-3.0
false
fab10a91b794c5a38e8dad9001541a7f
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._colorbar import ColorBar\n from ._contours import Contours\n from ._hoverlabel import Hoverlabel\n from ._legendgrouptitle import Legendgrouptitle\n from ._line import Line\n from ._stream import Stream\n from ._textfont import Textfont\n from . import colorbar\n from . import contours\n from . import hoverlabel\n from . import legendgrouptitle\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".colorbar", ".contours", ".hoverlabel", ".legendgrouptitle"],\n [\n "._colorbar.ColorBar",\n "._contours.Contours",\n "._hoverlabel.Hoverlabel",\n "._legendgrouptitle.Legendgrouptitle",\n "._line.Line",\n "._stream.Stream",\n "._textfont.Textfont",\n ],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\contour\__init__.py
__init__.py
Python
927
0.85
0.032258
0
react-lib
861
2025-04-25T10:06:20.621093
BSD-3-Clause
false
782281ee66e555ef4e42536b92e602d8
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseTraceHierarchyType):\n _parent_path_str = "contour.colorbar"\n _path_str = "contour.colorbar.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the color bar's tick label font\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.colorbar.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.colorbar.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.colorbar.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\_tickfont.py
_tickfont.py
Python
9,918
0.95
0.10479
0.010526
react-lib
527
2025-02-06T13:01:30.108152
MIT
false
fec1d17047b88046c133a87301707798
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseTraceHierarchyType):\n _parent_path_str = "contour.colorbar"\n _path_str = "contour.colorbar.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.contour.colorb\n ar.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.contour.colorbar.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.colorbar.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\_tickformatstop.py
_tickformatstop.py
Python
8,514
0.95
0.082988
0.019048
react-lib
412
2025-03-18T23:10:55.608283
BSD-3-Clause
false
610d60f204359481d3c79db27c47fc46
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseTraceHierarchyType):\n _parent_path_str = "contour.colorbar"\n _path_str = "contour.colorbar.title"\n _valid_props = {"font", "side", "text"}\n\n @property\n def font(self):\n """\n Sets this color bar's title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.contour.colorbar.title.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.contour.colorbar.title.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def side(self):\n """\n Determines the location of color bar's title with respect to\n the color bar. Defaults to "top" when `orientation` if "v" and\n defaults to "right" when `orientation` if "h".\n\n The 'side' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['right', 'top', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["side"]\n\n @side.setter\n def side(self, val):\n self["side"] = val\n\n @property\n def text(self):\n """\n Sets the title of the color bar.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this color bar's title font.\n side\n Determines the location of color bar's title with\n respect to the color bar. Defaults to "top" when\n `orientation` if "v" and defaults to "right" when\n `orientation` if "h".\n text\n Sets the title of the color bar.\n """\n\n def __init__(self, arg=None, font=None, side=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.colorbar.Title`\n font\n Sets this color bar's title font.\n side\n Determines the location of color bar's title with\n respect to the color bar. Defaults to "top" when\n `orientation` if "v" and defaults to "right" when\n `orientation` if "h".\n text\n Sets the title of the color bar.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.colorbar.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.colorbar.Title`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("side", arg, side)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\_title.py
_title.py
Python
3,971
0.95
0.147059
0.017544
node-utils
971
2023-08-10T16:22:31.423865
BSD-3-Clause
false
267437b02f9a7c73f87074fa57476a7b
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\n from ._title import Title\n from . import title\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".title"],\n ["._tickfont.Tickfont", "._tickformatstop.Tickformatstop", "._title.Title"],\n )\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\__init__.py
__init__.py
Python
446
0.85
0.0625
0
node-utils
765
2023-10-31T01:23:47.943048
Apache-2.0
false
c1c51c7cdaa97ba16b501a938689f435
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "contour.colorbar.title"\n _path_str = "contour.colorbar.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this color bar's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.colorbar.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.colorbar.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.colorbar.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\title\_font.py
_font.py
Python
9,913
0.95
0.10479
0.010526
python-kit
968
2024-06-11T04:02:24.898091
Apache-2.0
false
8028bf0707e159f3499e8c069c472cd9
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\contour\colorbar\title\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
649
2025-04-01T10:03:48.378522
Apache-2.0
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\title\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
10,917
0.8
0.048583
0
react-lib
177
2023-09-09T22:54:09.682737
Apache-2.0
false
b7db7caa3c02c855946bde5bb36a1678
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\title\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
508
0.85
0
0
node-utils
603
2024-07-10T00:20:34.794900
Apache-2.0
false
be69b34bb34c33087e3971e769cbaa17
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\__pycache__\_tickfont.cpython-313.pyc
_tickfont.cpython-313.pyc
Other
10,964
0.8
0.04918
0
awesome-app
314
2025-01-11T05:41:20.100011
Apache-2.0
false
21179e4588e0695fd8380bc73d67be76
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\__pycache__\_tickformatstop.cpython-313.pyc
_tickformatstop.cpython-313.pyc
Other
9,291
0.8
0.024752
0.005319
python-kit
211
2023-12-25T22:59:04.104360
MIT
false
97f70dc4002498d94fb2b481c4f9621a
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\__pycache__\_title.cpython-313.pyc
_title.cpython-313.pyc
Other
4,874
0.8
0.087379
0
vue-tools
842
2024-07-29T18:03:05.630989
MIT
false
67a66928dc4af6840a47e4877a5b3e19
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\colorbar\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
708
0.95
0
0
awesome-app
200
2023-10-04T00:16:13.533089
Apache-2.0
false
bc2cb927bc96ac6cbf643e45000e97eb
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Labelfont(_BaseTraceHierarchyType):\n _parent_path_str = "contour.contours"\n _path_str = "contour.contours.labelfont"\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 Labelfont object\n\n Sets the font used for labeling the contour levels. The default\n color comes from the lines, if shown. The default family and\n size come from `layout.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.contour.contours.Labelfont`\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 Labelfont\n """\n super().__init__("labelfont")\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.contour.contours.Labelfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.contours.Labelfont`""")\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\contour\contours\_labelfont.py
_labelfont.py
Python
10,060
0.95
0.110119
0.010453
node-utils
902
2025-06-21T08:22:48.474215
BSD-3-Clause
false
b47152e983e9181ff02932859292ff16
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._labelfont import Labelfont\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._labelfont.Labelfont"]\n )\n
.venv\Lib\site-packages\plotly\graph_objs\contour\contours\__init__.py
__init__.py
Python
271
0.85
0.090909
0
vue-tools
492
2024-07-13T20:58:07.617067
Apache-2.0
false
31db1f44207de62f66fa8714b234adc0
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\contours\__pycache__\_labelfont.cpython-313.pyc
_labelfont.cpython-313.pyc
Other
11,102
0.8
0.057143
0
node-utils
633
2023-10-29T06:36:33.255027
Apache-2.0
false
10ffe2f6b1b50a358f04a3da2792f4f8
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\contours\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
527
0.85
0
0
python-kit
845
2023-11-09T05:20:21.339005
Apache-2.0
false
be3f807b10964a774e94a0e4a105c375
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "contour.hoverlabel"\n _path_str = "contour.hoverlabel.font"\n _valid_props = {\n "color",\n "colorsrc",\n "family",\n "familysrc",\n "lineposition",\n "linepositionsrc",\n "shadow",\n "shadowsrc",\n "size",\n "sizesrc",\n "style",\n "stylesrc",\n "textcase",\n "textcasesrc",\n "variant",\n "variantsrc",\n "weight",\n "weightsrc",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n - A list or array of any of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def colorsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `color`.\n\n The 'colorsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["colorsrc"]\n\n @colorsrc.setter\n def colorsrc(self, val):\n self["colorsrc"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def familysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `family`.\n\n The 'familysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["familysrc"]\n\n @familysrc.setter\n def familysrc(self, val):\n self["familysrc"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n - A list or array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def linepositionsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n\n The 'linepositionsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["linepositionsrc"]\n\n @linepositionsrc.setter\n def linepositionsrc(self, val):\n self["linepositionsrc"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n str|numpy.ndarray\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def shadowsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `shadow`.\n\n The 'shadowsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["shadowsrc"]\n\n @shadowsrc.setter\n def shadowsrc(self, val):\n self["shadowsrc"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|float|numpy.ndarray\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def sizesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `size`.\n\n The 'sizesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["sizesrc"]\n\n @sizesrc.setter\n def sizesrc(self, val):\n self["sizesrc"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def stylesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `style`.\n\n The 'stylesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["stylesrc"]\n\n @stylesrc.setter\n def stylesrc(self, val):\n self["stylesrc"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def textcasesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `textcase`.\n\n The 'textcasesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["textcasesrc"]\n\n @textcasesrc.setter\n def textcasesrc(self, val):\n self["textcasesrc"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def variantsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `variant`.\n\n The 'variantsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["variantsrc"]\n\n @variantsrc.setter\n def variantsrc(self, val):\n self["variantsrc"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n - A tuple, list, or one-dimensional numpy array of the above\n\n Returns\n -------\n int|numpy.ndarray\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def weightsrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `weight`.\n\n The 'weightsrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["weightsrc"]\n\n @weightsrc.setter\n def weightsrc(self, val):\n self["weightsrc"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n colorsrc=None,\n family=None,\n familysrc=None,\n lineposition=None,\n linepositionsrc=None,\n shadow=None,\n shadowsrc=None,\n size=None,\n sizesrc=None,\n style=None,\n stylesrc=None,\n textcase=None,\n textcasesrc=None,\n variant=None,\n variantsrc=None,\n weight=None,\n weightsrc=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the font used in hover labels.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.contour.hoverlabel.Font`\n color\n\n colorsrc\n Sets the source reference on Chart Studio Cloud for\n `color`.\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n familysrc\n Sets the source reference on Chart Studio Cloud for\n `family`.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n linepositionsrc\n Sets the source reference on Chart Studio Cloud for\n `lineposition`.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n shadowsrc\n Sets the source reference on Chart Studio Cloud for\n `shadow`.\n size\n\n sizesrc\n Sets the source reference on Chart Studio Cloud for\n `size`.\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n stylesrc\n Sets the source reference on Chart Studio Cloud for\n `style`.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n textcasesrc\n Sets the source reference on Chart Studio Cloud for\n `textcase`.\n variant\n Sets the variant of the font.\n variantsrc\n Sets the source reference on Chart Studio Cloud for\n `variant`.\n weight\n Sets the weight (or boldness) of the font.\n weightsrc\n Sets the source reference on Chart Studio Cloud for\n `weight`.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.contour.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.hoverlabel.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("colorsrc", arg, colorsrc)\n self._set_property("family", arg, family)\n self._set_property("familysrc", arg, familysrc)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("linepositionsrc", arg, linepositionsrc)\n self._set_property("shadow", arg, shadow)\n self._set_property("shadowsrc", arg, shadowsrc)\n self._set_property("size", arg, size)\n self._set_property("sizesrc", arg, sizesrc)\n self._set_property("style", arg, style)\n self._set_property("stylesrc", arg, stylesrc)\n self._set_property("textcase", arg, textcase)\n self._set_property("textcasesrc", arg, textcasesrc)\n self._set_property("variant", arg, variant)\n self._set_property("variantsrc", arg, variantsrc)\n self._set_property("weight", arg, weight)\n self._set_property("weightsrc", arg, weightsrc)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n
.venv\Lib\site-packages\plotly\graph_objs\contour\hoverlabel\_font.py
_font.py
Python
17,143
0.95
0.136286
0.005976
awesome-app
349
2024-01-27T09:53:55.172853
Apache-2.0
false
ed162643e496ad3198f036010cc5773d
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\contour\hoverlabel\__init__.py
__init__.py
Python
237
0.85
0.111111
0
react-lib
812
2023-07-29T15:08:49.575198
Apache-2.0
false
78f0039a1e574405772be52751197792
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\hoverlabel\__pycache__\_font.cpython-313.pyc
_font.cpython-313.pyc
Other
18,389
0.8
0.1
0
node-utils
276
2025-05-08T16:27:08.017546
MIT
false
4ae585cda604db1b1e715d59ff885645
\n\n
.venv\Lib\site-packages\plotly\graph_objs\contour\hoverlabel\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
504
0.85
0
0
node-utils
80
2024-12-09T18:04:06.662475
BSD-3-Clause
false
760d1ae21f4546bbd1c829e37fd618dd
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseTraceHierarchyType):\n _parent_path_str = "contour.legendgrouptitle"\n _path_str = "contour.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.contour.legend\n grouptitle.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.contour.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.contour.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\contour\legendgrouptitle\_font.py
_font.py
Python
9,927
0.95
0.10479
0.010526
python-kit
900
2024-04-22T09:15:00.288978
MIT
false
8a439f41f252a6cc0d1d3f8968a92625
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\contour\legendgrouptitle\__init__.py
__init__.py
Python
237
0.85
0.111111
0
node-utils
168
2024-03-23T21:50:38.604714
Apache-2.0
false
78f0039a1e574405772be52751197792