content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\symbol\__pycache__\_textfont.cpython-313.pyc | _textfont.cpython-313.pyc | Other | 6,914 | 0.8 | 0.055215 | 0 | react-lib | 297 | 2024-10-27T12:29:44.667598 | MIT | false | 00732f37f969d2397d0fb7f131eb4ebe |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\symbol\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 533 | 0.95 | 0 | 0 | awesome-app | 788 | 2024-09-16T18:11:20.845141 | Apache-2.0 | false | 535e4e3d6a0a6860e59ad00288237bf8 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\__pycache__\_circle.cpython-313.pyc | _circle.cpython-313.pyc | Other | 3,199 | 0.8 | 0.033333 | 0 | vue-tools | 1 | 2024-02-26T16:14:43.723350 | GPL-3.0 | false | 3a13009280bc75bcc5f7ccfd82aaa76d |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\__pycache__\_fill.cpython-313.pyc | _fill.cpython-313.pyc | Other | 3,463 | 0.8 | 0.046154 | 0 | node-utils | 121 | 2024-07-24T08:34:12.937667 | MIT | false | 491f90a86c2b5ea0df83973ee39195ab |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\__pycache__\_line.cpython-313.pyc | _line.cpython-313.pyc | Other | 4,829 | 0.8 | 0.05102 | 0 | react-lib | 547 | 2023-12-15T01:22:10.083745 | Apache-2.0 | false | 83aa660e123b8d2e6f06b771f801c105 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\__pycache__\_symbol.cpython-313.pyc | _symbol.cpython-313.pyc | Other | 8,804 | 0.8 | 0.016216 | 0 | awesome-app | 414 | 2024-06-06T18:41:09.665859 | GPL-3.0 | false | 05f07b16e209f6eeeacfe0685176c053 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\layer\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 717 | 0.85 | 0 | 0 | react-lib | 427 | 2024-06-25T17:53:18.596674 | BSD-3-Clause | false | 58da907050c8ecce5530d96096f95cd4 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\__pycache__\_bounds.cpython-313.pyc | _bounds.cpython-313.pyc | Other | 5,618 | 0.8 | 0.113821 | 0 | vue-tools | 687 | 2025-01-28T03:51:46.629114 | MIT | false | 0ff64f0ec13eae871a160f2149160eb0 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\__pycache__\_center.cpython-313.pyc | _center.cpython-313.pyc | Other | 3,696 | 0.8 | 0.022472 | 0 | awesome-app | 732 | 2024-08-27T02:11:12.893430 | MIT | false | 2aef3924de637b12ea5a47b62b22776d |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\__pycache__\_domain.cpython-313.pyc | _domain.cpython-313.pyc | Other | 6,054 | 0.8 | 0.101449 | 0.016 | react-lib | 742 | 2024-01-24T16:13:15.101724 | BSD-3-Clause | false | 7e64c8ab0059742be68d23024a6dbe67 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\__pycache__\_layer.cpython-313.pyc | _layer.cpython-313.pyc | Other | 25,275 | 0.8 | 0.070175 | 0 | react-lib | 605 | 2024-07-29T00:28:04.448755 | BSD-3-Clause | false | 611534fe5b446c111e27ca6e3210bbf1 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\mapbox\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 721 | 0.85 | 0 | 0 | vue-tools | 585 | 2024-11-09T15:00:59.030637 | BSD-3-Clause | false | 8f624f2a8c28b75b2ad14e6828b568a3 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.newselection"\n _path_str = "layout.newselection.line"\n _valid_props = {"color", "dash", "width"}\n\n @property\n def color(self):\n """\n Sets the line color. By default uses either dark grey or white\n to increase contrast with background color.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'dash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["dash"]\n\n @dash.setter\n def dash(self, val):\n self["dash"] = val\n\n @property\n def width(self):\n """\n Sets the line width (in px).\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the line color. By default uses either dark grey\n or white to increase contrast with background color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\n """\n\n def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.newselection.Line`\n color\n Sets the line color. By default uses either dark grey\n or white to increase contrast with background color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.newselection.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.newselection.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("dash", arg, dash)\n self._set_property("width", arg, width)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newselection\_line.py | _line.py | Python | 4,471 | 0.95 | 0.098592 | 0.016667 | python-kit | 401 | 2023-09-13T17:31:19.142265 | Apache-2.0 | false | b029ddafe85b97d86adbfda3fd492891 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._line import Line\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newselection\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | vue-tools | 345 | 2024-04-16T21:56:36.306383 | GPL-3.0 | false | f588da998a6d694bb21b2be29a9f27bb |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newselection\__pycache__\_line.cpython-313.pyc | _line.cpython-313.pyc | Other | 5,339 | 0.8 | 0.028037 | 0 | vue-tools | 64 | 2025-06-18T12:06:01.587937 | BSD-3-Clause | false | a3a03ef4f0fb1008ee92bacedb66296c |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newselection\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 505 | 0.85 | 0 | 0 | node-utils | 361 | 2025-01-19T07:46:38.122503 | Apache-2.0 | false | d6c43751fba5155503ce7357be36fb53 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Label(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.newshape"\n _path_str = "layout.newshape.label"\n _valid_props = {\n "font",\n "padding",\n "text",\n "textangle",\n "textposition",\n "texttemplate",\n "xanchor",\n "yanchor",\n }\n\n @property\n def font(self):\n """\n Sets the new shape label text font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.newshape.label.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.layout.newshape.label.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def padding(self):\n """\n Sets padding (in px) between edge of label and edge of new\n shape.\n\n The 'padding' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["padding"]\n\n @padding.setter\n def padding(self, val):\n self["padding"] = val\n\n @property\n def text(self):\n """\n Sets the text to display with the new shape. It is also used\n for legend item if `name` is not provided.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def textangle(self):\n """\n Sets the angle at which the label text is drawn with respect to\n the horizontal. For lines, angle "auto" is the same angle as\n the line. For all other shapes, angle "auto" is horizontal.\n\n The 'textangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["textangle"]\n\n @textangle.setter\n def textangle(self, val):\n self["textangle"] = val\n\n @property\n def textposition(self):\n """\n Sets the position of the label text relative to the new shape.\n Supported values for rectangles, circles and paths are *top\n left*, *top center*, *top right*, *middle left*, *middle\n center*, *middle right*, *bottom left*, *bottom center*, and\n *bottom right*. Supported values for lines are "start",\n "middle", and "end". Default: *middle center* for rectangles,\n circles, and paths; "middle" for lines.\n\n The 'textposition' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top left', 'top center', 'top right', 'middle left',\n 'middle center', 'middle right', 'bottom left', 'bottom\n center', 'bottom right', 'start', 'middle', 'end']\n\n Returns\n -------\n Any\n """\n return self["textposition"]\n\n @textposition.setter\n def textposition(self, val):\n self["textposition"] = val\n\n @property\n def texttemplate(self):\n """\n Template string used for rendering the new shape's label. Note\n that this will override `text`. Variables are inserted using\n %{variable}, for example "x0: %{x0}". Numbers are formatted\n using d3-format's syntax %{variable:d3-format}, for example\n "Price: %{x0:$.2f}". See\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format for\n details on the formatting syntax. Dates are formatted using\n d3-time-format's syntax %{variable|d3-time-format}, for example\n "Day: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format for details on the date\n formatting syntax. A single multiplication or division\n operation may be applied to numeric variables, and combined\n with d3 number formatting, for example "Length in cm:\n %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes,\n variable values are given in log units. For date axes, x/y\n coordinate variables and center variables use datetimes, while\n all other variable values use values in ms. Finally, the\n template string has access to variables `x0`, `x1`, `y0`, `y1`,\n `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and\n `ycenter`.\n\n The 'texttemplate' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["texttemplate"]\n\n @texttemplate.setter\n def texttemplate(self, val):\n self["texttemplate"] = val\n\n @property\n def xanchor(self):\n """\n Sets the label's horizontal position anchor This anchor binds\n the specified `textposition` to the "left", "center" or "right"\n of the label text. For example, if `textposition` is set to\n *top right* and `xanchor` to "right" then the right-most\n portion of the label text lines up with the right-most edge of\n the new shape.\n\n The 'xanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', 'left', 'center', 'right']\n\n Returns\n -------\n Any\n """\n return self["xanchor"]\n\n @xanchor.setter\n def xanchor(self, val):\n self["xanchor"] = val\n\n @property\n def yanchor(self):\n """\n Sets the label's vertical position anchor This anchor binds the\n specified `textposition` to the "top", "middle" or "bottom" of\n the label text. For example, if `textposition` is set to *top\n right* and `yanchor` to "top" then the top-most portion of the\n label text lines up with the top-most edge of the new shape.\n\n The 'yanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['top', 'middle', 'bottom']\n\n Returns\n -------\n Any\n """\n return self["yanchor"]\n\n @yanchor.setter\n def yanchor(self, val):\n self["yanchor"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets the new shape label text font.\n padding\n Sets padding (in px) between edge of label and edge of\n new shape.\n text\n Sets the text to display with the new shape. It is also\n used for legend item if `name` is not provided.\n textangle\n Sets the angle at which the label text is drawn with\n respect to the horizontal. For lines, angle "auto" is\n the same angle as the line. For all other shapes, angle\n "auto" is horizontal.\n textposition\n Sets the position of the label text relative to the new\n shape. Supported values for rectangles, circles and\n paths are *top left*, *top center*, *top right*,\n *middle left*, *middle center*, *middle right*, *bottom\n left*, *bottom center*, and *bottom right*. Supported\n values for lines are "start", "middle", and "end".\n Default: *middle center* for rectangles, circles, and\n paths; "middle" for lines.\n texttemplate\n Template string used for rendering the new shape's\n label. Note that this will override `text`. Variables\n are inserted using %{variable}, for example "x0:\n %{x0}". Numbers are formatted using d3-format's syntax\n %{variable:d3-format}, for example "Price: %{x0:$.2f}".\n See\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format\n for details on the formatting syntax. Dates are\n formatted using d3-time-format's syntax\n %{variable|d3-time-format}, for example "Day: %{x0|%m\n %b %Y}". See https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format for details on the\n date formatting syntax. A single multiplication or\n division operation may be applied to numeric variables,\n and combined with d3 number formatting, for example\n "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per\n second." For log axes, variable values are given in log\n units. For date axes, x/y coordinate variables and\n center variables use datetimes, while all other\n variable values use values in ms. Finally, the template\n string has access to variables `x0`, `x1`, `y0`, `y1`,\n `slope`, `dx`, `dy`, `width`, `height`, `length`,\n `xcenter` and `ycenter`.\n xanchor\n Sets the label's horizontal position anchor This anchor\n binds the specified `textposition` to the "left",\n "center" or "right" of the label text. For example, if\n `textposition` is set to *top right* and `xanchor` to\n "right" then the right-most portion of the label text\n lines up with the right-most edge of the new shape.\n yanchor\n Sets the label's vertical position anchor This anchor\n binds the specified `textposition` to the "top",\n "middle" or "bottom" of the label text. For example, if\n `textposition` is set to *top right* and `yanchor` to\n "top" then the top-most portion of the label text lines\n up with the top-most edge of the new shape.\n """\n\n def __init__(\n self,\n arg=None,\n font=None,\n padding=None,\n text=None,\n textangle=None,\n textposition=None,\n texttemplate=None,\n xanchor=None,\n yanchor=None,\n **kwargs,\n ):\n """\n Construct a new Label object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.newshape.Label`\n font\n Sets the new shape label text font.\n padding\n Sets padding (in px) between edge of label and edge of\n new shape.\n text\n Sets the text to display with the new shape. It is also\n used for legend item if `name` is not provided.\n textangle\n Sets the angle at which the label text is drawn with\n respect to the horizontal. For lines, angle "auto" is\n the same angle as the line. For all other shapes, angle\n "auto" is horizontal.\n textposition\n Sets the position of the label text relative to the new\n shape. Supported values for rectangles, circles and\n paths are *top left*, *top center*, *top right*,\n *middle left*, *middle center*, *middle right*, *bottom\n left*, *bottom center*, and *bottom right*. Supported\n values for lines are "start", "middle", and "end".\n Default: *middle center* for rectangles, circles, and\n paths; "middle" for lines.\n texttemplate\n Template string used for rendering the new shape's\n label. Note that this will override `text`. Variables\n are inserted using %{variable}, for example "x0:\n %{x0}". Numbers are formatted using d3-format's syntax\n %{variable:d3-format}, for example "Price: %{x0:$.2f}".\n See\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format\n for details on the formatting syntax. Dates are\n formatted using d3-time-format's syntax\n %{variable|d3-time-format}, for example "Day: %{x0|%m\n %b %Y}". See https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format for details on the\n date formatting syntax. A single multiplication or\n division operation may be applied to numeric variables,\n and combined with d3 number formatting, for example\n "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per\n second." For log axes, variable values are given in log\n units. For date axes, x/y coordinate variables and\n center variables use datetimes, while all other\n variable values use values in ms. Finally, the template\n string has access to variables `x0`, `x1`, `y0`, `y1`,\n `slope`, `dx`, `dy`, `width`, `height`, `length`,\n `xcenter` and `ycenter`.\n xanchor\n Sets the label's horizontal position anchor This anchor\n binds the specified `textposition` to the "left",\n "center" or "right" of the label text. For example, if\n `textposition` is set to *top right* and `xanchor` to\n "right" then the right-most portion of the label text\n lines up with the right-most edge of the new shape.\n yanchor\n Sets the label's vertical position anchor This anchor\n binds the specified `textposition` to the "top",\n "middle" or "bottom" of the label text. For example, if\n `textposition` is set to *top right* and `yanchor` to\n "top" then the top-most portion of the label text lines\n up with the top-most edge of the new shape.\n\n Returns\n -------\n Label\n """\n super().__init__("label")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.newshape.Label\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.newshape.Label`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("padding", arg, padding)\n self._set_property("text", arg, text)\n self._set_property("textangle", arg, textangle)\n self._set_property("textposition", arg, textposition)\n self._set_property("texttemplate", arg, texttemplate)\n self._set_property("xanchor", arg, xanchor)\n self._set_property("yanchor", arg, yanchor)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\_label.py | _label.py | Python | 15,324 | 0.95 | 0.18136 | 0.019718 | react-lib | 827 | 2024-10-20T22:14:49.800811 | Apache-2.0 | false | 76afb711b158a6d40e3d63dcd61fb007 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Legendgrouptitle(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.newshape"\n _path_str = "layout.newshape.legendgrouptitle"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this legend group's title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.newshape.legendgrouptitle.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.layout.newshape.legendgrouptitle.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of the legend group.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this legend group's title font.\n text\n Sets the title of the legend group.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Legendgrouptitle object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.newshap\n e.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.layout.newshape.Legendgrouptitle\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.newshape.Legendgrouptitle`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\_legendgrouptitle.py | _legendgrouptitle.py | Python | 2,999 | 0.95 | 0.115385 | 0.023256 | node-utils | 615 | 2025-01-15T18:20:59.663231 | BSD-3-Clause | false | abf5e70ddb335a86522ad9b024faeffa |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Line(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.newshape"\n _path_str = "layout.newshape.line"\n _valid_props = {"color", "dash", "width"}\n\n @property\n def color(self):\n """\n Sets the line color. By default uses either dark grey or white\n to increase contrast with background color.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'dash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["dash"]\n\n @dash.setter\n def dash(self, val):\n self["dash"] = val\n\n @property\n def width(self):\n """\n Sets the line width (in px).\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n Sets the line color. By default uses either dark grey\n or white to increase contrast with background color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\n """\n\n def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs):\n """\n Construct a new Line object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.newshape.Line`\n color\n Sets the line color. By default uses either dark grey\n or white to increase contrast with background color.\n dash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n width\n Sets the line width (in px).\n\n Returns\n -------\n Line\n """\n super().__init__("line")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.newshape.Line\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.newshape.Line`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("dash", arg, dash)\n self._set_property("width", arg, width)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\_line.py | _line.py | Python | 4,451 | 0.95 | 0.098592 | 0.016667 | awesome-app | 940 | 2023-10-06T02:49:00.108580 | Apache-2.0 | false | 34a13aff35eb593daca6553ec516c738 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._label import Label\n from ._legendgrouptitle import Legendgrouptitle\n from ._line import Line\n from . import label\n from . import legendgrouptitle\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".label", ".legendgrouptitle"],\n ["._label.Label", "._legendgrouptitle.Legendgrouptitle", "._line.Line"],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\__init__.py | __init__.py | Python | 494 | 0.85 | 0.058824 | 0 | node-utils | 378 | 2024-09-10T18:10:21.209777 | BSD-3-Clause | false | 26d2d0589562fa75e7bfd0f55cfe22a0 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.newshape.label"\n _path_str = "layout.newshape.label.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the new shape label text font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.newshape.label.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.newshape.label.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.newshape.label.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\label\_font.py | _font.py | Python | 9,913 | 0.95 | 0.10479 | 0.010526 | react-lib | 971 | 2025-04-21T04:28:16.513760 | Apache-2.0 | false | 21d8bdcf5c0153bb1b18ed10dd5ed8ee |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\label\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | python-kit | 154 | 2024-10-02T03:07:05.701659 | Apache-2.0 | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\label\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,915 | 0.8 | 0.048583 | 0 | awesome-app | 605 | 2024-04-09T01:01:08.223394 | BSD-3-Clause | false | ada0f21213fd6a4e340aae049ff150f1 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\label\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 507 | 0.85 | 0 | 0 | react-lib | 255 | 2024-11-23T21:06:51.603386 | MIT | false | 6e3f5db9731bf1b240b518ef9b924368 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.newshape.legendgrouptitle"\n _path_str = "layout.newshape.legendgrouptitle.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this legend group's title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.newshap\n e.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.layout.newshape.legendgrouptitle.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.newshape.legendgrouptitle.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\legendgrouptitle\_font.py | _font.py | Python | 9,970 | 0.95 | 0.10479 | 0.010526 | react-lib | 811 | 2023-11-07T00:33:06.519403 | BSD-3-Clause | false | f0b2d948f69b557694f7f0e482a92b56 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\legendgrouptitle\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | python-kit | 316 | 2024-03-16T21:34:33.211394 | Apache-2.0 | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\legendgrouptitle\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,983 | 0.8 | 0.048583 | 0 | vue-tools | 416 | 2025-06-20T14:59:07.394253 | GPL-3.0 | false | fdb9d8fe4f012eafff5e8d5d2101eb83 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\legendgrouptitle\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 518 | 0.85 | 0 | 0 | python-kit | 244 | 2024-12-29T06:36:51.944497 | GPL-3.0 | false | 426dd54c7ab746415043d3758d51e7ef |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\__pycache__\_label.cpython-313.pyc | _label.cpython-313.pyc | Other | 15,753 | 0.8 | 0.158879 | 0.013245 | react-lib | 916 | 2025-06-06T23:29:49.780748 | BSD-3-Clause | false | 95d40d8dac6e27d27c64ec396d060d92 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\__pycache__\_legendgrouptitle.cpython-313.pyc | _legendgrouptitle.cpython-313.pyc | Other | 3,921 | 0.8 | 0.034884 | 0 | react-lib | 775 | 2025-07-02T07:36:56.428112 | BSD-3-Clause | false | a0f19b9fb88ee3818fa69f20c4a00dc7 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\__pycache__\_line.cpython-313.pyc | _line.cpython-313.pyc | Other | 5,315 | 0.8 | 0.028037 | 0 | python-kit | 290 | 2023-08-09T11:49:12.978238 | MIT | false | d8ffbfc58f498890faa64c808303771f |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\newshape\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 764 | 0.95 | 0 | 0 | node-utils | 799 | 2025-05-31T11:38:46.827979 | GPL-3.0 | false | 2c7ae9e0ca1c0c8c38738edcb75ea9bc |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass AngularAxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar"\n _path_str = "layout.polar.angularaxis"\n _valid_props = {\n "autotypenumbers",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "color",\n "direction",\n "dtick",\n "exponentformat",\n "gridcolor",\n "griddash",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "layer",\n "linecolor",\n "linewidth",\n "minexponent",\n "nticks",\n "period",\n "rotation",\n "separatethousands",\n "showexponent",\n "showgrid",\n "showline",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "thetaunit",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklabelstep",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "type",\n "uirevision",\n "visible",\n }\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`. Set `categoryorder` to *total ascending* or\n *total descending* if order should be determined by the\n numerical order of the values. Similarly, the order can be\n determined by the min, max, sum, mean, geometric mean or median\n of all the values.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array', 'total ascending', 'total descending', 'min\n ascending', 'min descending', 'max ascending', 'max\n descending', 'sum ascending', 'sum descending', 'mean\n ascending', 'mean descending', 'geometric mean ascending',\n 'geometric mean descending', 'median ascending', 'median\n descending']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def direction(self):\n """\n Sets the direction corresponding to positive angles.\n\n The 'direction' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['counterclockwise', 'clockwise']\n\n Returns\n -------\n Any\n """\n return self["direction"]\n\n @direction.setter\n def direction(self, val):\n self["direction"] = 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 gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def griddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'griddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["griddash"]\n\n @griddash.setter\n def griddash(self, val):\n self["griddash"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'hoverformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def layer(self):\n """\n Sets the layer on which this axis is displayed. If *above\n traces*, this axis is displayed above all the subplot's traces\n If *below traces*, this axis is displayed below all the\n subplot's traces, but above the grid lines. Useful when used\n together with scatter-like traces with `cliponaxis` set to\n False to show markers and/or text nodes above this axis.\n\n The 'layer' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['above traces', 'below traces']\n\n Returns\n -------\n Any\n """\n return self["layer"]\n\n @layer.setter\n def layer(self, val):\n self["layer"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def 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 period(self):\n """\n Set the angular period. Has an effect only when\n `angularaxis.type` is "category".\n\n The 'period' 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["period"]\n\n @period.setter\n def period(self, val):\n self["period"] = val\n\n @property\n def rotation(self):\n """\n Sets that start position (in degrees) of the angular axis By\n default, polar subplots with `direction` set to\n "counterclockwise" get a `rotation` of 0 which corresponds to\n due East (like what mathematicians prefer). In turn, polar with\n `direction` set to "clockwise" get a rotation of 90 which\n corresponds to due North (like on a compass),\n\n The 'rotation' 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["rotation"]\n\n @rotation.setter\n def rotation(self, val):\n self["rotation"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether 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 thetaunit(self):\n """\n Sets the format unit of the formatted "theta" values. Has an\n effect only when `angularaxis.type` is "linear".\n\n The 'thetaunit' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['radians', 'degrees']\n\n Returns\n -------\n Any\n """\n return self["thetaunit"]\n\n @thetaunit.setter\n def thetaunit(self, val):\n self["thetaunit"] = 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.layout.polar.angularaxis.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.layout.polar.angularaxis.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.layout.polar.angularaxis.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as layout.template.layout.polar.angula\n raxis.tickformatstopdefaults), sets the default property values\n to use for elements of layout.polar.angularaxis.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.layout.polar.angularaxis.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.layout.polar.angularaxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = 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 type(self):\n """\n Sets the angular axis type. If "linear", set `thetaunit` to\n determine the unit in which axis value are shown. If *category,\n use `period` to set the number of integer coordinates around\n polar axis.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def uirevision(self):\n """\n Controls persistence of user-driven changes in axis `rotation`.\n Defaults to `polar<N>.uirevision`.\n\n The 'uirevision' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["uirevision"]\n\n @uirevision.setter\n def uirevision(self, val):\n self["uirevision"] = val\n\n @property\n def visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n direction\n Sets the direction corresponding to positive angles.\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 gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n 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 period\n Set the angular period. Has an effect only when\n `angularaxis.type` is "category".\n rotation\n Sets that start position (in degrees) of the angular\n axis By default, polar subplots with `direction` set to\n "counterclockwise" get a `rotation` of 0 which\n corresponds to due East (like what mathematicians\n prefer). In turn, polar with `direction` set to\n "clockwise" get a rotation of 90 which corresponds to\n due North (like on a compass),\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether 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 thetaunit\n Sets the format unit of the formatted "theta" values.\n Has an effect only when `angularaxis.type` is "linear".\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.polar.an\n gularaxis.Tickformatstop` instances or dicts with\n compatible properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.pola\n r.angularaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.polar.angularaxis.tickformatstops\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 type\n Sets the angular axis type. If "linear", set\n `thetaunit` to determine the unit in which axis value\n are shown. If *category, use `period` to set the number\n of integer coordinates around polar axis.\n uirevision\n Controls persistence of user-driven changes in axis\n `rotation`. Defaults to `polar<N>.uirevision`.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n """\n\n def __init__(\n self,\n arg=None,\n autotypenumbers=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n color=None,\n direction=None,\n dtick=None,\n exponentformat=None,\n gridcolor=None,\n griddash=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n layer=None,\n linecolor=None,\n linewidth=None,\n minexponent=None,\n nticks=None,\n period=None,\n rotation=None,\n separatethousands=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n thetaunit=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=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 type=None,\n uirevision=None,\n visible=None,\n **kwargs,\n ):\n """\n Construct a new AngularAxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.polar.AngularAxis`\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n direction\n Sets the direction corresponding to positive angles.\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 gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n 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 period\n Set the angular period. Has an effect only when\n `angularaxis.type` is "category".\n rotation\n Sets that start position (in degrees) of the angular\n axis By default, polar subplots with `direction` set to\n "counterclockwise" get a `rotation` of 0 which\n corresponds to due East (like what mathematicians\n prefer). In turn, polar with `direction` set to\n "clockwise" get a rotation of 90 which corresponds to\n due North (like on a compass),\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether 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 thetaunit\n Sets the format unit of the formatted "theta" values.\n Has an effect only when `angularaxis.type` is "linear".\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.polar.an\n gularaxis.Tickformatstop` instances or dicts with\n compatible properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.pola\n r.angularaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.polar.angularaxis.tickformatstops\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 type\n Sets the angular axis type. If "linear", set\n `thetaunit` to determine the unit in which axis value\n are shown. If *category, use `period` to set the number\n of integer coordinates around polar axis.\n uirevision\n Controls persistence of user-driven changes in axis\n `rotation`. Defaults to `polar<N>.uirevision`.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n\n Returns\n -------\n AngularAxis\n """\n super().__init__("angularaxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.AngularAxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.AngularAxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("color", arg, color)\n self._set_property("direction", arg, direction)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("griddash", arg, griddash)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("layer", arg, layer)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("nticks", arg, nticks)\n self._set_property("period", arg, period)\n self._set_property("rotation", arg, rotation)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("thetaunit", arg, thetaunit)\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("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("type", arg, type)\n self._set_property("uirevision", arg, uirevision)\n self._set_property("visible", arg, visible)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\_angularaxis.py | _angularaxis.py | Python | 64,455 | 0.75 | 0.121059 | 0.003819 | python-kit | 227 | 2024-02-05T22:35:06.674530 | Apache-2.0 | false | 6063d79b21a2526d0ed302e6fb65d0fa |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Domain(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar"\n _path_str = "layout.polar.domain"\n _valid_props = {"column", "row", "x", "y"}\n\n @property\n def column(self):\n """\n If there is a layout grid, use the domain for this column in\n the grid for this polar subplot .\n\n The 'column' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["column"]\n\n @column.setter\n def column(self, val):\n self["column"] = val\n\n @property\n def row(self):\n """\n If there is a layout grid, use the domain for this row in the\n grid for this polar subplot .\n\n The 'row' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["row"]\n\n @row.setter\n def row(self, val):\n self["row"] = val\n\n @property\n def x(self):\n """\n Sets the horizontal domain of this polar subplot (in plot\n fraction).\n\n The 'x' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'x[0]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n (1) The 'x[1]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n list\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def y(self):\n """\n Sets the vertical domain of this polar subplot (in plot\n fraction).\n\n The 'y' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'y[0]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n (1) The 'y[1]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n list\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n column\n If there is a layout grid, use the domain for this\n column in the grid for this polar subplot .\n row\n If there is a layout grid, use the domain for this row\n in the grid for this polar subplot .\n x\n Sets the horizontal domain of this polar subplot (in\n plot fraction).\n y\n Sets the vertical domain of this polar subplot (in plot\n fraction).\n """\n\n def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs):\n """\n Construct a new Domain object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.polar.Domain`\n column\n If there is a layout grid, use the domain for this\n column in the grid for this polar subplot .\n row\n If there is a layout grid, use the domain for this row\n in the grid for this polar subplot .\n x\n Sets the horizontal domain of this polar subplot (in\n plot fraction).\n y\n Sets the vertical domain of this polar subplot (in plot\n fraction).\n\n Returns\n -------\n Domain\n """\n super().__init__("domain")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.Domain\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.Domain`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("column", arg, column)\n self._set_property("row", arg, row)\n self._set_property("x", arg, x)\n self._set_property("y", arg, y)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\_domain.py | _domain.py | Python | 5,045 | 0.95 | 0.158824 | 0.028169 | node-utils | 993 | 2025-04-28T09:30:28.368720 | MIT | false | 76e3e723abf563d73434cf96daef77ae |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass RadialAxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar"\n _path_str = "layout.polar.radialaxis"\n _valid_props = {\n "angle",\n "autorange",\n "autorangeoptions",\n "autotickangles",\n "autotypenumbers",\n "calendar",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "color",\n "dtick",\n "exponentformat",\n "gridcolor",\n "griddash",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "layer",\n "linecolor",\n "linewidth",\n "maxallowed",\n "minallowed",\n "minexponent",\n "nticks",\n "range",\n "rangemode",\n "separatethousands",\n "showexponent",\n "showgrid",\n "showline",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "side",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\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 "type",\n "uirevision",\n "visible",\n }\n\n @property\n def angle(self):\n """\n Sets the angle (in degrees) from which the radial axis is\n drawn. Note that by default, radial axis line on the theta=0\n line corresponds to a line pointing right (like what\n mathematicians prefer). Defaults to the first `polar.sector`\n angle.\n\n The 'angle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["angle"]\n\n @angle.setter\n def angle(self, val):\n self["angle"] = val\n\n @property\n def autorange(self):\n """\n Determines whether or not the range of this axis is computed in\n relation to the input data. See `rangemode` for more info. If\n `range` is provided and it has a value for both the lower and\n upper bound, `autorange` is set to False. Using "min" applies\n autorange only to set the minimum. Using "max" applies\n autorange only to set the maximum. Using *min reversed* applies\n autorange only to set the minimum on a reversed axis. Using\n *max reversed* applies autorange only to set the maximum on a\n reversed axis. Using "reversed" applies autorange on both ends\n and reverses the axis direction.\n\n The 'autorange' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, False, 'reversed', 'min reversed', 'max reversed',\n 'min', 'max']\n\n Returns\n -------\n Any\n """\n return self["autorange"]\n\n @autorange.setter\n def autorange(self, val):\n self["autorange"] = val\n\n @property\n def autorangeoptions(self):\n """\n The 'autorangeoptions' property is an instance of Autorangeoptions\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions`\n - A dict of string/value properties that will be passed\n to the Autorangeoptions constructor\n\n Returns\n -------\n plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions\n """\n return self["autorangeoptions"]\n\n @autorangeoptions.setter\n def autorangeoptions(self, val):\n self["autorangeoptions"] = val\n\n @property\n def autotickangles(self):\n """\n When `tickangle` is set to "auto", it will be set to the first\n angle in this array that is large enough to prevent label\n overlap.\n\n The 'autotickangles' property is an info array that may be specified as:\n * a list of elements where:\n The 'autotickangles[i]' 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 list\n """\n return self["autotickangles"]\n\n @autotickangles.setter\n def autotickangles(self, val):\n self["autotickangles"] = val\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def calendar(self):\n """\n Sets the calendar system to use for `range` and `tick0` if this\n is a date axis. This does not set the calendar for interpreting\n data on this axis, that's specified in the trace or via the\n global `layout.calendar`\n\n The 'calendar' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['chinese', 'coptic', 'discworld', 'ethiopian',\n 'gregorian', 'hebrew', 'islamic', 'jalali', 'julian',\n 'mayan', 'nanakshahi', 'nepali', 'persian', 'taiwan',\n 'thai', 'ummalqura']\n\n Returns\n -------\n Any\n """\n return self["calendar"]\n\n @calendar.setter\n def calendar(self, val):\n self["calendar"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`. Set `categoryorder` to *total ascending* or\n *total descending* if order should be determined by the\n numerical order of the values. Similarly, the order can be\n determined by the min, max, sum, mean, geometric mean or median\n of all the values.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array', 'total ascending', 'total descending', 'min\n ascending', 'min descending', 'max ascending', 'max\n descending', 'sum ascending', 'sum descending', 'mean\n ascending', 'mean descending', 'geometric mean ascending',\n 'geometric mean descending', 'median ascending', 'median\n descending']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dtick(self):\n """\n 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 gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def griddash(self):\n """\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n\n The 'griddash' property is an enumeration that may be specified as:\n - One of the following dash styles:\n ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']\n - A string containing a dash length list in pixels or percentages\n (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)\n\n Returns\n -------\n str\n """\n return self["griddash"]\n\n @griddash.setter\n def griddash(self, val):\n self["griddash"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'hoverformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def layer(self):\n """\n Sets the layer on which this axis is displayed. If *above\n traces*, this axis is displayed above all the subplot's traces\n If *below traces*, this axis is displayed below all the\n subplot's traces, but above the grid lines. Useful when used\n together with scatter-like traces with `cliponaxis` set to\n False to show markers and/or text nodes above this axis.\n\n The 'layer' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['above traces', 'below traces']\n\n Returns\n -------\n Any\n """\n return self["layer"]\n\n @layer.setter\n def layer(self, val):\n self["layer"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def maxallowed(self):\n """\n Determines the maximum range of this axis.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Determines the minimum range of this axis.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def 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 range(self):\n """\n Sets the range of this axis. If the axis `type` is "log", then\n you must take the log of your desired range (e.g. to set the\n range from 1 to 100, set the range from 0 to 2). If the axis\n `type` is "date", it should be date strings, like date data,\n though Date objects and unix milliseconds will be accepted and\n converted to strings. If the axis `type` is "category", it\n should be numbers, using the scale where each category is\n assigned a serial number from zero in the order it appears.\n Leaving either or both elements `null` impacts the default\n `autorange`.\n\n The 'range' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'range[0]' property accepts values of any type\n (1) The 'range[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["range"]\n\n @range.setter\n def range(self, val):\n self["range"] = val\n\n @property\n def rangemode(self):\n """\n If "tozero", the range extends to 0, regardless of the input\n data If "nonnegative", the range is non-negative, regardless of\n the input data. If "normal", the range is computed in relation\n to the extrema of the input data (same behavior as for\n cartesian axes).\n\n The 'rangemode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['tozero', 'nonnegative', 'normal']\n\n Returns\n -------\n Any\n """\n return self["rangemode"]\n\n @rangemode.setter\n def rangemode(self, val):\n self["rangemode"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showticklabels(self):\n """\n Determines whether or not the tick labels are drawn.\n\n The 'showticklabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showticklabels"]\n\n @showticklabels.setter\n def showticklabels(self, val):\n self["showticklabels"] = val\n\n @property\n def showtickprefix(self):\n """\n If "all", all tick labels are displayed with a prefix. If\n "first", only the first tick is displayed with a prefix. If\n "last", only the last tick is displayed with a suffix. If\n "none", tick prefixes are hidden.\n\n The 'showtickprefix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showtickprefix"]\n\n @showtickprefix.setter\n def showtickprefix(self, val):\n self["showtickprefix"] = val\n\n @property\n def showticksuffix(self):\n """\n Same as `showtickprefix` but for tick suffixes.\n\n The 'showticksuffix' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showticksuffix"]\n\n @showticksuffix.setter\n def showticksuffix(self, val):\n self["showticksuffix"] = val\n\n @property\n def side(self):\n """\n Determines on which side of radial axis line the tick and tick\n labels appear.\n\n The 'side' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['clockwise', 'counterclockwise']\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 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.layout.polar.radialaxis.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.layout.polar.radialaxis.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.layout.polar.radialaxis.Tickformatstop]\n """\n return self["tickformatstops"]\n\n @tickformatstops.setter\n def tickformatstops(self, val):\n self["tickformatstops"] = val\n\n @property\n def tickformatstopdefaults(self):\n """\n When used in a template (as layout.template.layout.polar.radial\n axis.tickformatstopdefaults), sets the default property values\n to use for elements of layout.polar.radialaxis.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.layout.polar.radialaxis.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.layout.polar.radialaxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = 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.layout.polar.radialaxis.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.layout.polar.radialaxis.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def type(self):\n """\n Sets the axis type. By default, plotly attempts to determined\n the axis type by looking into the data of the traces that\n referenced the axis in question.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'log', 'date', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def uirevision(self):\n """\n Controls persistence of user-driven changes in axis `range`,\n `autorange`, `angle`, and `title` if in `editable: true`\n configuration. Defaults to `polar<N>.uirevision`.\n\n The 'uirevision' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["uirevision"]\n\n @uirevision.setter\n def uirevision(self, val):\n self["uirevision"] = val\n\n @property\n def visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n angle\n Sets the angle (in degrees) from which the radial axis\n is drawn. Note that by default, radial axis line on the\n theta=0 line corresponds to a line pointing right (like\n what mathematicians prefer). Defaults to the first\n `polar.sector` angle.\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.polar.radialaxis.Au\n torangeoptions` instance or dict with compatible\n properties\n autotickangles\n When `tickangle` is set to "auto", it will be set to\n the first angle in this array that is large enough to\n prevent label overlap.\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "tozero", the range extends to 0, regardless of the\n input data If "nonnegative", the range is non-negative,\n regardless of the input data. If "normal", the range is\n computed in relation to the extrema of the input data\n (same behavior as for cartesian axes).\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n side\n Determines on which side of radial axis line the tick\n and tick labels appear.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.polar.ra\n dialaxis.Tickformatstop` instances or dicts with\n compatible properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.pola\n r.radialaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.polar.radialaxis.tickformatstops\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.layout.polar.radialaxis.Ti\n tle` instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n uirevision\n Controls persistence of user-driven changes in axis\n `range`, `autorange`, `angle`, and `title` if in\n `editable: true` configuration. Defaults to\n `polar<N>.uirevision`.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n """\n\n def __init__(\n self,\n arg=None,\n angle=None,\n autorange=None,\n autorangeoptions=None,\n autotickangles=None,\n autotypenumbers=None,\n calendar=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n color=None,\n dtick=None,\n exponentformat=None,\n gridcolor=None,\n griddash=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n layer=None,\n linecolor=None,\n linewidth=None,\n maxallowed=None,\n minallowed=None,\n minexponent=None,\n nticks=None,\n range=None,\n rangemode=None,\n separatethousands=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n side=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=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 type=None,\n uirevision=None,\n visible=None,\n **kwargs,\n ):\n """\n Construct a new RadialAxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.polar.RadialAxis`\n angle\n Sets the angle (in degrees) from which the radial axis\n is drawn. Note that by default, radial axis line on the\n theta=0 line corresponds to a line pointing right (like\n what mathematicians prefer). Defaults to the first\n `polar.sector` angle.\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.polar.radialaxis.Au\n torangeoptions` instance or dict with compatible\n properties\n autotickangles\n When `tickangle` is set to "auto", it will be set to\n the first angle in this array that is large enough to\n prevent label overlap.\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n griddash\n Sets the dash style of lines. Set to a dash type string\n ("solid", "dot", "dash", "longdash", "dashdot", or\n "longdashdot") or a dash length list in px (eg\n "5px,10px,2px,2px").\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n layer\n Sets the layer on which this axis is displayed. If\n *above traces*, this axis is displayed above all the\n subplot's traces If *below traces*, this axis is\n displayed below all the subplot's traces, but above the\n grid lines. Useful when used together with scatter-like\n traces with `cliponaxis` set to False to show markers\n and/or text nodes above this axis.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "tozero", the range extends to 0, regardless of the\n input data If "nonnegative", the range is non-negative,\n regardless of the input data. If "normal", the range is\n computed in relation to the extrema of the input data\n (same behavior as for cartesian axes).\n separatethousands\n If "true", even 4-digit integers are separated\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showticklabels\n Determines whether or not the tick labels are drawn.\n showtickprefix\n If "all", all tick labels are displayed with a prefix.\n If "first", only the first tick is displayed with a\n prefix. If "last", only the last tick is displayed with\n a suffix. If "none", tick prefixes are hidden.\n showticksuffix\n Same as `showtickprefix` but for tick suffixes.\n side\n Determines on which side of radial axis line the tick\n and tick labels appear.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.polar.ra\n dialaxis.Tickformatstop` instances or dicts with\n compatible properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.pola\n r.radialaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.polar.radialaxis.tickformatstops\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.layout.polar.radialaxis.Ti\n tle` instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n uirevision\n Controls persistence of user-driven changes in axis\n `range`, `autorange`, `angle`, and `title` if in\n `editable: true` configuration. Defaults to\n `polar<N>.uirevision`.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n\n Returns\n -------\n RadialAxis\n """\n super().__init__("radialaxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.RadialAxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.RadialAxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("angle", arg, angle)\n self._set_property("autorange", arg, autorange)\n self._set_property("autorangeoptions", arg, autorangeoptions)\n self._set_property("autotickangles", arg, autotickangles)\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("calendar", arg, calendar)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("color", arg, color)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("griddash", arg, griddash)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("layer", arg, layer)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("nticks", arg, nticks)\n self._set_property("range", arg, range)\n self._set_property("rangemode", arg, rangemode)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showticklabels", arg, showticklabels)\n self._set_property("showtickprefix", arg, showtickprefix)\n self._set_property("showticksuffix", arg, showticksuffix)\n self._set_property("side", arg, side)\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("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("type", arg, type)\n self._set_property("uirevision", arg, uirevision)\n self._set_property("visible", arg, visible)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\_radialaxis.py | _radialaxis.py | Python | 75,322 | 0.75 | 0.124939 | 0.004953 | python-kit | 155 | 2025-02-01T20:27:03.546011 | BSD-3-Clause | false | 2c100648941458195868e44625d51669 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._angularaxis import AngularAxis\n from ._domain import Domain\n from ._radialaxis import RadialAxis\n from . import angularaxis\n from . import radialaxis\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".angularaxis", ".radialaxis"],\n ["._angularaxis.AngularAxis", "._domain.Domain", "._radialaxis.RadialAxis"],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\__init__.py | __init__.py | Python | 502 | 0.85 | 0.058824 | 0 | react-lib | 69 | 2025-05-27T07:09:29.572602 | GPL-3.0 | false | e63a4c3297b066731642d21e547e63a2 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.angularaxis"\n _path_str = "layout.polar.angularaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.a\n ngularaxis.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\angularaxis\_tickfont.py | _tickfont.py | Python | 9,945 | 0.95 | 0.10479 | 0.010526 | awesome-app | 606 | 2024-12-13T11:39:53.004328 | Apache-2.0 | false | 34924488b8c0f479e0e327038c62744e |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.angularaxis"\n _path_str = "layout.polar.angularaxis.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.a\n ngularaxis.Tickformatstop`\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n\n Returns\n -------\n Tickformatstop\n """\n super().__init__("tickformatstops")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\angularaxis\_tickformatstop.py | _tickformatstop.py | Python | 8,557 | 0.95 | 0.082988 | 0.019048 | vue-tools | 124 | 2023-09-27T18:24:52.941808 | GPL-3.0 | false | db94fa3617a04c07e7108d497ea7fccc |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [], ["._tickfont.Tickfont", "._tickformatstop.Tickformatstop"]\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\angularaxis\__init__.py | __init__.py | Python | 350 | 0.85 | 0.083333 | 0 | python-kit | 890 | 2023-10-09T03:58:16.567064 | BSD-3-Clause | false | a6e49de295eea1d8b27c00a8874bca03 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\angularaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 10,998 | 0.8 | 0.04918 | 0 | vue-tools | 91 | 2024-09-27T14:46:38.838360 | Apache-2.0 | false | 48df7e9811aca9189bf3fc8f6ca7c112 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\angularaxis\__pycache__\_tickformatstop.cpython-313.pyc | _tickformatstop.cpython-313.pyc | Other | 9,341 | 0.8 | 0.024876 | 0.005348 | vue-tools | 1 | 2024-09-29T11:57:43.468683 | BSD-3-Clause | false | 7d27f5bc16c5a8289eb7a6043a89a832 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\angularaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 624 | 0.95 | 0 | 0 | node-utils | 696 | 2024-05-11T08:01:09.099001 | GPL-3.0 | false | 0a35c7f0883460301eee24013d578e4d |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Autorangeoptions(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.radialaxis"\n _path_str = "layout.polar.radialaxis.autorangeoptions"\n _valid_props = {\n "clipmax",\n "clipmin",\n "include",\n "includesrc",\n "maxallowed",\n "minallowed",\n }\n\n @property\n def clipmax(self):\n """\n Clip autorange maximum if it goes beyond this value. Has no\n effect when `autorangeoptions.maxallowed` is provided.\n\n The 'clipmax' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmax"]\n\n @clipmax.setter\n def clipmax(self, val):\n self["clipmax"] = val\n\n @property\n def clipmin(self):\n """\n Clip autorange minimum if it goes beyond this value. Has no\n effect when `autorangeoptions.minallowed` is provided.\n\n The 'clipmin' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmin"]\n\n @clipmin.setter\n def clipmin(self, val):\n self["clipmin"] = val\n\n @property\n def include(self):\n """\n Ensure this value is included in autorange.\n\n The 'include' property accepts values of any type\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["include"]\n\n @include.setter\n def include(self, val):\n self["include"] = val\n\n @property\n def includesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `include`.\n\n The 'includesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["includesrc"]\n\n @includesrc.setter\n def includesrc(self, val):\n self["includesrc"] = val\n\n @property\n def maxallowed(self):\n """\n Use this value exactly as autorange maximum.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Use this value exactly as autorange minimum.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n """\n\n def __init__(\n self,\n arg=None,\n clipmax=None,\n clipmin=None,\n include=None,\n includesrc=None,\n maxallowed=None,\n minallowed=None,\n **kwargs,\n ):\n """\n Construct a new Autorangeoptions object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.r\n adialaxis.Autorangeoptions`\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n\n Returns\n -------\n Autorangeoptions\n """\n super().__init__("autorangeoptions")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("clipmax", arg, clipmax)\n self._set_property("clipmin", arg, clipmin)\n self._set_property("include", arg, include)\n self._set_property("includesrc", arg, includesrc)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\_autorangeoptions.py | _autorangeoptions.py | Python | 5,919 | 0.95 | 0.12963 | 0.016484 | awesome-app | 891 | 2025-02-01T02:57:43.161957 | MIT | false | 06f78efa9488308ee5730ea0e087e776 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.radialaxis"\n _path_str = "layout.polar.radialaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.r\n adialaxis.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\_tickfont.py | _tickfont.py | Python | 9,940 | 0.95 | 0.10479 | 0.010526 | node-utils | 327 | 2025-01-08T21:22:52.769823 | MIT | false | cc8c1a4e8d131a96d9bcd900ec4c0308 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.radialaxis"\n _path_str = "layout.polar.radialaxis.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.r\n adialaxis.Tickformatstop`\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n\n Returns\n -------\n Tickformatstop\n """\n super().__init__("tickformatstops")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\_tickformatstop.py | _tickformatstop.py | Python | 8,552 | 0.95 | 0.082988 | 0.019048 | awesome-app | 560 | 2025-01-13T13:43:53.018346 | MIT | false | 3b042b989846ff3eb3d3026fbe1457ac |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.radialaxis"\n _path_str = "layout.polar.radialaxis.title"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this axis' title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.polar.radialaxis.title.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.layout.polar.radialaxis.title.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of this axis.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.r\n adialaxis.Title`\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.radialaxis.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Title`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\_title.py | _title.py | Python | 2,897 | 0.95 | 0.115385 | 0.023256 | vue-tools | 641 | 2023-09-26T17:53:32.458815 | BSD-3-Clause | false | d9a4f3292dae8ccf4347001b6cfb27c3 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._autorangeoptions import Autorangeoptions\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\n from ._title import Title\n from . import title\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".title"],\n [\n "._autorangeoptions.Autorangeoptions",\n "._tickfont.Tickfont",\n "._tickformatstop.Tickformatstop",\n "._title.Title",\n ],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\__init__.py | __init__.py | Python | 596 | 0.85 | 0.045455 | 0 | awesome-app | 709 | 2023-10-15T19:48:24.449916 | BSD-3-Clause | false | 4e73dd48e8c9c8599c98139b5aa0ce7a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.polar.radialaxis.title"\n _path_str = "layout.polar.radialaxis.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this axis' title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.polar.r\n adialaxis.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.polar.radialaxis.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.polar.radialaxis.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\title\_font.py | _font.py | Python | 9,946 | 0.95 | 0.10479 | 0.010526 | awesome-app | 289 | 2024-05-11T08:41:53.874211 | BSD-3-Clause | false | eb22f680a64eaf7d9648e623e726c87a |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\title\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | python-kit | 940 | 2023-09-06T00:22:32.444258 | GPL-3.0 | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\title\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,956 | 0.8 | 0.048583 | 0 | python-kit | 102 | 2024-10-03T19:49:33.896581 | MIT | false | d527c6339be8c6c94f8c2f0d19095bc7 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\title\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 515 | 0.85 | 0 | 0 | vue-tools | 446 | 2024-04-12T03:28:09.142311 | MIT | false | 86d8e416530d2a0372754208d8c92050 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\__pycache__\_autorangeoptions.cpython-313.pyc | _autorangeoptions.cpython-313.pyc | Other | 6,984 | 0.8 | 0.072848 | 0 | react-lib | 715 | 2025-03-15T20:43:00.160313 | GPL-3.0 | false | e5ef4b989e0986d427ca5c7ebfadb6ec |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 10,992 | 0.8 | 0.04918 | 0 | react-lib | 584 | 2024-02-17T22:29:31.779104 | GPL-3.0 | false | 52c4f6cce16144e7450d4bef30474c4c |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\__pycache__\_tickformatstop.cpython-313.pyc | _tickformatstop.cpython-313.pyc | Other | 9,335 | 0.8 | 0.024876 | 0.005348 | python-kit | 230 | 2024-01-17T08:50:45.012097 | Apache-2.0 | false | 298986614aabef225f0e76836199c3c4 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\__pycache__\_title.cpython-313.pyc | _title.cpython-313.pyc | Other | 3,771 | 0.8 | 0.034091 | 0 | awesome-app | 944 | 2025-06-26T06:59:58.859294 | Apache-2.0 | false | c033b1e3380e20ba2c458bc49be7ff72 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\radialaxis\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 813 | 0.95 | 0 | 0 | awesome-app | 428 | 2024-02-28T18:35:19.933702 | GPL-3.0 | false | e7b93074589889aad7c59b15b6b36b88 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\__pycache__\_angularaxis.cpython-313.pyc | _angularaxis.cpython-313.pyc | Other | 64,994 | 0.6 | 0.091653 | 0.002674 | awesome-app | 356 | 2025-04-06T21:35:17.035148 | MIT | false | 9523b092812027bf70d3274ae2ad6089 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\__pycache__\_domain.cpython-313.pyc | _domain.cpython-313.pyc | Other | 6,036 | 0.8 | 0.10219 | 0.016129 | python-kit | 843 | 2025-05-26T01:46:16.575917 | BSD-3-Clause | false | 2991c3e27bc1db2eb771162379e0990e |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\__pycache__\_radialaxis.cpython-313.pyc | _radialaxis.cpython-313.pyc | Other | 75,609 | 0.6 | 0.097887 | 0.004594 | vue-tools | 64 | 2023-10-15T14:58:29.620948 | Apache-2.0 | false | e001e60ae34f06223e444615c8078982 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\polar\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 768 | 0.85 | 0 | 0 | react-lib | 413 | 2025-01-11T11:59:43.992697 | Apache-2.0 | false | df18f81cdbfe91b72ef2009b12dfca5f |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Annotation(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.annotation"\n _valid_props = {\n "align",\n "arrowcolor",\n "arrowhead",\n "arrowside",\n "arrowsize",\n "arrowwidth",\n "ax",\n "ay",\n "bgcolor",\n "bordercolor",\n "borderpad",\n "borderwidth",\n "captureevents",\n "font",\n "height",\n "hoverlabel",\n "hovertext",\n "name",\n "opacity",\n "showarrow",\n "standoff",\n "startarrowhead",\n "startarrowsize",\n "startstandoff",\n "templateitemname",\n "text",\n "textangle",\n "valign",\n "visible",\n "width",\n "x",\n "xanchor",\n "xshift",\n "y",\n "yanchor",\n "yshift",\n "z",\n }\n\n @property\n def align(self):\n """\n Sets the horizontal alignment of the `text` within the box. Has\n an effect only if `text` spans two or more lines (i.e. `text`\n contains one or more <br> HTML tags) or if an explicit width is\n set to override the text width.\n\n The 'align' 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["align"]\n\n @align.setter\n def align(self, val):\n self["align"] = val\n\n @property\n def arrowcolor(self):\n """\n Sets the color of the annotation arrow.\n\n The 'arrowcolor' 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["arrowcolor"]\n\n @arrowcolor.setter\n def arrowcolor(self, val):\n self["arrowcolor"] = val\n\n @property\n def arrowhead(self):\n """\n Sets the end annotation arrow head style.\n\n The 'arrowhead' 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, 8]\n\n Returns\n -------\n int\n """\n return self["arrowhead"]\n\n @arrowhead.setter\n def arrowhead(self, val):\n self["arrowhead"] = val\n\n @property\n def arrowside(self):\n """\n Sets the annotation arrow head position.\n\n The 'arrowside' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['end', 'start'] joined with '+' characters\n (e.g. 'end+start')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["arrowside"]\n\n @arrowside.setter\n def arrowside(self, val):\n self["arrowside"] = val\n\n @property\n def arrowsize(self):\n """\n Sets the size of the end annotation arrow head, relative to\n `arrowwidth`. A value of 1 (default) gives a head about 3x as\n wide as the line.\n\n The 'arrowsize' property is a number and may be specified as:\n - An int or float in the interval [0.3, inf]\n\n Returns\n -------\n int|float\n """\n return self["arrowsize"]\n\n @arrowsize.setter\n def arrowsize(self, val):\n self["arrowsize"] = val\n\n @property\n def arrowwidth(self):\n """\n Sets the width (in px) of annotation arrow line.\n\n The 'arrowwidth' property is a number and may be specified as:\n - An int or float in the interval [0.1, inf]\n\n Returns\n -------\n int|float\n """\n return self["arrowwidth"]\n\n @arrowwidth.setter\n def arrowwidth(self, val):\n self["arrowwidth"] = val\n\n @property\n def ax(self):\n """\n Sets the x component of the arrow tail about the arrow head (in\n pixels).\n\n The 'ax' 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["ax"]\n\n @ax.setter\n def ax(self, val):\n self["ax"] = val\n\n @property\n def ay(self):\n """\n Sets the y component of the arrow tail about the arrow head (in\n pixels).\n\n The 'ay' 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["ay"]\n\n @ay.setter\n def ay(self, val):\n self["ay"] = val\n\n @property\n def bgcolor(self):\n """\n Sets the background color of the annotation.\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 color of the border enclosing the annotation `text`.\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 borderpad(self):\n """\n Sets the padding (in px) between the `text` and the enclosing\n border.\n\n The 'borderpad' 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["borderpad"]\n\n @borderpad.setter\n def borderpad(self, val):\n self["borderpad"] = val\n\n @property\n def borderwidth(self):\n """\n Sets the width (in px) of the border enclosing the annotation\n `text`.\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 captureevents(self):\n """\n Determines whether the annotation text box captures mouse move\n and click events, or allows those events to pass through to\n data points in the plot that may be behind the annotation. By\n default `captureevents` is False unless `hovertext` is\n provided. If you use the event `plotly_clickannotation` without\n `hovertext` you must explicitly enable `captureevents`.\n\n The 'captureevents' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["captureevents"]\n\n @captureevents.setter\n def captureevents(self, val):\n self["captureevents"] = val\n\n @property\n def font(self):\n """\n Sets the annotation text font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.annotation.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def height(self):\n """\n Sets an explicit height for the text box. null (default) lets\n the text set the box height. Taller text will be clipped.\n\n The 'height' 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["height"]\n\n @height.setter\n def height(self, val):\n self["height"] = val\n\n @property\n def hoverlabel(self):\n """\n The 'hoverlabel' property is an instance of Hoverlabel\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`\n - A dict of string/value properties that will be passed\n to the Hoverlabel constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.annotation.Hoverlabel\n """\n return self["hoverlabel"]\n\n @hoverlabel.setter\n def hoverlabel(self, val):\n self["hoverlabel"] = val\n\n @property\n def hovertext(self):\n """\n Sets text to appear when hovering over this annotation. If\n omitted or blank, no hover label will appear.\n\n The 'hovertext' 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["hovertext"]\n\n @hovertext.setter\n def hovertext(self, val):\n self["hovertext"] = 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 opacity(self):\n """\n Sets the opacity of the annotation (text + arrow).\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 showarrow(self):\n """\n Determines whether or not the annotation is drawn with an\n arrow. If True, `text` is placed near the arrow's tail. If\n False, `text` lines up with the `x` and `y` provided.\n\n The 'showarrow' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showarrow"]\n\n @showarrow.setter\n def showarrow(self, val):\n self["showarrow"] = val\n\n @property\n def standoff(self):\n """\n Sets a distance, in pixels, to move the end arrowhead away from\n the position it is pointing at, for example to point at the\n edge of a marker independent of zoom. Note that this shortens\n the arrow from the `ax` / `ay` vector, in contrast to `xshift`\n / `yshift` which moves everything by this amount.\n\n The 'standoff' 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["standoff"]\n\n @standoff.setter\n def standoff(self, val):\n self["standoff"] = val\n\n @property\n def startarrowhead(self):\n """\n Sets the start annotation arrow head style.\n\n The 'startarrowhead' 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, 8]\n\n Returns\n -------\n int\n """\n return self["startarrowhead"]\n\n @startarrowhead.setter\n def startarrowhead(self, val):\n self["startarrowhead"] = val\n\n @property\n def startarrowsize(self):\n """\n Sets the size of the start annotation arrow head, relative to\n `arrowwidth`. A value of 1 (default) gives a head about 3x as\n wide as the line.\n\n The 'startarrowsize' property is a number and may be specified as:\n - An int or float in the interval [0.3, inf]\n\n Returns\n -------\n int|float\n """\n return self["startarrowsize"]\n\n @startarrowsize.setter\n def startarrowsize(self, val):\n self["startarrowsize"] = val\n\n @property\n def startstandoff(self):\n """\n Sets a distance, in pixels, to move the start arrowhead away\n from the position it is pointing at, for example to point at\n the edge of a marker independent of zoom. Note that this\n shortens the arrow from the `ax` / `ay` vector, in contrast to\n `xshift` / `yshift` which moves everything by this amount.\n\n The 'startstandoff' 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["startstandoff"]\n\n @startstandoff.setter\n def startstandoff(self, val):\n self["startstandoff"] = 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 text(self):\n """\n Sets the text associated with this annotation. Plotly uses a\n subset of HTML tags to do things like newline (<br>), bold\n (<b></b>), italics (<i></i>), hyperlinks (<a href='...'></a>).\n Tags <em>, <sup>, <sub>, <s>, <u> <span> are also supported.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def textangle(self):\n """\n Sets the angle at which the `text` is drawn with respect to the\n horizontal.\n\n The 'textangle' property is a angle (in degrees) that may be\n specified as a number between -180 and 180.\n Numeric values outside this range are converted to the equivalent value\n (e.g. 270 is converted to -90).\n\n Returns\n -------\n int|float\n """\n return self["textangle"]\n\n @textangle.setter\n def textangle(self, val):\n self["textangle"] = val\n\n @property\n def valign(self):\n """\n Sets the vertical alignment of the `text` within the box. Has\n an effect only if an explicit height is set to override the\n text height.\n\n The 'valign' 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["valign"]\n\n @valign.setter\n def valign(self, val):\n self["valign"] = val\n\n @property\n def visible(self):\n """\n Determines whether or not this annotation is visible.\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def width(self):\n """\n Sets an explicit width for the text box. null (default) lets\n the text set the box width. Wider text will be clipped. There\n is no automatic wrapping; use <br> to start a new line.\n\n The 'width' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["width"]\n\n @width.setter\n def width(self, val):\n self["width"] = val\n\n @property\n def x(self):\n """\n Sets the annotation's x position.\n\n The 'x' property accepts values of any type\n\n Returns\n -------\n Any\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 the text box's horizontal position anchor This anchor\n binds the `x` position to the "left", "center" or "right" of\n the annotation. For example, if `x` is set to 1, `xref` to\n "paper" and `xanchor` to "right" then the right-most portion of\n the annotation lines up with the right-most edge of the\n plotting area. If "auto", the anchor is equivalent to "center"\n for data-referenced annotations or if there is an arrow,\n whereas for paper-referenced with no arrow, the anchor picked\n corresponds to the closest side.\n\n The 'xanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', 'left', 'center', 'right']\n\n Returns\n -------\n Any\n """\n return self["xanchor"]\n\n @xanchor.setter\n def xanchor(self, val):\n self["xanchor"] = val\n\n @property\n def xshift(self):\n """\n Shifts the position of the whole annotation and arrow to the\n right (positive) or left (negative) by this many pixels.\n\n The 'xshift' 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["xshift"]\n\n @xshift.setter\n def xshift(self, val):\n self["xshift"] = val\n\n @property\n def y(self):\n """\n Sets the annotation's y position.\n\n The 'y' property accepts values of any type\n\n Returns\n -------\n Any\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 the text box's vertical position anchor This anchor binds\n the `y` position to the "top", "middle" or "bottom" of the\n annotation. For example, if `y` is set to 1, `yref` to "paper"\n and `yanchor` to "top" then the top-most portion of the\n annotation lines up with the top-most edge of the plotting\n area. If "auto", the anchor is equivalent to "middle" for data-\n referenced annotations or if there is an arrow, whereas for\n paper-referenced with no arrow, the anchor picked corresponds\n to the closest side.\n\n The 'yanchor' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['auto', '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 yshift(self):\n """\n Shifts the position of the whole annotation and arrow up\n (positive) or down (negative) by this many pixels.\n\n The 'yshift' 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["yshift"]\n\n @yshift.setter\n def yshift(self, val):\n self["yshift"] = val\n\n @property\n def z(self):\n """\n Sets the annotation's z position.\n\n The 'z' property accepts values of any type\n\n Returns\n -------\n Any\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 align\n Sets the horizontal alignment of the `text` within the\n box. Has an effect only if `text` spans two or more\n lines (i.e. `text` contains one or more <br> HTML tags)\n or if an explicit width is set to override the text\n width.\n arrowcolor\n Sets the color of the annotation arrow.\n arrowhead\n Sets the end annotation arrow head style.\n arrowside\n Sets the annotation arrow head position.\n arrowsize\n Sets the size of the end annotation arrow head,\n relative to `arrowwidth`. A value of 1 (default) gives\n a head about 3x as wide as the line.\n arrowwidth\n Sets the width (in px) of annotation arrow line.\n ax\n Sets the x component of the arrow tail about the arrow\n head (in pixels).\n ay\n Sets the y component of the arrow tail about the arrow\n head (in pixels).\n bgcolor\n Sets the background color of the annotation.\n bordercolor\n Sets the color of the border enclosing the annotation\n `text`.\n borderpad\n Sets the padding (in px) between the `text` and the\n enclosing border.\n borderwidth\n Sets the width (in px) of the border enclosing the\n annotation `text`.\n captureevents\n Determines whether the annotation text box captures\n mouse move and click events, or allows those events to\n pass through to data points in the plot that may be\n behind the annotation. By default `captureevents` is\n False unless `hovertext` is provided. If you use the\n event `plotly_clickannotation` without `hovertext` you\n must explicitly enable `captureevents`.\n font\n Sets the annotation text font.\n height\n Sets an explicit height for the text box. null\n (default) lets the text set the box height. Taller text\n will be clipped.\n hoverlabel\n :class:`plotly.graph_objects.layout.scene.annotation.Ho\n verlabel` instance or dict with compatible properties\n hovertext\n Sets text to appear when hovering over this annotation.\n If omitted or blank, no hover label will appear.\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 opacity\n Sets the opacity of the annotation (text + arrow).\n showarrow\n Determines whether or not the annotation is drawn with\n an arrow. If True, `text` is placed near the arrow's\n tail. If False, `text` lines up with the `x` and `y`\n provided.\n standoff\n Sets a distance, in pixels, to move the end arrowhead\n away from the position it is pointing at, for example\n to point at the edge of a marker independent of zoom.\n Note that this shortens the arrow from the `ax` / `ay`\n vector, in contrast to `xshift` / `yshift` which moves\n everything by this amount.\n startarrowhead\n Sets the start annotation arrow head style.\n startarrowsize\n Sets the size of the start annotation arrow head,\n relative to `arrowwidth`. A value of 1 (default) gives\n a head about 3x as wide as the line.\n startstandoff\n Sets a distance, in pixels, to move the start arrowhead\n away from the position it is pointing at, for example\n to point at the edge of a marker independent of zoom.\n Note that this shortens the arrow from the `ax` / `ay`\n vector, in contrast to `xshift` / `yshift` which moves\n everything by this amount.\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 text\n Sets the text associated with this annotation. Plotly\n uses a subset of HTML tags to do things like newline\n (<br>), bold (<b></b>), italics (<i></i>), hyperlinks\n (<a href='...'></a>). Tags <em>, <sup>, <sub>, <s>, <u>\n <span> are also supported.\n textangle\n Sets the angle at which the `text` is drawn with\n respect to the horizontal.\n valign\n Sets the vertical alignment of the `text` within the\n box. Has an effect only if an explicit height is set to\n override the text height.\n visible\n Determines whether or not this annotation is visible.\n width\n Sets an explicit width for the text box. null (default)\n lets the text set the box width. Wider text will be\n clipped. There is no automatic wrapping; use <br> to\n start a new line.\n x\n Sets the annotation's x position.\n xanchor\n Sets the text box's horizontal position anchor This\n anchor binds the `x` position to the "left", "center"\n or "right" of the annotation. For example, if `x` is\n set to 1, `xref` to "paper" and `xanchor` to "right"\n then the right-most portion of the annotation lines up\n with the right-most edge of the plotting area. If\n "auto", the anchor is equivalent to "center" for data-\n referenced annotations or if there is an arrow, whereas\n for paper-referenced with no arrow, the anchor picked\n corresponds to the closest side.\n xshift\n Shifts the position of the whole annotation and arrow\n to the right (positive) or left (negative) by this many\n pixels.\n y\n Sets the annotation's y position.\n yanchor\n Sets the text box's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the annotation. For example, if `y` is set\n to 1, `yref` to "paper" and `yanchor` to "top" then the\n top-most portion of the annotation lines up with the\n top-most edge of the plotting area. If "auto", the\n anchor is equivalent to "middle" for data-referenced\n annotations or if there is an arrow, whereas for paper-\n referenced with no arrow, the anchor picked corresponds\n to the closest side.\n yshift\n Shifts the position of the whole annotation and arrow\n up (positive) or down (negative) by this many pixels.\n z\n Sets the annotation's z position.\n """\n\n def __init__(\n self,\n arg=None,\n align=None,\n arrowcolor=None,\n arrowhead=None,\n arrowside=None,\n arrowsize=None,\n arrowwidth=None,\n ax=None,\n ay=None,\n bgcolor=None,\n bordercolor=None,\n borderpad=None,\n borderwidth=None,\n captureevents=None,\n font=None,\n height=None,\n hoverlabel=None,\n hovertext=None,\n name=None,\n opacity=None,\n showarrow=None,\n standoff=None,\n startarrowhead=None,\n startarrowsize=None,\n startstandoff=None,\n templateitemname=None,\n text=None,\n textangle=None,\n valign=None,\n visible=None,\n width=None,\n x=None,\n xanchor=None,\n xshift=None,\n y=None,\n yanchor=None,\n yshift=None,\n z=None,\n **kwargs,\n ):\n """\n Construct a new Annotation object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.Annotation`\n align\n Sets the horizontal alignment of the `text` within the\n box. Has an effect only if `text` spans two or more\n lines (i.e. `text` contains one or more <br> HTML tags)\n or if an explicit width is set to override the text\n width.\n arrowcolor\n Sets the color of the annotation arrow.\n arrowhead\n Sets the end annotation arrow head style.\n arrowside\n Sets the annotation arrow head position.\n arrowsize\n Sets the size of the end annotation arrow head,\n relative to `arrowwidth`. A value of 1 (default) gives\n a head about 3x as wide as the line.\n arrowwidth\n Sets the width (in px) of annotation arrow line.\n ax\n Sets the x component of the arrow tail about the arrow\n head (in pixels).\n ay\n Sets the y component of the arrow tail about the arrow\n head (in pixels).\n bgcolor\n Sets the background color of the annotation.\n bordercolor\n Sets the color of the border enclosing the annotation\n `text`.\n borderpad\n Sets the padding (in px) between the `text` and the\n enclosing border.\n borderwidth\n Sets the width (in px) of the border enclosing the\n annotation `text`.\n captureevents\n Determines whether the annotation text box captures\n mouse move and click events, or allows those events to\n pass through to data points in the plot that may be\n behind the annotation. By default `captureevents` is\n False unless `hovertext` is provided. If you use the\n event `plotly_clickannotation` without `hovertext` you\n must explicitly enable `captureevents`.\n font\n Sets the annotation text font.\n height\n Sets an explicit height for the text box. null\n (default) lets the text set the box height. Taller text\n will be clipped.\n hoverlabel\n :class:`plotly.graph_objects.layout.scene.annotation.Ho\n verlabel` instance or dict with compatible properties\n hovertext\n Sets text to appear when hovering over this annotation.\n If omitted or blank, no hover label will appear.\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 opacity\n Sets the opacity of the annotation (text + arrow).\n showarrow\n Determines whether or not the annotation is drawn with\n an arrow. If True, `text` is placed near the arrow's\n tail. If False, `text` lines up with the `x` and `y`\n provided.\n standoff\n Sets a distance, in pixels, to move the end arrowhead\n away from the position it is pointing at, for example\n to point at the edge of a marker independent of zoom.\n Note that this shortens the arrow from the `ax` / `ay`\n vector, in contrast to `xshift` / `yshift` which moves\n everything by this amount.\n startarrowhead\n Sets the start annotation arrow head style.\n startarrowsize\n Sets the size of the start annotation arrow head,\n relative to `arrowwidth`. A value of 1 (default) gives\n a head about 3x as wide as the line.\n startstandoff\n Sets a distance, in pixels, to move the start arrowhead\n away from the position it is pointing at, for example\n to point at the edge of a marker independent of zoom.\n Note that this shortens the arrow from the `ax` / `ay`\n vector, in contrast to `xshift` / `yshift` which moves\n everything by this amount.\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 text\n Sets the text associated with this annotation. Plotly\n uses a subset of HTML tags to do things like newline\n (<br>), bold (<b></b>), italics (<i></i>), hyperlinks\n (<a href='...'></a>). Tags <em>, <sup>, <sub>, <s>, <u>\n <span> are also supported.\n textangle\n Sets the angle at which the `text` is drawn with\n respect to the horizontal.\n valign\n Sets the vertical alignment of the `text` within the\n box. Has an effect only if an explicit height is set to\n override the text height.\n visible\n Determines whether or not this annotation is visible.\n width\n Sets an explicit width for the text box. null (default)\n lets the text set the box width. Wider text will be\n clipped. There is no automatic wrapping; use <br> to\n start a new line.\n x\n Sets the annotation's x position.\n xanchor\n Sets the text box's horizontal position anchor This\n anchor binds the `x` position to the "left", "center"\n or "right" of the annotation. For example, if `x` is\n set to 1, `xref` to "paper" and `xanchor` to "right"\n then the right-most portion of the annotation lines up\n with the right-most edge of the plotting area. If\n "auto", the anchor is equivalent to "center" for data-\n referenced annotations or if there is an arrow, whereas\n for paper-referenced with no arrow, the anchor picked\n corresponds to the closest side.\n xshift\n Shifts the position of the whole annotation and arrow\n to the right (positive) or left (negative) by this many\n pixels.\n y\n Sets the annotation's y position.\n yanchor\n Sets the text box's vertical position anchor This\n anchor binds the `y` position to the "top", "middle" or\n "bottom" of the annotation. For example, if `y` is set\n to 1, `yref` to "paper" and `yanchor` to "top" then the\n top-most portion of the annotation lines up with the\n top-most edge of the plotting area. If "auto", the\n anchor is equivalent to "middle" for data-referenced\n annotations or if there is an arrow, whereas for paper-\n referenced with no arrow, the anchor picked corresponds\n to the closest side.\n yshift\n Shifts the position of the whole annotation and arrow\n up (positive) or down (negative) by this many pixels.\n z\n Sets the annotation's z position.\n\n Returns\n -------\n Annotation\n """\n super().__init__("annotations")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.Annotation\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.Annotation`""")\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("arrowcolor", arg, arrowcolor)\n self._set_property("arrowhead", arg, arrowhead)\n self._set_property("arrowside", arg, arrowside)\n self._set_property("arrowsize", arg, arrowsize)\n self._set_property("arrowwidth", arg, arrowwidth)\n self._set_property("ax", arg, ax)\n self._set_property("ay", arg, ay)\n self._set_property("bgcolor", arg, bgcolor)\n self._set_property("bordercolor", arg, bordercolor)\n self._set_property("borderpad", arg, borderpad)\n self._set_property("borderwidth", arg, borderwidth)\n self._set_property("captureevents", arg, captureevents)\n self._set_property("font", arg, font)\n self._set_property("height", arg, height)\n self._set_property("hoverlabel", arg, hoverlabel)\n self._set_property("hovertext", arg, hovertext)\n self._set_property("name", arg, name)\n self._set_property("opacity", arg, opacity)\n self._set_property("showarrow", arg, showarrow)\n self._set_property("standoff", arg, standoff)\n self._set_property("startarrowhead", arg, startarrowhead)\n self._set_property("startarrowsize", arg, startarrowsize)\n self._set_property("startstandoff", arg, startstandoff)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("text", arg, text)\n self._set_property("textangle", arg, textangle)\n self._set_property("valign", arg, valign)\n self._set_property("visible", arg, visible)\n self._set_property("width", arg, width)\n self._set_property("x", arg, x)\n self._set_property("xanchor", arg, xanchor)\n self._set_property("xshift", arg, xshift)\n self._set_property("y", arg, y)\n self._set_property("yanchor", arg, yanchor)\n self._set_property("yshift", arg, yshift)\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\layout\scene\_annotation.py | _annotation.py | Python | 40,724 | 0.95 | 0.106999 | 0.002762 | react-lib | 463 | 2023-10-12T10:05:26.109797 | MIT | false | bda29986dae238b5125f1e65b942c997 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Aspectratio(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.aspectratio"\n _valid_props = {"x", "y", "z"}\n\n @property\n def x(self):\n """\n The 'x' 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["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def y(self):\n """\n The 'y' 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["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def z(self):\n """\n The 'z' 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["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\n y\n\n z\n\n """\n\n def __init__(self, arg=None, x=None, y=None, z=None, **kwargs):\n """\n Construct a new Aspectratio object\n\n Sets this scene's axis aspectratio.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.Aspectratio`\n x\n\n y\n\n z\n\n\n Returns\n -------\n Aspectratio\n """\n super().__init__("aspectratio")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.Aspectratio\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.Aspectratio`""")\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\layout\scene\_aspectratio.py | _aspectratio.py | Python | 2,792 | 0.95 | 0.109244 | 0.021505 | vue-tools | 281 | 2024-09-29T01:38:03.843695 | Apache-2.0 | false | 238e1200b04bdf41a00631c5d13a4314 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Camera(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.camera"\n _valid_props = {"center", "eye", "projection", "up"}\n\n @property\n def center(self):\n """\n Sets the (x,y,z) components of the 'center' camera vector This\n vector determines the translation (x,y,z) space about the\n center of this scene. By default, there is no such translation.\n\n The 'center' property is an instance of Center\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.camera.Center`\n - A dict of string/value properties that will be passed\n to the Center constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.camera.Center\n """\n return self["center"]\n\n @center.setter\n def center(self, val):\n self["center"] = val\n\n @property\n def eye(self):\n """\n Sets the (x,y,z) components of the 'eye' camera vector. This\n vector determines the view point about the origin of this\n scene.\n\n The 'eye' property is an instance of Eye\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.camera.Eye`\n - A dict of string/value properties that will be passed\n to the Eye constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.camera.Eye\n """\n return self["eye"]\n\n @eye.setter\n def eye(self, val):\n self["eye"] = val\n\n @property\n def projection(self):\n """\n The 'projection' property is an instance of Projection\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.camera.Projection`\n - A dict of string/value properties that will be passed\n to the Projection constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.camera.Projection\n """\n return self["projection"]\n\n @projection.setter\n def projection(self, val):\n self["projection"] = val\n\n @property\n def up(self):\n """\n Sets the (x,y,z) components of the 'up' camera vector. This\n vector determines the up direction of this scene with respect\n to the page. The default is *{x: 0, y: 0, z: 1}* which means\n that the z axis points up.\n\n The 'up' property is an instance of Up\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.camera.Up`\n - A dict of string/value properties that will be passed\n to the Up constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.camera.Up\n """\n return self["up"]\n\n @up.setter\n def up(self, val):\n self["up"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n center\n Sets the (x,y,z) components of the 'center' camera\n vector This vector determines the translation (x,y,z)\n space about the center of this scene. By default, there\n is no such translation.\n eye\n Sets the (x,y,z) components of the 'eye' camera vector.\n This vector determines the view point about the origin\n of this scene.\n projection\n :class:`plotly.graph_objects.layout.scene.camera.Projec\n tion` instance or dict with compatible properties\n up\n Sets the (x,y,z) components of the 'up' camera vector.\n This vector determines the up direction of this scene\n with respect to the page. The default is *{x: 0, y: 0,\n z: 1}* which means that the z axis points up.\n """\n\n def __init__(\n self, arg=None, center=None, eye=None, projection=None, up=None, **kwargs\n ):\n """\n Construct a new Camera object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.Camera`\n center\n Sets the (x,y,z) components of the 'center' camera\n vector This vector determines the translation (x,y,z)\n space about the center of this scene. By default, there\n is no such translation.\n eye\n Sets the (x,y,z) components of the 'eye' camera vector.\n This vector determines the view point about the origin\n of this scene.\n projection\n :class:`plotly.graph_objects.layout.scene.camera.Projec\n tion` instance or dict with compatible properties\n up\n Sets the (x,y,z) components of the 'up' camera vector.\n This vector determines the up direction of this scene\n with respect to the page. The default is *{x: 0, y: 0,\n z: 1}* which means that the z axis points up.\n\n Returns\n -------\n Camera\n """\n super().__init__("camera")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.Camera\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.Camera`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("center", arg, center)\n self._set_property("eye", arg, eye)\n self._set_property("projection", arg, projection)\n self._set_property("up", arg, up)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\_camera.py | _camera.py | Python | 6,214 | 0.95 | 0.114754 | 0.012658 | node-utils | 301 | 2025-01-30T11:32:50.278771 | MIT | false | 24d08a09bb8ae464837be1563ec23985 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Domain(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.domain"\n _valid_props = {"column", "row", "x", "y"}\n\n @property\n def column(self):\n """\n If there is a layout grid, use the domain for this column in\n the grid for this scene subplot .\n\n The 'column' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["column"]\n\n @column.setter\n def column(self, val):\n self["column"] = val\n\n @property\n def row(self):\n """\n If there is a layout grid, use the domain for this row in the\n grid for this scene subplot .\n\n The 'row' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["row"]\n\n @row.setter\n def row(self, val):\n self["row"] = val\n\n @property\n def x(self):\n """\n Sets the horizontal domain of this scene subplot (in plot\n fraction).\n\n The 'x' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'x[0]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n (1) The 'x[1]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n list\n """\n return self["x"]\n\n @x.setter\n def x(self, val):\n self["x"] = val\n\n @property\n def y(self):\n """\n Sets the vertical domain of this scene subplot (in plot\n fraction).\n\n The 'y' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'y[0]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n (1) The 'y[1]' property is a number and may be specified as:\n - An int or float in the interval [0, 1]\n\n Returns\n -------\n list\n """\n return self["y"]\n\n @y.setter\n def y(self, val):\n self["y"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n column\n If there is a layout grid, use the domain for this\n column in the grid for this scene subplot .\n row\n If there is a layout grid, use the domain for this row\n in the grid for this scene subplot .\n x\n Sets the horizontal domain of this scene subplot (in\n plot fraction).\n y\n Sets the vertical domain of this scene subplot (in plot\n fraction).\n """\n\n def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs):\n """\n Construct a new Domain object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.Domain`\n column\n If there is a layout grid, use the domain for this\n column in the grid for this scene subplot .\n row\n If there is a layout grid, use the domain for this row\n in the grid for this scene subplot .\n x\n Sets the horizontal domain of this scene subplot (in\n plot fraction).\n y\n Sets the vertical domain of this scene subplot (in plot\n fraction).\n\n Returns\n -------\n Domain\n """\n super().__init__("domain")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.Domain\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.Domain`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("column", arg, column)\n self._set_property("row", arg, row)\n self._set_property("x", arg, x)\n self._set_property("y", arg, y)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\_domain.py | _domain.py | Python | 5,045 | 0.95 | 0.158824 | 0.028169 | vue-tools | 18 | 2025-03-17T09:15:02.388189 | MIT | false | b6e45f7d5dcaeb48eee70ebe96f4e638 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass XAxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.xaxis"\n _valid_props = {\n "autorange",\n "autorangeoptions",\n "autotypenumbers",\n "backgroundcolor",\n "calendar",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "color",\n "dtick",\n "exponentformat",\n "gridcolor",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "linecolor",\n "linewidth",\n "maxallowed",\n "minallowed",\n "minexponent",\n "mirror",\n "nticks",\n "range",\n "rangemode",\n "separatethousands",\n "showaxeslabels",\n "showbackground",\n "showexponent",\n "showgrid",\n "showline",\n "showspikes",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "spikecolor",\n "spikesides",\n "spikethickness",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "title",\n "type",\n "visible",\n "zeroline",\n "zerolinecolor",\n "zerolinewidth",\n }\n\n @property\n def autorange(self):\n """\n Determines whether or not the range of this axis is computed in\n relation to the input data. See `rangemode` for more info. If\n `range` is provided and it has a value for both the lower and\n upper bound, `autorange` is set to False. Using "min" applies\n autorange only to set the minimum. Using "max" applies\n autorange only to set the maximum. Using *min reversed* applies\n autorange only to set the minimum on a reversed axis. Using\n *max reversed* applies autorange only to set the maximum on a\n reversed axis. Using "reversed" applies autorange on both ends\n and reverses the axis direction.\n\n The 'autorange' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, False, 'reversed', 'min reversed', 'max reversed',\n 'min', 'max']\n\n Returns\n -------\n Any\n """\n return self["autorange"]\n\n @autorange.setter\n def autorange(self, val):\n self["autorange"] = val\n\n @property\n def autorangeoptions(self):\n """\n The 'autorangeoptions' property is an instance of Autorangeoptions\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.xaxis.Autorangeoptions`\n - A dict of string/value properties that will be passed\n to the Autorangeoptions constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.xaxis.Autorangeoptions\n """\n return self["autorangeoptions"]\n\n @autorangeoptions.setter\n def autorangeoptions(self, val):\n self["autorangeoptions"] = val\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def backgroundcolor(self):\n """\n Sets the background color of this axis' wall.\n\n The 'backgroundcolor' 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["backgroundcolor"]\n\n @backgroundcolor.setter\n def backgroundcolor(self, val):\n self["backgroundcolor"] = val\n\n @property\n def calendar(self):\n """\n Sets the calendar system to use for `range` and `tick0` if this\n is a date axis. This does not set the calendar for interpreting\n data on this axis, that's specified in the trace or via the\n global `layout.calendar`\n\n The 'calendar' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['chinese', 'coptic', 'discworld', 'ethiopian',\n 'gregorian', 'hebrew', 'islamic', 'jalali', 'julian',\n 'mayan', 'nanakshahi', 'nepali', 'persian', 'taiwan',\n 'thai', 'ummalqura']\n\n Returns\n -------\n Any\n """\n return self["calendar"]\n\n @calendar.setter\n def calendar(self, val):\n self["calendar"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`. Set `categoryorder` to *total ascending* or\n *total descending* if order should be determined by the\n numerical order of the values. Similarly, the order can be\n determined by the min, max, sum, mean, geometric mean or median\n of all the values.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array', 'total ascending', 'total descending', 'min\n ascending', 'min descending', 'max ascending', 'max\n descending', 'sum ascending', 'sum descending', 'mean\n ascending', 'mean descending', 'geometric mean ascending',\n 'geometric mean descending', 'median ascending', 'median\n descending']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dtick(self):\n """\n 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 gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'hoverformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def maxallowed(self):\n """\n Determines the maximum range of this axis.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Determines the minimum range of this axis.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def 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 mirror(self):\n """\n Determines if the axis lines or/and ticks are mirrored to the\n opposite side of the plotting area. If True, the axis lines are\n mirrored. If "ticks", the axis lines and ticks are mirrored. If\n False, mirroring is disable. If "all", axis lines are mirrored\n on all shared-axes subplots. If "allticks", axis lines and\n ticks are mirrored on all shared-axes subplots.\n\n The 'mirror' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, 'ticks', False, 'all', 'allticks']\n\n Returns\n -------\n Any\n """\n return self["mirror"]\n\n @mirror.setter\n def mirror(self, val):\n self["mirror"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def range(self):\n """\n Sets the range of this axis. If the axis `type` is "log", then\n you must take the log of your desired range (e.g. to set the\n range from 1 to 100, set the range from 0 to 2). If the axis\n `type` is "date", it should be date strings, like date data,\n though Date objects and unix milliseconds will be accepted and\n converted to strings. If the axis `type` is "category", it\n should be numbers, using the scale where each category is\n assigned a serial number from zero in the order it appears.\n Leaving either or both elements `null` impacts the default\n `autorange`.\n\n The 'range' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'range[0]' property accepts values of any type\n (1) The 'range[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["range"]\n\n @range.setter\n def range(self, val):\n self["range"] = val\n\n @property\n def rangemode(self):\n """\n If "normal", the range is computed in relation to the extrema\n of the input data. If "tozero", the range extends to 0,\n regardless of the input data If "nonnegative", the range is\n non-negative, regardless of the input data. Applies only to\n linear axes.\n\n The 'rangemode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'tozero', 'nonnegative']\n\n Returns\n -------\n Any\n """\n return self["rangemode"]\n\n @rangemode.setter\n def rangemode(self, val):\n self["rangemode"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showaxeslabels(self):\n """\n Sets whether or not this axis is labeled\n\n The 'showaxeslabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showaxeslabels"]\n\n @showaxeslabels.setter\n def showaxeslabels(self, val):\n self["showaxeslabels"] = val\n\n @property\n def showbackground(self):\n """\n Sets whether or not this axis' wall has a background color.\n\n The 'showbackground' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showbackground"]\n\n @showbackground.setter\n def showbackground(self, val):\n self["showbackground"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showspikes(self):\n """\n Sets whether or not spikes starting from data points to this\n axis' wall are shown on hover.\n\n The 'showspikes' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showspikes"]\n\n @showspikes.setter\n def showspikes(self, val):\n self["showspikes"] = 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 spikecolor(self):\n """\n Sets the color of the spikes.\n\n The 'spikecolor' 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["spikecolor"]\n\n @spikecolor.setter\n def spikecolor(self, val):\n self["spikecolor"] = val\n\n @property\n def spikesides(self):\n """\n Sets whether or not spikes extending from the projection data\n points to this axis' wall boundaries are shown on hover.\n\n The 'spikesides' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["spikesides"]\n\n @spikesides.setter\n def spikesides(self, val):\n self["spikesides"] = val\n\n @property\n def spikethickness(self):\n """\n Sets the thickness (in px) of the spikes.\n\n The 'spikethickness' 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["spikethickness"]\n\n @spikethickness.setter\n def spikethickness(self, val):\n self["spikethickness"] = 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.xaxis.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.layout.scene.xaxis.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.layout.scene.xaxis.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.layout.scene.xaxis.tickformatstopdefaults),\n sets the default property values to use for elements of\n layout.scene.xaxis.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.layout.scene.xaxis.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.layout.scene.xaxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = 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.layout.scene.xaxis.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.layout.scene.xaxis.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def type(self):\n """\n Sets the axis type. By default, plotly attempts to determined\n the axis type by looking into the data of the traces that\n referenced the axis in question.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'log', 'date', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def zeroline(self):\n """\n Determines whether or not a line is drawn at along the 0 value\n of this axis. If True, the zero line is drawn on top of the\n grid lines.\n\n The 'zeroline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["zeroline"]\n\n @zeroline.setter\n def zeroline(self, val):\n self["zeroline"] = val\n\n @property\n def zerolinecolor(self):\n """\n Sets the line color of the zero line.\n\n The 'zerolinecolor' 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["zerolinecolor"]\n\n @zerolinecolor.setter\n def zerolinecolor(self, val):\n self["zerolinecolor"] = val\n\n @property\n def zerolinewidth(self):\n """\n Sets the width (in px) of the zero line.\n\n The 'zerolinewidth' 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["zerolinewidth"]\n\n @zerolinewidth.setter\n def zerolinewidth(self, val):\n self["zerolinewidth"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.scene.xaxis.Autoran\n geoptions` instance or dict with compatible properties\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n backgroundcolor\n Sets the background color of this axis' wall.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 mirror\n Determines if the axis lines or/and ticks are mirrored\n to the opposite side of the plotting area. If True, the\n axis lines are mirrored. If "ticks", the axis lines and\n ticks are mirrored. If False, mirroring is disable. If\n "all", axis lines are mirrored on all shared-axes\n subplots. If "allticks", axis lines and ticks are\n mirrored on all shared-axes subplots.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data. Applies only to linear axes.\n separatethousands\n If "true", even 4-digit integers are separated\n showaxeslabels\n Sets whether or not this axis is labeled\n showbackground\n Sets whether or not this axis' wall has a background\n color.\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showspikes\n Sets whether or not spikes starting from data points to\n this axis' wall are shown on hover.\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 spikecolor\n Sets the color of the spikes.\n spikesides\n Sets whether or not spikes extending from the\n projection data points to this axis' wall boundaries\n are shown on hover.\n spikethickness\n Sets the thickness (in px) of the spikes.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.scene.xa\n xis.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.scen\n e.xaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.scene.xaxis.tickformatstops\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.layout.scene.xaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n zeroline\n Determines whether or not a line is drawn at along the\n 0 value of this axis. If True, the zero line is drawn\n on top of the grid lines.\n zerolinecolor\n Sets the line color of the zero line.\n zerolinewidth\n Sets the width (in px) of the zero line.\n """\n\n def __init__(\n self,\n arg=None,\n autorange=None,\n autorangeoptions=None,\n autotypenumbers=None,\n backgroundcolor=None,\n calendar=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n color=None,\n dtick=None,\n exponentformat=None,\n gridcolor=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n linecolor=None,\n linewidth=None,\n maxallowed=None,\n minallowed=None,\n minexponent=None,\n mirror=None,\n nticks=None,\n range=None,\n rangemode=None,\n separatethousands=None,\n showaxeslabels=None,\n showbackground=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showspikes=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n spikecolor=None,\n spikesides=None,\n spikethickness=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=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 type=None,\n visible=None,\n zeroline=None,\n zerolinecolor=None,\n zerolinewidth=None,\n **kwargs,\n ):\n """\n Construct a new XAxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.XAxis`\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.scene.xaxis.Autoran\n geoptions` instance or dict with compatible properties\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n backgroundcolor\n Sets the background color of this axis' wall.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 mirror\n Determines if the axis lines or/and ticks are mirrored\n to the opposite side of the plotting area. If True, the\n axis lines are mirrored. If "ticks", the axis lines and\n ticks are mirrored. If False, mirroring is disable. If\n "all", axis lines are mirrored on all shared-axes\n subplots. If "allticks", axis lines and ticks are\n mirrored on all shared-axes subplots.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data. Applies only to linear axes.\n separatethousands\n If "true", even 4-digit integers are separated\n showaxeslabels\n Sets whether or not this axis is labeled\n showbackground\n Sets whether or not this axis' wall has a background\n color.\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showspikes\n Sets whether or not spikes starting from data points to\n this axis' wall are shown on hover.\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 spikecolor\n Sets the color of the spikes.\n spikesides\n Sets whether or not spikes extending from the\n projection data points to this axis' wall boundaries\n are shown on hover.\n spikethickness\n Sets the thickness (in px) of the spikes.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.scene.xa\n xis.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.scen\n e.xaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.scene.xaxis.tickformatstops\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.layout.scene.xaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n zeroline\n Determines whether or not a line is drawn at along the\n 0 value of this axis. If True, the zero line is drawn\n on top of the grid lines.\n zerolinecolor\n Sets the line color of the zero line.\n zerolinewidth\n Sets the width (in px) of the zero line.\n\n Returns\n -------\n XAxis\n """\n super().__init__("xaxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.XAxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.XAxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("autorange", arg, autorange)\n self._set_property("autorangeoptions", arg, autorangeoptions)\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("backgroundcolor", arg, backgroundcolor)\n self._set_property("calendar", arg, calendar)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("color", arg, color)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("mirror", arg, mirror)\n self._set_property("nticks", arg, nticks)\n self._set_property("range", arg, range)\n self._set_property("rangemode", arg, rangemode)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showaxeslabels", arg, showaxeslabels)\n self._set_property("showbackground", arg, showbackground)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showspikes", arg, showspikes)\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("spikecolor", arg, spikecolor)\n self._set_property("spikesides", arg, spikesides)\n self._set_property("spikethickness", arg, spikethickness)\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("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("type", arg, type)\n self._set_property("visible", arg, visible)\n self._set_property("zeroline", arg, zeroline)\n self._set_property("zerolinecolor", arg, zerolinecolor)\n self._set_property("zerolinewidth", arg, zerolinewidth)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\_xaxis.py | _xaxis.py | Python | 75,567 | 0.75 | 0.123638 | 0.003221 | node-utils | 173 | 2024-09-05T00:18:46.506605 | GPL-3.0 | false | 53b27c4a0412b39aa48a2bab4a31e6f7 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass YAxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.yaxis"\n _valid_props = {\n "autorange",\n "autorangeoptions",\n "autotypenumbers",\n "backgroundcolor",\n "calendar",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "color",\n "dtick",\n "exponentformat",\n "gridcolor",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "linecolor",\n "linewidth",\n "maxallowed",\n "minallowed",\n "minexponent",\n "mirror",\n "nticks",\n "range",\n "rangemode",\n "separatethousands",\n "showaxeslabels",\n "showbackground",\n "showexponent",\n "showgrid",\n "showline",\n "showspikes",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "spikecolor",\n "spikesides",\n "spikethickness",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "title",\n "type",\n "visible",\n "zeroline",\n "zerolinecolor",\n "zerolinewidth",\n }\n\n @property\n def autorange(self):\n """\n Determines whether or not the range of this axis is computed in\n relation to the input data. See `rangemode` for more info. If\n `range` is provided and it has a value for both the lower and\n upper bound, `autorange` is set to False. Using "min" applies\n autorange only to set the minimum. Using "max" applies\n autorange only to set the maximum. Using *min reversed* applies\n autorange only to set the minimum on a reversed axis. Using\n *max reversed* applies autorange only to set the maximum on a\n reversed axis. Using "reversed" applies autorange on both ends\n and reverses the axis direction.\n\n The 'autorange' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, False, 'reversed', 'min reversed', 'max reversed',\n 'min', 'max']\n\n Returns\n -------\n Any\n """\n return self["autorange"]\n\n @autorange.setter\n def autorange(self, val):\n self["autorange"] = val\n\n @property\n def autorangeoptions(self):\n """\n The 'autorangeoptions' property is an instance of Autorangeoptions\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.yaxis.Autorangeoptions`\n - A dict of string/value properties that will be passed\n to the Autorangeoptions constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.yaxis.Autorangeoptions\n """\n return self["autorangeoptions"]\n\n @autorangeoptions.setter\n def autorangeoptions(self, val):\n self["autorangeoptions"] = val\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def backgroundcolor(self):\n """\n Sets the background color of this axis' wall.\n\n The 'backgroundcolor' 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["backgroundcolor"]\n\n @backgroundcolor.setter\n def backgroundcolor(self, val):\n self["backgroundcolor"] = val\n\n @property\n def calendar(self):\n """\n Sets the calendar system to use for `range` and `tick0` if this\n is a date axis. This does not set the calendar for interpreting\n data on this axis, that's specified in the trace or via the\n global `layout.calendar`\n\n The 'calendar' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['chinese', 'coptic', 'discworld', 'ethiopian',\n 'gregorian', 'hebrew', 'islamic', 'jalali', 'julian',\n 'mayan', 'nanakshahi', 'nepali', 'persian', 'taiwan',\n 'thai', 'ummalqura']\n\n Returns\n -------\n Any\n """\n return self["calendar"]\n\n @calendar.setter\n def calendar(self, val):\n self["calendar"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`. Set `categoryorder` to *total ascending* or\n *total descending* if order should be determined by the\n numerical order of the values. Similarly, the order can be\n determined by the min, max, sum, mean, geometric mean or median\n of all the values.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array', 'total ascending', 'total descending', 'min\n ascending', 'min descending', 'max ascending', 'max\n descending', 'sum ascending', 'sum descending', 'mean\n ascending', 'mean descending', 'geometric mean ascending',\n 'geometric mean descending', 'median ascending', 'median\n descending']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dtick(self):\n """\n 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 gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'hoverformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def maxallowed(self):\n """\n Determines the maximum range of this axis.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Determines the minimum range of this axis.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def 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 mirror(self):\n """\n Determines if the axis lines or/and ticks are mirrored to the\n opposite side of the plotting area. If True, the axis lines are\n mirrored. If "ticks", the axis lines and ticks are mirrored. If\n False, mirroring is disable. If "all", axis lines are mirrored\n on all shared-axes subplots. If "allticks", axis lines and\n ticks are mirrored on all shared-axes subplots.\n\n The 'mirror' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, 'ticks', False, 'all', 'allticks']\n\n Returns\n -------\n Any\n """\n return self["mirror"]\n\n @mirror.setter\n def mirror(self, val):\n self["mirror"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def range(self):\n """\n Sets the range of this axis. If the axis `type` is "log", then\n you must take the log of your desired range (e.g. to set the\n range from 1 to 100, set the range from 0 to 2). If the axis\n `type` is "date", it should be date strings, like date data,\n though Date objects and unix milliseconds will be accepted and\n converted to strings. If the axis `type` is "category", it\n should be numbers, using the scale where each category is\n assigned a serial number from zero in the order it appears.\n Leaving either or both elements `null` impacts the default\n `autorange`.\n\n The 'range' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'range[0]' property accepts values of any type\n (1) The 'range[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["range"]\n\n @range.setter\n def range(self, val):\n self["range"] = val\n\n @property\n def rangemode(self):\n """\n If "normal", the range is computed in relation to the extrema\n of the input data. If "tozero", the range extends to 0,\n regardless of the input data If "nonnegative", the range is\n non-negative, regardless of the input data. Applies only to\n linear axes.\n\n The 'rangemode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'tozero', 'nonnegative']\n\n Returns\n -------\n Any\n """\n return self["rangemode"]\n\n @rangemode.setter\n def rangemode(self, val):\n self["rangemode"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showaxeslabels(self):\n """\n Sets whether or not this axis is labeled\n\n The 'showaxeslabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showaxeslabels"]\n\n @showaxeslabels.setter\n def showaxeslabels(self, val):\n self["showaxeslabels"] = val\n\n @property\n def showbackground(self):\n """\n Sets whether or not this axis' wall has a background color.\n\n The 'showbackground' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showbackground"]\n\n @showbackground.setter\n def showbackground(self, val):\n self["showbackground"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showspikes(self):\n """\n Sets whether or not spikes starting from data points to this\n axis' wall are shown on hover.\n\n The 'showspikes' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showspikes"]\n\n @showspikes.setter\n def showspikes(self, val):\n self["showspikes"] = 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 spikecolor(self):\n """\n Sets the color of the spikes.\n\n The 'spikecolor' 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["spikecolor"]\n\n @spikecolor.setter\n def spikecolor(self, val):\n self["spikecolor"] = val\n\n @property\n def spikesides(self):\n """\n Sets whether or not spikes extending from the projection data\n points to this axis' wall boundaries are shown on hover.\n\n The 'spikesides' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["spikesides"]\n\n @spikesides.setter\n def spikesides(self, val):\n self["spikesides"] = val\n\n @property\n def spikethickness(self):\n """\n Sets the thickness (in px) of the spikes.\n\n The 'spikethickness' 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["spikethickness"]\n\n @spikethickness.setter\n def spikethickness(self, val):\n self["spikethickness"] = 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.yaxis.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.layout.scene.yaxis.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.layout.scene.yaxis.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.layout.scene.yaxis.tickformatstopdefaults),\n sets the default property values to use for elements of\n layout.scene.yaxis.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.layout.scene.yaxis.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.layout.scene.yaxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = 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.layout.scene.yaxis.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.layout.scene.yaxis.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def type(self):\n """\n Sets the axis type. By default, plotly attempts to determined\n the axis type by looking into the data of the traces that\n referenced the axis in question.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'log', 'date', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def zeroline(self):\n """\n Determines whether or not a line is drawn at along the 0 value\n of this axis. If True, the zero line is drawn on top of the\n grid lines.\n\n The 'zeroline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["zeroline"]\n\n @zeroline.setter\n def zeroline(self, val):\n self["zeroline"] = val\n\n @property\n def zerolinecolor(self):\n """\n Sets the line color of the zero line.\n\n The 'zerolinecolor' 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["zerolinecolor"]\n\n @zerolinecolor.setter\n def zerolinecolor(self, val):\n self["zerolinecolor"] = val\n\n @property\n def zerolinewidth(self):\n """\n Sets the width (in px) of the zero line.\n\n The 'zerolinewidth' 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["zerolinewidth"]\n\n @zerolinewidth.setter\n def zerolinewidth(self, val):\n self["zerolinewidth"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.scene.yaxis.Autoran\n geoptions` instance or dict with compatible properties\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n backgroundcolor\n Sets the background color of this axis' wall.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 mirror\n Determines if the axis lines or/and ticks are mirrored\n to the opposite side of the plotting area. If True, the\n axis lines are mirrored. If "ticks", the axis lines and\n ticks are mirrored. If False, mirroring is disable. If\n "all", axis lines are mirrored on all shared-axes\n subplots. If "allticks", axis lines and ticks are\n mirrored on all shared-axes subplots.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data. Applies only to linear axes.\n separatethousands\n If "true", even 4-digit integers are separated\n showaxeslabels\n Sets whether or not this axis is labeled\n showbackground\n Sets whether or not this axis' wall has a background\n color.\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showspikes\n Sets whether or not spikes starting from data points to\n this axis' wall are shown on hover.\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 spikecolor\n Sets the color of the spikes.\n spikesides\n Sets whether or not spikes extending from the\n projection data points to this axis' wall boundaries\n are shown on hover.\n spikethickness\n Sets the thickness (in px) of the spikes.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.scene.ya\n xis.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.scen\n e.yaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.scene.yaxis.tickformatstops\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.layout.scene.yaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n zeroline\n Determines whether or not a line is drawn at along the\n 0 value of this axis. If True, the zero line is drawn\n on top of the grid lines.\n zerolinecolor\n Sets the line color of the zero line.\n zerolinewidth\n Sets the width (in px) of the zero line.\n """\n\n def __init__(\n self,\n arg=None,\n autorange=None,\n autorangeoptions=None,\n autotypenumbers=None,\n backgroundcolor=None,\n calendar=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n color=None,\n dtick=None,\n exponentformat=None,\n gridcolor=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n linecolor=None,\n linewidth=None,\n maxallowed=None,\n minallowed=None,\n minexponent=None,\n mirror=None,\n nticks=None,\n range=None,\n rangemode=None,\n separatethousands=None,\n showaxeslabels=None,\n showbackground=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showspikes=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n spikecolor=None,\n spikesides=None,\n spikethickness=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=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 type=None,\n visible=None,\n zeroline=None,\n zerolinecolor=None,\n zerolinewidth=None,\n **kwargs,\n ):\n """\n Construct a new YAxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.YAxis`\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.scene.yaxis.Autoran\n geoptions` instance or dict with compatible properties\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n backgroundcolor\n Sets the background color of this axis' wall.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 mirror\n Determines if the axis lines or/and ticks are mirrored\n to the opposite side of the plotting area. If True, the\n axis lines are mirrored. If "ticks", the axis lines and\n ticks are mirrored. If False, mirroring is disable. If\n "all", axis lines are mirrored on all shared-axes\n subplots. If "allticks", axis lines and ticks are\n mirrored on all shared-axes subplots.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data. Applies only to linear axes.\n separatethousands\n If "true", even 4-digit integers are separated\n showaxeslabels\n Sets whether or not this axis is labeled\n showbackground\n Sets whether or not this axis' wall has a background\n color.\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showspikes\n Sets whether or not spikes starting from data points to\n this axis' wall are shown on hover.\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 spikecolor\n Sets the color of the spikes.\n spikesides\n Sets whether or not spikes extending from the\n projection data points to this axis' wall boundaries\n are shown on hover.\n spikethickness\n Sets the thickness (in px) of the spikes.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.scene.ya\n xis.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.scen\n e.yaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.scene.yaxis.tickformatstops\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.layout.scene.yaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n zeroline\n Determines whether or not a line is drawn at along the\n 0 value of this axis. If True, the zero line is drawn\n on top of the grid lines.\n zerolinecolor\n Sets the line color of the zero line.\n zerolinewidth\n Sets the width (in px) of the zero line.\n\n Returns\n -------\n YAxis\n """\n super().__init__("yaxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.YAxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.YAxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("autorange", arg, autorange)\n self._set_property("autorangeoptions", arg, autorangeoptions)\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("backgroundcolor", arg, backgroundcolor)\n self._set_property("calendar", arg, calendar)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("color", arg, color)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("mirror", arg, mirror)\n self._set_property("nticks", arg, nticks)\n self._set_property("range", arg, range)\n self._set_property("rangemode", arg, rangemode)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showaxeslabels", arg, showaxeslabels)\n self._set_property("showbackground", arg, showbackground)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showspikes", arg, showspikes)\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("spikecolor", arg, spikecolor)\n self._set_property("spikesides", arg, spikesides)\n self._set_property("spikethickness", arg, spikethickness)\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("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("type", arg, type)\n self._set_property("visible", arg, visible)\n self._set_property("zeroline", arg, zeroline)\n self._set_property("zerolinecolor", arg, zerolinecolor)\n self._set_property("zerolinewidth", arg, zerolinewidth)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\_yaxis.py | _yaxis.py | Python | 75,567 | 0.75 | 0.123638 | 0.003221 | vue-tools | 93 | 2024-12-27T00:45:35.169466 | BSD-3-Clause | false | 40ebde986a3b967ccbe3cbdf71cb45a3 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass ZAxis(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene"\n _path_str = "layout.scene.zaxis"\n _valid_props = {\n "autorange",\n "autorangeoptions",\n "autotypenumbers",\n "backgroundcolor",\n "calendar",\n "categoryarray",\n "categoryarraysrc",\n "categoryorder",\n "color",\n "dtick",\n "exponentformat",\n "gridcolor",\n "gridwidth",\n "hoverformat",\n "labelalias",\n "linecolor",\n "linewidth",\n "maxallowed",\n "minallowed",\n "minexponent",\n "mirror",\n "nticks",\n "range",\n "rangemode",\n "separatethousands",\n "showaxeslabels",\n "showbackground",\n "showexponent",\n "showgrid",\n "showline",\n "showspikes",\n "showticklabels",\n "showtickprefix",\n "showticksuffix",\n "spikecolor",\n "spikesides",\n "spikethickness",\n "tick0",\n "tickangle",\n "tickcolor",\n "tickfont",\n "tickformat",\n "tickformatstopdefaults",\n "tickformatstops",\n "ticklen",\n "tickmode",\n "tickprefix",\n "ticks",\n "ticksuffix",\n "ticktext",\n "ticktextsrc",\n "tickvals",\n "tickvalssrc",\n "tickwidth",\n "title",\n "type",\n "visible",\n "zeroline",\n "zerolinecolor",\n "zerolinewidth",\n }\n\n @property\n def autorange(self):\n """\n Determines whether or not the range of this axis is computed in\n relation to the input data. See `rangemode` for more info. If\n `range` is provided and it has a value for both the lower and\n upper bound, `autorange` is set to False. Using "min" applies\n autorange only to set the minimum. Using "max" applies\n autorange only to set the maximum. Using *min reversed* applies\n autorange only to set the minimum on a reversed axis. Using\n *max reversed* applies autorange only to set the maximum on a\n reversed axis. Using "reversed" applies autorange on both ends\n and reverses the axis direction.\n\n The 'autorange' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, False, 'reversed', 'min reversed', 'max reversed',\n 'min', 'max']\n\n Returns\n -------\n Any\n """\n return self["autorange"]\n\n @autorange.setter\n def autorange(self, val):\n self["autorange"] = val\n\n @property\n def autorangeoptions(self):\n """\n The 'autorangeoptions' property is an instance of Autorangeoptions\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.zaxis.Autorangeoptions`\n - A dict of string/value properties that will be passed\n to the Autorangeoptions constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.zaxis.Autorangeoptions\n """\n return self["autorangeoptions"]\n\n @autorangeoptions.setter\n def autorangeoptions(self, val):\n self["autorangeoptions"] = val\n\n @property\n def autotypenumbers(self):\n """\n Using "strict" a numeric string in trace data is not converted\n to a number. Using *convert types* a numeric string in trace\n data may be treated as a number during automatic axis `type`\n detection. Defaults to layout.autotypenumbers.\n\n The 'autotypenumbers' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['convert types', 'strict']\n\n Returns\n -------\n Any\n """\n return self["autotypenumbers"]\n\n @autotypenumbers.setter\n def autotypenumbers(self, val):\n self["autotypenumbers"] = val\n\n @property\n def backgroundcolor(self):\n """\n Sets the background color of this axis' wall.\n\n The 'backgroundcolor' 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["backgroundcolor"]\n\n @backgroundcolor.setter\n def backgroundcolor(self, val):\n self["backgroundcolor"] = val\n\n @property\n def calendar(self):\n """\n Sets the calendar system to use for `range` and `tick0` if this\n is a date axis. This does not set the calendar for interpreting\n data on this axis, that's specified in the trace or via the\n global `layout.calendar`\n\n The 'calendar' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['chinese', 'coptic', 'discworld', 'ethiopian',\n 'gregorian', 'hebrew', 'islamic', 'jalali', 'julian',\n 'mayan', 'nanakshahi', 'nepali', 'persian', 'taiwan',\n 'thai', 'ummalqura']\n\n Returns\n -------\n Any\n """\n return self["calendar"]\n\n @calendar.setter\n def calendar(self, val):\n self["calendar"] = val\n\n @property\n def categoryarray(self):\n """\n Sets the order in which categories on this axis appear. Only\n has an effect if `categoryorder` is set to "array". Used with\n `categoryorder`.\n\n The 'categoryarray' property is an array that may be specified as a tuple,\n list, numpy array, or pandas Series\n\n Returns\n -------\n numpy.ndarray\n """\n return self["categoryarray"]\n\n @categoryarray.setter\n def categoryarray(self, val):\n self["categoryarray"] = val\n\n @property\n def categoryarraysrc(self):\n """\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n\n The 'categoryarraysrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["categoryarraysrc"]\n\n @categoryarraysrc.setter\n def categoryarraysrc(self, val):\n self["categoryarraysrc"] = val\n\n @property\n def categoryorder(self):\n """\n Specifies the ordering logic for the case of categorical\n variables. By default, plotly uses "trace", which specifies the\n order that is present in the data supplied. Set `categoryorder`\n to *category ascending* or *category descending* if order\n should be determined by the alphanumerical order of the\n category names. Set `categoryorder` to "array" to derive the\n ordering from the attribute `categoryarray`. If a category is\n not found in the `categoryarray` array, the sorting behavior\n for that attribute will be identical to the "trace" mode. The\n unspecified categories will follow the categories in\n `categoryarray`. Set `categoryorder` to *total ascending* or\n *total descending* if order should be determined by the\n numerical order of the values. Similarly, the order can be\n determined by the min, max, sum, mean, geometric mean or median\n of all the values.\n\n The 'categoryorder' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['trace', 'category ascending', 'category descending',\n 'array', 'total ascending', 'total descending', 'min\n ascending', 'min descending', 'max ascending', 'max\n descending', 'sum ascending', 'sum descending', 'mean\n ascending', 'mean descending', 'geometric mean ascending',\n 'geometric mean descending', 'median ascending', 'median\n descending']\n\n Returns\n -------\n Any\n """\n return self["categoryorder"]\n\n @categoryorder.setter\n def categoryorder(self, val):\n self["categoryorder"] = val\n\n @property\n def color(self):\n """\n Sets default for all colors associated with this axis all at\n once: line, font, tick, and grid colors. Grid color is\n lightened by blending this with the plot background Individual\n pieces can override this.\n\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def dtick(self):\n """\n 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 gridcolor(self):\n """\n Sets the color of the grid lines.\n\n The 'gridcolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["gridcolor"]\n\n @gridcolor.setter\n def gridcolor(self, val):\n self["gridcolor"] = val\n\n @property\n def gridwidth(self):\n """\n Sets the width (in px) of the grid lines.\n\n The 'gridwidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["gridwidth"]\n\n @gridwidth.setter\n def gridwidth(self, val):\n self["gridwidth"] = val\n\n @property\n def hoverformat(self):\n """\n Sets the hover text formatting rule using d3 formatting mini-\n languages which are very similar to those in Python. For\n numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for\n dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to d3's date\n formatter: "%h" for half of the year as a decimal number as\n well as "%{n}f" for fractional seconds with n digits. For\n example, *2016-10-13 09:15:23.456* with tickformat\n "%H~%M~%S.%2f" would display "09~15~23.46"\n\n The 'hoverformat' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["hoverformat"]\n\n @hoverformat.setter\n def hoverformat(self, val):\n self["hoverformat"] = val\n\n @property\n def labelalias(self):\n """\n Replacement text for specific tick or hover labels. For example\n using {US: 'USA', CA: 'Canada'} changes US to USA and CA to\n Canada. The labels we would have shown must match the keys\n exactly, after adding any tickprefix or ticksuffix. For\n negative numbers the minus sign symbol used (U+2212) is wider\n than the regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis type, and\n both keys (if needed) and values (if desired) can include html-\n like tags or MathJax.\n\n The 'labelalias' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["labelalias"]\n\n @labelalias.setter\n def labelalias(self, val):\n self["labelalias"] = val\n\n @property\n def linecolor(self):\n """\n Sets the axis line color.\n\n The 'linecolor' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["linecolor"]\n\n @linecolor.setter\n def linecolor(self, val):\n self["linecolor"] = val\n\n @property\n def linewidth(self):\n """\n Sets the width (in px) of the axis line.\n\n The 'linewidth' property is a number and may be specified as:\n - An int or float in the interval [0, inf]\n\n Returns\n -------\n int|float\n """\n return self["linewidth"]\n\n @linewidth.setter\n def linewidth(self, val):\n self["linewidth"] = val\n\n @property\n def maxallowed(self):\n """\n Determines the maximum range of this axis.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Determines the minimum range of this axis.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def 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 mirror(self):\n """\n Determines if the axis lines or/and ticks are mirrored to the\n opposite side of the plotting area. If True, the axis lines are\n mirrored. If "ticks", the axis lines and ticks are mirrored. If\n False, mirroring is disable. If "all", axis lines are mirrored\n on all shared-axes subplots. If "allticks", axis lines and\n ticks are mirrored on all shared-axes subplots.\n\n The 'mirror' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n [True, 'ticks', False, 'all', 'allticks']\n\n Returns\n -------\n Any\n """\n return self["mirror"]\n\n @mirror.setter\n def mirror(self, val):\n self["mirror"] = val\n\n @property\n def nticks(self):\n """\n Specifies the maximum number of ticks for the particular axis.\n The actual number of ticks will be chosen automatically to be\n less than or equal to `nticks`. Has an effect only if\n `tickmode` is set to "auto".\n\n The 'nticks' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [0, 9223372036854775807]\n\n Returns\n -------\n int\n """\n return self["nticks"]\n\n @nticks.setter\n def nticks(self, val):\n self["nticks"] = val\n\n @property\n def range(self):\n """\n Sets the range of this axis. If the axis `type` is "log", then\n you must take the log of your desired range (e.g. to set the\n range from 1 to 100, set the range from 0 to 2). If the axis\n `type` is "date", it should be date strings, like date data,\n though Date objects and unix milliseconds will be accepted and\n converted to strings. If the axis `type` is "category", it\n should be numbers, using the scale where each category is\n assigned a serial number from zero in the order it appears.\n Leaving either or both elements `null` impacts the default\n `autorange`.\n\n The 'range' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'range[0]' property accepts values of any type\n (1) The 'range[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["range"]\n\n @range.setter\n def range(self, val):\n self["range"] = val\n\n @property\n def rangemode(self):\n """\n If "normal", the range is computed in relation to the extrema\n of the input data. If "tozero", the range extends to 0,\n regardless of the input data If "nonnegative", the range is\n non-negative, regardless of the input data. Applies only to\n linear axes.\n\n The 'rangemode' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'tozero', 'nonnegative']\n\n Returns\n -------\n Any\n """\n return self["rangemode"]\n\n @rangemode.setter\n def rangemode(self, val):\n self["rangemode"] = val\n\n @property\n def separatethousands(self):\n """\n If "true", even 4-digit integers are separated\n\n The 'separatethousands' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["separatethousands"]\n\n @separatethousands.setter\n def separatethousands(self, val):\n self["separatethousands"] = val\n\n @property\n def showaxeslabels(self):\n """\n Sets whether or not this axis is labeled\n\n The 'showaxeslabels' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showaxeslabels"]\n\n @showaxeslabels.setter\n def showaxeslabels(self, val):\n self["showaxeslabels"] = val\n\n @property\n def showbackground(self):\n """\n Sets whether or not this axis' wall has a background color.\n\n The 'showbackground' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showbackground"]\n\n @showbackground.setter\n def showbackground(self, val):\n self["showbackground"] = val\n\n @property\n def showexponent(self):\n """\n If "all", all exponents are shown besides their significands.\n If "first", only the exponent of the first tick is shown. If\n "last", only the exponent of the last tick is shown. If "none",\n no exponents appear.\n\n The 'showexponent' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['all', 'first', 'last', 'none']\n\n Returns\n -------\n Any\n """\n return self["showexponent"]\n\n @showexponent.setter\n def showexponent(self, val):\n self["showexponent"] = val\n\n @property\n def showgrid(self):\n """\n Determines whether or not grid lines are drawn. If True, the\n grid lines are drawn at every tick mark.\n\n The 'showgrid' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showgrid"]\n\n @showgrid.setter\n def showgrid(self, val):\n self["showgrid"] = val\n\n @property\n def showline(self):\n """\n Determines whether or not a line bounding this axis is drawn.\n\n The 'showline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showline"]\n\n @showline.setter\n def showline(self, val):\n self["showline"] = val\n\n @property\n def showspikes(self):\n """\n Sets whether or not spikes starting from data points to this\n axis' wall are shown on hover.\n\n The 'showspikes' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["showspikes"]\n\n @showspikes.setter\n def showspikes(self, val):\n self["showspikes"] = 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 spikecolor(self):\n """\n Sets the color of the spikes.\n\n The 'spikecolor' 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["spikecolor"]\n\n @spikecolor.setter\n def spikecolor(self, val):\n self["spikecolor"] = val\n\n @property\n def spikesides(self):\n """\n Sets whether or not spikes extending from the projection data\n points to this axis' wall boundaries are shown on hover.\n\n The 'spikesides' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["spikesides"]\n\n @spikesides.setter\n def spikesides(self, val):\n self["spikesides"] = val\n\n @property\n def spikethickness(self):\n """\n Sets the thickness (in px) of the spikes.\n\n The 'spikethickness' 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["spikethickness"]\n\n @spikethickness.setter\n def spikethickness(self, val):\n self["spikethickness"] = 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 tick font.\n\n The 'tickfont' property is an instance of Tickfont\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickfont`\n - A dict of string/value properties that will be passed\n to the Tickfont constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.zaxis.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.layout.scene.zaxis.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.layout.scene.zaxis.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.layout.scene.zaxis.tickformatstopdefaults),\n sets the default property values to use for elements of\n layout.scene.zaxis.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.layout.scene.zaxis.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.layout.scene.zaxis.Tickformatstop\n """\n return self["tickformatstopdefaults"]\n\n @tickformatstopdefaults.setter\n def tickformatstopdefaults(self, val):\n self["tickformatstopdefaults"] = 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.layout.scene.zaxis.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.layout.scene.zaxis.Title\n """\n return self["title"]\n\n @title.setter\n def title(self, val):\n self["title"] = val\n\n @property\n def type(self):\n """\n Sets the axis type. By default, plotly attempts to determined\n the axis type by looking into the data of the traces that\n referenced the axis in question.\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['-', 'linear', 'log', 'date', 'category']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def visible(self):\n """\n A single toggle to hide the axis while preserving interaction\n like dragging. Default is true when a cheater plot is present\n on the axis, otherwise false\n\n The 'visible' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["visible"]\n\n @visible.setter\n def visible(self, val):\n self["visible"] = val\n\n @property\n def zeroline(self):\n """\n Determines whether or not a line is drawn at along the 0 value\n of this axis. If True, the zero line is drawn on top of the\n grid lines.\n\n The 'zeroline' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["zeroline"]\n\n @zeroline.setter\n def zeroline(self, val):\n self["zeroline"] = val\n\n @property\n def zerolinecolor(self):\n """\n Sets the line color of the zero line.\n\n The 'zerolinecolor' 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["zerolinecolor"]\n\n @zerolinecolor.setter\n def zerolinecolor(self, val):\n self["zerolinecolor"] = val\n\n @property\n def zerolinewidth(self):\n """\n Sets the width (in px) of the zero line.\n\n The 'zerolinewidth' 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["zerolinewidth"]\n\n @zerolinewidth.setter\n def zerolinewidth(self, val):\n self["zerolinewidth"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.scene.zaxis.Autoran\n geoptions` instance or dict with compatible properties\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n backgroundcolor\n Sets the background color of this axis' wall.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 mirror\n Determines if the axis lines or/and ticks are mirrored\n to the opposite side of the plotting area. If True, the\n axis lines are mirrored. If "ticks", the axis lines and\n ticks are mirrored. If False, mirroring is disable. If\n "all", axis lines are mirrored on all shared-axes\n subplots. If "allticks", axis lines and ticks are\n mirrored on all shared-axes subplots.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data. Applies only to linear axes.\n separatethousands\n If "true", even 4-digit integers are separated\n showaxeslabels\n Sets whether or not this axis is labeled\n showbackground\n Sets whether or not this axis' wall has a background\n color.\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showspikes\n Sets whether or not spikes starting from data points to\n this axis' wall are shown on hover.\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 spikecolor\n Sets the color of the spikes.\n spikesides\n Sets whether or not spikes extending from the\n projection data points to this axis' wall boundaries\n are shown on hover.\n spikethickness\n Sets the thickness (in px) of the spikes.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.scene.za\n xis.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.scen\n e.zaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.scene.zaxis.tickformatstops\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.layout.scene.zaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n zeroline\n Determines whether or not a line is drawn at along the\n 0 value of this axis. If True, the zero line is drawn\n on top of the grid lines.\n zerolinecolor\n Sets the line color of the zero line.\n zerolinewidth\n Sets the width (in px) of the zero line.\n """\n\n def __init__(\n self,\n arg=None,\n autorange=None,\n autorangeoptions=None,\n autotypenumbers=None,\n backgroundcolor=None,\n calendar=None,\n categoryarray=None,\n categoryarraysrc=None,\n categoryorder=None,\n color=None,\n dtick=None,\n exponentformat=None,\n gridcolor=None,\n gridwidth=None,\n hoverformat=None,\n labelalias=None,\n linecolor=None,\n linewidth=None,\n maxallowed=None,\n minallowed=None,\n minexponent=None,\n mirror=None,\n nticks=None,\n range=None,\n rangemode=None,\n separatethousands=None,\n showaxeslabels=None,\n showbackground=None,\n showexponent=None,\n showgrid=None,\n showline=None,\n showspikes=None,\n showticklabels=None,\n showtickprefix=None,\n showticksuffix=None,\n spikecolor=None,\n spikesides=None,\n spikethickness=None,\n tick0=None,\n tickangle=None,\n tickcolor=None,\n tickfont=None,\n tickformat=None,\n tickformatstops=None,\n tickformatstopdefaults=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 type=None,\n visible=None,\n zeroline=None,\n zerolinecolor=None,\n zerolinewidth=None,\n **kwargs,\n ):\n """\n Construct a new ZAxis object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.ZAxis`\n autorange\n Determines whether or not the range of this axis is\n computed in relation to the input data. See `rangemode`\n for more info. If `range` is provided and it has a\n value for both the lower and upper bound, `autorange`\n is set to False. Using "min" applies autorange only to\n set the minimum. Using "max" applies autorange only to\n set the maximum. Using *min reversed* applies autorange\n only to set the minimum on a reversed axis. Using *max\n reversed* applies autorange only to set the maximum on\n a reversed axis. Using "reversed" applies autorange on\n both ends and reverses the axis direction.\n autorangeoptions\n :class:`plotly.graph_objects.layout.scene.zaxis.Autoran\n geoptions` instance or dict with compatible properties\n autotypenumbers\n Using "strict" a numeric string in trace data is not\n converted to a number. Using *convert types* a numeric\n string in trace data may be treated as a number during\n automatic axis `type` detection. Defaults to\n layout.autotypenumbers.\n backgroundcolor\n Sets the background color of this axis' wall.\n calendar\n Sets the calendar system to use for `range` and `tick0`\n if this is a date axis. This does not set the calendar\n for interpreting data on this axis, that's specified in\n the trace or via the global `layout.calendar`\n categoryarray\n Sets the order in which categories on this axis appear.\n Only has an effect if `categoryorder` is set to\n "array". Used with `categoryorder`.\n categoryarraysrc\n Sets the source reference on Chart Studio Cloud for\n `categoryarray`.\n categoryorder\n Specifies the ordering logic for the case of\n categorical variables. By default, plotly uses "trace",\n which specifies the order that is present in the data\n supplied. Set `categoryorder` to *category ascending*\n or *category descending* if order should be determined\n by the alphanumerical order of the category names. Set\n `categoryorder` to "array" to derive the ordering from\n the attribute `categoryarray`. If a category is not\n found in the `categoryarray` array, the sorting\n behavior for that attribute will be identical to the\n "trace" mode. The unspecified categories will follow\n the categories in `categoryarray`. Set `categoryorder`\n to *total ascending* or *total descending* if order\n should be determined by the numerical order of the\n values. Similarly, the order can be determined by the\n min, max, sum, mean, geometric mean or median of all\n the values.\n color\n Sets default for all colors associated with this axis\n all at once: line, font, tick, and grid colors. Grid\n color is lightened by blending this with the plot\n background Individual pieces can override this.\n dtick\n 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 gridcolor\n Sets the color of the grid lines.\n gridwidth\n Sets the width (in px) of the grid lines.\n hoverformat\n Sets the hover text formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n labelalias\n Replacement text for specific tick or hover labels. For\n example using {US: 'USA', CA: 'Canada'} changes US to\n USA and CA to Canada. The labels we would have shown\n must match the keys exactly, after adding any\n tickprefix or ticksuffix. For negative numbers the\n minus sign symbol used (U+2212) is wider than the\n regular ascii dash. That means you need to use −1\n instead of -1. labelalias can be used with any axis\n type, and both keys (if needed) and values (if desired)\n can include html-like tags or MathJax.\n linecolor\n Sets the axis line color.\n linewidth\n Sets the width (in px) of the axis line.\n maxallowed\n Determines the maximum range of this axis.\n minallowed\n Determines the minimum range of this axis.\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 mirror\n Determines if the axis lines or/and ticks are mirrored\n to the opposite side of the plotting area. If True, the\n axis lines are mirrored. If "ticks", the axis lines and\n ticks are mirrored. If False, mirroring is disable. If\n "all", axis lines are mirrored on all shared-axes\n subplots. If "allticks", axis lines and ticks are\n mirrored on all shared-axes subplots.\n nticks\n Specifies the maximum number of ticks for the\n particular axis. The actual number of ticks will be\n chosen automatically to be less than or equal to\n `nticks`. Has an effect only if `tickmode` is set to\n "auto".\n range\n Sets the range of this axis. If the axis `type` is\n "log", then you must take the log of your desired range\n (e.g. to set the range from 1 to 100, set the range\n from 0 to 2). If the axis `type` is "date", it should\n be date strings, like date data, though Date objects\n and unix milliseconds will be accepted and converted to\n strings. If the axis `type` is "category", it should be\n numbers, using the scale where each category is\n assigned a serial number from zero in the order it\n appears. Leaving either or both elements `null` impacts\n the default `autorange`.\n rangemode\n If "normal", the range is computed in relation to the\n extrema of the input data. If "tozero", the range\n extends to 0, regardless of the input data If\n "nonnegative", the range is non-negative, regardless of\n the input data. Applies only to linear axes.\n separatethousands\n If "true", even 4-digit integers are separated\n showaxeslabels\n Sets whether or not this axis is labeled\n showbackground\n Sets whether or not this axis' wall has a background\n color.\n showexponent\n If "all", all exponents are shown besides their\n significands. If "first", only the exponent of the\n first tick is shown. If "last", only the exponent of\n the last tick is shown. If "none", no exponents appear.\n showgrid\n Determines whether or not grid lines are drawn. If\n True, the grid lines are drawn at every tick mark.\n showline\n Determines whether or not a line bounding this axis is\n drawn.\n showspikes\n Sets whether or not spikes starting from data points to\n this axis' wall are shown on hover.\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 spikecolor\n Sets the color of the spikes.\n spikesides\n Sets whether or not spikes extending from the\n projection data points to this axis' wall boundaries\n are shown on hover.\n spikethickness\n Sets the thickness (in px) of the spikes.\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 tick font.\n tickformat\n Sets the tick label formatting rule using d3 formatting\n mini-languages which are very similar to those in\n Python. For numbers, see:\n https://github.com/d3/d3-format/tree/v1.4.5#d3-format.\n And for dates see: https://github.com/d3/d3-time-\n format/tree/v2.2.3#locale_format. We add two items to\n d3's date formatter: "%h" for half of the year as a\n decimal number as well as "%{n}f" for fractional\n seconds with n digits. For example, *2016-10-13\n 09:15:23.456* with tickformat "%H~%M~%S.%2f" would\n display "09~15~23.46"\n tickformatstops\n A tuple of :class:`plotly.graph_objects.layout.scene.za\n xis.Tickformatstop` instances or dicts with compatible\n properties\n tickformatstopdefaults\n When used in a template (as layout.template.layout.scen\n e.zaxis.tickformatstopdefaults), sets the default\n property values to use for elements of\n layout.scene.zaxis.tickformatstops\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.layout.scene.zaxis.Title`\n instance or dict with compatible properties\n type\n Sets the axis type. By default, plotly attempts to\n determined the axis type by looking into the data of\n the traces that referenced the axis in question.\n visible\n A single toggle to hide the axis while preserving\n interaction like dragging. Default is true when a\n cheater plot is present on the axis, otherwise false\n zeroline\n Determines whether or not a line is drawn at along the\n 0 value of this axis. If True, the zero line is drawn\n on top of the grid lines.\n zerolinecolor\n Sets the line color of the zero line.\n zerolinewidth\n Sets the width (in px) of the zero line.\n\n Returns\n -------\n ZAxis\n """\n super().__init__("zaxis")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.ZAxis\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.ZAxis`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("autorange", arg, autorange)\n self._set_property("autorangeoptions", arg, autorangeoptions)\n self._set_property("autotypenumbers", arg, autotypenumbers)\n self._set_property("backgroundcolor", arg, backgroundcolor)\n self._set_property("calendar", arg, calendar)\n self._set_property("categoryarray", arg, categoryarray)\n self._set_property("categoryarraysrc", arg, categoryarraysrc)\n self._set_property("categoryorder", arg, categoryorder)\n self._set_property("color", arg, color)\n self._set_property("dtick", arg, dtick)\n self._set_property("exponentformat", arg, exponentformat)\n self._set_property("gridcolor", arg, gridcolor)\n self._set_property("gridwidth", arg, gridwidth)\n self._set_property("hoverformat", arg, hoverformat)\n self._set_property("labelalias", arg, labelalias)\n self._set_property("linecolor", arg, linecolor)\n self._set_property("linewidth", arg, linewidth)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._set_property("minexponent", arg, minexponent)\n self._set_property("mirror", arg, mirror)\n self._set_property("nticks", arg, nticks)\n self._set_property("range", arg, range)\n self._set_property("rangemode", arg, rangemode)\n self._set_property("separatethousands", arg, separatethousands)\n self._set_property("showaxeslabels", arg, showaxeslabels)\n self._set_property("showbackground", arg, showbackground)\n self._set_property("showexponent", arg, showexponent)\n self._set_property("showgrid", arg, showgrid)\n self._set_property("showline", arg, showline)\n self._set_property("showspikes", arg, showspikes)\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("spikecolor", arg, spikecolor)\n self._set_property("spikesides", arg, spikesides)\n self._set_property("spikethickness", arg, spikethickness)\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("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("type", arg, type)\n self._set_property("visible", arg, visible)\n self._set_property("zeroline", arg, zeroline)\n self._set_property("zerolinecolor", arg, zerolinecolor)\n self._set_property("zerolinewidth", arg, zerolinewidth)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\_zaxis.py | _zaxis.py | Python | 75,567 | 0.75 | 0.123638 | 0.003221 | vue-tools | 883 | 2024-07-31T23:04:38.189432 | Apache-2.0 | false | 61e9ad11debb4864db8873718c34700e |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._annotation import Annotation\n from ._aspectratio import Aspectratio\n from ._camera import Camera\n from ._domain import Domain\n from ._xaxis import XAxis\n from ._yaxis import YAxis\n from ._zaxis import ZAxis\n from . import annotation\n from . import camera\n from . import xaxis\n from . import yaxis\n from . import zaxis\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".annotation", ".camera", ".xaxis", ".yaxis", ".zaxis"],\n [\n "._annotation.Annotation",\n "._aspectratio.Aspectratio",\n "._camera.Camera",\n "._domain.Domain",\n "._xaxis.XAxis",\n "._yaxis.YAxis",\n "._zaxis.ZAxis",\n ],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\__init__.py | __init__.py | Python | 881 | 0.85 | 0.03125 | 0 | python-kit | 236 | 2024-08-04T21:09:40.548315 | Apache-2.0 | false | 8240434248bd2b96005e9b1f2324616d |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.annotation"\n _path_str = "layout.scene.annotation.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the annotation text font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.annotation.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.annotation.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\_font.py | _font.py | Python | 9,918 | 0.95 | 0.10479 | 0.010526 | node-utils | 810 | 2023-12-18T10:07:05.983377 | Apache-2.0 | false | 21b0f22b8c1f9502b8b75f8e9c9d189f |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Hoverlabel(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.annotation"\n _path_str = "layout.scene.annotation.hoverlabel"\n _valid_props = {"bgcolor", "bordercolor", "font"}\n\n @property\n def bgcolor(self):\n """\n Sets the background color of the hover label. By default uses\n the annotation's `bgcolor` made opaque, or white if it was\n transparent.\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 border color of the hover label. By default uses\n either dark grey or white, for maximum contrast with\n `hoverlabel.bgcolor`.\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 font(self):\n """\n Sets the hover label text font. By default uses the global\n hover font and size, with color from `hoverlabel.bordercolor`.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.annotation.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.layout.scene.annotation.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 _prop_descriptions(self):\n return """\\n bgcolor\n Sets the background color of the hover label. By\n default uses the annotation's `bgcolor` made opaque, or\n white if it was transparent.\n bordercolor\n Sets the border color of the hover label. By default\n uses either dark grey or white, for maximum contrast\n with `hoverlabel.bgcolor`.\n font\n Sets the hover label text font. By default uses the\n global hover font and size, with color from\n `hoverlabel.bordercolor`.\n """\n\n def __init__(self, arg=None, bgcolor=None, bordercolor=None, font=None, **kwargs):\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 :class:`plotly.graph_objs.layout.scene.a\n nnotation.Hoverlabel`\n bgcolor\n Sets the background color of the hover label. By\n default uses the annotation's `bgcolor` made opaque, or\n white if it was transparent.\n bordercolor\n Sets the border color of the hover label. By default\n uses either dark grey or white, for maximum contrast\n with `hoverlabel.bgcolor`.\n font\n Sets the hover label text font. By default uses the\n global hover font and size, with color from\n `hoverlabel.bordercolor`.\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.layout.scene.annotation.Hoverlabel\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`""")\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("font", arg, font)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\_hoverlabel.py | _hoverlabel.py | Python | 5,142 | 0.95 | 0.145695 | 0.015504 | python-kit | 69 | 2023-11-13T15:12:20.312635 | GPL-3.0 | false | c43bf914383d305e26dc27080e38fee0 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\n from ._hoverlabel import Hoverlabel\n from . import hoverlabel\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__, [".hoverlabel"], ["._font.Font", "._hoverlabel.Hoverlabel"]\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\__init__.py | __init__.py | Python | 360 | 0.85 | 0.076923 | 0 | python-kit | 589 | 2023-09-16T11:24:01.009004 | GPL-3.0 | false | 90ab5334e2e863a8f5b34a884f818098 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.annotation.hoverlabel"\n _path_str = "layout.scene.annotation.hoverlabel.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets the hover label text font. By default uses the global\n hover font and size, with color from `hoverlabel.bordercolor`.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.a\n nnotation.hoverlabel.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.annotation.hoverlabel.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.annotation.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("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\hoverlabel\_font.py | _font.py | Python | 10,073 | 0.95 | 0.104478 | 0.01049 | react-lib | 93 | 2024-01-11T20:40:11.022902 | MIT | false | 32501b5e9cdd393af7c139828ef3974e |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\hoverlabel\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | awesome-app | 889 | 2024-02-13T19:11:27.162839 | MIT | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\hoverlabel\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 11,080 | 0.8 | 0.048387 | 0 | react-lib | 391 | 2024-04-29T20:47:18.961410 | MIT | false | ea0a87125d06877d9c6f6b3123ba74ae |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\hoverlabel\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 520 | 0.85 | 0 | 0 | vue-tools | 290 | 2025-04-28T18:35:07.783279 | BSD-3-Clause | false | 073b310d32db8a6758d83fe9923caca8 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,922 | 0.8 | 0.048583 | 0 | vue-tools | 606 | 2023-08-07T00:18:03.185192 | Apache-2.0 | false | ad901f1e6a22cd376efdead09925c885 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\__pycache__\_hoverlabel.cpython-313.pyc | _hoverlabel.cpython-313.pyc | Other | 5,954 | 0.8 | 0.094017 | 0 | python-kit | 612 | 2023-08-23T11:00:35.652820 | BSD-3-Clause | false | 3f74371a6de3b79fd27b826713603f3d |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\annotation\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 643 | 0.95 | 0 | 0 | vue-tools | 796 | 2023-08-23T10:48:04.130816 | MIT | false | f60cc25ded8d94f52528699167c15a66 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Center(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.camera"\n _path_str = "layout.scene.camera.center"\n _valid_props = {"x", "y", "z"}\n\n @property\n def x(self):\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 y(self):\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 z(self):\n """\n The 'z' 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["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\n y\n\n z\n\n """\n\n def __init__(self, arg=None, x=None, y=None, z=None, **kwargs):\n """\n Construct a new Center object\n\n Sets the (x,y,z) components of the 'center' camera vector This\n vector determines the translation (x,y,z) space about the\n center of this scene. By default, there is no such translation.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.camera.Center`\n x\n\n y\n\n z\n\n\n Returns\n -------\n Center\n """\n super().__init__("center")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.camera.Center\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.camera.Center`""")\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\layout\scene\camera\_center.py | _center.py | Python | 2,877 | 0.95 | 0.107438 | 0.021053 | react-lib | 178 | 2025-02-12T20:37:10.664257 | BSD-3-Clause | false | 581b40894df0980e1fdc1161c2a31cf3 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Eye(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.camera"\n _path_str = "layout.scene.camera.eye"\n _valid_props = {"x", "y", "z"}\n\n @property\n def x(self):\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 y(self):\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 z(self):\n """\n The 'z' 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["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\n y\n\n z\n\n """\n\n def __init__(self, arg=None, x=None, y=None, z=None, **kwargs):\n """\n Construct a new Eye object\n\n Sets the (x,y,z) components of the 'eye' camera vector. This\n vector determines the view point about the origin of this\n scene.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.camera.Eye`\n x\n\n y\n\n z\n\n\n Returns\n -------\n Eye\n """\n super().__init__("eye")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.camera.Eye\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.camera.Eye`""")\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\layout\scene\camera\_eye.py | _eye.py | Python | 2,794 | 0.95 | 0.107438 | 0.021053 | vue-tools | 277 | 2025-02-26T22:47:26.548393 | GPL-3.0 | false | f76c77a7e7aa5b7b4b9bcc8ffaee7450 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Projection(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.camera"\n _path_str = "layout.scene.camera.projection"\n _valid_props = {"type"}\n\n @property\n def type(self):\n """\n Sets the projection type. The projection type could be either\n "perspective" or "orthographic". The default is "perspective".\n\n The 'type' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['perspective', 'orthographic']\n\n Returns\n -------\n Any\n """\n return self["type"]\n\n @type.setter\n def type(self, val):\n self["type"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n type\n Sets the projection type. The projection type could be\n either "perspective" or "orthographic". The default is\n "perspective".\n """\n\n def __init__(self, arg=None, type=None, **kwargs):\n """\n Construct a new Projection object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.c\n amera.Projection`\n type\n Sets the projection type. The projection type could be\n either "perspective" or "orthographic". The default is\n "perspective".\n\n Returns\n -------\n Projection\n """\n super().__init__("projection")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.camera.Projection\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.camera.Projection`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("type", arg, type)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\_projection.py | _projection.py | Python | 2,556 | 0.95 | 0.108434 | 0.028986 | vue-tools | 996 | 2024-10-02T04:39:27.282942 | GPL-3.0 | false | 068ba4aef709d3418ec7d3fb24fa34ea |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Up(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.camera"\n _path_str = "layout.scene.camera.up"\n _valid_props = {"x", "y", "z"}\n\n @property\n def x(self):\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 y(self):\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 z(self):\n """\n The 'z' 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["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\n y\n\n z\n\n """\n\n def __init__(self, arg=None, x=None, y=None, z=None, **kwargs):\n """\n Construct a new Up object\n\n Sets the (x,y,z) components of the 'up' camera vector. This\n vector determines the up direction of this scene with respect\n to the page. The default is *{x: 0, y: 0, z: 1}* which means\n that the z axis points up.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.camera.Up`\n x\n\n y\n\n z\n\n\n Returns\n -------\n Up\n """\n super().__init__("up")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.camera.Up\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.camera.Up`""")\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\layout\scene\camera\_up.py | _up.py | Python | 2,878 | 0.95 | 0.106557 | 0.020833 | vue-tools | 384 | 2024-01-20T21:04:11.316907 | BSD-3-Clause | false | 50edb6829f68b4998638e40402efa586 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._center import Center\n from ._eye import Eye\n from ._projection import Projection\n from ._up import Up\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [],\n ["._center.Center", "._eye.Eye", "._projection.Projection", "._up.Up"],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\__init__.py | __init__.py | Python | 417 | 0.85 | 0.0625 | 0 | python-kit | 136 | 2024-07-01T14:15:01.206512 | BSD-3-Clause | false | f76185f65922f716f156bd659426167a |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\__pycache__\_center.cpython-313.pyc | _center.cpython-313.pyc | Other | 3,932 | 0.8 | 0.02439 | 0 | node-utils | 558 | 2024-12-30T08:10:32.366811 | GPL-3.0 | false | a4926a4241f814ce3f6ddae98d63de08 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\__pycache__\_eye.cpython-313.pyc | _eye.cpython-313.pyc | Other | 3,831 | 0.8 | 0.024096 | 0 | node-utils | 388 | 2024-11-03T09:36:02.834799 | BSD-3-Clause | false | 6d03fbdc876c9e3cd0fe8b092130627e |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\__pycache__\_projection.cpython-313.pyc | _projection.cpython-313.pyc | Other | 3,350 | 0.8 | 0.03125 | 0 | awesome-app | 293 | 2025-03-18T01:39:29.803149 | BSD-3-Clause | false | 8e5767e0e41e1fe7f74740c741a33594 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\__pycache__\_up.cpython-313.pyc | _up.cpython-313.pyc | Other | 3,901 | 0.8 | 0.02439 | 0 | node-utils | 238 | 2024-02-14T08:14:17.746387 | Apache-2.0 | false | 89f8b5bbda68ad75604d79031dea0435 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\camera\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 676 | 0.85 | 0 | 0 | react-lib | 872 | 2025-01-07T12:24:58.520860 | BSD-3-Clause | false | 3d6fab0858832ef6b43d19d0fa43e5da |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Autorangeoptions(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.xaxis"\n _path_str = "layout.scene.xaxis.autorangeoptions"\n _valid_props = {\n "clipmax",\n "clipmin",\n "include",\n "includesrc",\n "maxallowed",\n "minallowed",\n }\n\n @property\n def clipmax(self):\n """\n Clip autorange maximum if it goes beyond this value. Has no\n effect when `autorangeoptions.maxallowed` is provided.\n\n The 'clipmax' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmax"]\n\n @clipmax.setter\n def clipmax(self, val):\n self["clipmax"] = val\n\n @property\n def clipmin(self):\n """\n Clip autorange minimum if it goes beyond this value. Has no\n effect when `autorangeoptions.minallowed` is provided.\n\n The 'clipmin' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["clipmin"]\n\n @clipmin.setter\n def clipmin(self, val):\n self["clipmin"] = val\n\n @property\n def include(self):\n """\n Ensure this value is included in autorange.\n\n The 'include' property accepts values of any type\n\n Returns\n -------\n Any|numpy.ndarray\n """\n return self["include"]\n\n @include.setter\n def include(self, val):\n self["include"] = val\n\n @property\n def includesrc(self):\n """\n Sets the source reference on Chart Studio Cloud for `include`.\n\n The 'includesrc' property must be specified as a string or\n as a plotly.grid_objs.Column object\n\n Returns\n -------\n str\n """\n return self["includesrc"]\n\n @includesrc.setter\n def includesrc(self, val):\n self["includesrc"] = val\n\n @property\n def maxallowed(self):\n """\n Use this value exactly as autorange maximum.\n\n The 'maxallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["maxallowed"]\n\n @maxallowed.setter\n def maxallowed(self, val):\n self["maxallowed"] = val\n\n @property\n def minallowed(self):\n """\n Use this value exactly as autorange minimum.\n\n The 'minallowed' property accepts values of any type\n\n Returns\n -------\n Any\n """\n return self["minallowed"]\n\n @minallowed.setter\n def minallowed(self, val):\n self["minallowed"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n """\n\n def __init__(\n self,\n arg=None,\n clipmax=None,\n clipmin=None,\n include=None,\n includesrc=None,\n maxallowed=None,\n minallowed=None,\n **kwargs,\n ):\n """\n Construct a new Autorangeoptions object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.x\n axis.Autorangeoptions`\n clipmax\n Clip autorange maximum if it goes beyond this value.\n Has no effect when `autorangeoptions.maxallowed` is\n provided.\n clipmin\n Clip autorange minimum if it goes beyond this value.\n Has no effect when `autorangeoptions.minallowed` is\n provided.\n include\n Ensure this value is included in autorange.\n includesrc\n Sets the source reference on Chart Studio Cloud for\n `include`.\n maxallowed\n Use this value exactly as autorange maximum.\n minallowed\n Use this value exactly as autorange minimum.\n\n Returns\n -------\n Autorangeoptions\n """\n super().__init__("autorangeoptions")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.xaxis.Autorangeoptions\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.xaxis.Autorangeoptions`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("clipmax", arg, clipmax)\n self._set_property("clipmin", arg, clipmin)\n self._set_property("include", arg, include)\n self._set_property("includesrc", arg, includesrc)\n self._set_property("maxallowed", arg, maxallowed)\n self._set_property("minallowed", arg, minallowed)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\_autorangeoptions.py | _autorangeoptions.py | Python | 5,894 | 0.95 | 0.12963 | 0.016484 | node-utils | 120 | 2024-04-24T23:44:23.649131 | Apache-2.0 | false | 6bcf237c3ec3e8ff77d86d67a4387224 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickfont(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.xaxis"\n _path_str = "layout.scene.xaxis.tickfont"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Tickfont object\n\n Sets the tick font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.xaxis.Tickfont`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Tickfont\n """\n super().__init__("tickfont")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.xaxis.Tickfont\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickfont`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\_tickfont.py | _tickfont.py | Python | 9,914 | 0.95 | 0.10479 | 0.010526 | node-utils | 597 | 2023-10-21T14:06:51.606281 | GPL-3.0 | false | ef16dbde6f62a59ba7a9d251ee4f5b13 |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Tickformatstop(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.xaxis"\n _path_str = "layout.scene.xaxis.tickformatstop"\n _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}\n\n @property\n def dtickrange(self):\n """\n range [*min*, *max*], where "min", "max" - dtick values which\n describe some zoom level, it is possible to omit "min" or "max"\n value by passing "null"\n\n The 'dtickrange' property is an info array that may be specified as:\n\n * a list or tuple of 2 elements where:\n (0) The 'dtickrange[0]' property accepts values of any type\n (1) The 'dtickrange[1]' property accepts values of any type\n\n Returns\n -------\n list\n """\n return self["dtickrange"]\n\n @dtickrange.setter\n def dtickrange(self, val):\n self["dtickrange"] = val\n\n @property\n def enabled(self):\n """\n Determines whether or not this stop is used. If `false`, this\n stop is ignored even within its `dtickrange`.\n\n The 'enabled' property must be specified as a bool\n (either True, or False)\n\n Returns\n -------\n bool\n """\n return self["enabled"]\n\n @enabled.setter\n def enabled(self, val):\n self["enabled"] = val\n\n @property\n def name(self):\n """\n When used in a template, named items are created in the output\n figure in addition to any items the figure already has in this\n array. You can modify these items in the output figure by\n making your own item with `templateitemname` matching this\n `name` alongside your modifications (including `visible: false`\n or `enabled: false` to hide it). Has no effect outside of a\n template.\n\n The 'name' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["name"]\n\n @name.setter\n def name(self, val):\n self["name"] = val\n\n @property\n def templateitemname(self):\n """\n Used to refer to a named item in this array in the template.\n Named items from the template will be created even without a\n matching item in the input figure, but you can modify one by\n making an item with `templateitemname` matching its `name`,\n alongside your modifications (including `visible: false` or\n `enabled: false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you explicitly\n show it with `visible: true`.\n\n The 'templateitemname' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["templateitemname"]\n\n @templateitemname.setter\n def templateitemname(self, val):\n self["templateitemname"] = val\n\n @property\n def value(self):\n """\n string - dtickformat for described zoom level, the same as\n "tickformat"\n\n The 'value' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["value"]\n\n @value.setter\n def value(self, val):\n self["value"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n """\n\n def __init__(\n self,\n arg=None,\n dtickrange=None,\n enabled=None,\n name=None,\n templateitemname=None,\n value=None,\n **kwargs,\n ):\n """\n Construct a new Tickformatstop object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.x\n axis.Tickformatstop`\n dtickrange\n range [*min*, *max*], where "min", "max" - dtick values\n which describe some zoom level, it is possible to omit\n "min" or "max" value by passing "null"\n enabled\n Determines whether or not this stop is used. If\n `false`, this stop is ignored even within its\n `dtickrange`.\n name\n When used in a template, named items are created in the\n output figure in addition to any items the figure\n already has in this array. You can modify these items\n in the output figure by making your own item with\n `templateitemname` matching this `name` alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). Has no effect outside of a\n template.\n templateitemname\n Used to refer to a named item in this array in the\n template. Named items from the template will be created\n even without a matching item in the input figure, but\n you can modify one by making an item with\n `templateitemname` matching its `name`, alongside your\n modifications (including `visible: false` or `enabled:\n false` to hide it). If there is no template or no\n matching item, this item will be hidden unless you\n explicitly show it with `visible: true`.\n value\n string - dtickformat for described zoom level, the same\n as "tickformat"\n\n Returns\n -------\n Tickformatstop\n """\n super().__init__("tickformatstops")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.xaxis.Tickformatstop\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickformatstop`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("dtickrange", arg, dtickrange)\n self._set_property("enabled", arg, enabled)\n self._set_property("name", arg, name)\n self._set_property("templateitemname", arg, templateitemname)\n self._set_property("value", arg, value)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\_tickformatstop.py | _tickformatstop.py | Python | 8,527 | 0.95 | 0.082988 | 0.019048 | node-utils | 519 | 2024-05-26T17:31:27.967068 | BSD-3-Clause | false | 284ce436e5a5d53d6fce1dd21a603d2d |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Title(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.xaxis"\n _path_str = "layout.scene.xaxis.title"\n _valid_props = {"font", "text"}\n\n @property\n def font(self):\n """\n Sets this axis' title font.\n\n The 'font' property is an instance of Font\n that may be specified as:\n - An instance of :class:`plotly.graph_objs.layout.scene.xaxis.title.Font`\n - A dict of string/value properties that will be passed\n to the Font constructor\n\n Returns\n -------\n plotly.graph_objs.layout.scene.xaxis.title.Font\n """\n return self["font"]\n\n @font.setter\n def font(self, val):\n self["font"] = val\n\n @property\n def text(self):\n """\n Sets the title of this axis.\n\n The 'text' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["text"]\n\n @text.setter\n def text(self, val):\n self["text"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n """\n\n def __init__(self, arg=None, font=None, text=None, **kwargs):\n """\n Construct a new Title object\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of\n :class:`plotly.graph_objs.layout.scene.xaxis.Title`\n font\n Sets this axis' title font.\n text\n Sets the title of this axis.\n\n Returns\n -------\n Title\n """\n super().__init__("title")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.xaxis.Title\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.xaxis.Title`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("font", arg, font)\n self._set_property("text", arg, text)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\_title.py | _title.py | Python | 2,861 | 0.95 | 0.115385 | 0.023256 | react-lib | 678 | 2025-01-17T16:07:39.391886 | BSD-3-Clause | false | 5e05249c176288c41414eeeae800a4e0 |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._autorangeoptions import Autorangeoptions\n from ._tickfont import Tickfont\n from ._tickformatstop import Tickformatstop\n from ._title import Title\n from . import title\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(\n __name__,\n [".title"],\n [\n "._autorangeoptions.Autorangeoptions",\n "._tickfont.Tickfont",\n "._tickformatstop.Tickformatstop",\n "._title.Title",\n ],\n )\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\__init__.py | __init__.py | Python | 596 | 0.85 | 0.045455 | 0 | vue-tools | 925 | 2024-11-10T09:22:51.131266 | BSD-3-Clause | false | 4e73dd48e8c9c8599c98139b5aa0ce7a |
# --- THIS FILE IS AUTO-GENERATED ---\n# Modifications will be overwitten the next time code generation run.\n\nfrom plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType\nimport copy as _copy\n\n\nclass Font(_BaseLayoutHierarchyType):\n _parent_path_str = "layout.scene.xaxis.title"\n _path_str = "layout.scene.xaxis.title.font"\n _valid_props = {\n "color",\n "family",\n "lineposition",\n "shadow",\n "size",\n "style",\n "textcase",\n "variant",\n "weight",\n }\n\n @property\n def color(self):\n """\n The 'color' property is a color and may be specified as:\n - A hex string (e.g. '#ff0000')\n - An rgb/rgba string (e.g. 'rgb(255,0,0)')\n - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')\n - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')\n - A named CSS color: see https://plotly.com/python/css-colors/ for a list\n\n Returns\n -------\n str\n """\n return self["color"]\n\n @color.setter\n def color(self, val):\n self["color"] = val\n\n @property\n def family(self):\n """\n HTML font family - the typeface that will be applied by the web\n browser. The web browser can only apply a font if it is\n available on the system where it runs. Provide multiple font\n families, separated by commas, to indicate the order in which\n to apply fonts if they aren't available.\n\n The 'family' property is a string and must be specified as:\n - A non-empty string\n\n Returns\n -------\n str\n """\n return self["family"]\n\n @family.setter\n def family(self, val):\n self["family"] = val\n\n @property\n def lineposition(self):\n """\n Sets the kind of decoration line(s) with text, such as an\n "under", "over" or "through" as well as combinations e.g.\n "under+over", etc.\n\n The 'lineposition' property is a flaglist and may be specified\n as a string containing:\n - Any combination of ['under', 'over', 'through'] joined with '+' characters\n (e.g. 'under+over')\n OR exactly one of ['none'] (e.g. 'none')\n\n Returns\n -------\n Any\n """\n return self["lineposition"]\n\n @lineposition.setter\n def lineposition(self, val):\n self["lineposition"] = val\n\n @property\n def shadow(self):\n """\n Sets the shape and color of the shadow behind text. "auto"\n places minimal shadow and applies contrast text font color. See\n https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow\n for additional options.\n\n The 'shadow' property is a string and must be specified as:\n - A string\n - A number that will be converted to a string\n\n Returns\n -------\n str\n """\n return self["shadow"]\n\n @shadow.setter\n def shadow(self, val):\n self["shadow"] = val\n\n @property\n def size(self):\n """\n The 'size' property is a number and may be specified as:\n - An int or float in the interval [1, inf]\n\n Returns\n -------\n int|float\n """\n return self["size"]\n\n @size.setter\n def size(self, val):\n self["size"] = val\n\n @property\n def style(self):\n """\n Sets whether a font should be styled with a normal or italic\n face from its family.\n\n The 'style' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'italic']\n\n Returns\n -------\n Any\n """\n return self["style"]\n\n @style.setter\n def style(self, val):\n self["style"] = val\n\n @property\n def textcase(self):\n """\n Sets capitalization of text. It can be used to make text appear\n in all-uppercase or all-lowercase, or with each word\n capitalized.\n\n The 'textcase' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'word caps', 'upper', 'lower']\n\n Returns\n -------\n Any\n """\n return self["textcase"]\n\n @textcase.setter\n def textcase(self, val):\n self["textcase"] = val\n\n @property\n def variant(self):\n """\n Sets the variant of the font.\n\n The 'variant' property is an enumeration that may be specified as:\n - One of the following enumeration values:\n ['normal', 'small-caps', 'all-small-caps',\n 'all-petite-caps', 'petite-caps', 'unicase']\n\n Returns\n -------\n Any\n """\n return self["variant"]\n\n @variant.setter\n def variant(self, val):\n self["variant"] = val\n\n @property\n def weight(self):\n """\n Sets the weight (or boldness) of the font.\n\n The 'weight' property is a integer and may be specified as:\n - An int (or float that will be cast to an int)\n in the interval [1, 1000]\n OR exactly one of ['normal', 'bold'] (e.g. 'bold')\n\n Returns\n -------\n int\n """\n return self["weight"]\n\n @weight.setter\n def weight(self, val):\n self["weight"] = val\n\n @property\n def _prop_descriptions(self):\n return """\\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n """\n\n def __init__(\n self,\n arg=None,\n color=None,\n family=None,\n lineposition=None,\n shadow=None,\n size=None,\n style=None,\n textcase=None,\n variant=None,\n weight=None,\n **kwargs,\n ):\n """\n Construct a new Font object\n\n Sets this axis' title font.\n\n Parameters\n ----------\n arg\n dict of properties compatible with this constructor or\n an instance of :class:`plotly.graph_objs.layout.scene.x\n axis.title.Font`\n color\n\n family\n HTML font family - the typeface that will be applied by\n the web browser. The web browser can only apply a font\n if it is available on the system where it runs. Provide\n multiple font families, separated by commas, to\n indicate the order in which to apply fonts if they\n aren't available.\n lineposition\n Sets the kind of decoration line(s) with text, such as\n an "under", "over" or "through" as well as combinations\n e.g. "under+over", etc.\n shadow\n Sets the shape and color of the shadow behind text.\n "auto" places minimal shadow and applies contrast text\n font color. See https://developer.mozilla.org/en-\n US/docs/Web/CSS/text-shadow for additional options.\n size\n\n style\n Sets whether a font should be styled with a normal or\n italic face from its family.\n textcase\n Sets capitalization of text. It can be used to make\n text appear in all-uppercase or all-lowercase, or with\n each word capitalized.\n variant\n Sets the variant of the font.\n weight\n Sets the weight (or boldness) of the font.\n\n Returns\n -------\n Font\n """\n super().__init__("font")\n if "_parent" in kwargs:\n self._parent = kwargs["_parent"]\n return\n\n if arg is None:\n arg = {}\n elif isinstance(arg, self.__class__):\n arg = arg.to_plotly_json()\n elif isinstance(arg, dict):\n arg = _copy.copy(arg)\n else:\n raise ValueError("""\\nThe first argument to the plotly.graph_objs.layout.scene.xaxis.title.Font\nconstructor must be a dict or\nan instance of :class:`plotly.graph_objs.layout.scene.xaxis.title.Font`""")\n\n self._skip_invalid = kwargs.pop("skip_invalid", False)\n self._validate = kwargs.pop("_validate", True)\n\n self._set_property("color", arg, color)\n self._set_property("family", arg, family)\n self._set_property("lineposition", arg, lineposition)\n self._set_property("shadow", arg, shadow)\n self._set_property("size", arg, size)\n self._set_property("style", arg, style)\n self._set_property("textcase", arg, textcase)\n self._set_property("variant", arg, variant)\n self._set_property("weight", arg, weight)\n self._process_kwargs(**dict(arg, **kwargs))\n self._skip_invalid = False\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\title\_font.py | _font.py | Python | 9,921 | 0.95 | 0.10479 | 0.010526 | vue-tools | 261 | 2024-06-17T00:56:10.181736 | MIT | false | 189065380b6a905112056305a70478ed |
import sys\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n from ._font import Font\nelse:\n from _plotly_utils.importers import relative_import\n\n __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\title\__init__.py | __init__.py | Python | 237 | 0.85 | 0.111111 | 0 | awesome-app | 954 | 2024-01-02T08:27:46.498566 | BSD-3-Clause | false | 78f0039a1e574405772be52751197792 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\title\__pycache__\_font.cpython-313.pyc | _font.cpython-313.pyc | Other | 10,926 | 0.8 | 0.048583 | 0 | python-kit | 138 | 2023-10-19T18:15:53.757868 | MIT | false | a0adf0bc1df9296aaca23b8c25264ef6 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\title\__pycache__\__init__.cpython-313.pyc | __init__.cpython-313.pyc | Other | 510 | 0.85 | 0 | 0 | python-kit | 683 | 2023-07-19T04:40:14.819934 | BSD-3-Clause | false | bd3f0bff855941d006319a846218be38 |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\__pycache__\_autorangeoptions.cpython-313.pyc | _autorangeoptions.cpython-313.pyc | Other | 6,954 | 0.8 | 0.073333 | 0 | awesome-app | 532 | 2024-05-03T07:09:10.035045 | BSD-3-Clause | false | b0c17d7b96b36ea09f176e6a206aa2ad |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\__pycache__\_tickfont.cpython-313.pyc | _tickfont.cpython-313.pyc | Other | 10,961 | 0.8 | 0.04918 | 0 | vue-tools | 213 | 2023-08-03T18:44:28.463867 | BSD-3-Clause | false | 6bee7c78b1af1db82cf213b426e86d9f |
\n\n | .venv\Lib\site-packages\plotly\graph_objs\layout\scene\xaxis\__pycache__\_tickformatstop.cpython-313.pyc | _tickformatstop.cpython-313.pyc | Other | 9,305 | 0.8 | 0.024876 | 0.005348 | react-lib | 173 | 2024-10-17T11:50:38.129436 | BSD-3-Clause | false | 2ffa440a63810c9c6a5d78c41e24672c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.