Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_hoverlabel.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_legendgrouptitle.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_line.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_marker.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_selected.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_stream.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_unselected.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/__pycache__/_font.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/_font.py +587 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/__pycache__/_font.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/_font.py +334 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/__pycache__/_line.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/_line.py +181 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/__pycache__/_marker.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/_marker.py +127 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/__pycache__/_marker.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/_marker.py +136 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_colorbar.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_hoverlabel.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_legendgrouptitle.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_marker.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_selected.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_stream.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_unselected.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__init__.py +16 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/_tickfont.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/_tickformatstop.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/_title.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py +334 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/_tickformatstop.py +241 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/_title.py +136 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/__pycache__/__init__.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/__pycache__/_font.cpython-312.pyc +0 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/_font.py +334 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/hoverlabel/__init__.py +9 -0
- .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/hoverlabel/__pycache__/__init__.cpython-312.pyc +0 -0
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (1.16 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_hoverlabel.cpython-312.pyc
ADDED
|
Binary file (13.5 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_legendgrouptitle.cpython-312.pyc
ADDED
|
Binary file (4.05 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_line.cpython-312.pyc
ADDED
|
Binary file (3.97 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_marker.cpython-312.pyc
ADDED
|
Binary file (15.8 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_selected.cpython-312.pyc
ADDED
|
Binary file (3.25 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_stream.cpython-312.pyc
ADDED
|
Binary file (4.53 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/__pycache__/_unselected.cpython-312.pyc
ADDED
|
Binary file (3.29 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._font import Font
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (507 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/__pycache__/_font.cpython-312.pyc
ADDED
|
Binary file (20.4 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/hoverlabel/_font.py
ADDED
|
@@ -0,0 +1,587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Font(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "box.hoverlabel"
|
| 10 |
+
_path_str = "box.hoverlabel.font"
|
| 11 |
+
_valid_props = {
|
| 12 |
+
"color",
|
| 13 |
+
"colorsrc",
|
| 14 |
+
"family",
|
| 15 |
+
"familysrc",
|
| 16 |
+
"lineposition",
|
| 17 |
+
"linepositionsrc",
|
| 18 |
+
"shadow",
|
| 19 |
+
"shadowsrc",
|
| 20 |
+
"size",
|
| 21 |
+
"sizesrc",
|
| 22 |
+
"style",
|
| 23 |
+
"stylesrc",
|
| 24 |
+
"textcase",
|
| 25 |
+
"textcasesrc",
|
| 26 |
+
"variant",
|
| 27 |
+
"variantsrc",
|
| 28 |
+
"weight",
|
| 29 |
+
"weightsrc",
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
@property
|
| 33 |
+
def color(self):
|
| 34 |
+
"""
|
| 35 |
+
The 'color' property is a color and may be specified as:
|
| 36 |
+
- A hex string (e.g. '#ff0000')
|
| 37 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 38 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 39 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 40 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 41 |
+
- A list or array of any of the above
|
| 42 |
+
|
| 43 |
+
Returns
|
| 44 |
+
-------
|
| 45 |
+
str|numpy.ndarray
|
| 46 |
+
"""
|
| 47 |
+
return self["color"]
|
| 48 |
+
|
| 49 |
+
@color.setter
|
| 50 |
+
def color(self, val):
|
| 51 |
+
self["color"] = val
|
| 52 |
+
|
| 53 |
+
@property
|
| 54 |
+
def colorsrc(self):
|
| 55 |
+
"""
|
| 56 |
+
Sets the source reference on Chart Studio Cloud for `color`.
|
| 57 |
+
|
| 58 |
+
The 'colorsrc' property must be specified as a string or
|
| 59 |
+
as a plotly.grid_objs.Column object
|
| 60 |
+
|
| 61 |
+
Returns
|
| 62 |
+
-------
|
| 63 |
+
str
|
| 64 |
+
"""
|
| 65 |
+
return self["colorsrc"]
|
| 66 |
+
|
| 67 |
+
@colorsrc.setter
|
| 68 |
+
def colorsrc(self, val):
|
| 69 |
+
self["colorsrc"] = val
|
| 70 |
+
|
| 71 |
+
@property
|
| 72 |
+
def family(self):
|
| 73 |
+
"""
|
| 74 |
+
HTML font family - the typeface that will be applied by the web
|
| 75 |
+
browser. The web browser can only apply a font if it is
|
| 76 |
+
available on the system where it runs. Provide multiple font
|
| 77 |
+
families, separated by commas, to indicate the order in which
|
| 78 |
+
to apply fonts if they aren't available.
|
| 79 |
+
|
| 80 |
+
The 'family' property is a string and must be specified as:
|
| 81 |
+
- A non-empty string
|
| 82 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 83 |
+
|
| 84 |
+
Returns
|
| 85 |
+
-------
|
| 86 |
+
str|numpy.ndarray
|
| 87 |
+
"""
|
| 88 |
+
return self["family"]
|
| 89 |
+
|
| 90 |
+
@family.setter
|
| 91 |
+
def family(self, val):
|
| 92 |
+
self["family"] = val
|
| 93 |
+
|
| 94 |
+
@property
|
| 95 |
+
def familysrc(self):
|
| 96 |
+
"""
|
| 97 |
+
Sets the source reference on Chart Studio Cloud for `family`.
|
| 98 |
+
|
| 99 |
+
The 'familysrc' property must be specified as a string or
|
| 100 |
+
as a plotly.grid_objs.Column object
|
| 101 |
+
|
| 102 |
+
Returns
|
| 103 |
+
-------
|
| 104 |
+
str
|
| 105 |
+
"""
|
| 106 |
+
return self["familysrc"]
|
| 107 |
+
|
| 108 |
+
@familysrc.setter
|
| 109 |
+
def familysrc(self, val):
|
| 110 |
+
self["familysrc"] = val
|
| 111 |
+
|
| 112 |
+
@property
|
| 113 |
+
def lineposition(self):
|
| 114 |
+
"""
|
| 115 |
+
Sets the kind of decoration line(s) with text, such as an
|
| 116 |
+
"under", "over" or "through" as well as combinations e.g.
|
| 117 |
+
"under+over", etc.
|
| 118 |
+
|
| 119 |
+
The 'lineposition' property is a flaglist and may be specified
|
| 120 |
+
as a string containing:
|
| 121 |
+
- Any combination of ['under', 'over', 'through'] joined with '+' characters
|
| 122 |
+
(e.g. 'under+over')
|
| 123 |
+
OR exactly one of ['none'] (e.g. 'none')
|
| 124 |
+
- A list or array of the above
|
| 125 |
+
|
| 126 |
+
Returns
|
| 127 |
+
-------
|
| 128 |
+
Any|numpy.ndarray
|
| 129 |
+
"""
|
| 130 |
+
return self["lineposition"]
|
| 131 |
+
|
| 132 |
+
@lineposition.setter
|
| 133 |
+
def lineposition(self, val):
|
| 134 |
+
self["lineposition"] = val
|
| 135 |
+
|
| 136 |
+
@property
|
| 137 |
+
def linepositionsrc(self):
|
| 138 |
+
"""
|
| 139 |
+
Sets the source reference on Chart Studio Cloud for
|
| 140 |
+
`lineposition`.
|
| 141 |
+
|
| 142 |
+
The 'linepositionsrc' property must be specified as a string or
|
| 143 |
+
as a plotly.grid_objs.Column object
|
| 144 |
+
|
| 145 |
+
Returns
|
| 146 |
+
-------
|
| 147 |
+
str
|
| 148 |
+
"""
|
| 149 |
+
return self["linepositionsrc"]
|
| 150 |
+
|
| 151 |
+
@linepositionsrc.setter
|
| 152 |
+
def linepositionsrc(self, val):
|
| 153 |
+
self["linepositionsrc"] = val
|
| 154 |
+
|
| 155 |
+
@property
|
| 156 |
+
def shadow(self):
|
| 157 |
+
"""
|
| 158 |
+
Sets the shape and color of the shadow behind text. "auto"
|
| 159 |
+
places minimal shadow and applies contrast text font color. See
|
| 160 |
+
https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
|
| 161 |
+
for additional options.
|
| 162 |
+
|
| 163 |
+
The 'shadow' property is a string and must be specified as:
|
| 164 |
+
- A string
|
| 165 |
+
- A number that will be converted to a string
|
| 166 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 167 |
+
|
| 168 |
+
Returns
|
| 169 |
+
-------
|
| 170 |
+
str|numpy.ndarray
|
| 171 |
+
"""
|
| 172 |
+
return self["shadow"]
|
| 173 |
+
|
| 174 |
+
@shadow.setter
|
| 175 |
+
def shadow(self, val):
|
| 176 |
+
self["shadow"] = val
|
| 177 |
+
|
| 178 |
+
@property
|
| 179 |
+
def shadowsrc(self):
|
| 180 |
+
"""
|
| 181 |
+
Sets the source reference on Chart Studio Cloud for `shadow`.
|
| 182 |
+
|
| 183 |
+
The 'shadowsrc' property must be specified as a string or
|
| 184 |
+
as a plotly.grid_objs.Column object
|
| 185 |
+
|
| 186 |
+
Returns
|
| 187 |
+
-------
|
| 188 |
+
str
|
| 189 |
+
"""
|
| 190 |
+
return self["shadowsrc"]
|
| 191 |
+
|
| 192 |
+
@shadowsrc.setter
|
| 193 |
+
def shadowsrc(self, val):
|
| 194 |
+
self["shadowsrc"] = val
|
| 195 |
+
|
| 196 |
+
@property
|
| 197 |
+
def size(self):
|
| 198 |
+
"""
|
| 199 |
+
The 'size' property is a number and may be specified as:
|
| 200 |
+
- An int or float in the interval [1, inf]
|
| 201 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 202 |
+
|
| 203 |
+
Returns
|
| 204 |
+
-------
|
| 205 |
+
int|float|numpy.ndarray
|
| 206 |
+
"""
|
| 207 |
+
return self["size"]
|
| 208 |
+
|
| 209 |
+
@size.setter
|
| 210 |
+
def size(self, val):
|
| 211 |
+
self["size"] = val
|
| 212 |
+
|
| 213 |
+
@property
|
| 214 |
+
def sizesrc(self):
|
| 215 |
+
"""
|
| 216 |
+
Sets the source reference on Chart Studio Cloud for `size`.
|
| 217 |
+
|
| 218 |
+
The 'sizesrc' property must be specified as a string or
|
| 219 |
+
as a plotly.grid_objs.Column object
|
| 220 |
+
|
| 221 |
+
Returns
|
| 222 |
+
-------
|
| 223 |
+
str
|
| 224 |
+
"""
|
| 225 |
+
return self["sizesrc"]
|
| 226 |
+
|
| 227 |
+
@sizesrc.setter
|
| 228 |
+
def sizesrc(self, val):
|
| 229 |
+
self["sizesrc"] = val
|
| 230 |
+
|
| 231 |
+
@property
|
| 232 |
+
def style(self):
|
| 233 |
+
"""
|
| 234 |
+
Sets whether a font should be styled with a normal or italic
|
| 235 |
+
face from its family.
|
| 236 |
+
|
| 237 |
+
The 'style' property is an enumeration that may be specified as:
|
| 238 |
+
- One of the following enumeration values:
|
| 239 |
+
['normal', 'italic']
|
| 240 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 241 |
+
|
| 242 |
+
Returns
|
| 243 |
+
-------
|
| 244 |
+
Any|numpy.ndarray
|
| 245 |
+
"""
|
| 246 |
+
return self["style"]
|
| 247 |
+
|
| 248 |
+
@style.setter
|
| 249 |
+
def style(self, val):
|
| 250 |
+
self["style"] = val
|
| 251 |
+
|
| 252 |
+
@property
|
| 253 |
+
def stylesrc(self):
|
| 254 |
+
"""
|
| 255 |
+
Sets the source reference on Chart Studio Cloud for `style`.
|
| 256 |
+
|
| 257 |
+
The 'stylesrc' property must be specified as a string or
|
| 258 |
+
as a plotly.grid_objs.Column object
|
| 259 |
+
|
| 260 |
+
Returns
|
| 261 |
+
-------
|
| 262 |
+
str
|
| 263 |
+
"""
|
| 264 |
+
return self["stylesrc"]
|
| 265 |
+
|
| 266 |
+
@stylesrc.setter
|
| 267 |
+
def stylesrc(self, val):
|
| 268 |
+
self["stylesrc"] = val
|
| 269 |
+
|
| 270 |
+
@property
|
| 271 |
+
def textcase(self):
|
| 272 |
+
"""
|
| 273 |
+
Sets capitalization of text. It can be used to make text appear
|
| 274 |
+
in all-uppercase or all-lowercase, or with each word
|
| 275 |
+
capitalized.
|
| 276 |
+
|
| 277 |
+
The 'textcase' property is an enumeration that may be specified as:
|
| 278 |
+
- One of the following enumeration values:
|
| 279 |
+
['normal', 'word caps', 'upper', 'lower']
|
| 280 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 281 |
+
|
| 282 |
+
Returns
|
| 283 |
+
-------
|
| 284 |
+
Any|numpy.ndarray
|
| 285 |
+
"""
|
| 286 |
+
return self["textcase"]
|
| 287 |
+
|
| 288 |
+
@textcase.setter
|
| 289 |
+
def textcase(self, val):
|
| 290 |
+
self["textcase"] = val
|
| 291 |
+
|
| 292 |
+
@property
|
| 293 |
+
def textcasesrc(self):
|
| 294 |
+
"""
|
| 295 |
+
Sets the source reference on Chart Studio Cloud for `textcase`.
|
| 296 |
+
|
| 297 |
+
The 'textcasesrc' property must be specified as a string or
|
| 298 |
+
as a plotly.grid_objs.Column object
|
| 299 |
+
|
| 300 |
+
Returns
|
| 301 |
+
-------
|
| 302 |
+
str
|
| 303 |
+
"""
|
| 304 |
+
return self["textcasesrc"]
|
| 305 |
+
|
| 306 |
+
@textcasesrc.setter
|
| 307 |
+
def textcasesrc(self, val):
|
| 308 |
+
self["textcasesrc"] = val
|
| 309 |
+
|
| 310 |
+
@property
|
| 311 |
+
def variant(self):
|
| 312 |
+
"""
|
| 313 |
+
Sets the variant of the font.
|
| 314 |
+
|
| 315 |
+
The 'variant' property is an enumeration that may be specified as:
|
| 316 |
+
- One of the following enumeration values:
|
| 317 |
+
['normal', 'small-caps', 'all-small-caps',
|
| 318 |
+
'all-petite-caps', 'petite-caps', 'unicase']
|
| 319 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 320 |
+
|
| 321 |
+
Returns
|
| 322 |
+
-------
|
| 323 |
+
Any|numpy.ndarray
|
| 324 |
+
"""
|
| 325 |
+
return self["variant"]
|
| 326 |
+
|
| 327 |
+
@variant.setter
|
| 328 |
+
def variant(self, val):
|
| 329 |
+
self["variant"] = val
|
| 330 |
+
|
| 331 |
+
@property
|
| 332 |
+
def variantsrc(self):
|
| 333 |
+
"""
|
| 334 |
+
Sets the source reference on Chart Studio Cloud for `variant`.
|
| 335 |
+
|
| 336 |
+
The 'variantsrc' property must be specified as a string or
|
| 337 |
+
as a plotly.grid_objs.Column object
|
| 338 |
+
|
| 339 |
+
Returns
|
| 340 |
+
-------
|
| 341 |
+
str
|
| 342 |
+
"""
|
| 343 |
+
return self["variantsrc"]
|
| 344 |
+
|
| 345 |
+
@variantsrc.setter
|
| 346 |
+
def variantsrc(self, val):
|
| 347 |
+
self["variantsrc"] = val
|
| 348 |
+
|
| 349 |
+
@property
|
| 350 |
+
def weight(self):
|
| 351 |
+
"""
|
| 352 |
+
Sets the weight (or boldness) of the font.
|
| 353 |
+
|
| 354 |
+
The 'weight' property is a integer and may be specified as:
|
| 355 |
+
- An int (or float that will be cast to an int)
|
| 356 |
+
in the interval [1, 1000]
|
| 357 |
+
OR exactly one of ['normal', 'bold'] (e.g. 'bold')
|
| 358 |
+
- A tuple, list, or one-dimensional numpy array of the above
|
| 359 |
+
|
| 360 |
+
Returns
|
| 361 |
+
-------
|
| 362 |
+
int|numpy.ndarray
|
| 363 |
+
"""
|
| 364 |
+
return self["weight"]
|
| 365 |
+
|
| 366 |
+
@weight.setter
|
| 367 |
+
def weight(self, val):
|
| 368 |
+
self["weight"] = val
|
| 369 |
+
|
| 370 |
+
@property
|
| 371 |
+
def weightsrc(self):
|
| 372 |
+
"""
|
| 373 |
+
Sets the source reference on Chart Studio Cloud for `weight`.
|
| 374 |
+
|
| 375 |
+
The 'weightsrc' property must be specified as a string or
|
| 376 |
+
as a plotly.grid_objs.Column object
|
| 377 |
+
|
| 378 |
+
Returns
|
| 379 |
+
-------
|
| 380 |
+
str
|
| 381 |
+
"""
|
| 382 |
+
return self["weightsrc"]
|
| 383 |
+
|
| 384 |
+
@weightsrc.setter
|
| 385 |
+
def weightsrc(self, val):
|
| 386 |
+
self["weightsrc"] = val
|
| 387 |
+
|
| 388 |
+
@property
|
| 389 |
+
def _prop_descriptions(self):
|
| 390 |
+
return """\
|
| 391 |
+
color
|
| 392 |
+
|
| 393 |
+
colorsrc
|
| 394 |
+
Sets the source reference on Chart Studio Cloud for
|
| 395 |
+
`color`.
|
| 396 |
+
family
|
| 397 |
+
HTML font family - the typeface that will be applied by
|
| 398 |
+
the web browser. The web browser can only apply a font
|
| 399 |
+
if it is available on the system where it runs. Provide
|
| 400 |
+
multiple font families, separated by commas, to
|
| 401 |
+
indicate the order in which to apply fonts if they
|
| 402 |
+
aren't available.
|
| 403 |
+
familysrc
|
| 404 |
+
Sets the source reference on Chart Studio Cloud for
|
| 405 |
+
`family`.
|
| 406 |
+
lineposition
|
| 407 |
+
Sets the kind of decoration line(s) with text, such as
|
| 408 |
+
an "under", "over" or "through" as well as combinations
|
| 409 |
+
e.g. "under+over", etc.
|
| 410 |
+
linepositionsrc
|
| 411 |
+
Sets the source reference on Chart Studio Cloud for
|
| 412 |
+
`lineposition`.
|
| 413 |
+
shadow
|
| 414 |
+
Sets the shape and color of the shadow behind text.
|
| 415 |
+
"auto" places minimal shadow and applies contrast text
|
| 416 |
+
font color. See https://developer.mozilla.org/en-
|
| 417 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 418 |
+
shadowsrc
|
| 419 |
+
Sets the source reference on Chart Studio Cloud for
|
| 420 |
+
`shadow`.
|
| 421 |
+
size
|
| 422 |
+
|
| 423 |
+
sizesrc
|
| 424 |
+
Sets the source reference on Chart Studio Cloud for
|
| 425 |
+
`size`.
|
| 426 |
+
style
|
| 427 |
+
Sets whether a font should be styled with a normal or
|
| 428 |
+
italic face from its family.
|
| 429 |
+
stylesrc
|
| 430 |
+
Sets the source reference on Chart Studio Cloud for
|
| 431 |
+
`style`.
|
| 432 |
+
textcase
|
| 433 |
+
Sets capitalization of text. It can be used to make
|
| 434 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 435 |
+
each word capitalized.
|
| 436 |
+
textcasesrc
|
| 437 |
+
Sets the source reference on Chart Studio Cloud for
|
| 438 |
+
`textcase`.
|
| 439 |
+
variant
|
| 440 |
+
Sets the variant of the font.
|
| 441 |
+
variantsrc
|
| 442 |
+
Sets the source reference on Chart Studio Cloud for
|
| 443 |
+
`variant`.
|
| 444 |
+
weight
|
| 445 |
+
Sets the weight (or boldness) of the font.
|
| 446 |
+
weightsrc
|
| 447 |
+
Sets the source reference on Chart Studio Cloud for
|
| 448 |
+
`weight`.
|
| 449 |
+
"""
|
| 450 |
+
|
| 451 |
+
def __init__(
|
| 452 |
+
self,
|
| 453 |
+
arg=None,
|
| 454 |
+
color=None,
|
| 455 |
+
colorsrc=None,
|
| 456 |
+
family=None,
|
| 457 |
+
familysrc=None,
|
| 458 |
+
lineposition=None,
|
| 459 |
+
linepositionsrc=None,
|
| 460 |
+
shadow=None,
|
| 461 |
+
shadowsrc=None,
|
| 462 |
+
size=None,
|
| 463 |
+
sizesrc=None,
|
| 464 |
+
style=None,
|
| 465 |
+
stylesrc=None,
|
| 466 |
+
textcase=None,
|
| 467 |
+
textcasesrc=None,
|
| 468 |
+
variant=None,
|
| 469 |
+
variantsrc=None,
|
| 470 |
+
weight=None,
|
| 471 |
+
weightsrc=None,
|
| 472 |
+
**kwargs,
|
| 473 |
+
):
|
| 474 |
+
"""
|
| 475 |
+
Construct a new Font object
|
| 476 |
+
|
| 477 |
+
Sets the font used in hover labels.
|
| 478 |
+
|
| 479 |
+
Parameters
|
| 480 |
+
----------
|
| 481 |
+
arg
|
| 482 |
+
dict of properties compatible with this constructor or
|
| 483 |
+
an instance of
|
| 484 |
+
:class:`plotly.graph_objs.box.hoverlabel.Font`
|
| 485 |
+
color
|
| 486 |
+
|
| 487 |
+
colorsrc
|
| 488 |
+
Sets the source reference on Chart Studio Cloud for
|
| 489 |
+
`color`.
|
| 490 |
+
family
|
| 491 |
+
HTML font family - the typeface that will be applied by
|
| 492 |
+
the web browser. The web browser can only apply a font
|
| 493 |
+
if it is available on the system where it runs. Provide
|
| 494 |
+
multiple font families, separated by commas, to
|
| 495 |
+
indicate the order in which to apply fonts if they
|
| 496 |
+
aren't available.
|
| 497 |
+
familysrc
|
| 498 |
+
Sets the source reference on Chart Studio Cloud for
|
| 499 |
+
`family`.
|
| 500 |
+
lineposition
|
| 501 |
+
Sets the kind of decoration line(s) with text, such as
|
| 502 |
+
an "under", "over" or "through" as well as combinations
|
| 503 |
+
e.g. "under+over", etc.
|
| 504 |
+
linepositionsrc
|
| 505 |
+
Sets the source reference on Chart Studio Cloud for
|
| 506 |
+
`lineposition`.
|
| 507 |
+
shadow
|
| 508 |
+
Sets the shape and color of the shadow behind text.
|
| 509 |
+
"auto" places minimal shadow and applies contrast text
|
| 510 |
+
font color. See https://developer.mozilla.org/en-
|
| 511 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 512 |
+
shadowsrc
|
| 513 |
+
Sets the source reference on Chart Studio Cloud for
|
| 514 |
+
`shadow`.
|
| 515 |
+
size
|
| 516 |
+
|
| 517 |
+
sizesrc
|
| 518 |
+
Sets the source reference on Chart Studio Cloud for
|
| 519 |
+
`size`.
|
| 520 |
+
style
|
| 521 |
+
Sets whether a font should be styled with a normal or
|
| 522 |
+
italic face from its family.
|
| 523 |
+
stylesrc
|
| 524 |
+
Sets the source reference on Chart Studio Cloud for
|
| 525 |
+
`style`.
|
| 526 |
+
textcase
|
| 527 |
+
Sets capitalization of text. It can be used to make
|
| 528 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 529 |
+
each word capitalized.
|
| 530 |
+
textcasesrc
|
| 531 |
+
Sets the source reference on Chart Studio Cloud for
|
| 532 |
+
`textcase`.
|
| 533 |
+
variant
|
| 534 |
+
Sets the variant of the font.
|
| 535 |
+
variantsrc
|
| 536 |
+
Sets the source reference on Chart Studio Cloud for
|
| 537 |
+
`variant`.
|
| 538 |
+
weight
|
| 539 |
+
Sets the weight (or boldness) of the font.
|
| 540 |
+
weightsrc
|
| 541 |
+
Sets the source reference on Chart Studio Cloud for
|
| 542 |
+
`weight`.
|
| 543 |
+
|
| 544 |
+
Returns
|
| 545 |
+
-------
|
| 546 |
+
Font
|
| 547 |
+
"""
|
| 548 |
+
super().__init__("font")
|
| 549 |
+
if "_parent" in kwargs:
|
| 550 |
+
self._parent = kwargs["_parent"]
|
| 551 |
+
return
|
| 552 |
+
|
| 553 |
+
if arg is None:
|
| 554 |
+
arg = {}
|
| 555 |
+
elif isinstance(arg, self.__class__):
|
| 556 |
+
arg = arg.to_plotly_json()
|
| 557 |
+
elif isinstance(arg, dict):
|
| 558 |
+
arg = _copy.copy(arg)
|
| 559 |
+
else:
|
| 560 |
+
raise ValueError("""\
|
| 561 |
+
The first argument to the plotly.graph_objs.box.hoverlabel.Font
|
| 562 |
+
constructor must be a dict or
|
| 563 |
+
an instance of :class:`plotly.graph_objs.box.hoverlabel.Font`""")
|
| 564 |
+
|
| 565 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 566 |
+
self._validate = kwargs.pop("_validate", True)
|
| 567 |
+
|
| 568 |
+
self._set_property("color", arg, color)
|
| 569 |
+
self._set_property("colorsrc", arg, colorsrc)
|
| 570 |
+
self._set_property("family", arg, family)
|
| 571 |
+
self._set_property("familysrc", arg, familysrc)
|
| 572 |
+
self._set_property("lineposition", arg, lineposition)
|
| 573 |
+
self._set_property("linepositionsrc", arg, linepositionsrc)
|
| 574 |
+
self._set_property("shadow", arg, shadow)
|
| 575 |
+
self._set_property("shadowsrc", arg, shadowsrc)
|
| 576 |
+
self._set_property("size", arg, size)
|
| 577 |
+
self._set_property("sizesrc", arg, sizesrc)
|
| 578 |
+
self._set_property("style", arg, style)
|
| 579 |
+
self._set_property("stylesrc", arg, stylesrc)
|
| 580 |
+
self._set_property("textcase", arg, textcase)
|
| 581 |
+
self._set_property("textcasesrc", arg, textcasesrc)
|
| 582 |
+
self._set_property("variant", arg, variant)
|
| 583 |
+
self._set_property("variantsrc", arg, variantsrc)
|
| 584 |
+
self._set_property("weight", arg, weight)
|
| 585 |
+
self._set_property("weightsrc", arg, weightsrc)
|
| 586 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 587 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._font import Font
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (513 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/__pycache__/_font.cpython-312.pyc
ADDED
|
Binary file (12 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/legendgrouptitle/_font.py
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Font(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "box.legendgrouptitle"
|
| 10 |
+
_path_str = "box.legendgrouptitle.font"
|
| 11 |
+
_valid_props = {
|
| 12 |
+
"color",
|
| 13 |
+
"family",
|
| 14 |
+
"lineposition",
|
| 15 |
+
"shadow",
|
| 16 |
+
"size",
|
| 17 |
+
"style",
|
| 18 |
+
"textcase",
|
| 19 |
+
"variant",
|
| 20 |
+
"weight",
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
@property
|
| 24 |
+
def color(self):
|
| 25 |
+
"""
|
| 26 |
+
The 'color' property is a color and may be specified as:
|
| 27 |
+
- A hex string (e.g. '#ff0000')
|
| 28 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 29 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 30 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 31 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 32 |
+
|
| 33 |
+
Returns
|
| 34 |
+
-------
|
| 35 |
+
str
|
| 36 |
+
"""
|
| 37 |
+
return self["color"]
|
| 38 |
+
|
| 39 |
+
@color.setter
|
| 40 |
+
def color(self, val):
|
| 41 |
+
self["color"] = val
|
| 42 |
+
|
| 43 |
+
@property
|
| 44 |
+
def family(self):
|
| 45 |
+
"""
|
| 46 |
+
HTML font family - the typeface that will be applied by the web
|
| 47 |
+
browser. The web browser can only apply a font if it is
|
| 48 |
+
available on the system where it runs. Provide multiple font
|
| 49 |
+
families, separated by commas, to indicate the order in which
|
| 50 |
+
to apply fonts if they aren't available.
|
| 51 |
+
|
| 52 |
+
The 'family' property is a string and must be specified as:
|
| 53 |
+
- A non-empty string
|
| 54 |
+
|
| 55 |
+
Returns
|
| 56 |
+
-------
|
| 57 |
+
str
|
| 58 |
+
"""
|
| 59 |
+
return self["family"]
|
| 60 |
+
|
| 61 |
+
@family.setter
|
| 62 |
+
def family(self, val):
|
| 63 |
+
self["family"] = val
|
| 64 |
+
|
| 65 |
+
@property
|
| 66 |
+
def lineposition(self):
|
| 67 |
+
"""
|
| 68 |
+
Sets the kind of decoration line(s) with text, such as an
|
| 69 |
+
"under", "over" or "through" as well as combinations e.g.
|
| 70 |
+
"under+over", etc.
|
| 71 |
+
|
| 72 |
+
The 'lineposition' property is a flaglist and may be specified
|
| 73 |
+
as a string containing:
|
| 74 |
+
- Any combination of ['under', 'over', 'through'] joined with '+' characters
|
| 75 |
+
(e.g. 'under+over')
|
| 76 |
+
OR exactly one of ['none'] (e.g. 'none')
|
| 77 |
+
|
| 78 |
+
Returns
|
| 79 |
+
-------
|
| 80 |
+
Any
|
| 81 |
+
"""
|
| 82 |
+
return self["lineposition"]
|
| 83 |
+
|
| 84 |
+
@lineposition.setter
|
| 85 |
+
def lineposition(self, val):
|
| 86 |
+
self["lineposition"] = val
|
| 87 |
+
|
| 88 |
+
@property
|
| 89 |
+
def shadow(self):
|
| 90 |
+
"""
|
| 91 |
+
Sets the shape and color of the shadow behind text. "auto"
|
| 92 |
+
places minimal shadow and applies contrast text font color. See
|
| 93 |
+
https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
|
| 94 |
+
for additional options.
|
| 95 |
+
|
| 96 |
+
The 'shadow' property is a string and must be specified as:
|
| 97 |
+
- A string
|
| 98 |
+
- A number that will be converted to a string
|
| 99 |
+
|
| 100 |
+
Returns
|
| 101 |
+
-------
|
| 102 |
+
str
|
| 103 |
+
"""
|
| 104 |
+
return self["shadow"]
|
| 105 |
+
|
| 106 |
+
@shadow.setter
|
| 107 |
+
def shadow(self, val):
|
| 108 |
+
self["shadow"] = val
|
| 109 |
+
|
| 110 |
+
@property
|
| 111 |
+
def size(self):
|
| 112 |
+
"""
|
| 113 |
+
The 'size' property is a number and may be specified as:
|
| 114 |
+
- An int or float in the interval [1, inf]
|
| 115 |
+
|
| 116 |
+
Returns
|
| 117 |
+
-------
|
| 118 |
+
int|float
|
| 119 |
+
"""
|
| 120 |
+
return self["size"]
|
| 121 |
+
|
| 122 |
+
@size.setter
|
| 123 |
+
def size(self, val):
|
| 124 |
+
self["size"] = val
|
| 125 |
+
|
| 126 |
+
@property
|
| 127 |
+
def style(self):
|
| 128 |
+
"""
|
| 129 |
+
Sets whether a font should be styled with a normal or italic
|
| 130 |
+
face from its family.
|
| 131 |
+
|
| 132 |
+
The 'style' property is an enumeration that may be specified as:
|
| 133 |
+
- One of the following enumeration values:
|
| 134 |
+
['normal', 'italic']
|
| 135 |
+
|
| 136 |
+
Returns
|
| 137 |
+
-------
|
| 138 |
+
Any
|
| 139 |
+
"""
|
| 140 |
+
return self["style"]
|
| 141 |
+
|
| 142 |
+
@style.setter
|
| 143 |
+
def style(self, val):
|
| 144 |
+
self["style"] = val
|
| 145 |
+
|
| 146 |
+
@property
|
| 147 |
+
def textcase(self):
|
| 148 |
+
"""
|
| 149 |
+
Sets capitalization of text. It can be used to make text appear
|
| 150 |
+
in all-uppercase or all-lowercase, or with each word
|
| 151 |
+
capitalized.
|
| 152 |
+
|
| 153 |
+
The 'textcase' property is an enumeration that may be specified as:
|
| 154 |
+
- One of the following enumeration values:
|
| 155 |
+
['normal', 'word caps', 'upper', 'lower']
|
| 156 |
+
|
| 157 |
+
Returns
|
| 158 |
+
-------
|
| 159 |
+
Any
|
| 160 |
+
"""
|
| 161 |
+
return self["textcase"]
|
| 162 |
+
|
| 163 |
+
@textcase.setter
|
| 164 |
+
def textcase(self, val):
|
| 165 |
+
self["textcase"] = val
|
| 166 |
+
|
| 167 |
+
@property
|
| 168 |
+
def variant(self):
|
| 169 |
+
"""
|
| 170 |
+
Sets the variant of the font.
|
| 171 |
+
|
| 172 |
+
The 'variant' property is an enumeration that may be specified as:
|
| 173 |
+
- One of the following enumeration values:
|
| 174 |
+
['normal', 'small-caps', 'all-small-caps',
|
| 175 |
+
'all-petite-caps', 'petite-caps', 'unicase']
|
| 176 |
+
|
| 177 |
+
Returns
|
| 178 |
+
-------
|
| 179 |
+
Any
|
| 180 |
+
"""
|
| 181 |
+
return self["variant"]
|
| 182 |
+
|
| 183 |
+
@variant.setter
|
| 184 |
+
def variant(self, val):
|
| 185 |
+
self["variant"] = val
|
| 186 |
+
|
| 187 |
+
@property
|
| 188 |
+
def weight(self):
|
| 189 |
+
"""
|
| 190 |
+
Sets the weight (or boldness) of the font.
|
| 191 |
+
|
| 192 |
+
The 'weight' property is a integer and may be specified as:
|
| 193 |
+
- An int (or float that will be cast to an int)
|
| 194 |
+
in the interval [1, 1000]
|
| 195 |
+
OR exactly one of ['normal', 'bold'] (e.g. 'bold')
|
| 196 |
+
|
| 197 |
+
Returns
|
| 198 |
+
-------
|
| 199 |
+
int
|
| 200 |
+
"""
|
| 201 |
+
return self["weight"]
|
| 202 |
+
|
| 203 |
+
@weight.setter
|
| 204 |
+
def weight(self, val):
|
| 205 |
+
self["weight"] = val
|
| 206 |
+
|
| 207 |
+
@property
|
| 208 |
+
def _prop_descriptions(self):
|
| 209 |
+
return """\
|
| 210 |
+
color
|
| 211 |
+
|
| 212 |
+
family
|
| 213 |
+
HTML font family - the typeface that will be applied by
|
| 214 |
+
the web browser. The web browser can only apply a font
|
| 215 |
+
if it is available on the system where it runs. Provide
|
| 216 |
+
multiple font families, separated by commas, to
|
| 217 |
+
indicate the order in which to apply fonts if they
|
| 218 |
+
aren't available.
|
| 219 |
+
lineposition
|
| 220 |
+
Sets the kind of decoration line(s) with text, such as
|
| 221 |
+
an "under", "over" or "through" as well as combinations
|
| 222 |
+
e.g. "under+over", etc.
|
| 223 |
+
shadow
|
| 224 |
+
Sets the shape and color of the shadow behind text.
|
| 225 |
+
"auto" places minimal shadow and applies contrast text
|
| 226 |
+
font color. See https://developer.mozilla.org/en-
|
| 227 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 228 |
+
size
|
| 229 |
+
|
| 230 |
+
style
|
| 231 |
+
Sets whether a font should be styled with a normal or
|
| 232 |
+
italic face from its family.
|
| 233 |
+
textcase
|
| 234 |
+
Sets capitalization of text. It can be used to make
|
| 235 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 236 |
+
each word capitalized.
|
| 237 |
+
variant
|
| 238 |
+
Sets the variant of the font.
|
| 239 |
+
weight
|
| 240 |
+
Sets the weight (or boldness) of the font.
|
| 241 |
+
"""
|
| 242 |
+
|
| 243 |
+
def __init__(
|
| 244 |
+
self,
|
| 245 |
+
arg=None,
|
| 246 |
+
color=None,
|
| 247 |
+
family=None,
|
| 248 |
+
lineposition=None,
|
| 249 |
+
shadow=None,
|
| 250 |
+
size=None,
|
| 251 |
+
style=None,
|
| 252 |
+
textcase=None,
|
| 253 |
+
variant=None,
|
| 254 |
+
weight=None,
|
| 255 |
+
**kwargs,
|
| 256 |
+
):
|
| 257 |
+
"""
|
| 258 |
+
Construct a new Font object
|
| 259 |
+
|
| 260 |
+
Sets this legend group's title font.
|
| 261 |
+
|
| 262 |
+
Parameters
|
| 263 |
+
----------
|
| 264 |
+
arg
|
| 265 |
+
dict of properties compatible with this constructor or
|
| 266 |
+
an instance of
|
| 267 |
+
:class:`plotly.graph_objs.box.legendgrouptitle.Font`
|
| 268 |
+
color
|
| 269 |
+
|
| 270 |
+
family
|
| 271 |
+
HTML font family - the typeface that will be applied by
|
| 272 |
+
the web browser. The web browser can only apply a font
|
| 273 |
+
if it is available on the system where it runs. Provide
|
| 274 |
+
multiple font families, separated by commas, to
|
| 275 |
+
indicate the order in which to apply fonts if they
|
| 276 |
+
aren't available.
|
| 277 |
+
lineposition
|
| 278 |
+
Sets the kind of decoration line(s) with text, such as
|
| 279 |
+
an "under", "over" or "through" as well as combinations
|
| 280 |
+
e.g. "under+over", etc.
|
| 281 |
+
shadow
|
| 282 |
+
Sets the shape and color of the shadow behind text.
|
| 283 |
+
"auto" places minimal shadow and applies contrast text
|
| 284 |
+
font color. See https://developer.mozilla.org/en-
|
| 285 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 286 |
+
size
|
| 287 |
+
|
| 288 |
+
style
|
| 289 |
+
Sets whether a font should be styled with a normal or
|
| 290 |
+
italic face from its family.
|
| 291 |
+
textcase
|
| 292 |
+
Sets capitalization of text. It can be used to make
|
| 293 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 294 |
+
each word capitalized.
|
| 295 |
+
variant
|
| 296 |
+
Sets the variant of the font.
|
| 297 |
+
weight
|
| 298 |
+
Sets the weight (or boldness) of the font.
|
| 299 |
+
|
| 300 |
+
Returns
|
| 301 |
+
-------
|
| 302 |
+
Font
|
| 303 |
+
"""
|
| 304 |
+
super().__init__("font")
|
| 305 |
+
if "_parent" in kwargs:
|
| 306 |
+
self._parent = kwargs["_parent"]
|
| 307 |
+
return
|
| 308 |
+
|
| 309 |
+
if arg is None:
|
| 310 |
+
arg = {}
|
| 311 |
+
elif isinstance(arg, self.__class__):
|
| 312 |
+
arg = arg.to_plotly_json()
|
| 313 |
+
elif isinstance(arg, dict):
|
| 314 |
+
arg = _copy.copy(arg)
|
| 315 |
+
else:
|
| 316 |
+
raise ValueError("""\
|
| 317 |
+
The first argument to the plotly.graph_objs.box.legendgrouptitle.Font
|
| 318 |
+
constructor must be a dict or
|
| 319 |
+
an instance of :class:`plotly.graph_objs.box.legendgrouptitle.Font`""")
|
| 320 |
+
|
| 321 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 322 |
+
self._validate = kwargs.pop("_validate", True)
|
| 323 |
+
|
| 324 |
+
self._set_property("color", arg, color)
|
| 325 |
+
self._set_property("family", arg, family)
|
| 326 |
+
self._set_property("lineposition", arg, lineposition)
|
| 327 |
+
self._set_property("shadow", arg, shadow)
|
| 328 |
+
self._set_property("size", arg, size)
|
| 329 |
+
self._set_property("style", arg, style)
|
| 330 |
+
self._set_property("textcase", arg, textcase)
|
| 331 |
+
self._set_property("variant", arg, variant)
|
| 332 |
+
self._set_property("weight", arg, weight)
|
| 333 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 334 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._line import Line
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (503 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/__pycache__/_line.cpython-312.pyc
ADDED
|
Binary file (6.9 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/marker/_line.py
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Line(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "box.marker"
|
| 10 |
+
_path_str = "box.marker.line"
|
| 11 |
+
_valid_props = {"color", "outliercolor", "outlierwidth", "width"}
|
| 12 |
+
|
| 13 |
+
@property
|
| 14 |
+
def color(self):
|
| 15 |
+
"""
|
| 16 |
+
Sets the marker.line color. It accepts either a specific color
|
| 17 |
+
or an array of numbers that are mapped to the colorscale
|
| 18 |
+
relative to the max and min values of the array or relative to
|
| 19 |
+
`marker.line.cmin` and `marker.line.cmax` if set.
|
| 20 |
+
|
| 21 |
+
The 'color' property is a color and may be specified as:
|
| 22 |
+
- A hex string (e.g. '#ff0000')
|
| 23 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 24 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 25 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 26 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 27 |
+
|
| 28 |
+
Returns
|
| 29 |
+
-------
|
| 30 |
+
str
|
| 31 |
+
"""
|
| 32 |
+
return self["color"]
|
| 33 |
+
|
| 34 |
+
@color.setter
|
| 35 |
+
def color(self, val):
|
| 36 |
+
self["color"] = val
|
| 37 |
+
|
| 38 |
+
@property
|
| 39 |
+
def outliercolor(self):
|
| 40 |
+
"""
|
| 41 |
+
Sets the border line color of the outlier sample points.
|
| 42 |
+
Defaults to marker.color
|
| 43 |
+
|
| 44 |
+
The 'outliercolor' property is a color and may be specified as:
|
| 45 |
+
- A hex string (e.g. '#ff0000')
|
| 46 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 47 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 48 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 49 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 50 |
+
|
| 51 |
+
Returns
|
| 52 |
+
-------
|
| 53 |
+
str
|
| 54 |
+
"""
|
| 55 |
+
return self["outliercolor"]
|
| 56 |
+
|
| 57 |
+
@outliercolor.setter
|
| 58 |
+
def outliercolor(self, val):
|
| 59 |
+
self["outliercolor"] = val
|
| 60 |
+
|
| 61 |
+
@property
|
| 62 |
+
def outlierwidth(self):
|
| 63 |
+
"""
|
| 64 |
+
Sets the border line width (in px) of the outlier sample
|
| 65 |
+
points.
|
| 66 |
+
|
| 67 |
+
The 'outlierwidth' property is a number and may be specified as:
|
| 68 |
+
- An int or float in the interval [0, inf]
|
| 69 |
+
|
| 70 |
+
Returns
|
| 71 |
+
-------
|
| 72 |
+
int|float
|
| 73 |
+
"""
|
| 74 |
+
return self["outlierwidth"]
|
| 75 |
+
|
| 76 |
+
@outlierwidth.setter
|
| 77 |
+
def outlierwidth(self, val):
|
| 78 |
+
self["outlierwidth"] = val
|
| 79 |
+
|
| 80 |
+
@property
|
| 81 |
+
def width(self):
|
| 82 |
+
"""
|
| 83 |
+
Sets the width (in px) of the lines bounding the marker points.
|
| 84 |
+
|
| 85 |
+
The 'width' property is a number and may be specified as:
|
| 86 |
+
- An int or float in the interval [0, inf]
|
| 87 |
+
|
| 88 |
+
Returns
|
| 89 |
+
-------
|
| 90 |
+
int|float
|
| 91 |
+
"""
|
| 92 |
+
return self["width"]
|
| 93 |
+
|
| 94 |
+
@width.setter
|
| 95 |
+
def width(self, val):
|
| 96 |
+
self["width"] = val
|
| 97 |
+
|
| 98 |
+
@property
|
| 99 |
+
def _prop_descriptions(self):
|
| 100 |
+
return """\
|
| 101 |
+
color
|
| 102 |
+
Sets the marker.line color. It accepts either a
|
| 103 |
+
specific color or an array of numbers that are mapped
|
| 104 |
+
to the colorscale relative to the max and min values of
|
| 105 |
+
the array or relative to `marker.line.cmin` and
|
| 106 |
+
`marker.line.cmax` if set.
|
| 107 |
+
outliercolor
|
| 108 |
+
Sets the border line color of the outlier sample
|
| 109 |
+
points. Defaults to marker.color
|
| 110 |
+
outlierwidth
|
| 111 |
+
Sets the border line width (in px) of the outlier
|
| 112 |
+
sample points.
|
| 113 |
+
width
|
| 114 |
+
Sets the width (in px) of the lines bounding the marker
|
| 115 |
+
points.
|
| 116 |
+
"""
|
| 117 |
+
|
| 118 |
+
def __init__(
|
| 119 |
+
self,
|
| 120 |
+
arg=None,
|
| 121 |
+
color=None,
|
| 122 |
+
outliercolor=None,
|
| 123 |
+
outlierwidth=None,
|
| 124 |
+
width=None,
|
| 125 |
+
**kwargs,
|
| 126 |
+
):
|
| 127 |
+
"""
|
| 128 |
+
Construct a new Line object
|
| 129 |
+
|
| 130 |
+
Parameters
|
| 131 |
+
----------
|
| 132 |
+
arg
|
| 133 |
+
dict of properties compatible with this constructor or
|
| 134 |
+
an instance of
|
| 135 |
+
:class:`plotly.graph_objs.box.marker.Line`
|
| 136 |
+
color
|
| 137 |
+
Sets the marker.line color. It accepts either a
|
| 138 |
+
specific color or an array of numbers that are mapped
|
| 139 |
+
to the colorscale relative to the max and min values of
|
| 140 |
+
the array or relative to `marker.line.cmin` and
|
| 141 |
+
`marker.line.cmax` if set.
|
| 142 |
+
outliercolor
|
| 143 |
+
Sets the border line color of the outlier sample
|
| 144 |
+
points. Defaults to marker.color
|
| 145 |
+
outlierwidth
|
| 146 |
+
Sets the border line width (in px) of the outlier
|
| 147 |
+
sample points.
|
| 148 |
+
width
|
| 149 |
+
Sets the width (in px) of the lines bounding the marker
|
| 150 |
+
points.
|
| 151 |
+
|
| 152 |
+
Returns
|
| 153 |
+
-------
|
| 154 |
+
Line
|
| 155 |
+
"""
|
| 156 |
+
super().__init__("line")
|
| 157 |
+
if "_parent" in kwargs:
|
| 158 |
+
self._parent = kwargs["_parent"]
|
| 159 |
+
return
|
| 160 |
+
|
| 161 |
+
if arg is None:
|
| 162 |
+
arg = {}
|
| 163 |
+
elif isinstance(arg, self.__class__):
|
| 164 |
+
arg = arg.to_plotly_json()
|
| 165 |
+
elif isinstance(arg, dict):
|
| 166 |
+
arg = _copy.copy(arg)
|
| 167 |
+
else:
|
| 168 |
+
raise ValueError("""\
|
| 169 |
+
The first argument to the plotly.graph_objs.box.marker.Line
|
| 170 |
+
constructor must be a dict or
|
| 171 |
+
an instance of :class:`plotly.graph_objs.box.marker.Line`""")
|
| 172 |
+
|
| 173 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 174 |
+
self._validate = kwargs.pop("_validate", True)
|
| 175 |
+
|
| 176 |
+
self._set_property("color", arg, color)
|
| 177 |
+
self._set_property("outliercolor", arg, outliercolor)
|
| 178 |
+
self._set_property("outlierwidth", arg, outlierwidth)
|
| 179 |
+
self._set_property("width", arg, width)
|
| 180 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 181 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._marker import Marker
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._marker.Marker"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (515 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/__pycache__/_marker.cpython-312.pyc
ADDED
|
Binary file (4.82 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/selected/_marker.py
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Marker(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "box.selected"
|
| 10 |
+
_path_str = "box.selected.marker"
|
| 11 |
+
_valid_props = {"color", "opacity", "size"}
|
| 12 |
+
|
| 13 |
+
@property
|
| 14 |
+
def color(self):
|
| 15 |
+
"""
|
| 16 |
+
Sets the marker color of selected points.
|
| 17 |
+
|
| 18 |
+
The 'color' property is a color and may be specified as:
|
| 19 |
+
- A hex string (e.g. '#ff0000')
|
| 20 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 21 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 22 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 23 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 24 |
+
|
| 25 |
+
Returns
|
| 26 |
+
-------
|
| 27 |
+
str
|
| 28 |
+
"""
|
| 29 |
+
return self["color"]
|
| 30 |
+
|
| 31 |
+
@color.setter
|
| 32 |
+
def color(self, val):
|
| 33 |
+
self["color"] = val
|
| 34 |
+
|
| 35 |
+
@property
|
| 36 |
+
def opacity(self):
|
| 37 |
+
"""
|
| 38 |
+
Sets the marker opacity of selected points.
|
| 39 |
+
|
| 40 |
+
The 'opacity' property is a number and may be specified as:
|
| 41 |
+
- An int or float in the interval [0, 1]
|
| 42 |
+
|
| 43 |
+
Returns
|
| 44 |
+
-------
|
| 45 |
+
int|float
|
| 46 |
+
"""
|
| 47 |
+
return self["opacity"]
|
| 48 |
+
|
| 49 |
+
@opacity.setter
|
| 50 |
+
def opacity(self, val):
|
| 51 |
+
self["opacity"] = val
|
| 52 |
+
|
| 53 |
+
@property
|
| 54 |
+
def size(self):
|
| 55 |
+
"""
|
| 56 |
+
Sets the marker size of selected points.
|
| 57 |
+
|
| 58 |
+
The 'size' property is a number and may be specified as:
|
| 59 |
+
- An int or float in the interval [0, inf]
|
| 60 |
+
|
| 61 |
+
Returns
|
| 62 |
+
-------
|
| 63 |
+
int|float
|
| 64 |
+
"""
|
| 65 |
+
return self["size"]
|
| 66 |
+
|
| 67 |
+
@size.setter
|
| 68 |
+
def size(self, val):
|
| 69 |
+
self["size"] = val
|
| 70 |
+
|
| 71 |
+
@property
|
| 72 |
+
def _prop_descriptions(self):
|
| 73 |
+
return """\
|
| 74 |
+
color
|
| 75 |
+
Sets the marker color of selected points.
|
| 76 |
+
opacity
|
| 77 |
+
Sets the marker opacity of selected points.
|
| 78 |
+
size
|
| 79 |
+
Sets the marker size of selected points.
|
| 80 |
+
"""
|
| 81 |
+
|
| 82 |
+
def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs):
|
| 83 |
+
"""
|
| 84 |
+
Construct a new Marker object
|
| 85 |
+
|
| 86 |
+
Parameters
|
| 87 |
+
----------
|
| 88 |
+
arg
|
| 89 |
+
dict of properties compatible with this constructor or
|
| 90 |
+
an instance of
|
| 91 |
+
:class:`plotly.graph_objs.box.selected.Marker`
|
| 92 |
+
color
|
| 93 |
+
Sets the marker color of selected points.
|
| 94 |
+
opacity
|
| 95 |
+
Sets the marker opacity of selected points.
|
| 96 |
+
size
|
| 97 |
+
Sets the marker size of selected points.
|
| 98 |
+
|
| 99 |
+
Returns
|
| 100 |
+
-------
|
| 101 |
+
Marker
|
| 102 |
+
"""
|
| 103 |
+
super().__init__("marker")
|
| 104 |
+
if "_parent" in kwargs:
|
| 105 |
+
self._parent = kwargs["_parent"]
|
| 106 |
+
return
|
| 107 |
+
|
| 108 |
+
if arg is None:
|
| 109 |
+
arg = {}
|
| 110 |
+
elif isinstance(arg, self.__class__):
|
| 111 |
+
arg = arg.to_plotly_json()
|
| 112 |
+
elif isinstance(arg, dict):
|
| 113 |
+
arg = _copy.copy(arg)
|
| 114 |
+
else:
|
| 115 |
+
raise ValueError("""\
|
| 116 |
+
The first argument to the plotly.graph_objs.box.selected.Marker
|
| 117 |
+
constructor must be a dict or
|
| 118 |
+
an instance of :class:`plotly.graph_objs.box.selected.Marker`""")
|
| 119 |
+
|
| 120 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 121 |
+
self._validate = kwargs.pop("_validate", True)
|
| 122 |
+
|
| 123 |
+
self._set_property("color", arg, color)
|
| 124 |
+
self._set_property("opacity", arg, opacity)
|
| 125 |
+
self._set_property("size", arg, size)
|
| 126 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 127 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._marker import Marker
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._marker.Marker"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (517 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/__pycache__/_marker.cpython-312.pyc
ADDED
|
Binary file (5.3 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/box/unselected/_marker.py
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Marker(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "box.unselected"
|
| 10 |
+
_path_str = "box.unselected.marker"
|
| 11 |
+
_valid_props = {"color", "opacity", "size"}
|
| 12 |
+
|
| 13 |
+
@property
|
| 14 |
+
def color(self):
|
| 15 |
+
"""
|
| 16 |
+
Sets the marker color of unselected points, applied only when a
|
| 17 |
+
selection exists.
|
| 18 |
+
|
| 19 |
+
The 'color' property is a color and may be specified as:
|
| 20 |
+
- A hex string (e.g. '#ff0000')
|
| 21 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 22 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 23 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 24 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 25 |
+
|
| 26 |
+
Returns
|
| 27 |
+
-------
|
| 28 |
+
str
|
| 29 |
+
"""
|
| 30 |
+
return self["color"]
|
| 31 |
+
|
| 32 |
+
@color.setter
|
| 33 |
+
def color(self, val):
|
| 34 |
+
self["color"] = val
|
| 35 |
+
|
| 36 |
+
@property
|
| 37 |
+
def opacity(self):
|
| 38 |
+
"""
|
| 39 |
+
Sets the marker opacity of unselected points, applied only when
|
| 40 |
+
a selection exists.
|
| 41 |
+
|
| 42 |
+
The 'opacity' property is a number and may be specified as:
|
| 43 |
+
- An int or float in the interval [0, 1]
|
| 44 |
+
|
| 45 |
+
Returns
|
| 46 |
+
-------
|
| 47 |
+
int|float
|
| 48 |
+
"""
|
| 49 |
+
return self["opacity"]
|
| 50 |
+
|
| 51 |
+
@opacity.setter
|
| 52 |
+
def opacity(self, val):
|
| 53 |
+
self["opacity"] = val
|
| 54 |
+
|
| 55 |
+
@property
|
| 56 |
+
def size(self):
|
| 57 |
+
"""
|
| 58 |
+
Sets the marker size of unselected points, applied only when a
|
| 59 |
+
selection exists.
|
| 60 |
+
|
| 61 |
+
The 'size' property is a number and may be specified as:
|
| 62 |
+
- An int or float in the interval [0, inf]
|
| 63 |
+
|
| 64 |
+
Returns
|
| 65 |
+
-------
|
| 66 |
+
int|float
|
| 67 |
+
"""
|
| 68 |
+
return self["size"]
|
| 69 |
+
|
| 70 |
+
@size.setter
|
| 71 |
+
def size(self, val):
|
| 72 |
+
self["size"] = val
|
| 73 |
+
|
| 74 |
+
@property
|
| 75 |
+
def _prop_descriptions(self):
|
| 76 |
+
return """\
|
| 77 |
+
color
|
| 78 |
+
Sets the marker color of unselected points, applied
|
| 79 |
+
only when a selection exists.
|
| 80 |
+
opacity
|
| 81 |
+
Sets the marker opacity of unselected points, applied
|
| 82 |
+
only when a selection exists.
|
| 83 |
+
size
|
| 84 |
+
Sets the marker size of unselected points, applied only
|
| 85 |
+
when a selection exists.
|
| 86 |
+
"""
|
| 87 |
+
|
| 88 |
+
def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs):
|
| 89 |
+
"""
|
| 90 |
+
Construct a new Marker object
|
| 91 |
+
|
| 92 |
+
Parameters
|
| 93 |
+
----------
|
| 94 |
+
arg
|
| 95 |
+
dict of properties compatible with this constructor or
|
| 96 |
+
an instance of
|
| 97 |
+
:class:`plotly.graph_objs.box.unselected.Marker`
|
| 98 |
+
color
|
| 99 |
+
Sets the marker color of unselected points, applied
|
| 100 |
+
only when a selection exists.
|
| 101 |
+
opacity
|
| 102 |
+
Sets the marker opacity of unselected points, applied
|
| 103 |
+
only when a selection exists.
|
| 104 |
+
size
|
| 105 |
+
Sets the marker size of unselected points, applied only
|
| 106 |
+
when a selection exists.
|
| 107 |
+
|
| 108 |
+
Returns
|
| 109 |
+
-------
|
| 110 |
+
Marker
|
| 111 |
+
"""
|
| 112 |
+
super().__init__("marker")
|
| 113 |
+
if "_parent" in kwargs:
|
| 114 |
+
self._parent = kwargs["_parent"]
|
| 115 |
+
return
|
| 116 |
+
|
| 117 |
+
if arg is None:
|
| 118 |
+
arg = {}
|
| 119 |
+
elif isinstance(arg, self.__class__):
|
| 120 |
+
arg = arg.to_plotly_json()
|
| 121 |
+
elif isinstance(arg, dict):
|
| 122 |
+
arg = _copy.copy(arg)
|
| 123 |
+
else:
|
| 124 |
+
raise ValueError("""\
|
| 125 |
+
The first argument to the plotly.graph_objs.box.unselected.Marker
|
| 126 |
+
constructor must be a dict or
|
| 127 |
+
an instance of :class:`plotly.graph_objs.box.unselected.Marker`""")
|
| 128 |
+
|
| 129 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 130 |
+
self._validate = kwargs.pop("_validate", True)
|
| 131 |
+
|
| 132 |
+
self._set_property("color", arg, color)
|
| 133 |
+
self._set_property("opacity", arg, opacity)
|
| 134 |
+
self._set_property("size", arg, size)
|
| 135 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 136 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (1.24 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_colorbar.cpython-312.pyc
ADDED
|
Binary file (69.4 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_hoverlabel.cpython-312.pyc
ADDED
|
Binary file (13.6 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_legendgrouptitle.cpython-312.pyc
ADDED
|
Binary file (4.13 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_marker.cpython-312.pyc
ADDED
|
Binary file (5.03 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_selected.cpython-312.pyc
ADDED
|
Binary file (3.36 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_stream.cpython-312.pyc
ADDED
|
Binary file (4.61 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/__pycache__/_unselected.cpython-312.pyc
ADDED
|
Binary file (3.4 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._tickfont import Tickfont
|
| 6 |
+
from ._tickformatstop import Tickformatstop
|
| 7 |
+
from ._title import Title
|
| 8 |
+
from . import title
|
| 9 |
+
else:
|
| 10 |
+
from _plotly_utils.importers import relative_import
|
| 11 |
+
|
| 12 |
+
__all__, __getattr__, __dir__ = relative_import(
|
| 13 |
+
__name__,
|
| 14 |
+
[".title"],
|
| 15 |
+
["._tickfont.Tickfont", "._tickformatstop.Tickformatstop", "._title.Title"],
|
| 16 |
+
)
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (721 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/_tickfont.cpython-312.pyc
ADDED
|
Binary file (12.1 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/_tickformatstop.cpython-312.pyc
ADDED
|
Binary file (10.2 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/__pycache__/_title.cpython-312.pyc
ADDED
|
Binary file (5.26 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Tickfont(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "choroplethmap.colorbar"
|
| 10 |
+
_path_str = "choroplethmap.colorbar.tickfont"
|
| 11 |
+
_valid_props = {
|
| 12 |
+
"color",
|
| 13 |
+
"family",
|
| 14 |
+
"lineposition",
|
| 15 |
+
"shadow",
|
| 16 |
+
"size",
|
| 17 |
+
"style",
|
| 18 |
+
"textcase",
|
| 19 |
+
"variant",
|
| 20 |
+
"weight",
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
@property
|
| 24 |
+
def color(self):
|
| 25 |
+
"""
|
| 26 |
+
The 'color' property is a color and may be specified as:
|
| 27 |
+
- A hex string (e.g. '#ff0000')
|
| 28 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 29 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 30 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 31 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 32 |
+
|
| 33 |
+
Returns
|
| 34 |
+
-------
|
| 35 |
+
str
|
| 36 |
+
"""
|
| 37 |
+
return self["color"]
|
| 38 |
+
|
| 39 |
+
@color.setter
|
| 40 |
+
def color(self, val):
|
| 41 |
+
self["color"] = val
|
| 42 |
+
|
| 43 |
+
@property
|
| 44 |
+
def family(self):
|
| 45 |
+
"""
|
| 46 |
+
HTML font family - the typeface that will be applied by the web
|
| 47 |
+
browser. The web browser can only apply a font if it is
|
| 48 |
+
available on the system where it runs. Provide multiple font
|
| 49 |
+
families, separated by commas, to indicate the order in which
|
| 50 |
+
to apply fonts if they aren't available.
|
| 51 |
+
|
| 52 |
+
The 'family' property is a string and must be specified as:
|
| 53 |
+
- A non-empty string
|
| 54 |
+
|
| 55 |
+
Returns
|
| 56 |
+
-------
|
| 57 |
+
str
|
| 58 |
+
"""
|
| 59 |
+
return self["family"]
|
| 60 |
+
|
| 61 |
+
@family.setter
|
| 62 |
+
def family(self, val):
|
| 63 |
+
self["family"] = val
|
| 64 |
+
|
| 65 |
+
@property
|
| 66 |
+
def lineposition(self):
|
| 67 |
+
"""
|
| 68 |
+
Sets the kind of decoration line(s) with text, such as an
|
| 69 |
+
"under", "over" or "through" as well as combinations e.g.
|
| 70 |
+
"under+over", etc.
|
| 71 |
+
|
| 72 |
+
The 'lineposition' property is a flaglist and may be specified
|
| 73 |
+
as a string containing:
|
| 74 |
+
- Any combination of ['under', 'over', 'through'] joined with '+' characters
|
| 75 |
+
(e.g. 'under+over')
|
| 76 |
+
OR exactly one of ['none'] (e.g. 'none')
|
| 77 |
+
|
| 78 |
+
Returns
|
| 79 |
+
-------
|
| 80 |
+
Any
|
| 81 |
+
"""
|
| 82 |
+
return self["lineposition"]
|
| 83 |
+
|
| 84 |
+
@lineposition.setter
|
| 85 |
+
def lineposition(self, val):
|
| 86 |
+
self["lineposition"] = val
|
| 87 |
+
|
| 88 |
+
@property
|
| 89 |
+
def shadow(self):
|
| 90 |
+
"""
|
| 91 |
+
Sets the shape and color of the shadow behind text. "auto"
|
| 92 |
+
places minimal shadow and applies contrast text font color. See
|
| 93 |
+
https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
|
| 94 |
+
for additional options.
|
| 95 |
+
|
| 96 |
+
The 'shadow' property is a string and must be specified as:
|
| 97 |
+
- A string
|
| 98 |
+
- A number that will be converted to a string
|
| 99 |
+
|
| 100 |
+
Returns
|
| 101 |
+
-------
|
| 102 |
+
str
|
| 103 |
+
"""
|
| 104 |
+
return self["shadow"]
|
| 105 |
+
|
| 106 |
+
@shadow.setter
|
| 107 |
+
def shadow(self, val):
|
| 108 |
+
self["shadow"] = val
|
| 109 |
+
|
| 110 |
+
@property
|
| 111 |
+
def size(self):
|
| 112 |
+
"""
|
| 113 |
+
The 'size' property is a number and may be specified as:
|
| 114 |
+
- An int or float in the interval [1, inf]
|
| 115 |
+
|
| 116 |
+
Returns
|
| 117 |
+
-------
|
| 118 |
+
int|float
|
| 119 |
+
"""
|
| 120 |
+
return self["size"]
|
| 121 |
+
|
| 122 |
+
@size.setter
|
| 123 |
+
def size(self, val):
|
| 124 |
+
self["size"] = val
|
| 125 |
+
|
| 126 |
+
@property
|
| 127 |
+
def style(self):
|
| 128 |
+
"""
|
| 129 |
+
Sets whether a font should be styled with a normal or italic
|
| 130 |
+
face from its family.
|
| 131 |
+
|
| 132 |
+
The 'style' property is an enumeration that may be specified as:
|
| 133 |
+
- One of the following enumeration values:
|
| 134 |
+
['normal', 'italic']
|
| 135 |
+
|
| 136 |
+
Returns
|
| 137 |
+
-------
|
| 138 |
+
Any
|
| 139 |
+
"""
|
| 140 |
+
return self["style"]
|
| 141 |
+
|
| 142 |
+
@style.setter
|
| 143 |
+
def style(self, val):
|
| 144 |
+
self["style"] = val
|
| 145 |
+
|
| 146 |
+
@property
|
| 147 |
+
def textcase(self):
|
| 148 |
+
"""
|
| 149 |
+
Sets capitalization of text. It can be used to make text appear
|
| 150 |
+
in all-uppercase or all-lowercase, or with each word
|
| 151 |
+
capitalized.
|
| 152 |
+
|
| 153 |
+
The 'textcase' property is an enumeration that may be specified as:
|
| 154 |
+
- One of the following enumeration values:
|
| 155 |
+
['normal', 'word caps', 'upper', 'lower']
|
| 156 |
+
|
| 157 |
+
Returns
|
| 158 |
+
-------
|
| 159 |
+
Any
|
| 160 |
+
"""
|
| 161 |
+
return self["textcase"]
|
| 162 |
+
|
| 163 |
+
@textcase.setter
|
| 164 |
+
def textcase(self, val):
|
| 165 |
+
self["textcase"] = val
|
| 166 |
+
|
| 167 |
+
@property
|
| 168 |
+
def variant(self):
|
| 169 |
+
"""
|
| 170 |
+
Sets the variant of the font.
|
| 171 |
+
|
| 172 |
+
The 'variant' property is an enumeration that may be specified as:
|
| 173 |
+
- One of the following enumeration values:
|
| 174 |
+
['normal', 'small-caps', 'all-small-caps',
|
| 175 |
+
'all-petite-caps', 'petite-caps', 'unicase']
|
| 176 |
+
|
| 177 |
+
Returns
|
| 178 |
+
-------
|
| 179 |
+
Any
|
| 180 |
+
"""
|
| 181 |
+
return self["variant"]
|
| 182 |
+
|
| 183 |
+
@variant.setter
|
| 184 |
+
def variant(self, val):
|
| 185 |
+
self["variant"] = val
|
| 186 |
+
|
| 187 |
+
@property
|
| 188 |
+
def weight(self):
|
| 189 |
+
"""
|
| 190 |
+
Sets the weight (or boldness) of the font.
|
| 191 |
+
|
| 192 |
+
The 'weight' property is a integer and may be specified as:
|
| 193 |
+
- An int (or float that will be cast to an int)
|
| 194 |
+
in the interval [1, 1000]
|
| 195 |
+
OR exactly one of ['normal', 'bold'] (e.g. 'bold')
|
| 196 |
+
|
| 197 |
+
Returns
|
| 198 |
+
-------
|
| 199 |
+
int
|
| 200 |
+
"""
|
| 201 |
+
return self["weight"]
|
| 202 |
+
|
| 203 |
+
@weight.setter
|
| 204 |
+
def weight(self, val):
|
| 205 |
+
self["weight"] = val
|
| 206 |
+
|
| 207 |
+
@property
|
| 208 |
+
def _prop_descriptions(self):
|
| 209 |
+
return """\
|
| 210 |
+
color
|
| 211 |
+
|
| 212 |
+
family
|
| 213 |
+
HTML font family - the typeface that will be applied by
|
| 214 |
+
the web browser. The web browser can only apply a font
|
| 215 |
+
if it is available on the system where it runs. Provide
|
| 216 |
+
multiple font families, separated by commas, to
|
| 217 |
+
indicate the order in which to apply fonts if they
|
| 218 |
+
aren't available.
|
| 219 |
+
lineposition
|
| 220 |
+
Sets the kind of decoration line(s) with text, such as
|
| 221 |
+
an "under", "over" or "through" as well as combinations
|
| 222 |
+
e.g. "under+over", etc.
|
| 223 |
+
shadow
|
| 224 |
+
Sets the shape and color of the shadow behind text.
|
| 225 |
+
"auto" places minimal shadow and applies contrast text
|
| 226 |
+
font color. See https://developer.mozilla.org/en-
|
| 227 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 228 |
+
size
|
| 229 |
+
|
| 230 |
+
style
|
| 231 |
+
Sets whether a font should be styled with a normal or
|
| 232 |
+
italic face from its family.
|
| 233 |
+
textcase
|
| 234 |
+
Sets capitalization of text. It can be used to make
|
| 235 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 236 |
+
each word capitalized.
|
| 237 |
+
variant
|
| 238 |
+
Sets the variant of the font.
|
| 239 |
+
weight
|
| 240 |
+
Sets the weight (or boldness) of the font.
|
| 241 |
+
"""
|
| 242 |
+
|
| 243 |
+
def __init__(
|
| 244 |
+
self,
|
| 245 |
+
arg=None,
|
| 246 |
+
color=None,
|
| 247 |
+
family=None,
|
| 248 |
+
lineposition=None,
|
| 249 |
+
shadow=None,
|
| 250 |
+
size=None,
|
| 251 |
+
style=None,
|
| 252 |
+
textcase=None,
|
| 253 |
+
variant=None,
|
| 254 |
+
weight=None,
|
| 255 |
+
**kwargs,
|
| 256 |
+
):
|
| 257 |
+
"""
|
| 258 |
+
Construct a new Tickfont object
|
| 259 |
+
|
| 260 |
+
Sets the color bar's tick label font
|
| 261 |
+
|
| 262 |
+
Parameters
|
| 263 |
+
----------
|
| 264 |
+
arg
|
| 265 |
+
dict of properties compatible with this constructor or
|
| 266 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.
|
| 267 |
+
colorbar.Tickfont`
|
| 268 |
+
color
|
| 269 |
+
|
| 270 |
+
family
|
| 271 |
+
HTML font family - the typeface that will be applied by
|
| 272 |
+
the web browser. The web browser can only apply a font
|
| 273 |
+
if it is available on the system where it runs. Provide
|
| 274 |
+
multiple font families, separated by commas, to
|
| 275 |
+
indicate the order in which to apply fonts if they
|
| 276 |
+
aren't available.
|
| 277 |
+
lineposition
|
| 278 |
+
Sets the kind of decoration line(s) with text, such as
|
| 279 |
+
an "under", "over" or "through" as well as combinations
|
| 280 |
+
e.g. "under+over", etc.
|
| 281 |
+
shadow
|
| 282 |
+
Sets the shape and color of the shadow behind text.
|
| 283 |
+
"auto" places minimal shadow and applies contrast text
|
| 284 |
+
font color. See https://developer.mozilla.org/en-
|
| 285 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 286 |
+
size
|
| 287 |
+
|
| 288 |
+
style
|
| 289 |
+
Sets whether a font should be styled with a normal or
|
| 290 |
+
italic face from its family.
|
| 291 |
+
textcase
|
| 292 |
+
Sets capitalization of text. It can be used to make
|
| 293 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 294 |
+
each word capitalized.
|
| 295 |
+
variant
|
| 296 |
+
Sets the variant of the font.
|
| 297 |
+
weight
|
| 298 |
+
Sets the weight (or boldness) of the font.
|
| 299 |
+
|
| 300 |
+
Returns
|
| 301 |
+
-------
|
| 302 |
+
Tickfont
|
| 303 |
+
"""
|
| 304 |
+
super().__init__("tickfont")
|
| 305 |
+
if "_parent" in kwargs:
|
| 306 |
+
self._parent = kwargs["_parent"]
|
| 307 |
+
return
|
| 308 |
+
|
| 309 |
+
if arg is None:
|
| 310 |
+
arg = {}
|
| 311 |
+
elif isinstance(arg, self.__class__):
|
| 312 |
+
arg = arg.to_plotly_json()
|
| 313 |
+
elif isinstance(arg, dict):
|
| 314 |
+
arg = _copy.copy(arg)
|
| 315 |
+
else:
|
| 316 |
+
raise ValueError("""\
|
| 317 |
+
The first argument to the plotly.graph_objs.choroplethmap.colorbar.Tickfont
|
| 318 |
+
constructor must be a dict or
|
| 319 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Tickfont`""")
|
| 320 |
+
|
| 321 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 322 |
+
self._validate = kwargs.pop("_validate", True)
|
| 323 |
+
|
| 324 |
+
self._set_property("color", arg, color)
|
| 325 |
+
self._set_property("family", arg, family)
|
| 326 |
+
self._set_property("lineposition", arg, lineposition)
|
| 327 |
+
self._set_property("shadow", arg, shadow)
|
| 328 |
+
self._set_property("size", arg, size)
|
| 329 |
+
self._set_property("style", arg, style)
|
| 330 |
+
self._set_property("textcase", arg, textcase)
|
| 331 |
+
self._set_property("variant", arg, variant)
|
| 332 |
+
self._set_property("weight", arg, weight)
|
| 333 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 334 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/_tickformatstop.py
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Tickformatstop(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "choroplethmap.colorbar"
|
| 10 |
+
_path_str = "choroplethmap.colorbar.tickformatstop"
|
| 11 |
+
_valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"}
|
| 12 |
+
|
| 13 |
+
@property
|
| 14 |
+
def dtickrange(self):
|
| 15 |
+
"""
|
| 16 |
+
range [*min*, *max*], where "min", "max" - dtick values which
|
| 17 |
+
describe some zoom level, it is possible to omit "min" or "max"
|
| 18 |
+
value by passing "null"
|
| 19 |
+
|
| 20 |
+
The 'dtickrange' property is an info array that may be specified as:
|
| 21 |
+
|
| 22 |
+
* a list or tuple of 2 elements where:
|
| 23 |
+
(0) The 'dtickrange[0]' property accepts values of any type
|
| 24 |
+
(1) The 'dtickrange[1]' property accepts values of any type
|
| 25 |
+
|
| 26 |
+
Returns
|
| 27 |
+
-------
|
| 28 |
+
list
|
| 29 |
+
"""
|
| 30 |
+
return self["dtickrange"]
|
| 31 |
+
|
| 32 |
+
@dtickrange.setter
|
| 33 |
+
def dtickrange(self, val):
|
| 34 |
+
self["dtickrange"] = val
|
| 35 |
+
|
| 36 |
+
@property
|
| 37 |
+
def enabled(self):
|
| 38 |
+
"""
|
| 39 |
+
Determines whether or not this stop is used. If `false`, this
|
| 40 |
+
stop is ignored even within its `dtickrange`.
|
| 41 |
+
|
| 42 |
+
The 'enabled' property is a boolean and must be specified as:
|
| 43 |
+
- A boolean value: True or False
|
| 44 |
+
|
| 45 |
+
Returns
|
| 46 |
+
-------
|
| 47 |
+
bool
|
| 48 |
+
"""
|
| 49 |
+
return self["enabled"]
|
| 50 |
+
|
| 51 |
+
@enabled.setter
|
| 52 |
+
def enabled(self, val):
|
| 53 |
+
self["enabled"] = val
|
| 54 |
+
|
| 55 |
+
@property
|
| 56 |
+
def name(self):
|
| 57 |
+
"""
|
| 58 |
+
When used in a template, named items are created in the output
|
| 59 |
+
figure in addition to any items the figure already has in this
|
| 60 |
+
array. You can modify these items in the output figure by
|
| 61 |
+
making your own item with `templateitemname` matching this
|
| 62 |
+
`name` alongside your modifications (including `visible: false`
|
| 63 |
+
or `enabled: false` to hide it). Has no effect outside of a
|
| 64 |
+
template.
|
| 65 |
+
|
| 66 |
+
The 'name' property is a string and must be specified as:
|
| 67 |
+
- A string
|
| 68 |
+
- A number that will be converted to a string
|
| 69 |
+
|
| 70 |
+
Returns
|
| 71 |
+
-------
|
| 72 |
+
str
|
| 73 |
+
"""
|
| 74 |
+
return self["name"]
|
| 75 |
+
|
| 76 |
+
@name.setter
|
| 77 |
+
def name(self, val):
|
| 78 |
+
self["name"] = val
|
| 79 |
+
|
| 80 |
+
@property
|
| 81 |
+
def templateitemname(self):
|
| 82 |
+
"""
|
| 83 |
+
Used to refer to a named item in this array in the template.
|
| 84 |
+
Named items from the template will be created even without a
|
| 85 |
+
matching item in the input figure, but you can modify one by
|
| 86 |
+
making an item with `templateitemname` matching its `name`,
|
| 87 |
+
alongside your modifications (including `visible: false` or
|
| 88 |
+
`enabled: false` to hide it). If there is no template or no
|
| 89 |
+
matching item, this item will be hidden unless you explicitly
|
| 90 |
+
show it with `visible: true`.
|
| 91 |
+
|
| 92 |
+
The 'templateitemname' property is a string and must be specified as:
|
| 93 |
+
- A string
|
| 94 |
+
- A number that will be converted to a string
|
| 95 |
+
|
| 96 |
+
Returns
|
| 97 |
+
-------
|
| 98 |
+
str
|
| 99 |
+
"""
|
| 100 |
+
return self["templateitemname"]
|
| 101 |
+
|
| 102 |
+
@templateitemname.setter
|
| 103 |
+
def templateitemname(self, val):
|
| 104 |
+
self["templateitemname"] = val
|
| 105 |
+
|
| 106 |
+
@property
|
| 107 |
+
def value(self):
|
| 108 |
+
"""
|
| 109 |
+
string - dtickformat for described zoom level, the same as
|
| 110 |
+
"tickformat"
|
| 111 |
+
|
| 112 |
+
The 'value' property is a string and must be specified as:
|
| 113 |
+
- A string
|
| 114 |
+
- A number that will be converted to a string
|
| 115 |
+
|
| 116 |
+
Returns
|
| 117 |
+
-------
|
| 118 |
+
str
|
| 119 |
+
"""
|
| 120 |
+
return self["value"]
|
| 121 |
+
|
| 122 |
+
@value.setter
|
| 123 |
+
def value(self, val):
|
| 124 |
+
self["value"] = val
|
| 125 |
+
|
| 126 |
+
@property
|
| 127 |
+
def _prop_descriptions(self):
|
| 128 |
+
return """\
|
| 129 |
+
dtickrange
|
| 130 |
+
range [*min*, *max*], where "min", "max" - dtick values
|
| 131 |
+
which describe some zoom level, it is possible to omit
|
| 132 |
+
"min" or "max" value by passing "null"
|
| 133 |
+
enabled
|
| 134 |
+
Determines whether or not this stop is used. If
|
| 135 |
+
`false`, this stop is ignored even within its
|
| 136 |
+
`dtickrange`.
|
| 137 |
+
name
|
| 138 |
+
When used in a template, named items are created in the
|
| 139 |
+
output figure in addition to any items the figure
|
| 140 |
+
already has in this array. You can modify these items
|
| 141 |
+
in the output figure by making your own item with
|
| 142 |
+
`templateitemname` matching this `name` alongside your
|
| 143 |
+
modifications (including `visible: false` or `enabled:
|
| 144 |
+
false` to hide it). Has no effect outside of a
|
| 145 |
+
template.
|
| 146 |
+
templateitemname
|
| 147 |
+
Used to refer to a named item in this array in the
|
| 148 |
+
template. Named items from the template will be created
|
| 149 |
+
even without a matching item in the input figure, but
|
| 150 |
+
you can modify one by making an item with
|
| 151 |
+
`templateitemname` matching its `name`, alongside your
|
| 152 |
+
modifications (including `visible: false` or `enabled:
|
| 153 |
+
false` to hide it). If there is no template or no
|
| 154 |
+
matching item, this item will be hidden unless you
|
| 155 |
+
explicitly show it with `visible: true`.
|
| 156 |
+
value
|
| 157 |
+
string - dtickformat for described zoom level, the same
|
| 158 |
+
as "tickformat"
|
| 159 |
+
"""
|
| 160 |
+
|
| 161 |
+
def __init__(
|
| 162 |
+
self,
|
| 163 |
+
arg=None,
|
| 164 |
+
dtickrange=None,
|
| 165 |
+
enabled=None,
|
| 166 |
+
name=None,
|
| 167 |
+
templateitemname=None,
|
| 168 |
+
value=None,
|
| 169 |
+
**kwargs,
|
| 170 |
+
):
|
| 171 |
+
"""
|
| 172 |
+
Construct a new Tickformatstop object
|
| 173 |
+
|
| 174 |
+
Parameters
|
| 175 |
+
----------
|
| 176 |
+
arg
|
| 177 |
+
dict of properties compatible with this constructor or
|
| 178 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.
|
| 179 |
+
colorbar.Tickformatstop`
|
| 180 |
+
dtickrange
|
| 181 |
+
range [*min*, *max*], where "min", "max" - dtick values
|
| 182 |
+
which describe some zoom level, it is possible to omit
|
| 183 |
+
"min" or "max" value by passing "null"
|
| 184 |
+
enabled
|
| 185 |
+
Determines whether or not this stop is used. If
|
| 186 |
+
`false`, this stop is ignored even within its
|
| 187 |
+
`dtickrange`.
|
| 188 |
+
name
|
| 189 |
+
When used in a template, named items are created in the
|
| 190 |
+
output figure in addition to any items the figure
|
| 191 |
+
already has in this array. You can modify these items
|
| 192 |
+
in the output figure by making your own item with
|
| 193 |
+
`templateitemname` matching this `name` alongside your
|
| 194 |
+
modifications (including `visible: false` or `enabled:
|
| 195 |
+
false` to hide it). Has no effect outside of a
|
| 196 |
+
template.
|
| 197 |
+
templateitemname
|
| 198 |
+
Used to refer to a named item in this array in the
|
| 199 |
+
template. Named items from the template will be created
|
| 200 |
+
even without a matching item in the input figure, but
|
| 201 |
+
you can modify one by making an item with
|
| 202 |
+
`templateitemname` matching its `name`, alongside your
|
| 203 |
+
modifications (including `visible: false` or `enabled:
|
| 204 |
+
false` to hide it). If there is no template or no
|
| 205 |
+
matching item, this item will be hidden unless you
|
| 206 |
+
explicitly show it with `visible: true`.
|
| 207 |
+
value
|
| 208 |
+
string - dtickformat for described zoom level, the same
|
| 209 |
+
as "tickformat"
|
| 210 |
+
|
| 211 |
+
Returns
|
| 212 |
+
-------
|
| 213 |
+
Tickformatstop
|
| 214 |
+
"""
|
| 215 |
+
super().__init__("tickformatstops")
|
| 216 |
+
if "_parent" in kwargs:
|
| 217 |
+
self._parent = kwargs["_parent"]
|
| 218 |
+
return
|
| 219 |
+
|
| 220 |
+
if arg is None:
|
| 221 |
+
arg = {}
|
| 222 |
+
elif isinstance(arg, self.__class__):
|
| 223 |
+
arg = arg.to_plotly_json()
|
| 224 |
+
elif isinstance(arg, dict):
|
| 225 |
+
arg = _copy.copy(arg)
|
| 226 |
+
else:
|
| 227 |
+
raise ValueError("""\
|
| 228 |
+
The first argument to the plotly.graph_objs.choroplethmap.colorbar.Tickformatstop
|
| 229 |
+
constructor must be a dict or
|
| 230 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Tickformatstop`""")
|
| 231 |
+
|
| 232 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 233 |
+
self._validate = kwargs.pop("_validate", True)
|
| 234 |
+
|
| 235 |
+
self._set_property("dtickrange", arg, dtickrange)
|
| 236 |
+
self._set_property("enabled", arg, enabled)
|
| 237 |
+
self._set_property("name", arg, name)
|
| 238 |
+
self._set_property("templateitemname", arg, templateitemname)
|
| 239 |
+
self._set_property("value", arg, value)
|
| 240 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 241 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/_title.py
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Title(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "choroplethmap.colorbar"
|
| 10 |
+
_path_str = "choroplethmap.colorbar.title"
|
| 11 |
+
_valid_props = {"font", "side", "text"}
|
| 12 |
+
|
| 13 |
+
@property
|
| 14 |
+
def font(self):
|
| 15 |
+
"""
|
| 16 |
+
Sets this color bar's title font.
|
| 17 |
+
|
| 18 |
+
The 'font' property is an instance of Font
|
| 19 |
+
that may be specified as:
|
| 20 |
+
- An instance of :class:`plotly.graph_objs.choroplethmap.colorbar.title.Font`
|
| 21 |
+
- A dict of string/value properties that will be passed
|
| 22 |
+
to the Font constructor
|
| 23 |
+
|
| 24 |
+
Returns
|
| 25 |
+
-------
|
| 26 |
+
plotly.graph_objs.choroplethmap.colorbar.title.Font
|
| 27 |
+
"""
|
| 28 |
+
return self["font"]
|
| 29 |
+
|
| 30 |
+
@font.setter
|
| 31 |
+
def font(self, val):
|
| 32 |
+
self["font"] = val
|
| 33 |
+
|
| 34 |
+
@property
|
| 35 |
+
def side(self):
|
| 36 |
+
"""
|
| 37 |
+
Determines the location of color bar's title with respect to
|
| 38 |
+
the color bar. Defaults to "top" when `orientation` if "v" and
|
| 39 |
+
defaults to "right" when `orientation` if "h".
|
| 40 |
+
|
| 41 |
+
The 'side' property is an enumeration that may be specified as:
|
| 42 |
+
- One of the following enumeration values:
|
| 43 |
+
['right', 'top', 'bottom']
|
| 44 |
+
|
| 45 |
+
Returns
|
| 46 |
+
-------
|
| 47 |
+
Any
|
| 48 |
+
"""
|
| 49 |
+
return self["side"]
|
| 50 |
+
|
| 51 |
+
@side.setter
|
| 52 |
+
def side(self, val):
|
| 53 |
+
self["side"] = val
|
| 54 |
+
|
| 55 |
+
@property
|
| 56 |
+
def text(self):
|
| 57 |
+
"""
|
| 58 |
+
Sets the title of the color bar.
|
| 59 |
+
|
| 60 |
+
The 'text' property is a string and must be specified as:
|
| 61 |
+
- A string
|
| 62 |
+
- A number that will be converted to a string
|
| 63 |
+
|
| 64 |
+
Returns
|
| 65 |
+
-------
|
| 66 |
+
str
|
| 67 |
+
"""
|
| 68 |
+
return self["text"]
|
| 69 |
+
|
| 70 |
+
@text.setter
|
| 71 |
+
def text(self, val):
|
| 72 |
+
self["text"] = val
|
| 73 |
+
|
| 74 |
+
@property
|
| 75 |
+
def _prop_descriptions(self):
|
| 76 |
+
return """\
|
| 77 |
+
font
|
| 78 |
+
Sets this color bar's title font.
|
| 79 |
+
side
|
| 80 |
+
Determines the location of color bar's title with
|
| 81 |
+
respect to the color bar. Defaults to "top" when
|
| 82 |
+
`orientation` if "v" and defaults to "right" when
|
| 83 |
+
`orientation` if "h".
|
| 84 |
+
text
|
| 85 |
+
Sets the title of the color bar.
|
| 86 |
+
"""
|
| 87 |
+
|
| 88 |
+
def __init__(self, arg=None, font=None, side=None, text=None, **kwargs):
|
| 89 |
+
"""
|
| 90 |
+
Construct a new Title object
|
| 91 |
+
|
| 92 |
+
Parameters
|
| 93 |
+
----------
|
| 94 |
+
arg
|
| 95 |
+
dict of properties compatible with this constructor or
|
| 96 |
+
an instance of
|
| 97 |
+
:class:`plotly.graph_objs.choroplethmap.colorbar.Title`
|
| 98 |
+
font
|
| 99 |
+
Sets this color bar's title font.
|
| 100 |
+
side
|
| 101 |
+
Determines the location of color bar's title with
|
| 102 |
+
respect to the color bar. Defaults to "top" when
|
| 103 |
+
`orientation` if "v" and defaults to "right" when
|
| 104 |
+
`orientation` if "h".
|
| 105 |
+
text
|
| 106 |
+
Sets the title of the color bar.
|
| 107 |
+
|
| 108 |
+
Returns
|
| 109 |
+
-------
|
| 110 |
+
Title
|
| 111 |
+
"""
|
| 112 |
+
super().__init__("title")
|
| 113 |
+
if "_parent" in kwargs:
|
| 114 |
+
self._parent = kwargs["_parent"]
|
| 115 |
+
return
|
| 116 |
+
|
| 117 |
+
if arg is None:
|
| 118 |
+
arg = {}
|
| 119 |
+
elif isinstance(arg, self.__class__):
|
| 120 |
+
arg = arg.to_plotly_json()
|
| 121 |
+
elif isinstance(arg, dict):
|
| 122 |
+
arg = _copy.copy(arg)
|
| 123 |
+
else:
|
| 124 |
+
raise ValueError("""\
|
| 125 |
+
The first argument to the plotly.graph_objs.choroplethmap.colorbar.Title
|
| 126 |
+
constructor must be a dict or
|
| 127 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Title`""")
|
| 128 |
+
|
| 129 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 130 |
+
self._validate = kwargs.pop("_validate", True)
|
| 131 |
+
|
| 132 |
+
self._set_property("font", arg, font)
|
| 133 |
+
self._set_property("side", arg, side)
|
| 134 |
+
self._set_property("text", arg, text)
|
| 135 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 136 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._font import Font
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (521 Bytes). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/__pycache__/_font.cpython-312.pyc
ADDED
|
Binary file (12 kB). View file
|
|
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/colorbar/title/_font.py
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- THIS FILE IS AUTO-GENERATED ---
|
| 2 |
+
# Modifications will be overwitten the next time code generation run.
|
| 3 |
+
|
| 4 |
+
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
|
| 5 |
+
import copy as _copy
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
class Font(_BaseTraceHierarchyType):
|
| 9 |
+
_parent_path_str = "choroplethmap.colorbar.title"
|
| 10 |
+
_path_str = "choroplethmap.colorbar.title.font"
|
| 11 |
+
_valid_props = {
|
| 12 |
+
"color",
|
| 13 |
+
"family",
|
| 14 |
+
"lineposition",
|
| 15 |
+
"shadow",
|
| 16 |
+
"size",
|
| 17 |
+
"style",
|
| 18 |
+
"textcase",
|
| 19 |
+
"variant",
|
| 20 |
+
"weight",
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
@property
|
| 24 |
+
def color(self):
|
| 25 |
+
"""
|
| 26 |
+
The 'color' property is a color and may be specified as:
|
| 27 |
+
- A hex string (e.g. '#ff0000')
|
| 28 |
+
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
|
| 29 |
+
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
|
| 30 |
+
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
|
| 31 |
+
- A named CSS color: see https://plotly.com/python/css-colors/ for a list
|
| 32 |
+
|
| 33 |
+
Returns
|
| 34 |
+
-------
|
| 35 |
+
str
|
| 36 |
+
"""
|
| 37 |
+
return self["color"]
|
| 38 |
+
|
| 39 |
+
@color.setter
|
| 40 |
+
def color(self, val):
|
| 41 |
+
self["color"] = val
|
| 42 |
+
|
| 43 |
+
@property
|
| 44 |
+
def family(self):
|
| 45 |
+
"""
|
| 46 |
+
HTML font family - the typeface that will be applied by the web
|
| 47 |
+
browser. The web browser can only apply a font if it is
|
| 48 |
+
available on the system where it runs. Provide multiple font
|
| 49 |
+
families, separated by commas, to indicate the order in which
|
| 50 |
+
to apply fonts if they aren't available.
|
| 51 |
+
|
| 52 |
+
The 'family' property is a string and must be specified as:
|
| 53 |
+
- A non-empty string
|
| 54 |
+
|
| 55 |
+
Returns
|
| 56 |
+
-------
|
| 57 |
+
str
|
| 58 |
+
"""
|
| 59 |
+
return self["family"]
|
| 60 |
+
|
| 61 |
+
@family.setter
|
| 62 |
+
def family(self, val):
|
| 63 |
+
self["family"] = val
|
| 64 |
+
|
| 65 |
+
@property
|
| 66 |
+
def lineposition(self):
|
| 67 |
+
"""
|
| 68 |
+
Sets the kind of decoration line(s) with text, such as an
|
| 69 |
+
"under", "over" or "through" as well as combinations e.g.
|
| 70 |
+
"under+over", etc.
|
| 71 |
+
|
| 72 |
+
The 'lineposition' property is a flaglist and may be specified
|
| 73 |
+
as a string containing:
|
| 74 |
+
- Any combination of ['under', 'over', 'through'] joined with '+' characters
|
| 75 |
+
(e.g. 'under+over')
|
| 76 |
+
OR exactly one of ['none'] (e.g. 'none')
|
| 77 |
+
|
| 78 |
+
Returns
|
| 79 |
+
-------
|
| 80 |
+
Any
|
| 81 |
+
"""
|
| 82 |
+
return self["lineposition"]
|
| 83 |
+
|
| 84 |
+
@lineposition.setter
|
| 85 |
+
def lineposition(self, val):
|
| 86 |
+
self["lineposition"] = val
|
| 87 |
+
|
| 88 |
+
@property
|
| 89 |
+
def shadow(self):
|
| 90 |
+
"""
|
| 91 |
+
Sets the shape and color of the shadow behind text. "auto"
|
| 92 |
+
places minimal shadow and applies contrast text font color. See
|
| 93 |
+
https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow
|
| 94 |
+
for additional options.
|
| 95 |
+
|
| 96 |
+
The 'shadow' property is a string and must be specified as:
|
| 97 |
+
- A string
|
| 98 |
+
- A number that will be converted to a string
|
| 99 |
+
|
| 100 |
+
Returns
|
| 101 |
+
-------
|
| 102 |
+
str
|
| 103 |
+
"""
|
| 104 |
+
return self["shadow"]
|
| 105 |
+
|
| 106 |
+
@shadow.setter
|
| 107 |
+
def shadow(self, val):
|
| 108 |
+
self["shadow"] = val
|
| 109 |
+
|
| 110 |
+
@property
|
| 111 |
+
def size(self):
|
| 112 |
+
"""
|
| 113 |
+
The 'size' property is a number and may be specified as:
|
| 114 |
+
- An int or float in the interval [1, inf]
|
| 115 |
+
|
| 116 |
+
Returns
|
| 117 |
+
-------
|
| 118 |
+
int|float
|
| 119 |
+
"""
|
| 120 |
+
return self["size"]
|
| 121 |
+
|
| 122 |
+
@size.setter
|
| 123 |
+
def size(self, val):
|
| 124 |
+
self["size"] = val
|
| 125 |
+
|
| 126 |
+
@property
|
| 127 |
+
def style(self):
|
| 128 |
+
"""
|
| 129 |
+
Sets whether a font should be styled with a normal or italic
|
| 130 |
+
face from its family.
|
| 131 |
+
|
| 132 |
+
The 'style' property is an enumeration that may be specified as:
|
| 133 |
+
- One of the following enumeration values:
|
| 134 |
+
['normal', 'italic']
|
| 135 |
+
|
| 136 |
+
Returns
|
| 137 |
+
-------
|
| 138 |
+
Any
|
| 139 |
+
"""
|
| 140 |
+
return self["style"]
|
| 141 |
+
|
| 142 |
+
@style.setter
|
| 143 |
+
def style(self, val):
|
| 144 |
+
self["style"] = val
|
| 145 |
+
|
| 146 |
+
@property
|
| 147 |
+
def textcase(self):
|
| 148 |
+
"""
|
| 149 |
+
Sets capitalization of text. It can be used to make text appear
|
| 150 |
+
in all-uppercase or all-lowercase, or with each word
|
| 151 |
+
capitalized.
|
| 152 |
+
|
| 153 |
+
The 'textcase' property is an enumeration that may be specified as:
|
| 154 |
+
- One of the following enumeration values:
|
| 155 |
+
['normal', 'word caps', 'upper', 'lower']
|
| 156 |
+
|
| 157 |
+
Returns
|
| 158 |
+
-------
|
| 159 |
+
Any
|
| 160 |
+
"""
|
| 161 |
+
return self["textcase"]
|
| 162 |
+
|
| 163 |
+
@textcase.setter
|
| 164 |
+
def textcase(self, val):
|
| 165 |
+
self["textcase"] = val
|
| 166 |
+
|
| 167 |
+
@property
|
| 168 |
+
def variant(self):
|
| 169 |
+
"""
|
| 170 |
+
Sets the variant of the font.
|
| 171 |
+
|
| 172 |
+
The 'variant' property is an enumeration that may be specified as:
|
| 173 |
+
- One of the following enumeration values:
|
| 174 |
+
['normal', 'small-caps', 'all-small-caps',
|
| 175 |
+
'all-petite-caps', 'petite-caps', 'unicase']
|
| 176 |
+
|
| 177 |
+
Returns
|
| 178 |
+
-------
|
| 179 |
+
Any
|
| 180 |
+
"""
|
| 181 |
+
return self["variant"]
|
| 182 |
+
|
| 183 |
+
@variant.setter
|
| 184 |
+
def variant(self, val):
|
| 185 |
+
self["variant"] = val
|
| 186 |
+
|
| 187 |
+
@property
|
| 188 |
+
def weight(self):
|
| 189 |
+
"""
|
| 190 |
+
Sets the weight (or boldness) of the font.
|
| 191 |
+
|
| 192 |
+
The 'weight' property is a integer and may be specified as:
|
| 193 |
+
- An int (or float that will be cast to an int)
|
| 194 |
+
in the interval [1, 1000]
|
| 195 |
+
OR exactly one of ['normal', 'bold'] (e.g. 'bold')
|
| 196 |
+
|
| 197 |
+
Returns
|
| 198 |
+
-------
|
| 199 |
+
int
|
| 200 |
+
"""
|
| 201 |
+
return self["weight"]
|
| 202 |
+
|
| 203 |
+
@weight.setter
|
| 204 |
+
def weight(self, val):
|
| 205 |
+
self["weight"] = val
|
| 206 |
+
|
| 207 |
+
@property
|
| 208 |
+
def _prop_descriptions(self):
|
| 209 |
+
return """\
|
| 210 |
+
color
|
| 211 |
+
|
| 212 |
+
family
|
| 213 |
+
HTML font family - the typeface that will be applied by
|
| 214 |
+
the web browser. The web browser can only apply a font
|
| 215 |
+
if it is available on the system where it runs. Provide
|
| 216 |
+
multiple font families, separated by commas, to
|
| 217 |
+
indicate the order in which to apply fonts if they
|
| 218 |
+
aren't available.
|
| 219 |
+
lineposition
|
| 220 |
+
Sets the kind of decoration line(s) with text, such as
|
| 221 |
+
an "under", "over" or "through" as well as combinations
|
| 222 |
+
e.g. "under+over", etc.
|
| 223 |
+
shadow
|
| 224 |
+
Sets the shape and color of the shadow behind text.
|
| 225 |
+
"auto" places minimal shadow and applies contrast text
|
| 226 |
+
font color. See https://developer.mozilla.org/en-
|
| 227 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 228 |
+
size
|
| 229 |
+
|
| 230 |
+
style
|
| 231 |
+
Sets whether a font should be styled with a normal or
|
| 232 |
+
italic face from its family.
|
| 233 |
+
textcase
|
| 234 |
+
Sets capitalization of text. It can be used to make
|
| 235 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 236 |
+
each word capitalized.
|
| 237 |
+
variant
|
| 238 |
+
Sets the variant of the font.
|
| 239 |
+
weight
|
| 240 |
+
Sets the weight (or boldness) of the font.
|
| 241 |
+
"""
|
| 242 |
+
|
| 243 |
+
def __init__(
|
| 244 |
+
self,
|
| 245 |
+
arg=None,
|
| 246 |
+
color=None,
|
| 247 |
+
family=None,
|
| 248 |
+
lineposition=None,
|
| 249 |
+
shadow=None,
|
| 250 |
+
size=None,
|
| 251 |
+
style=None,
|
| 252 |
+
textcase=None,
|
| 253 |
+
variant=None,
|
| 254 |
+
weight=None,
|
| 255 |
+
**kwargs,
|
| 256 |
+
):
|
| 257 |
+
"""
|
| 258 |
+
Construct a new Font object
|
| 259 |
+
|
| 260 |
+
Sets this color bar's title font.
|
| 261 |
+
|
| 262 |
+
Parameters
|
| 263 |
+
----------
|
| 264 |
+
arg
|
| 265 |
+
dict of properties compatible with this constructor or
|
| 266 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.
|
| 267 |
+
colorbar.title.Font`
|
| 268 |
+
color
|
| 269 |
+
|
| 270 |
+
family
|
| 271 |
+
HTML font family - the typeface that will be applied by
|
| 272 |
+
the web browser. The web browser can only apply a font
|
| 273 |
+
if it is available on the system where it runs. Provide
|
| 274 |
+
multiple font families, separated by commas, to
|
| 275 |
+
indicate the order in which to apply fonts if they
|
| 276 |
+
aren't available.
|
| 277 |
+
lineposition
|
| 278 |
+
Sets the kind of decoration line(s) with text, such as
|
| 279 |
+
an "under", "over" or "through" as well as combinations
|
| 280 |
+
e.g. "under+over", etc.
|
| 281 |
+
shadow
|
| 282 |
+
Sets the shape and color of the shadow behind text.
|
| 283 |
+
"auto" places minimal shadow and applies contrast text
|
| 284 |
+
font color. See https://developer.mozilla.org/en-
|
| 285 |
+
US/docs/Web/CSS/text-shadow for additional options.
|
| 286 |
+
size
|
| 287 |
+
|
| 288 |
+
style
|
| 289 |
+
Sets whether a font should be styled with a normal or
|
| 290 |
+
italic face from its family.
|
| 291 |
+
textcase
|
| 292 |
+
Sets capitalization of text. It can be used to make
|
| 293 |
+
text appear in all-uppercase or all-lowercase, or with
|
| 294 |
+
each word capitalized.
|
| 295 |
+
variant
|
| 296 |
+
Sets the variant of the font.
|
| 297 |
+
weight
|
| 298 |
+
Sets the weight (or boldness) of the font.
|
| 299 |
+
|
| 300 |
+
Returns
|
| 301 |
+
-------
|
| 302 |
+
Font
|
| 303 |
+
"""
|
| 304 |
+
super().__init__("font")
|
| 305 |
+
if "_parent" in kwargs:
|
| 306 |
+
self._parent = kwargs["_parent"]
|
| 307 |
+
return
|
| 308 |
+
|
| 309 |
+
if arg is None:
|
| 310 |
+
arg = {}
|
| 311 |
+
elif isinstance(arg, self.__class__):
|
| 312 |
+
arg = arg.to_plotly_json()
|
| 313 |
+
elif isinstance(arg, dict):
|
| 314 |
+
arg = _copy.copy(arg)
|
| 315 |
+
else:
|
| 316 |
+
raise ValueError("""\
|
| 317 |
+
The first argument to the plotly.graph_objs.choroplethmap.colorbar.title.Font
|
| 318 |
+
constructor must be a dict or
|
| 319 |
+
an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.title.Font`""")
|
| 320 |
+
|
| 321 |
+
self._skip_invalid = kwargs.pop("skip_invalid", False)
|
| 322 |
+
self._validate = kwargs.pop("_validate", True)
|
| 323 |
+
|
| 324 |
+
self._set_property("color", arg, color)
|
| 325 |
+
self._set_property("family", arg, family)
|
| 326 |
+
self._set_property("lineposition", arg, lineposition)
|
| 327 |
+
self._set_property("shadow", arg, shadow)
|
| 328 |
+
self._set_property("size", arg, size)
|
| 329 |
+
self._set_property("style", arg, style)
|
| 330 |
+
self._set_property("textcase", arg, textcase)
|
| 331 |
+
self._set_property("variant", arg, variant)
|
| 332 |
+
self._set_property("weight", arg, weight)
|
| 333 |
+
self._process_kwargs(**dict(arg, **kwargs))
|
| 334 |
+
self._skip_invalid = False
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/hoverlabel/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import TYPE_CHECKING
|
| 3 |
+
|
| 4 |
+
if TYPE_CHECKING:
|
| 5 |
+
from ._font import Font
|
| 6 |
+
else:
|
| 7 |
+
from _plotly_utils.importers import relative_import
|
| 8 |
+
|
| 9 |
+
__all__, __getattr__, __dir__ = relative_import(__name__, [], ["._font.Font"])
|
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/choroplethmap/hoverlabel/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (517 Bytes). View file
|
|
|