QPromaQ commited on
Commit
678ba21
·
verified ·
1 Parent(s): 68a8be6

Reset repository and upload final project (part 19)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._legendgrouptitle +0 -0
  2. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._marker +0 -0
  3. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._selected +0 -0
  4. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._unselected +0 -0
  5. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/__init__.py +36 -0
  6. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_cluster.py +342 -0
  7. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_hoverlabel.py +366 -0
  8. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_legendgrouptitle.py +104 -0
  9. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_line.py +104 -0
  10. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_marker.py +892 -0
  11. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_selected.py +80 -0
  12. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_stream.py +114 -0
  13. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_textfont.py +202 -0
  14. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_unselected.py +80 -0
  15. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/.___init__.py +0 -0
  16. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/.___pycache__ +0 -0
  17. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/.__font.py +0 -0
  18. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/__init__.py +9 -0
  19. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/_font.py +587 -0
  20. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/.___init__.py +0 -0
  21. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/.___pycache__ +0 -0
  22. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/.__font.py +0 -0
  23. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/__init__.py +9 -0
  24. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/_font.py +334 -0
  25. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/.___init__.py +0 -0
  26. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/.___pycache__ +0 -0
  27. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/.__colorbar.py +0 -0
  28. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/._colorbar +0 -0
  29. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/__init__.py +12 -0
  30. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/_colorbar.py +1739 -0
  31. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.___init__.py +0 -0
  32. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.___pycache__ +0 -0
  33. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.__tickfont.py +0 -0
  34. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.__tickformatstop.py +0 -0
  35. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.__title.py +0 -0
  36. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/._title +0 -0
  37. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/__init__.py +16 -0
  38. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py +334 -0
  39. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/_tickformatstop.py +241 -0
  40. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/_title.py +136 -0
  41. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/.___init__.py +0 -0
  42. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/.___pycache__ +0 -0
  43. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/.__font.py +0 -0
  44. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/__init__.py +9 -0
  45. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py +334 -0
  46. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/.___init__.py +0 -0
  47. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/.___pycache__ +0 -0
  48. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/.__marker.py +0 -0
  49. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/__init__.py +9 -0
  50. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/_marker.py +127 -0
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._legendgrouptitle ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._marker ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._selected ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/._unselected ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/__init__.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._cluster import Cluster
6
+ from ._hoverlabel import Hoverlabel
7
+ from ._legendgrouptitle import Legendgrouptitle
8
+ from ._line import Line
9
+ from ._marker import Marker
10
+ from ._selected import Selected
11
+ from ._stream import Stream
12
+ from ._textfont import Textfont
13
+ from ._unselected import Unselected
14
+ from . import hoverlabel
15
+ from . import legendgrouptitle
16
+ from . import marker
17
+ from . import selected
18
+ from . import unselected
19
+ else:
20
+ from _plotly_utils.importers import relative_import
21
+
22
+ __all__, __getattr__, __dir__ = relative_import(
23
+ __name__,
24
+ [".hoverlabel", ".legendgrouptitle", ".marker", ".selected", ".unselected"],
25
+ [
26
+ "._cluster.Cluster",
27
+ "._hoverlabel.Hoverlabel",
28
+ "._legendgrouptitle.Legendgrouptitle",
29
+ "._line.Line",
30
+ "._marker.Marker",
31
+ "._selected.Selected",
32
+ "._stream.Stream",
33
+ "._textfont.Textfont",
34
+ "._unselected.Unselected",
35
+ ],
36
+ )
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_cluster.py ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Cluster(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.cluster"
11
+ _valid_props = {
12
+ "color",
13
+ "colorsrc",
14
+ "enabled",
15
+ "maxzoom",
16
+ "opacity",
17
+ "opacitysrc",
18
+ "size",
19
+ "sizesrc",
20
+ "step",
21
+ "stepsrc",
22
+ }
23
+
24
+ @property
25
+ def color(self):
26
+ """
27
+ Sets the color for each cluster step.
28
+
29
+ The 'color' property is a color and may be specified as:
30
+ - A hex string (e.g. '#ff0000')
31
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
32
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
33
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
34
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
35
+ - A list or array of any of the above
36
+
37
+ Returns
38
+ -------
39
+ str|numpy.ndarray
40
+ """
41
+ return self["color"]
42
+
43
+ @color.setter
44
+ def color(self, val):
45
+ self["color"] = val
46
+
47
+ @property
48
+ def colorsrc(self):
49
+ """
50
+ Sets the source reference on Chart Studio Cloud for `color`.
51
+
52
+ The 'colorsrc' property must be specified as a string or
53
+ as a plotly.grid_objs.Column object
54
+
55
+ Returns
56
+ -------
57
+ str
58
+ """
59
+ return self["colorsrc"]
60
+
61
+ @colorsrc.setter
62
+ def colorsrc(self, val):
63
+ self["colorsrc"] = val
64
+
65
+ @property
66
+ def enabled(self):
67
+ """
68
+ Determines whether clustering is enabled or disabled.
69
+
70
+ The 'enabled' property is a boolean and must be specified as:
71
+ - A boolean value: True or False
72
+
73
+ Returns
74
+ -------
75
+ bool
76
+ """
77
+ return self["enabled"]
78
+
79
+ @enabled.setter
80
+ def enabled(self, val):
81
+ self["enabled"] = val
82
+
83
+ @property
84
+ def maxzoom(self):
85
+ """
86
+ Sets the maximum zoom level. At zoom levels equal to or greater
87
+ than this, points will never be clustered.
88
+
89
+ The 'maxzoom' property is a number and may be specified as:
90
+ - An int or float in the interval [0, 24]
91
+
92
+ Returns
93
+ -------
94
+ int|float
95
+ """
96
+ return self["maxzoom"]
97
+
98
+ @maxzoom.setter
99
+ def maxzoom(self, val):
100
+ self["maxzoom"] = val
101
+
102
+ @property
103
+ def opacity(self):
104
+ """
105
+ Sets the marker opacity.
106
+
107
+ The 'opacity' property is a number and may be specified as:
108
+ - An int or float in the interval [0, 1]
109
+ - A tuple, list, or one-dimensional numpy array of the above
110
+
111
+ Returns
112
+ -------
113
+ int|float|numpy.ndarray
114
+ """
115
+ return self["opacity"]
116
+
117
+ @opacity.setter
118
+ def opacity(self, val):
119
+ self["opacity"] = val
120
+
121
+ @property
122
+ def opacitysrc(self):
123
+ """
124
+ Sets the source reference on Chart Studio Cloud for `opacity`.
125
+
126
+ The 'opacitysrc' property must be specified as a string or
127
+ as a plotly.grid_objs.Column object
128
+
129
+ Returns
130
+ -------
131
+ str
132
+ """
133
+ return self["opacitysrc"]
134
+
135
+ @opacitysrc.setter
136
+ def opacitysrc(self, val):
137
+ self["opacitysrc"] = val
138
+
139
+ @property
140
+ def size(self):
141
+ """
142
+ Sets the size for each cluster step.
143
+
144
+ The 'size' property is a number and may be specified as:
145
+ - An int or float in the interval [0, inf]
146
+ - A tuple, list, or one-dimensional numpy array of the above
147
+
148
+ Returns
149
+ -------
150
+ int|float|numpy.ndarray
151
+ """
152
+ return self["size"]
153
+
154
+ @size.setter
155
+ def size(self, val):
156
+ self["size"] = val
157
+
158
+ @property
159
+ def sizesrc(self):
160
+ """
161
+ Sets the source reference on Chart Studio Cloud for `size`.
162
+
163
+ The 'sizesrc' property must be specified as a string or
164
+ as a plotly.grid_objs.Column object
165
+
166
+ Returns
167
+ -------
168
+ str
169
+ """
170
+ return self["sizesrc"]
171
+
172
+ @sizesrc.setter
173
+ def sizesrc(self, val):
174
+ self["sizesrc"] = val
175
+
176
+ @property
177
+ def step(self):
178
+ """
179
+ Sets how many points it takes to create a cluster or advance to
180
+ the next cluster step. Use this in conjunction with arrays for
181
+ `size` and / or `color`. If an integer, steps start at
182
+ multiples of this number. If an array, each step extends from
183
+ the given value until one less than the next value.
184
+
185
+ The 'step' property is a number and may be specified as:
186
+ - An int or float in the interval [-1, inf]
187
+ - A tuple, list, or one-dimensional numpy array of the above
188
+
189
+ Returns
190
+ -------
191
+ int|float|numpy.ndarray
192
+ """
193
+ return self["step"]
194
+
195
+ @step.setter
196
+ def step(self, val):
197
+ self["step"] = val
198
+
199
+ @property
200
+ def stepsrc(self):
201
+ """
202
+ Sets the source reference on Chart Studio Cloud for `step`.
203
+
204
+ The 'stepsrc' property must be specified as a string or
205
+ as a plotly.grid_objs.Column object
206
+
207
+ Returns
208
+ -------
209
+ str
210
+ """
211
+ return self["stepsrc"]
212
+
213
+ @stepsrc.setter
214
+ def stepsrc(self, val):
215
+ self["stepsrc"] = val
216
+
217
+ @property
218
+ def _prop_descriptions(self):
219
+ return """\
220
+ color
221
+ Sets the color for each cluster step.
222
+ colorsrc
223
+ Sets the source reference on Chart Studio Cloud for
224
+ `color`.
225
+ enabled
226
+ Determines whether clustering is enabled or disabled.
227
+ maxzoom
228
+ Sets the maximum zoom level. At zoom levels equal to or
229
+ greater than this, points will never be clustered.
230
+ opacity
231
+ Sets the marker opacity.
232
+ opacitysrc
233
+ Sets the source reference on Chart Studio Cloud for
234
+ `opacity`.
235
+ size
236
+ Sets the size for each cluster step.
237
+ sizesrc
238
+ Sets the source reference on Chart Studio Cloud for
239
+ `size`.
240
+ step
241
+ Sets how many points it takes to create a cluster or
242
+ advance to the next cluster step. Use this in
243
+ conjunction with arrays for `size` and / or `color`. If
244
+ an integer, steps start at multiples of this number. If
245
+ an array, each step extends from the given value until
246
+ one less than the next value.
247
+ stepsrc
248
+ Sets the source reference on Chart Studio Cloud for
249
+ `step`.
250
+ """
251
+
252
+ def __init__(
253
+ self,
254
+ arg=None,
255
+ color=None,
256
+ colorsrc=None,
257
+ enabled=None,
258
+ maxzoom=None,
259
+ opacity=None,
260
+ opacitysrc=None,
261
+ size=None,
262
+ sizesrc=None,
263
+ step=None,
264
+ stepsrc=None,
265
+ **kwargs,
266
+ ):
267
+ """
268
+ Construct a new Cluster object
269
+
270
+ Parameters
271
+ ----------
272
+ arg
273
+ dict of properties compatible with this constructor or
274
+ an instance of
275
+ :class:`plotly.graph_objs.scattermap.Cluster`
276
+ color
277
+ Sets the color for each cluster step.
278
+ colorsrc
279
+ Sets the source reference on Chart Studio Cloud for
280
+ `color`.
281
+ enabled
282
+ Determines whether clustering is enabled or disabled.
283
+ maxzoom
284
+ Sets the maximum zoom level. At zoom levels equal to or
285
+ greater than this, points will never be clustered.
286
+ opacity
287
+ Sets the marker opacity.
288
+ opacitysrc
289
+ Sets the source reference on Chart Studio Cloud for
290
+ `opacity`.
291
+ size
292
+ Sets the size for each cluster step.
293
+ sizesrc
294
+ Sets the source reference on Chart Studio Cloud for
295
+ `size`.
296
+ step
297
+ Sets how many points it takes to create a cluster or
298
+ advance to the next cluster step. Use this in
299
+ conjunction with arrays for `size` and / or `color`. If
300
+ an integer, steps start at multiples of this number. If
301
+ an array, each step extends from the given value until
302
+ one less than the next value.
303
+ stepsrc
304
+ Sets the source reference on Chart Studio Cloud for
305
+ `step`.
306
+
307
+ Returns
308
+ -------
309
+ Cluster
310
+ """
311
+ super().__init__("cluster")
312
+ if "_parent" in kwargs:
313
+ self._parent = kwargs["_parent"]
314
+ return
315
+
316
+ if arg is None:
317
+ arg = {}
318
+ elif isinstance(arg, self.__class__):
319
+ arg = arg.to_plotly_json()
320
+ elif isinstance(arg, dict):
321
+ arg = _copy.copy(arg)
322
+ else:
323
+ raise ValueError("""\
324
+ The first argument to the plotly.graph_objs.scattermap.Cluster
325
+ constructor must be a dict or
326
+ an instance of :class:`plotly.graph_objs.scattermap.Cluster`""")
327
+
328
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
329
+ self._validate = kwargs.pop("_validate", True)
330
+
331
+ self._set_property("color", arg, color)
332
+ self._set_property("colorsrc", arg, colorsrc)
333
+ self._set_property("enabled", arg, enabled)
334
+ self._set_property("maxzoom", arg, maxzoom)
335
+ self._set_property("opacity", arg, opacity)
336
+ self._set_property("opacitysrc", arg, opacitysrc)
337
+ self._set_property("size", arg, size)
338
+ self._set_property("sizesrc", arg, sizesrc)
339
+ self._set_property("step", arg, step)
340
+ self._set_property("stepsrc", arg, stepsrc)
341
+ self._process_kwargs(**dict(arg, **kwargs))
342
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_hoverlabel.py ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Hoverlabel(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.hoverlabel"
11
+ _valid_props = {
12
+ "align",
13
+ "alignsrc",
14
+ "bgcolor",
15
+ "bgcolorsrc",
16
+ "bordercolor",
17
+ "bordercolorsrc",
18
+ "font",
19
+ "namelength",
20
+ "namelengthsrc",
21
+ "showarrow",
22
+ }
23
+
24
+ @property
25
+ def align(self):
26
+ """
27
+ Sets the horizontal alignment of the text content within hover
28
+ label box. Has an effect only if the hover label text spans
29
+ more two or more lines
30
+
31
+ The 'align' property is an enumeration that may be specified as:
32
+ - One of the following enumeration values:
33
+ ['left', 'right', 'auto']
34
+ - A tuple, list, or one-dimensional numpy array of the above
35
+
36
+ Returns
37
+ -------
38
+ Any|numpy.ndarray
39
+ """
40
+ return self["align"]
41
+
42
+ @align.setter
43
+ def align(self, val):
44
+ self["align"] = val
45
+
46
+ @property
47
+ def alignsrc(self):
48
+ """
49
+ Sets the source reference on Chart Studio Cloud for `align`.
50
+
51
+ The 'alignsrc' property must be specified as a string or
52
+ as a plotly.grid_objs.Column object
53
+
54
+ Returns
55
+ -------
56
+ str
57
+ """
58
+ return self["alignsrc"]
59
+
60
+ @alignsrc.setter
61
+ def alignsrc(self, val):
62
+ self["alignsrc"] = val
63
+
64
+ @property
65
+ def bgcolor(self):
66
+ """
67
+ Sets the background color of the hover labels for this trace
68
+
69
+ The 'bgcolor' property is a color and may be specified as:
70
+ - A hex string (e.g. '#ff0000')
71
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
72
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
73
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
74
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
75
+ - A list or array of any of the above
76
+
77
+ Returns
78
+ -------
79
+ str|numpy.ndarray
80
+ """
81
+ return self["bgcolor"]
82
+
83
+ @bgcolor.setter
84
+ def bgcolor(self, val):
85
+ self["bgcolor"] = val
86
+
87
+ @property
88
+ def bgcolorsrc(self):
89
+ """
90
+ Sets the source reference on Chart Studio Cloud for `bgcolor`.
91
+
92
+ The 'bgcolorsrc' property must be specified as a string or
93
+ as a plotly.grid_objs.Column object
94
+
95
+ Returns
96
+ -------
97
+ str
98
+ """
99
+ return self["bgcolorsrc"]
100
+
101
+ @bgcolorsrc.setter
102
+ def bgcolorsrc(self, val):
103
+ self["bgcolorsrc"] = val
104
+
105
+ @property
106
+ def bordercolor(self):
107
+ """
108
+ Sets the border color of the hover labels for this trace.
109
+
110
+ The 'bordercolor' property is a color and may be specified as:
111
+ - A hex string (e.g. '#ff0000')
112
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
113
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
114
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
115
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
116
+ - A list or array of any of the above
117
+
118
+ Returns
119
+ -------
120
+ str|numpy.ndarray
121
+ """
122
+ return self["bordercolor"]
123
+
124
+ @bordercolor.setter
125
+ def bordercolor(self, val):
126
+ self["bordercolor"] = val
127
+
128
+ @property
129
+ def bordercolorsrc(self):
130
+ """
131
+ Sets the source reference on Chart Studio Cloud for
132
+ `bordercolor`.
133
+
134
+ The 'bordercolorsrc' property must be specified as a string or
135
+ as a plotly.grid_objs.Column object
136
+
137
+ Returns
138
+ -------
139
+ str
140
+ """
141
+ return self["bordercolorsrc"]
142
+
143
+ @bordercolorsrc.setter
144
+ def bordercolorsrc(self, val):
145
+ self["bordercolorsrc"] = val
146
+
147
+ @property
148
+ def font(self):
149
+ """
150
+ Sets the font used in hover labels.
151
+
152
+ The 'font' property is an instance of Font
153
+ that may be specified as:
154
+ - An instance of :class:`plotly.graph_objs.scattermap.hoverlabel.Font`
155
+ - A dict of string/value properties that will be passed
156
+ to the Font constructor
157
+
158
+ Returns
159
+ -------
160
+ plotly.graph_objs.scattermap.hoverlabel.Font
161
+ """
162
+ return self["font"]
163
+
164
+ @font.setter
165
+ def font(self, val):
166
+ self["font"] = val
167
+
168
+ @property
169
+ def namelength(self):
170
+ """
171
+ Sets the default length (in number of characters) of the trace
172
+ name in the hover labels for all traces. -1 shows the whole
173
+ name regardless of length. 0-3 shows the first 0-3 characters,
174
+ and an integer >3 will show the whole name if it is less than
175
+ that many characters, but if it is longer, will truncate to
176
+ `namelength - 3` characters and add an ellipsis.
177
+
178
+ The 'namelength' property is a integer and may be specified as:
179
+ - An int (or float that will be cast to an int)
180
+ in the interval [-1, 9223372036854775807]
181
+ - A tuple, list, or one-dimensional numpy array of the above
182
+
183
+ Returns
184
+ -------
185
+ int|numpy.ndarray
186
+ """
187
+ return self["namelength"]
188
+
189
+ @namelength.setter
190
+ def namelength(self, val):
191
+ self["namelength"] = val
192
+
193
+ @property
194
+ def namelengthsrc(self):
195
+ """
196
+ Sets the source reference on Chart Studio Cloud for
197
+ `namelength`.
198
+
199
+ The 'namelengthsrc' property must be specified as a string or
200
+ as a plotly.grid_objs.Column object
201
+
202
+ Returns
203
+ -------
204
+ str
205
+ """
206
+ return self["namelengthsrc"]
207
+
208
+ @namelengthsrc.setter
209
+ def namelengthsrc(self, val):
210
+ self["namelengthsrc"] = val
211
+
212
+ @property
213
+ def showarrow(self):
214
+ """
215
+ Sets whether or not to show the hover label arrow/triangle
216
+ pointing to the data point.
217
+
218
+ The 'showarrow' property is a boolean and must be specified as:
219
+ - A boolean value: True or False
220
+
221
+ Returns
222
+ -------
223
+ bool
224
+ """
225
+ return self["showarrow"]
226
+
227
+ @showarrow.setter
228
+ def showarrow(self, val):
229
+ self["showarrow"] = val
230
+
231
+ @property
232
+ def _prop_descriptions(self):
233
+ return """\
234
+ align
235
+ Sets the horizontal alignment of the text content
236
+ within hover label box. Has an effect only if the hover
237
+ label text spans more two or more lines
238
+ alignsrc
239
+ Sets the source reference on Chart Studio Cloud for
240
+ `align`.
241
+ bgcolor
242
+ Sets the background color of the hover labels for this
243
+ trace
244
+ bgcolorsrc
245
+ Sets the source reference on Chart Studio Cloud for
246
+ `bgcolor`.
247
+ bordercolor
248
+ Sets the border color of the hover labels for this
249
+ trace.
250
+ bordercolorsrc
251
+ Sets the source reference on Chart Studio Cloud for
252
+ `bordercolor`.
253
+ font
254
+ Sets the font used in hover labels.
255
+ namelength
256
+ Sets the default length (in number of characters) of
257
+ the trace name in the hover labels for all traces. -1
258
+ shows the whole name regardless of length. 0-3 shows
259
+ the first 0-3 characters, and an integer >3 will show
260
+ the whole name if it is less than that many characters,
261
+ but if it is longer, will truncate to `namelength - 3`
262
+ characters and add an ellipsis.
263
+ namelengthsrc
264
+ Sets the source reference on Chart Studio Cloud for
265
+ `namelength`.
266
+ showarrow
267
+ Sets whether or not to show the hover label
268
+ arrow/triangle pointing to the data point.
269
+ """
270
+
271
+ def __init__(
272
+ self,
273
+ arg=None,
274
+ align=None,
275
+ alignsrc=None,
276
+ bgcolor=None,
277
+ bgcolorsrc=None,
278
+ bordercolor=None,
279
+ bordercolorsrc=None,
280
+ font=None,
281
+ namelength=None,
282
+ namelengthsrc=None,
283
+ showarrow=None,
284
+ **kwargs,
285
+ ):
286
+ """
287
+ Construct a new Hoverlabel object
288
+
289
+ Parameters
290
+ ----------
291
+ arg
292
+ dict of properties compatible with this constructor or
293
+ an instance of
294
+ :class:`plotly.graph_objs.scattermap.Hoverlabel`
295
+ align
296
+ Sets the horizontal alignment of the text content
297
+ within hover label box. Has an effect only if the hover
298
+ label text spans more two or more lines
299
+ alignsrc
300
+ Sets the source reference on Chart Studio Cloud for
301
+ `align`.
302
+ bgcolor
303
+ Sets the background color of the hover labels for this
304
+ trace
305
+ bgcolorsrc
306
+ Sets the source reference on Chart Studio Cloud for
307
+ `bgcolor`.
308
+ bordercolor
309
+ Sets the border color of the hover labels for this
310
+ trace.
311
+ bordercolorsrc
312
+ Sets the source reference on Chart Studio Cloud for
313
+ `bordercolor`.
314
+ font
315
+ Sets the font used in hover labels.
316
+ namelength
317
+ Sets the default length (in number of characters) of
318
+ the trace name in the hover labels for all traces. -1
319
+ shows the whole name regardless of length. 0-3 shows
320
+ the first 0-3 characters, and an integer >3 will show
321
+ the whole name if it is less than that many characters,
322
+ but if it is longer, will truncate to `namelength - 3`
323
+ characters and add an ellipsis.
324
+ namelengthsrc
325
+ Sets the source reference on Chart Studio Cloud for
326
+ `namelength`.
327
+ showarrow
328
+ Sets whether or not to show the hover label
329
+ arrow/triangle pointing to the data point.
330
+
331
+ Returns
332
+ -------
333
+ Hoverlabel
334
+ """
335
+ super().__init__("hoverlabel")
336
+ if "_parent" in kwargs:
337
+ self._parent = kwargs["_parent"]
338
+ return
339
+
340
+ if arg is None:
341
+ arg = {}
342
+ elif isinstance(arg, self.__class__):
343
+ arg = arg.to_plotly_json()
344
+ elif isinstance(arg, dict):
345
+ arg = _copy.copy(arg)
346
+ else:
347
+ raise ValueError("""\
348
+ The first argument to the plotly.graph_objs.scattermap.Hoverlabel
349
+ constructor must be a dict or
350
+ an instance of :class:`plotly.graph_objs.scattermap.Hoverlabel`""")
351
+
352
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
353
+ self._validate = kwargs.pop("_validate", True)
354
+
355
+ self._set_property("align", arg, align)
356
+ self._set_property("alignsrc", arg, alignsrc)
357
+ self._set_property("bgcolor", arg, bgcolor)
358
+ self._set_property("bgcolorsrc", arg, bgcolorsrc)
359
+ self._set_property("bordercolor", arg, bordercolor)
360
+ self._set_property("bordercolorsrc", arg, bordercolorsrc)
361
+ self._set_property("font", arg, font)
362
+ self._set_property("namelength", arg, namelength)
363
+ self._set_property("namelengthsrc", arg, namelengthsrc)
364
+ self._set_property("showarrow", arg, showarrow)
365
+ self._process_kwargs(**dict(arg, **kwargs))
366
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_legendgrouptitle.py ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Legendgrouptitle(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.legendgrouptitle"
11
+ _valid_props = {"font", "text"}
12
+
13
+ @property
14
+ def font(self):
15
+ """
16
+ Sets this legend group'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.scattermap.legendgrouptitle.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.scattermap.legendgrouptitle.Font
27
+ """
28
+ return self["font"]
29
+
30
+ @font.setter
31
+ def font(self, val):
32
+ self["font"] = val
33
+
34
+ @property
35
+ def text(self):
36
+ """
37
+ Sets the title of the legend group.
38
+
39
+ The 'text' property is a string and must be specified as:
40
+ - A string
41
+ - A number that will be converted to a string
42
+
43
+ Returns
44
+ -------
45
+ str
46
+ """
47
+ return self["text"]
48
+
49
+ @text.setter
50
+ def text(self, val):
51
+ self["text"] = val
52
+
53
+ @property
54
+ def _prop_descriptions(self):
55
+ return """\
56
+ font
57
+ Sets this legend group's title font.
58
+ text
59
+ Sets the title of the legend group.
60
+ """
61
+
62
+ def __init__(self, arg=None, font=None, text=None, **kwargs):
63
+ """
64
+ Construct a new Legendgrouptitle object
65
+
66
+ Parameters
67
+ ----------
68
+ arg
69
+ dict of properties compatible with this constructor or
70
+ an instance of
71
+ :class:`plotly.graph_objs.scattermap.Legendgrouptitle`
72
+ font
73
+ Sets this legend group's title font.
74
+ text
75
+ Sets the title of the legend group.
76
+
77
+ Returns
78
+ -------
79
+ Legendgrouptitle
80
+ """
81
+ super().__init__("legendgrouptitle")
82
+ if "_parent" in kwargs:
83
+ self._parent = kwargs["_parent"]
84
+ return
85
+
86
+ if arg is None:
87
+ arg = {}
88
+ elif isinstance(arg, self.__class__):
89
+ arg = arg.to_plotly_json()
90
+ elif isinstance(arg, dict):
91
+ arg = _copy.copy(arg)
92
+ else:
93
+ raise ValueError("""\
94
+ The first argument to the plotly.graph_objs.scattermap.Legendgrouptitle
95
+ constructor must be a dict or
96
+ an instance of :class:`plotly.graph_objs.scattermap.Legendgrouptitle`""")
97
+
98
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
99
+ self._validate = kwargs.pop("_validate", True)
100
+
101
+ self._set_property("font", arg, font)
102
+ self._set_property("text", arg, text)
103
+ self._process_kwargs(**dict(arg, **kwargs))
104
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_line.py ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "scattermap"
10
+ _path_str = "scattermap.line"
11
+ _valid_props = {"color", "width"}
12
+
13
+ @property
14
+ def color(self):
15
+ """
16
+ Sets the line color.
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 width(self):
37
+ """
38
+ Sets the line width (in px).
39
+
40
+ The 'width' property is a number and may be specified as:
41
+ - An int or float in the interval [0, inf]
42
+
43
+ Returns
44
+ -------
45
+ int|float
46
+ """
47
+ return self["width"]
48
+
49
+ @width.setter
50
+ def width(self, val):
51
+ self["width"] = val
52
+
53
+ @property
54
+ def _prop_descriptions(self):
55
+ return """\
56
+ color
57
+ Sets the line color.
58
+ width
59
+ Sets the line width (in px).
60
+ """
61
+
62
+ def __init__(self, arg=None, color=None, width=None, **kwargs):
63
+ """
64
+ Construct a new Line object
65
+
66
+ Parameters
67
+ ----------
68
+ arg
69
+ dict of properties compatible with this constructor or
70
+ an instance of
71
+ :class:`plotly.graph_objs.scattermap.Line`
72
+ color
73
+ Sets the line color.
74
+ width
75
+ Sets the line width (in px).
76
+
77
+ Returns
78
+ -------
79
+ Line
80
+ """
81
+ super().__init__("line")
82
+ if "_parent" in kwargs:
83
+ self._parent = kwargs["_parent"]
84
+ return
85
+
86
+ if arg is None:
87
+ arg = {}
88
+ elif isinstance(arg, self.__class__):
89
+ arg = arg.to_plotly_json()
90
+ elif isinstance(arg, dict):
91
+ arg = _copy.copy(arg)
92
+ else:
93
+ raise ValueError("""\
94
+ The first argument to the plotly.graph_objs.scattermap.Line
95
+ constructor must be a dict or
96
+ an instance of :class:`plotly.graph_objs.scattermap.Line`""")
97
+
98
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
99
+ self._validate = kwargs.pop("_validate", True)
100
+
101
+ self._set_property("color", arg, color)
102
+ self._set_property("width", arg, width)
103
+ self._process_kwargs(**dict(arg, **kwargs))
104
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_marker.py ADDED
@@ -0,0 +1,892 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "scattermap"
10
+ _path_str = "scattermap.marker"
11
+ _valid_props = {
12
+ "allowoverlap",
13
+ "angle",
14
+ "anglesrc",
15
+ "autocolorscale",
16
+ "cauto",
17
+ "cmax",
18
+ "cmid",
19
+ "cmin",
20
+ "color",
21
+ "coloraxis",
22
+ "colorbar",
23
+ "colorscale",
24
+ "colorsrc",
25
+ "opacity",
26
+ "opacitysrc",
27
+ "reversescale",
28
+ "showscale",
29
+ "size",
30
+ "sizemin",
31
+ "sizemode",
32
+ "sizeref",
33
+ "sizesrc",
34
+ "symbol",
35
+ "symbolsrc",
36
+ }
37
+
38
+ @property
39
+ def allowoverlap(self):
40
+ """
41
+ Flag to draw all symbols, even if they overlap.
42
+
43
+ The 'allowoverlap' property is a boolean and must be specified as:
44
+ - A boolean value: True or False
45
+
46
+ Returns
47
+ -------
48
+ bool
49
+ """
50
+ return self["allowoverlap"]
51
+
52
+ @allowoverlap.setter
53
+ def allowoverlap(self, val):
54
+ self["allowoverlap"] = val
55
+
56
+ @property
57
+ def angle(self):
58
+ """
59
+ Sets the marker orientation from true North, in degrees
60
+ clockwise. When using the "auto" default, no rotation would be
61
+ applied in perspective views which is different from using a
62
+ zero angle.
63
+
64
+ The 'angle' property is a number and may be specified as:
65
+ - An int or float
66
+ - A tuple, list, or one-dimensional numpy array of the above
67
+
68
+ Returns
69
+ -------
70
+ int|float|numpy.ndarray
71
+ """
72
+ return self["angle"]
73
+
74
+ @angle.setter
75
+ def angle(self, val):
76
+ self["angle"] = val
77
+
78
+ @property
79
+ def anglesrc(self):
80
+ """
81
+ Sets the source reference on Chart Studio Cloud for `angle`.
82
+
83
+ The 'anglesrc' property must be specified as a string or
84
+ as a plotly.grid_objs.Column object
85
+
86
+ Returns
87
+ -------
88
+ str
89
+ """
90
+ return self["anglesrc"]
91
+
92
+ @anglesrc.setter
93
+ def anglesrc(self, val):
94
+ self["anglesrc"] = val
95
+
96
+ @property
97
+ def autocolorscale(self):
98
+ """
99
+ Determines whether the colorscale is a default palette
100
+ (`autocolorscale: true`) or the palette determined by
101
+ `marker.colorscale`. Has an effect only if in `marker.color` is
102
+ set to a numerical array. In case `colorscale` is unspecified
103
+ or `autocolorscale` is true, the default palette will be chosen
104
+ according to whether numbers in the `color` array are all
105
+ positive, all negative or mixed.
106
+
107
+ The 'autocolorscale' property is a boolean and must be specified as:
108
+ - A boolean value: True or False
109
+
110
+ Returns
111
+ -------
112
+ bool
113
+ """
114
+ return self["autocolorscale"]
115
+
116
+ @autocolorscale.setter
117
+ def autocolorscale(self, val):
118
+ self["autocolorscale"] = val
119
+
120
+ @property
121
+ def cauto(self):
122
+ """
123
+ Determines whether or not the color domain is computed with
124
+ respect to the input data (here in `marker.color`) or the
125
+ bounds set in `marker.cmin` and `marker.cmax` Has an effect
126
+ only if in `marker.color` is set to a numerical array. Defaults
127
+ to `false` when `marker.cmin` and `marker.cmax` are set by the
128
+ user.
129
+
130
+ The 'cauto' property is a boolean and must be specified as:
131
+ - A boolean value: True or False
132
+
133
+ Returns
134
+ -------
135
+ bool
136
+ """
137
+ return self["cauto"]
138
+
139
+ @cauto.setter
140
+ def cauto(self, val):
141
+ self["cauto"] = val
142
+
143
+ @property
144
+ def cmax(self):
145
+ """
146
+ Sets the upper bound of the color domain. Has an effect only if
147
+ in `marker.color` is set to a numerical array. Value should
148
+ have the same units as in `marker.color` and if set,
149
+ `marker.cmin` must be set as well.
150
+
151
+ The 'cmax' property is a number and may be specified as:
152
+ - An int or float
153
+
154
+ Returns
155
+ -------
156
+ int|float
157
+ """
158
+ return self["cmax"]
159
+
160
+ @cmax.setter
161
+ def cmax(self, val):
162
+ self["cmax"] = val
163
+
164
+ @property
165
+ def cmid(self):
166
+ """
167
+ Sets the mid-point of the color domain by scaling `marker.cmin`
168
+ and/or `marker.cmax` to be equidistant to this point. Has an
169
+ effect only if in `marker.color` is set to a numerical array.
170
+ Value should have the same units as in `marker.color`. Has no
171
+ effect when `marker.cauto` is `false`.
172
+
173
+ The 'cmid' property is a number and may be specified as:
174
+ - An int or float
175
+
176
+ Returns
177
+ -------
178
+ int|float
179
+ """
180
+ return self["cmid"]
181
+
182
+ @cmid.setter
183
+ def cmid(self, val):
184
+ self["cmid"] = val
185
+
186
+ @property
187
+ def cmin(self):
188
+ """
189
+ Sets the lower bound of the color domain. Has an effect only if
190
+ in `marker.color` is set to a numerical array. Value should
191
+ have the same units as in `marker.color` and if set,
192
+ `marker.cmax` must be set as well.
193
+
194
+ The 'cmin' property is a number and may be specified as:
195
+ - An int or float
196
+
197
+ Returns
198
+ -------
199
+ int|float
200
+ """
201
+ return self["cmin"]
202
+
203
+ @cmin.setter
204
+ def cmin(self, val):
205
+ self["cmin"] = val
206
+
207
+ @property
208
+ def color(self):
209
+ """
210
+ Sets the marker color. It accepts either a specific color or an
211
+ array of numbers that are mapped to the colorscale relative to
212
+ the max and min values of the array or relative to
213
+ `marker.cmin` and `marker.cmax` if set.
214
+
215
+ The 'color' property is a color and may be specified as:
216
+ - A hex string (e.g. '#ff0000')
217
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
218
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
219
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
220
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
221
+ - A number that will be interpreted as a color
222
+ according to scattermap.marker.colorscale
223
+ - A list or array of any of the above
224
+
225
+ Returns
226
+ -------
227
+ str|numpy.ndarray
228
+ """
229
+ return self["color"]
230
+
231
+ @color.setter
232
+ def color(self, val):
233
+ self["color"] = val
234
+
235
+ @property
236
+ def coloraxis(self):
237
+ """
238
+ Sets a reference to a shared color axis. References to these
239
+ shared color axes are "coloraxis", "coloraxis2", "coloraxis3",
240
+ etc. Settings for these shared color axes are set in the
241
+ layout, under `layout.coloraxis`, `layout.coloraxis2`, etc.
242
+ Note that multiple color scales can be linked to the same color
243
+ axis.
244
+
245
+ The 'coloraxis' property is an identifier of a particular
246
+ subplot, of type 'coloraxis', that may be specified as:
247
+ - the string 'coloraxis' optionally followed by an integer >= 1
248
+ (e.g. 'coloraxis', 'coloraxis1', 'coloraxis2', 'coloraxis3', etc.)
249
+
250
+ Returns
251
+ -------
252
+ str
253
+ """
254
+ return self["coloraxis"]
255
+
256
+ @coloraxis.setter
257
+ def coloraxis(self, val):
258
+ self["coloraxis"] = val
259
+
260
+ @property
261
+ def colorbar(self):
262
+ """
263
+ The 'colorbar' property is an instance of ColorBar
264
+ that may be specified as:
265
+ - An instance of :class:`plotly.graph_objs.scattermap.marker.ColorBar`
266
+ - A dict of string/value properties that will be passed
267
+ to the ColorBar constructor
268
+
269
+ Returns
270
+ -------
271
+ plotly.graph_objs.scattermap.marker.ColorBar
272
+ """
273
+ return self["colorbar"]
274
+
275
+ @colorbar.setter
276
+ def colorbar(self, val):
277
+ self["colorbar"] = val
278
+
279
+ @property
280
+ def colorscale(self):
281
+ """
282
+ Sets the colorscale. Has an effect only if in `marker.color` is
283
+ set to a numerical array. The colorscale must be an array
284
+ containing arrays mapping a normalized value to an rgb, rgba,
285
+ hex, hsl, hsv, or named color string. At minimum, a mapping for
286
+ the lowest (0) and highest (1) values are required. For
287
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`. To
288
+ control the bounds of the colorscale in color space, use
289
+ `marker.cmin` and `marker.cmax`. Alternatively, `colorscale`
290
+ may be a palette name string of the following list: Blackbody,B
291
+ luered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic
292
+ ,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
293
+
294
+ The 'colorscale' property is a colorscale and may be
295
+ specified as:
296
+ - A list of colors that will be spaced evenly to create the colorscale.
297
+ Many predefined colorscale lists are included in the sequential, diverging,
298
+ and cyclical modules in the plotly.colors package.
299
+ - A list of 2-element lists where the first element is the
300
+ normalized color level value (starting at 0 and ending at 1),
301
+ and the second item is a valid color string.
302
+ (e.g. [[0, 'green'], [0.5, 'red'], [1.0, 'rgb(0, 0, 255)']])
303
+ - One of the following named colorscales:
304
+ ['aggrnyl', 'agsunset', 'algae', 'amp', 'armyrose', 'balance',
305
+ 'blackbody', 'bluered', 'blues', 'blugrn', 'bluyl', 'brbg',
306
+ 'brwnyl', 'bugn', 'bupu', 'burg', 'burgyl', 'cividis', 'curl',
307
+ 'darkmint', 'deep', 'delta', 'dense', 'earth', 'edge', 'electric',
308
+ 'emrld', 'fall', 'geyser', 'gnbu', 'gray', 'greens', 'greys',
309
+ 'haline', 'hot', 'hsv', 'ice', 'icefire', 'inferno', 'jet',
310
+ 'magenta', 'magma', 'matter', 'mint', 'mrybm', 'mygbm', 'oranges',
311
+ 'orrd', 'oryel', 'oxy', 'peach', 'phase', 'picnic', 'pinkyl',
312
+ 'piyg', 'plasma', 'plotly3', 'portland', 'prgn', 'pubu', 'pubugn',
313
+ 'puor', 'purd', 'purp', 'purples', 'purpor', 'rainbow', 'rdbu',
314
+ 'rdgy', 'rdpu', 'rdylbu', 'rdylgn', 'redor', 'reds', 'solar',
315
+ 'spectral', 'speed', 'sunset', 'sunsetdark', 'teal', 'tealgrn',
316
+ 'tealrose', 'tempo', 'temps', 'thermal', 'tropic', 'turbid',
317
+ 'turbo', 'twilight', 'viridis', 'ylgn', 'ylgnbu', 'ylorbr',
318
+ 'ylorrd'].
319
+ Appending '_r' to a named colorscale reverses it.
320
+
321
+ Returns
322
+ -------
323
+ str
324
+ """
325
+ return self["colorscale"]
326
+
327
+ @colorscale.setter
328
+ def colorscale(self, val):
329
+ self["colorscale"] = val
330
+
331
+ @property
332
+ def colorsrc(self):
333
+ """
334
+ Sets the source reference on Chart Studio Cloud for `color`.
335
+
336
+ The 'colorsrc' 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["colorsrc"]
344
+
345
+ @colorsrc.setter
346
+ def colorsrc(self, val):
347
+ self["colorsrc"] = val
348
+
349
+ @property
350
+ def opacity(self):
351
+ """
352
+ Sets the marker opacity.
353
+
354
+ The 'opacity' property is a number and may be specified as:
355
+ - An int or float in the interval [0, 1]
356
+ - A tuple, list, or one-dimensional numpy array of the above
357
+
358
+ Returns
359
+ -------
360
+ int|float|numpy.ndarray
361
+ """
362
+ return self["opacity"]
363
+
364
+ @opacity.setter
365
+ def opacity(self, val):
366
+ self["opacity"] = val
367
+
368
+ @property
369
+ def opacitysrc(self):
370
+ """
371
+ Sets the source reference on Chart Studio Cloud for `opacity`.
372
+
373
+ The 'opacitysrc' property must be specified as a string or
374
+ as a plotly.grid_objs.Column object
375
+
376
+ Returns
377
+ -------
378
+ str
379
+ """
380
+ return self["opacitysrc"]
381
+
382
+ @opacitysrc.setter
383
+ def opacitysrc(self, val):
384
+ self["opacitysrc"] = val
385
+
386
+ @property
387
+ def reversescale(self):
388
+ """
389
+ Reverses the color mapping if true. Has an effect only if in
390
+ `marker.color` is set to a numerical array. If true,
391
+ `marker.cmin` will correspond to the last color in the array
392
+ and `marker.cmax` will correspond to the first color.
393
+
394
+ The 'reversescale' property is a boolean and must be specified as:
395
+ - A boolean value: True or False
396
+
397
+ Returns
398
+ -------
399
+ bool
400
+ """
401
+ return self["reversescale"]
402
+
403
+ @reversescale.setter
404
+ def reversescale(self, val):
405
+ self["reversescale"] = val
406
+
407
+ @property
408
+ def showscale(self):
409
+ """
410
+ Determines whether or not a colorbar is displayed for this
411
+ trace. Has an effect only if in `marker.color` is set to a
412
+ numerical array.
413
+
414
+ The 'showscale' property is a boolean and must be specified as:
415
+ - A boolean value: True or False
416
+
417
+ Returns
418
+ -------
419
+ bool
420
+ """
421
+ return self["showscale"]
422
+
423
+ @showscale.setter
424
+ def showscale(self, val):
425
+ self["showscale"] = val
426
+
427
+ @property
428
+ def size(self):
429
+ """
430
+ Sets the marker size (in px).
431
+
432
+ The 'size' property is a number and may be specified as:
433
+ - An int or float in the interval [0, inf]
434
+ - A tuple, list, or one-dimensional numpy array of the above
435
+
436
+ Returns
437
+ -------
438
+ int|float|numpy.ndarray
439
+ """
440
+ return self["size"]
441
+
442
+ @size.setter
443
+ def size(self, val):
444
+ self["size"] = val
445
+
446
+ @property
447
+ def sizemin(self):
448
+ """
449
+ Has an effect only if `marker.size` is set to a numerical
450
+ array. Sets the minimum size (in px) of the rendered marker
451
+ points.
452
+
453
+ The 'sizemin' property is a number and may be specified as:
454
+ - An int or float in the interval [0, inf]
455
+
456
+ Returns
457
+ -------
458
+ int|float
459
+ """
460
+ return self["sizemin"]
461
+
462
+ @sizemin.setter
463
+ def sizemin(self, val):
464
+ self["sizemin"] = val
465
+
466
+ @property
467
+ def sizemode(self):
468
+ """
469
+ Has an effect only if `marker.size` is set to a numerical
470
+ array. Sets the rule for which the data in `size` is converted
471
+ to pixels.
472
+
473
+ The 'sizemode' property is an enumeration that may be specified as:
474
+ - One of the following enumeration values:
475
+ ['diameter', 'area']
476
+
477
+ Returns
478
+ -------
479
+ Any
480
+ """
481
+ return self["sizemode"]
482
+
483
+ @sizemode.setter
484
+ def sizemode(self, val):
485
+ self["sizemode"] = val
486
+
487
+ @property
488
+ def sizeref(self):
489
+ """
490
+ Has an effect only if `marker.size` is set to a numerical
491
+ array. Sets the scale factor used to determine the rendered
492
+ size of marker points. Use with `sizemin` and `sizemode`.
493
+
494
+ The 'sizeref' property is a number and may be specified as:
495
+ - An int or float
496
+
497
+ Returns
498
+ -------
499
+ int|float
500
+ """
501
+ return self["sizeref"]
502
+
503
+ @sizeref.setter
504
+ def sizeref(self, val):
505
+ self["sizeref"] = val
506
+
507
+ @property
508
+ def sizesrc(self):
509
+ """
510
+ Sets the source reference on Chart Studio Cloud for `size`.
511
+
512
+ The 'sizesrc' property must be specified as a string or
513
+ as a plotly.grid_objs.Column object
514
+
515
+ Returns
516
+ -------
517
+ str
518
+ """
519
+ return self["sizesrc"]
520
+
521
+ @sizesrc.setter
522
+ def sizesrc(self, val):
523
+ self["sizesrc"] = val
524
+
525
+ @property
526
+ def symbol(self):
527
+ """
528
+ Sets the marker symbol. Full list: https://www.mapbox.com/maki-
529
+ icons/ Note that the array `marker.color` and `marker.size` are
530
+ only available for "circle" symbols.
531
+
532
+ The 'symbol' property is a string and must be specified as:
533
+ - A string
534
+ - A number that will be converted to a string
535
+ - A tuple, list, or one-dimensional numpy array of the above
536
+
537
+ Returns
538
+ -------
539
+ str|numpy.ndarray
540
+ """
541
+ return self["symbol"]
542
+
543
+ @symbol.setter
544
+ def symbol(self, val):
545
+ self["symbol"] = val
546
+
547
+ @property
548
+ def symbolsrc(self):
549
+ """
550
+ Sets the source reference on Chart Studio Cloud for `symbol`.
551
+
552
+ The 'symbolsrc' property must be specified as a string or
553
+ as a plotly.grid_objs.Column object
554
+
555
+ Returns
556
+ -------
557
+ str
558
+ """
559
+ return self["symbolsrc"]
560
+
561
+ @symbolsrc.setter
562
+ def symbolsrc(self, val):
563
+ self["symbolsrc"] = val
564
+
565
+ @property
566
+ def _prop_descriptions(self):
567
+ return """\
568
+ allowoverlap
569
+ Flag to draw all symbols, even if they overlap.
570
+ angle
571
+ Sets the marker orientation from true North, in degrees
572
+ clockwise. When using the "auto" default, no rotation
573
+ would be applied in perspective views which is
574
+ different from using a zero angle.
575
+ anglesrc
576
+ Sets the source reference on Chart Studio Cloud for
577
+ `angle`.
578
+ autocolorscale
579
+ Determines whether the colorscale is a default palette
580
+ (`autocolorscale: true`) or the palette determined by
581
+ `marker.colorscale`. Has an effect only if in
582
+ `marker.color` is set to a numerical array. In case
583
+ `colorscale` is unspecified or `autocolorscale` is
584
+ true, the default palette will be chosen according to
585
+ whether numbers in the `color` array are all positive,
586
+ all negative or mixed.
587
+ cauto
588
+ Determines whether or not the color domain is computed
589
+ with respect to the input data (here in `marker.color`)
590
+ or the bounds set in `marker.cmin` and `marker.cmax`
591
+ Has an effect only if in `marker.color` is set to a
592
+ numerical array. Defaults to `false` when `marker.cmin`
593
+ and `marker.cmax` are set by the user.
594
+ cmax
595
+ Sets the upper bound of the color domain. Has an effect
596
+ only if in `marker.color` is set to a numerical array.
597
+ Value should have the same units as in `marker.color`
598
+ and if set, `marker.cmin` must be set as well.
599
+ cmid
600
+ Sets the mid-point of the color domain by scaling
601
+ `marker.cmin` and/or `marker.cmax` to be equidistant to
602
+ this point. Has an effect only if in `marker.color` is
603
+ set to a numerical array. Value should have the same
604
+ units as in `marker.color`. Has no effect when
605
+ `marker.cauto` is `false`.
606
+ cmin
607
+ Sets the lower bound of the color domain. Has an effect
608
+ only if in `marker.color` is set to a numerical array.
609
+ Value should have the same units as in `marker.color`
610
+ and if set, `marker.cmax` must be set as well.
611
+ color
612
+ Sets the marker color. It accepts either a specific
613
+ color or an array of numbers that are mapped to the
614
+ colorscale relative to the max and min values of the
615
+ array or relative to `marker.cmin` and `marker.cmax` if
616
+ set.
617
+ coloraxis
618
+ Sets a reference to a shared color axis. References to
619
+ these shared color axes are "coloraxis", "coloraxis2",
620
+ "coloraxis3", etc. Settings for these shared color axes
621
+ are set in the layout, under `layout.coloraxis`,
622
+ `layout.coloraxis2`, etc. Note that multiple color
623
+ scales can be linked to the same color axis.
624
+ colorbar
625
+ :class:`plotly.graph_objects.scattermap.marker.ColorBar
626
+ ` instance or dict with compatible properties
627
+ colorscale
628
+ Sets the colorscale. Has an effect only if in
629
+ `marker.color` is set to a numerical array. The
630
+ colorscale must be an array containing arrays mapping a
631
+ normalized value to an rgb, rgba, hex, hsl, hsv, or
632
+ named color string. At minimum, a mapping for the
633
+ lowest (0) and highest (1) values are required. For
634
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
635
+ To control the bounds of the colorscale in color space,
636
+ use `marker.cmin` and `marker.cmax`. Alternatively,
637
+ `colorscale` may be a palette name string of the
638
+ following list: Blackbody,Bluered,Blues,Cividis,Earth,E
639
+ lectric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd
640
+ Bu,Reds,Viridis,YlGnBu,YlOrRd.
641
+ colorsrc
642
+ Sets the source reference on Chart Studio Cloud for
643
+ `color`.
644
+ opacity
645
+ Sets the marker opacity.
646
+ opacitysrc
647
+ Sets the source reference on Chart Studio Cloud for
648
+ `opacity`.
649
+ reversescale
650
+ Reverses the color mapping if true. Has an effect only
651
+ if in `marker.color` is set to a numerical array. If
652
+ true, `marker.cmin` will correspond to the last color
653
+ in the array and `marker.cmax` will correspond to the
654
+ first color.
655
+ showscale
656
+ Determines whether or not a colorbar is displayed for
657
+ this trace. Has an effect only if in `marker.color` is
658
+ set to a numerical array.
659
+ size
660
+ Sets the marker size (in px).
661
+ sizemin
662
+ Has an effect only if `marker.size` is set to a
663
+ numerical array. Sets the minimum size (in px) of the
664
+ rendered marker points.
665
+ sizemode
666
+ Has an effect only if `marker.size` is set to a
667
+ numerical array. Sets the rule for which the data in
668
+ `size` is converted to pixels.
669
+ sizeref
670
+ Has an effect only if `marker.size` is set to a
671
+ numerical array. Sets the scale factor used to
672
+ determine the rendered size of marker points. Use with
673
+ `sizemin` and `sizemode`.
674
+ sizesrc
675
+ Sets the source reference on Chart Studio Cloud for
676
+ `size`.
677
+ symbol
678
+ Sets the marker symbol. Full list:
679
+ https://www.mapbox.com/maki-icons/ Note that the array
680
+ `marker.color` and `marker.size` are only available for
681
+ "circle" symbols.
682
+ symbolsrc
683
+ Sets the source reference on Chart Studio Cloud for
684
+ `symbol`.
685
+ """
686
+
687
+ def __init__(
688
+ self,
689
+ arg=None,
690
+ allowoverlap=None,
691
+ angle=None,
692
+ anglesrc=None,
693
+ autocolorscale=None,
694
+ cauto=None,
695
+ cmax=None,
696
+ cmid=None,
697
+ cmin=None,
698
+ color=None,
699
+ coloraxis=None,
700
+ colorbar=None,
701
+ colorscale=None,
702
+ colorsrc=None,
703
+ opacity=None,
704
+ opacitysrc=None,
705
+ reversescale=None,
706
+ showscale=None,
707
+ size=None,
708
+ sizemin=None,
709
+ sizemode=None,
710
+ sizeref=None,
711
+ sizesrc=None,
712
+ symbol=None,
713
+ symbolsrc=None,
714
+ **kwargs,
715
+ ):
716
+ """
717
+ Construct a new Marker object
718
+
719
+ Parameters
720
+ ----------
721
+ arg
722
+ dict of properties compatible with this constructor or
723
+ an instance of
724
+ :class:`plotly.graph_objs.scattermap.Marker`
725
+ allowoverlap
726
+ Flag to draw all symbols, even if they overlap.
727
+ angle
728
+ Sets the marker orientation from true North, in degrees
729
+ clockwise. When using the "auto" default, no rotation
730
+ would be applied in perspective views which is
731
+ different from using a zero angle.
732
+ anglesrc
733
+ Sets the source reference on Chart Studio Cloud for
734
+ `angle`.
735
+ autocolorscale
736
+ Determines whether the colorscale is a default palette
737
+ (`autocolorscale: true`) or the palette determined by
738
+ `marker.colorscale`. Has an effect only if in
739
+ `marker.color` is set to a numerical array. In case
740
+ `colorscale` is unspecified or `autocolorscale` is
741
+ true, the default palette will be chosen according to
742
+ whether numbers in the `color` array are all positive,
743
+ all negative or mixed.
744
+ cauto
745
+ Determines whether or not the color domain is computed
746
+ with respect to the input data (here in `marker.color`)
747
+ or the bounds set in `marker.cmin` and `marker.cmax`
748
+ Has an effect only if in `marker.color` is set to a
749
+ numerical array. Defaults to `false` when `marker.cmin`
750
+ and `marker.cmax` are set by the user.
751
+ cmax
752
+ Sets the upper bound of the color domain. Has an effect
753
+ only if in `marker.color` is set to a numerical array.
754
+ Value should have the same units as in `marker.color`
755
+ and if set, `marker.cmin` must be set as well.
756
+ cmid
757
+ Sets the mid-point of the color domain by scaling
758
+ `marker.cmin` and/or `marker.cmax` to be equidistant to
759
+ this point. Has an effect only if in `marker.color` is
760
+ set to a numerical array. Value should have the same
761
+ units as in `marker.color`. Has no effect when
762
+ `marker.cauto` is `false`.
763
+ cmin
764
+ Sets the lower bound of the color domain. Has an effect
765
+ only if in `marker.color` is set to a numerical array.
766
+ Value should have the same units as in `marker.color`
767
+ and if set, `marker.cmax` must be set as well.
768
+ color
769
+ Sets the marker color. It accepts either a specific
770
+ color or an array of numbers that are mapped to the
771
+ colorscale relative to the max and min values of the
772
+ array or relative to `marker.cmin` and `marker.cmax` if
773
+ set.
774
+ coloraxis
775
+ Sets a reference to a shared color axis. References to
776
+ these shared color axes are "coloraxis", "coloraxis2",
777
+ "coloraxis3", etc. Settings for these shared color axes
778
+ are set in the layout, under `layout.coloraxis`,
779
+ `layout.coloraxis2`, etc. Note that multiple color
780
+ scales can be linked to the same color axis.
781
+ colorbar
782
+ :class:`plotly.graph_objects.scattermap.marker.ColorBar
783
+ ` instance or dict with compatible properties
784
+ colorscale
785
+ Sets the colorscale. Has an effect only if in
786
+ `marker.color` is set to a numerical array. The
787
+ colorscale must be an array containing arrays mapping a
788
+ normalized value to an rgb, rgba, hex, hsl, hsv, or
789
+ named color string. At minimum, a mapping for the
790
+ lowest (0) and highest (1) values are required. For
791
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
792
+ To control the bounds of the colorscale in color space,
793
+ use `marker.cmin` and `marker.cmax`. Alternatively,
794
+ `colorscale` may be a palette name string of the
795
+ following list: Blackbody,Bluered,Blues,Cividis,Earth,E
796
+ lectric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd
797
+ Bu,Reds,Viridis,YlGnBu,YlOrRd.
798
+ colorsrc
799
+ Sets the source reference on Chart Studio Cloud for
800
+ `color`.
801
+ opacity
802
+ Sets the marker opacity.
803
+ opacitysrc
804
+ Sets the source reference on Chart Studio Cloud for
805
+ `opacity`.
806
+ reversescale
807
+ Reverses the color mapping if true. Has an effect only
808
+ if in `marker.color` is set to a numerical array. If
809
+ true, `marker.cmin` will correspond to the last color
810
+ in the array and `marker.cmax` will correspond to the
811
+ first color.
812
+ showscale
813
+ Determines whether or not a colorbar is displayed for
814
+ this trace. Has an effect only if in `marker.color` is
815
+ set to a numerical array.
816
+ size
817
+ Sets the marker size (in px).
818
+ sizemin
819
+ Has an effect only if `marker.size` is set to a
820
+ numerical array. Sets the minimum size (in px) of the
821
+ rendered marker points.
822
+ sizemode
823
+ Has an effect only if `marker.size` is set to a
824
+ numerical array. Sets the rule for which the data in
825
+ `size` is converted to pixels.
826
+ sizeref
827
+ Has an effect only if `marker.size` is set to a
828
+ numerical array. Sets the scale factor used to
829
+ determine the rendered size of marker points. Use with
830
+ `sizemin` and `sizemode`.
831
+ sizesrc
832
+ Sets the source reference on Chart Studio Cloud for
833
+ `size`.
834
+ symbol
835
+ Sets the marker symbol. Full list:
836
+ https://www.mapbox.com/maki-icons/ Note that the array
837
+ `marker.color` and `marker.size` are only available for
838
+ "circle" symbols.
839
+ symbolsrc
840
+ Sets the source reference on Chart Studio Cloud for
841
+ `symbol`.
842
+
843
+ Returns
844
+ -------
845
+ Marker
846
+ """
847
+ super().__init__("marker")
848
+ if "_parent" in kwargs:
849
+ self._parent = kwargs["_parent"]
850
+ return
851
+
852
+ if arg is None:
853
+ arg = {}
854
+ elif isinstance(arg, self.__class__):
855
+ arg = arg.to_plotly_json()
856
+ elif isinstance(arg, dict):
857
+ arg = _copy.copy(arg)
858
+ else:
859
+ raise ValueError("""\
860
+ The first argument to the plotly.graph_objs.scattermap.Marker
861
+ constructor must be a dict or
862
+ an instance of :class:`plotly.graph_objs.scattermap.Marker`""")
863
+
864
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
865
+ self._validate = kwargs.pop("_validate", True)
866
+
867
+ self._set_property("allowoverlap", arg, allowoverlap)
868
+ self._set_property("angle", arg, angle)
869
+ self._set_property("anglesrc", arg, anglesrc)
870
+ self._set_property("autocolorscale", arg, autocolorscale)
871
+ self._set_property("cauto", arg, cauto)
872
+ self._set_property("cmax", arg, cmax)
873
+ self._set_property("cmid", arg, cmid)
874
+ self._set_property("cmin", arg, cmin)
875
+ self._set_property("color", arg, color)
876
+ self._set_property("coloraxis", arg, coloraxis)
877
+ self._set_property("colorbar", arg, colorbar)
878
+ self._set_property("colorscale", arg, colorscale)
879
+ self._set_property("colorsrc", arg, colorsrc)
880
+ self._set_property("opacity", arg, opacity)
881
+ self._set_property("opacitysrc", arg, opacitysrc)
882
+ self._set_property("reversescale", arg, reversescale)
883
+ self._set_property("showscale", arg, showscale)
884
+ self._set_property("size", arg, size)
885
+ self._set_property("sizemin", arg, sizemin)
886
+ self._set_property("sizemode", arg, sizemode)
887
+ self._set_property("sizeref", arg, sizeref)
888
+ self._set_property("sizesrc", arg, sizesrc)
889
+ self._set_property("symbol", arg, symbol)
890
+ self._set_property("symbolsrc", arg, symbolsrc)
891
+ self._process_kwargs(**dict(arg, **kwargs))
892
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_selected.py ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Selected(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.selected"
11
+ _valid_props = {"marker"}
12
+
13
+ @property
14
+ def marker(self):
15
+ """
16
+ The 'marker' property is an instance of Marker
17
+ that may be specified as:
18
+ - An instance of :class:`plotly.graph_objs.scattermap.selected.Marker`
19
+ - A dict of string/value properties that will be passed
20
+ to the Marker constructor
21
+
22
+ Returns
23
+ -------
24
+ plotly.graph_objs.scattermap.selected.Marker
25
+ """
26
+ return self["marker"]
27
+
28
+ @marker.setter
29
+ def marker(self, val):
30
+ self["marker"] = val
31
+
32
+ @property
33
+ def _prop_descriptions(self):
34
+ return """\
35
+ marker
36
+ :class:`plotly.graph_objects.scattermap.selected.Marker
37
+ ` instance or dict with compatible properties
38
+ """
39
+
40
+ def __init__(self, arg=None, marker=None, **kwargs):
41
+ """
42
+ Construct a new Selected object
43
+
44
+ Parameters
45
+ ----------
46
+ arg
47
+ dict of properties compatible with this constructor or
48
+ an instance of
49
+ :class:`plotly.graph_objs.scattermap.Selected`
50
+ marker
51
+ :class:`plotly.graph_objects.scattermap.selected.Marker
52
+ ` instance or dict with compatible properties
53
+
54
+ Returns
55
+ -------
56
+ Selected
57
+ """
58
+ super().__init__("selected")
59
+ if "_parent" in kwargs:
60
+ self._parent = kwargs["_parent"]
61
+ return
62
+
63
+ if arg is None:
64
+ arg = {}
65
+ elif isinstance(arg, self.__class__):
66
+ arg = arg.to_plotly_json()
67
+ elif isinstance(arg, dict):
68
+ arg = _copy.copy(arg)
69
+ else:
70
+ raise ValueError("""\
71
+ The first argument to the plotly.graph_objs.scattermap.Selected
72
+ constructor must be a dict or
73
+ an instance of :class:`plotly.graph_objs.scattermap.Selected`""")
74
+
75
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
76
+ self._validate = kwargs.pop("_validate", True)
77
+
78
+ self._set_property("marker", arg, marker)
79
+ self._process_kwargs(**dict(arg, **kwargs))
80
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_stream.py ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Stream(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.stream"
11
+ _valid_props = {"maxpoints", "token"}
12
+
13
+ @property
14
+ def maxpoints(self):
15
+ """
16
+ Sets the maximum number of points to keep on the plots from an
17
+ incoming stream. If `maxpoints` is set to 50, only the newest
18
+ 50 points will be displayed on the plot.
19
+
20
+ The 'maxpoints' property is a number and may be specified as:
21
+ - An int or float in the interval [0, 10000]
22
+
23
+ Returns
24
+ -------
25
+ int|float
26
+ """
27
+ return self["maxpoints"]
28
+
29
+ @maxpoints.setter
30
+ def maxpoints(self, val):
31
+ self["maxpoints"] = val
32
+
33
+ @property
34
+ def token(self):
35
+ """
36
+ The stream id number links a data trace on a plot with a
37
+ stream. See https://chart-studio.plotly.com/settings for more
38
+ details.
39
+
40
+ The 'token' property is a string and must be specified as:
41
+ - A non-empty string
42
+
43
+ Returns
44
+ -------
45
+ str
46
+ """
47
+ return self["token"]
48
+
49
+ @token.setter
50
+ def token(self, val):
51
+ self["token"] = val
52
+
53
+ @property
54
+ def _prop_descriptions(self):
55
+ return """\
56
+ maxpoints
57
+ Sets the maximum number of points to keep on the plots
58
+ from an incoming stream. If `maxpoints` is set to 50,
59
+ only the newest 50 points will be displayed on the
60
+ plot.
61
+ token
62
+ The stream id number links a data trace on a plot with
63
+ a stream. See https://chart-studio.plotly.com/settings
64
+ for more details.
65
+ """
66
+
67
+ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):
68
+ """
69
+ Construct a new Stream object
70
+
71
+ Parameters
72
+ ----------
73
+ arg
74
+ dict of properties compatible with this constructor or
75
+ an instance of
76
+ :class:`plotly.graph_objs.scattermap.Stream`
77
+ maxpoints
78
+ Sets the maximum number of points to keep on the plots
79
+ from an incoming stream. If `maxpoints` is set to 50,
80
+ only the newest 50 points will be displayed on the
81
+ plot.
82
+ token
83
+ The stream id number links a data trace on a plot with
84
+ a stream. See https://chart-studio.plotly.com/settings
85
+ for more details.
86
+
87
+ Returns
88
+ -------
89
+ Stream
90
+ """
91
+ super().__init__("stream")
92
+ if "_parent" in kwargs:
93
+ self._parent = kwargs["_parent"]
94
+ return
95
+
96
+ if arg is None:
97
+ arg = {}
98
+ elif isinstance(arg, self.__class__):
99
+ arg = arg.to_plotly_json()
100
+ elif isinstance(arg, dict):
101
+ arg = _copy.copy(arg)
102
+ else:
103
+ raise ValueError("""\
104
+ The first argument to the plotly.graph_objs.scattermap.Stream
105
+ constructor must be a dict or
106
+ an instance of :class:`plotly.graph_objs.scattermap.Stream`""")
107
+
108
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
109
+ self._validate = kwargs.pop("_validate", True)
110
+
111
+ self._set_property("maxpoints", arg, maxpoints)
112
+ self._set_property("token", arg, token)
113
+ self._process_kwargs(**dict(arg, **kwargs))
114
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_textfont.py ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Textfont(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.textfont"
11
+ _valid_props = {"color", "family", "size", "style", "weight"}
12
+
13
+ @property
14
+ def color(self):
15
+ """
16
+ The 'color' property is a color and may be specified as:
17
+ - A hex string (e.g. '#ff0000')
18
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
19
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
20
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
21
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
22
+
23
+ Returns
24
+ -------
25
+ str
26
+ """
27
+ return self["color"]
28
+
29
+ @color.setter
30
+ def color(self, val):
31
+ self["color"] = val
32
+
33
+ @property
34
+ def family(self):
35
+ """
36
+ HTML font family - the typeface that will be applied by the web
37
+ browser. The web browser can only apply a font if it is
38
+ available on the system where it runs. Provide multiple font
39
+ families, separated by commas, to indicate the order in which
40
+ to apply fonts if they aren't available.
41
+
42
+ The 'family' property is a string and must be specified as:
43
+ - A non-empty string
44
+
45
+ Returns
46
+ -------
47
+ str
48
+ """
49
+ return self["family"]
50
+
51
+ @family.setter
52
+ def family(self, val):
53
+ self["family"] = val
54
+
55
+ @property
56
+ def size(self):
57
+ """
58
+ The 'size' property is a number and may be specified as:
59
+ - An int or float in the interval [1, 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 style(self):
73
+ """
74
+ Sets whether a font should be styled with a normal or italic
75
+ face from its family.
76
+
77
+ The 'style' property is an enumeration that may be specified as:
78
+ - One of the following enumeration values:
79
+ ['normal', 'italic']
80
+
81
+ Returns
82
+ -------
83
+ Any
84
+ """
85
+ return self["style"]
86
+
87
+ @style.setter
88
+ def style(self, val):
89
+ self["style"] = val
90
+
91
+ @property
92
+ def weight(self):
93
+ """
94
+ Sets the weight (or boldness) of the font.
95
+
96
+ The 'weight' property is a integer and may be specified as:
97
+ - An int (or float that will be cast to an int)
98
+ in the interval [1, 1000]
99
+ OR exactly one of ['normal', 'bold'] (e.g. 'bold')
100
+
101
+ Returns
102
+ -------
103
+ int
104
+ """
105
+ return self["weight"]
106
+
107
+ @weight.setter
108
+ def weight(self, val):
109
+ self["weight"] = val
110
+
111
+ @property
112
+ def _prop_descriptions(self):
113
+ return """\
114
+ color
115
+
116
+ family
117
+ HTML font family - the typeface that will be applied by
118
+ the web browser. The web browser can only apply a font
119
+ if it is available on the system where it runs. Provide
120
+ multiple font families, separated by commas, to
121
+ indicate the order in which to apply fonts if they
122
+ aren't available.
123
+ size
124
+
125
+ style
126
+ Sets whether a font should be styled with a normal or
127
+ italic face from its family.
128
+ weight
129
+ Sets the weight (or boldness) of the font.
130
+ """
131
+
132
+ def __init__(
133
+ self,
134
+ arg=None,
135
+ color=None,
136
+ family=None,
137
+ size=None,
138
+ style=None,
139
+ weight=None,
140
+ **kwargs,
141
+ ):
142
+ """
143
+ Construct a new Textfont object
144
+
145
+ Sets the icon text font (color=map.layer.paint.text-color,
146
+ size=map.layer.layout.text-size). Has an effect only when
147
+ `type` is set to "symbol".
148
+
149
+ Parameters
150
+ ----------
151
+ arg
152
+ dict of properties compatible with this constructor or
153
+ an instance of
154
+ :class:`plotly.graph_objs.scattermap.Textfont`
155
+ color
156
+
157
+ family
158
+ HTML font family - the typeface that will be applied by
159
+ the web browser. The web browser can only apply a font
160
+ if it is available on the system where it runs. Provide
161
+ multiple font families, separated by commas, to
162
+ indicate the order in which to apply fonts if they
163
+ aren't available.
164
+ size
165
+
166
+ style
167
+ Sets whether a font should be styled with a normal or
168
+ italic face from its family.
169
+ weight
170
+ Sets the weight (or boldness) of the font.
171
+
172
+ Returns
173
+ -------
174
+ Textfont
175
+ """
176
+ super().__init__("textfont")
177
+ if "_parent" in kwargs:
178
+ self._parent = kwargs["_parent"]
179
+ return
180
+
181
+ if arg is None:
182
+ arg = {}
183
+ elif isinstance(arg, self.__class__):
184
+ arg = arg.to_plotly_json()
185
+ elif isinstance(arg, dict):
186
+ arg = _copy.copy(arg)
187
+ else:
188
+ raise ValueError("""\
189
+ The first argument to the plotly.graph_objs.scattermap.Textfont
190
+ constructor must be a dict or
191
+ an instance of :class:`plotly.graph_objs.scattermap.Textfont`""")
192
+
193
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
194
+ self._validate = kwargs.pop("_validate", True)
195
+
196
+ self._set_property("color", arg, color)
197
+ self._set_property("family", arg, family)
198
+ self._set_property("size", arg, size)
199
+ self._set_property("style", arg, style)
200
+ self._set_property("weight", arg, weight)
201
+ self._process_kwargs(**dict(arg, **kwargs))
202
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/_unselected.py ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Unselected(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap"
10
+ _path_str = "scattermap.unselected"
11
+ _valid_props = {"marker"}
12
+
13
+ @property
14
+ def marker(self):
15
+ """
16
+ The 'marker' property is an instance of Marker
17
+ that may be specified as:
18
+ - An instance of :class:`plotly.graph_objs.scattermap.unselected.Marker`
19
+ - A dict of string/value properties that will be passed
20
+ to the Marker constructor
21
+
22
+ Returns
23
+ -------
24
+ plotly.graph_objs.scattermap.unselected.Marker
25
+ """
26
+ return self["marker"]
27
+
28
+ @marker.setter
29
+ def marker(self, val):
30
+ self["marker"] = val
31
+
32
+ @property
33
+ def _prop_descriptions(self):
34
+ return """\
35
+ marker
36
+ :class:`plotly.graph_objects.scattermap.unselected.Mark
37
+ er` instance or dict with compatible properties
38
+ """
39
+
40
+ def __init__(self, arg=None, marker=None, **kwargs):
41
+ """
42
+ Construct a new Unselected object
43
+
44
+ Parameters
45
+ ----------
46
+ arg
47
+ dict of properties compatible with this constructor or
48
+ an instance of
49
+ :class:`plotly.graph_objs.scattermap.Unselected`
50
+ marker
51
+ :class:`plotly.graph_objects.scattermap.unselected.Mark
52
+ er` instance or dict with compatible properties
53
+
54
+ Returns
55
+ -------
56
+ Unselected
57
+ """
58
+ super().__init__("unselected")
59
+ if "_parent" in kwargs:
60
+ self._parent = kwargs["_parent"]
61
+ return
62
+
63
+ if arg is None:
64
+ arg = {}
65
+ elif isinstance(arg, self.__class__):
66
+ arg = arg.to_plotly_json()
67
+ elif isinstance(arg, dict):
68
+ arg = _copy.copy(arg)
69
+ else:
70
+ raise ValueError("""\
71
+ The first argument to the plotly.graph_objs.scattermap.Unselected
72
+ constructor must be a dict or
73
+ an instance of :class:`plotly.graph_objs.scattermap.Unselected`""")
74
+
75
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
76
+ self._validate = kwargs.pop("_validate", True)
77
+
78
+ self._set_property("marker", arg, marker)
79
+ self._process_kwargs(**dict(arg, **kwargs))
80
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/hoverlabel/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/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/scattermap/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 = "scattermap.hoverlabel"
10
+ _path_str = "scattermap.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.scattermap.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.scattermap.hoverlabel.Font
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.scattermap.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/scattermap/legendgrouptitle/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/legendgrouptitle/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/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/scattermap/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 = "scattermap.legendgrouptitle"
10
+ _path_str = "scattermap.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 :class:`plotly.graph_objs.scattermap.leg
267
+ endgrouptitle.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.scattermap.legendgrouptitle.Font
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.scattermap.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/scattermap/marker/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/.__colorbar.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/._colorbar ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._colorbar import ColorBar
6
+ from . import colorbar
7
+ else:
8
+ from _plotly_utils.importers import relative_import
9
+
10
+ __all__, __getattr__, __dir__ = relative_import(
11
+ __name__, [".colorbar"], ["._colorbar.ColorBar"]
12
+ )
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/_colorbar.py ADDED
@@ -0,0 +1,1739 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ColorBar(_BaseTraceHierarchyType):
9
+ _parent_path_str = "scattermap.marker"
10
+ _path_str = "scattermap.marker.colorbar"
11
+ _valid_props = {
12
+ "bgcolor",
13
+ "bordercolor",
14
+ "borderwidth",
15
+ "dtick",
16
+ "exponentformat",
17
+ "labelalias",
18
+ "len",
19
+ "lenmode",
20
+ "minexponent",
21
+ "nticks",
22
+ "orientation",
23
+ "outlinecolor",
24
+ "outlinewidth",
25
+ "separatethousands",
26
+ "showexponent",
27
+ "showticklabels",
28
+ "showtickprefix",
29
+ "showticksuffix",
30
+ "thickness",
31
+ "thicknessmode",
32
+ "tick0",
33
+ "tickangle",
34
+ "tickcolor",
35
+ "tickfont",
36
+ "tickformat",
37
+ "tickformatstopdefaults",
38
+ "tickformatstops",
39
+ "ticklabeloverflow",
40
+ "ticklabelposition",
41
+ "ticklabelstep",
42
+ "ticklen",
43
+ "tickmode",
44
+ "tickprefix",
45
+ "ticks",
46
+ "ticksuffix",
47
+ "ticktext",
48
+ "ticktextsrc",
49
+ "tickvals",
50
+ "tickvalssrc",
51
+ "tickwidth",
52
+ "title",
53
+ "x",
54
+ "xanchor",
55
+ "xpad",
56
+ "xref",
57
+ "y",
58
+ "yanchor",
59
+ "ypad",
60
+ "yref",
61
+ }
62
+
63
+ @property
64
+ def bgcolor(self):
65
+ """
66
+ Sets the color of padded area.
67
+
68
+ The 'bgcolor' property is a color and may be specified as:
69
+ - A hex string (e.g. '#ff0000')
70
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
71
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
72
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
73
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
74
+
75
+ Returns
76
+ -------
77
+ str
78
+ """
79
+ return self["bgcolor"]
80
+
81
+ @bgcolor.setter
82
+ def bgcolor(self, val):
83
+ self["bgcolor"] = val
84
+
85
+ @property
86
+ def bordercolor(self):
87
+ """
88
+ Sets the axis line color.
89
+
90
+ The 'bordercolor' property is a color and may be specified as:
91
+ - A hex string (e.g. '#ff0000')
92
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
93
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
94
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
95
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
96
+
97
+ Returns
98
+ -------
99
+ str
100
+ """
101
+ return self["bordercolor"]
102
+
103
+ @bordercolor.setter
104
+ def bordercolor(self, val):
105
+ self["bordercolor"] = val
106
+
107
+ @property
108
+ def borderwidth(self):
109
+ """
110
+ Sets the width (in px) or the border enclosing this color bar.
111
+
112
+ The 'borderwidth' property is a number and may be specified as:
113
+ - An int or float in the interval [0, inf]
114
+
115
+ Returns
116
+ -------
117
+ int|float
118
+ """
119
+ return self["borderwidth"]
120
+
121
+ @borderwidth.setter
122
+ def borderwidth(self, val):
123
+ self["borderwidth"] = val
124
+
125
+ @property
126
+ def dtick(self):
127
+ """
128
+ Sets the step in-between ticks on this axis. Use with `tick0`.
129
+ Must be a positive number, or special strings available to
130
+ "log" and "date" axes. If the axis `type` is "log", then ticks
131
+ are set every 10^(n*dtick) where n is the tick number. For
132
+ example, to set a tick mark at 1, 10, 100, 1000, ... set dtick
133
+ to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2.
134
+ To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to
135
+ log_10(5), or 0.69897000433. "log" has several special values;
136
+ "L<f>", where `f` is a positive number, gives ticks linearly
137
+ spaced in value (but not position). For example `tick0` = 0.1,
138
+ `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To
139
+ show powers of 10 plus small digits between, use "D1" (all
140
+ digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and
141
+ "D2". If the axis `type` is "date", then you must convert the
142
+ time to milliseconds. For example, to set the interval between
143
+ ticks to one day, set `dtick` to 86400000.0. "date" also has
144
+ special values "M<n>" gives ticks spaced by a number of months.
145
+ `n` must be a positive integer. To set ticks on the 15th of
146
+ every third month, set `tick0` to "2000-01-15" and `dtick` to
147
+ "M3". To set ticks every 4 years, set `dtick` to "M48"
148
+
149
+ The 'dtick' property accepts values of any type
150
+
151
+ Returns
152
+ -------
153
+ Any
154
+ """
155
+ return self["dtick"]
156
+
157
+ @dtick.setter
158
+ def dtick(self, val):
159
+ self["dtick"] = val
160
+
161
+ @property
162
+ def exponentformat(self):
163
+ """
164
+ Determines a formatting rule for the tick exponents. For
165
+ example, consider the number 1,000,000,000. If "none", it
166
+ appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
167
+ "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
168
+ "B", 1B. "SI" uses prefixes from "femto" f (10^-15) to "tera" T
169
+ (10^12). *SI extended* covers instead the full SI range from
170
+ "quecto" q (10^-30) to "quetta" Q (10^30). If "SI" or *SI
171
+ extended* is used and the exponent is beyond the above ranges,
172
+ the formatting rule will automatically be switched to the power
173
+ notation.
174
+
175
+ The 'exponentformat' property is an enumeration that may be specified as:
176
+ - One of the following enumeration values:
177
+ ['none', 'e', 'E', 'power', 'SI', 'B', 'SI extended']
178
+
179
+ Returns
180
+ -------
181
+ Any
182
+ """
183
+ return self["exponentformat"]
184
+
185
+ @exponentformat.setter
186
+ def exponentformat(self, val):
187
+ self["exponentformat"] = val
188
+
189
+ @property
190
+ def labelalias(self):
191
+ """
192
+ Replacement text for specific tick or hover labels. For example
193
+ using {US: 'USA', CA: 'Canada'} changes US to USA and CA to
194
+ Canada. The labels we would have shown must match the keys
195
+ exactly, after adding any tickprefix or ticksuffix. For
196
+ negative numbers the minus sign symbol used (U+2212) is wider
197
+ than the regular ascii dash. That means you need to use −1
198
+ instead of -1. labelalias can be used with any axis type, and
199
+ both keys (if needed) and values (if desired) can include html-
200
+ like tags or MathJax.
201
+
202
+ The 'labelalias' property accepts values of any type
203
+
204
+ Returns
205
+ -------
206
+ Any
207
+ """
208
+ return self["labelalias"]
209
+
210
+ @labelalias.setter
211
+ def labelalias(self, val):
212
+ self["labelalias"] = val
213
+
214
+ @property
215
+ def len(self):
216
+ """
217
+ Sets the length of the color bar This measure excludes the
218
+ padding of both ends. That is, the color bar length is this
219
+ length minus the padding on both ends.
220
+
221
+ The 'len' property is a number and may be specified as:
222
+ - An int or float in the interval [0, inf]
223
+
224
+ Returns
225
+ -------
226
+ int|float
227
+ """
228
+ return self["len"]
229
+
230
+ @len.setter
231
+ def len(self, val):
232
+ self["len"] = val
233
+
234
+ @property
235
+ def lenmode(self):
236
+ """
237
+ Determines whether this color bar's length (i.e. the measure in
238
+ the color variation direction) is set in units of plot
239
+ "fraction" or in *pixels. Use `len` to set the value.
240
+
241
+ The 'lenmode' property is an enumeration that may be specified as:
242
+ - One of the following enumeration values:
243
+ ['fraction', 'pixels']
244
+
245
+ Returns
246
+ -------
247
+ Any
248
+ """
249
+ return self["lenmode"]
250
+
251
+ @lenmode.setter
252
+ def lenmode(self, val):
253
+ self["lenmode"] = val
254
+
255
+ @property
256
+ def minexponent(self):
257
+ """
258
+ Hide SI prefix for 10^n if |n| is below this number. This only
259
+ has an effect when `tickformat` is "SI" or "B".
260
+
261
+ The 'minexponent' property is a number and may be specified as:
262
+ - An int or float in the interval [0, inf]
263
+
264
+ Returns
265
+ -------
266
+ int|float
267
+ """
268
+ return self["minexponent"]
269
+
270
+ @minexponent.setter
271
+ def minexponent(self, val):
272
+ self["minexponent"] = val
273
+
274
+ @property
275
+ def nticks(self):
276
+ """
277
+ Specifies the maximum number of ticks for the particular axis.
278
+ The actual number of ticks will be chosen automatically to be
279
+ less than or equal to `nticks`. Has an effect only if
280
+ `tickmode` is set to "auto".
281
+
282
+ The 'nticks' property is a integer and may be specified as:
283
+ - An int (or float that will be cast to an int)
284
+ in the interval [0, 9223372036854775807]
285
+
286
+ Returns
287
+ -------
288
+ int
289
+ """
290
+ return self["nticks"]
291
+
292
+ @nticks.setter
293
+ def nticks(self, val):
294
+ self["nticks"] = val
295
+
296
+ @property
297
+ def orientation(self):
298
+ """
299
+ Sets the orientation of the colorbar.
300
+
301
+ The 'orientation' property is an enumeration that may be specified as:
302
+ - One of the following enumeration values:
303
+ ['h', 'v']
304
+
305
+ Returns
306
+ -------
307
+ Any
308
+ """
309
+ return self["orientation"]
310
+
311
+ @orientation.setter
312
+ def orientation(self, val):
313
+ self["orientation"] = val
314
+
315
+ @property
316
+ def outlinecolor(self):
317
+ """
318
+ Sets the axis line color.
319
+
320
+ The 'outlinecolor' property is a color and may be specified as:
321
+ - A hex string (e.g. '#ff0000')
322
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
323
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
324
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
325
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
326
+
327
+ Returns
328
+ -------
329
+ str
330
+ """
331
+ return self["outlinecolor"]
332
+
333
+ @outlinecolor.setter
334
+ def outlinecolor(self, val):
335
+ self["outlinecolor"] = val
336
+
337
+ @property
338
+ def outlinewidth(self):
339
+ """
340
+ Sets the width (in px) of the axis line.
341
+
342
+ The 'outlinewidth' property is a number and may be specified as:
343
+ - An int or float in the interval [0, inf]
344
+
345
+ Returns
346
+ -------
347
+ int|float
348
+ """
349
+ return self["outlinewidth"]
350
+
351
+ @outlinewidth.setter
352
+ def outlinewidth(self, val):
353
+ self["outlinewidth"] = val
354
+
355
+ @property
356
+ def separatethousands(self):
357
+ """
358
+ If "true", even 4-digit integers are separated
359
+
360
+ The 'separatethousands' property is a boolean and must be specified as:
361
+ - A boolean value: True or False
362
+
363
+ Returns
364
+ -------
365
+ bool
366
+ """
367
+ return self["separatethousands"]
368
+
369
+ @separatethousands.setter
370
+ def separatethousands(self, val):
371
+ self["separatethousands"] = val
372
+
373
+ @property
374
+ def showexponent(self):
375
+ """
376
+ If "all", all exponents are shown besides their significands.
377
+ If "first", only the exponent of the first tick is shown. If
378
+ "last", only the exponent of the last tick is shown. If "none",
379
+ no exponents appear.
380
+
381
+ The 'showexponent' property is an enumeration that may be specified as:
382
+ - One of the following enumeration values:
383
+ ['all', 'first', 'last', 'none']
384
+
385
+ Returns
386
+ -------
387
+ Any
388
+ """
389
+ return self["showexponent"]
390
+
391
+ @showexponent.setter
392
+ def showexponent(self, val):
393
+ self["showexponent"] = val
394
+
395
+ @property
396
+ def showticklabels(self):
397
+ """
398
+ Determines whether or not the tick labels are drawn.
399
+
400
+ The 'showticklabels' property is a boolean and must be specified as:
401
+ - A boolean value: True or False
402
+
403
+ Returns
404
+ -------
405
+ bool
406
+ """
407
+ return self["showticklabels"]
408
+
409
+ @showticklabels.setter
410
+ def showticklabels(self, val):
411
+ self["showticklabels"] = val
412
+
413
+ @property
414
+ def showtickprefix(self):
415
+ """
416
+ If "all", all tick labels are displayed with a prefix. If
417
+ "first", only the first tick is displayed with a prefix. If
418
+ "last", only the last tick is displayed with a suffix. If
419
+ "none", tick prefixes are hidden.
420
+
421
+ The 'showtickprefix' property is an enumeration that may be specified as:
422
+ - One of the following enumeration values:
423
+ ['all', 'first', 'last', 'none']
424
+
425
+ Returns
426
+ -------
427
+ Any
428
+ """
429
+ return self["showtickprefix"]
430
+
431
+ @showtickprefix.setter
432
+ def showtickprefix(self, val):
433
+ self["showtickprefix"] = val
434
+
435
+ @property
436
+ def showticksuffix(self):
437
+ """
438
+ Same as `showtickprefix` but for tick suffixes.
439
+
440
+ The 'showticksuffix' property is an enumeration that may be specified as:
441
+ - One of the following enumeration values:
442
+ ['all', 'first', 'last', 'none']
443
+
444
+ Returns
445
+ -------
446
+ Any
447
+ """
448
+ return self["showticksuffix"]
449
+
450
+ @showticksuffix.setter
451
+ def showticksuffix(self, val):
452
+ self["showticksuffix"] = val
453
+
454
+ @property
455
+ def thickness(self):
456
+ """
457
+ Sets the thickness of the color bar This measure excludes the
458
+ size of the padding, ticks and labels.
459
+
460
+ The 'thickness' property is a number and may be specified as:
461
+ - An int or float in the interval [0, inf]
462
+
463
+ Returns
464
+ -------
465
+ int|float
466
+ """
467
+ return self["thickness"]
468
+
469
+ @thickness.setter
470
+ def thickness(self, val):
471
+ self["thickness"] = val
472
+
473
+ @property
474
+ def thicknessmode(self):
475
+ """
476
+ Determines whether this color bar's thickness (i.e. the measure
477
+ in the constant color direction) is set in units of plot
478
+ "fraction" or in "pixels". Use `thickness` to set the value.
479
+
480
+ The 'thicknessmode' property is an enumeration that may be specified as:
481
+ - One of the following enumeration values:
482
+ ['fraction', 'pixels']
483
+
484
+ Returns
485
+ -------
486
+ Any
487
+ """
488
+ return self["thicknessmode"]
489
+
490
+ @thicknessmode.setter
491
+ def thicknessmode(self, val):
492
+ self["thicknessmode"] = val
493
+
494
+ @property
495
+ def tick0(self):
496
+ """
497
+ Sets the placement of the first tick on this axis. Use with
498
+ `dtick`. If the axis `type` is "log", then you must take the
499
+ log of your starting tick (e.g. to set the starting tick to
500
+ 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see
501
+ `dtick` for more info). If the axis `type` is "date", it should
502
+ be a date string, like date data. If the axis `type` is
503
+ "category", it should be a number, using the scale where each
504
+ category is assigned a serial number from zero in the order it
505
+ appears.
506
+
507
+ The 'tick0' property accepts values of any type
508
+
509
+ Returns
510
+ -------
511
+ Any
512
+ """
513
+ return self["tick0"]
514
+
515
+ @tick0.setter
516
+ def tick0(self, val):
517
+ self["tick0"] = val
518
+
519
+ @property
520
+ def tickangle(self):
521
+ """
522
+ Sets the angle of the tick labels with respect to the
523
+ horizontal. For example, a `tickangle` of -90 draws the tick
524
+ labels vertically.
525
+
526
+ The 'tickangle' property is a angle (in degrees) that may be
527
+ specified as a number between -180 and 180.
528
+ Numeric values outside this range are converted to the equivalent value
529
+ (e.g. 270 is converted to -90).
530
+
531
+ Returns
532
+ -------
533
+ int|float
534
+ """
535
+ return self["tickangle"]
536
+
537
+ @tickangle.setter
538
+ def tickangle(self, val):
539
+ self["tickangle"] = val
540
+
541
+ @property
542
+ def tickcolor(self):
543
+ """
544
+ Sets the tick color.
545
+
546
+ The 'tickcolor' property is a color and may be specified as:
547
+ - A hex string (e.g. '#ff0000')
548
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
549
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
550
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
551
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
552
+
553
+ Returns
554
+ -------
555
+ str
556
+ """
557
+ return self["tickcolor"]
558
+
559
+ @tickcolor.setter
560
+ def tickcolor(self, val):
561
+ self["tickcolor"] = val
562
+
563
+ @property
564
+ def tickfont(self):
565
+ """
566
+ Sets the color bar's tick label font
567
+
568
+ The 'tickfont' property is an instance of Tickfont
569
+ that may be specified as:
570
+ - An instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Tickfont`
571
+ - A dict of string/value properties that will be passed
572
+ to the Tickfont constructor
573
+
574
+ Returns
575
+ -------
576
+ plotly.graph_objs.scattermap.marker.colorbar.Tickfont
577
+ """
578
+ return self["tickfont"]
579
+
580
+ @tickfont.setter
581
+ def tickfont(self, val):
582
+ self["tickfont"] = val
583
+
584
+ @property
585
+ def tickformat(self):
586
+ """
587
+ Sets the tick label formatting rule using d3 formatting mini-
588
+ languages which are very similar to those in Python. For
589
+ numbers, see:
590
+ https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for
591
+ dates see: https://github.com/d3/d3-time-
592
+ format/tree/v2.2.3#locale_format. We add two items to d3's date
593
+ formatter: "%h" for half of the year as a decimal number as
594
+ well as "%{n}f" for fractional seconds with n digits. For
595
+ example, *2016-10-13 09:15:23.456* with tickformat
596
+ "%H~%M~%S.%2f" would display "09~15~23.46"
597
+
598
+ The 'tickformat' property is a string and must be specified as:
599
+ - A string
600
+ - A number that will be converted to a string
601
+
602
+ Returns
603
+ -------
604
+ str
605
+ """
606
+ return self["tickformat"]
607
+
608
+ @tickformat.setter
609
+ def tickformat(self, val):
610
+ self["tickformat"] = val
611
+
612
+ @property
613
+ def tickformatstops(self):
614
+ """
615
+ The 'tickformatstops' property is a tuple of instances of
616
+ Tickformatstop that may be specified as:
617
+ - A list or tuple of instances of plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop
618
+ - A list or tuple of dicts of string/value properties that
619
+ will be passed to the Tickformatstop constructor
620
+
621
+ Returns
622
+ -------
623
+ tuple[plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop]
624
+ """
625
+ return self["tickformatstops"]
626
+
627
+ @tickformatstops.setter
628
+ def tickformatstops(self, val):
629
+ self["tickformatstops"] = val
630
+
631
+ @property
632
+ def tickformatstopdefaults(self):
633
+ """
634
+ When used in a template (as layout.template.data.scattermap.mar
635
+ ker.colorbar.tickformatstopdefaults), sets the default property
636
+ values to use for elements of
637
+ scattermap.marker.colorbar.tickformatstops
638
+
639
+ The 'tickformatstopdefaults' property is an instance of Tickformatstop
640
+ that may be specified as:
641
+ - An instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop`
642
+ - A dict of string/value properties that will be passed
643
+ to the Tickformatstop constructor
644
+
645
+ Returns
646
+ -------
647
+ plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop
648
+ """
649
+ return self["tickformatstopdefaults"]
650
+
651
+ @tickformatstopdefaults.setter
652
+ def tickformatstopdefaults(self, val):
653
+ self["tickformatstopdefaults"] = val
654
+
655
+ @property
656
+ def ticklabeloverflow(self):
657
+ """
658
+ Determines how we handle tick labels that would overflow either
659
+ the graph div or the domain of the axis. The default value for
660
+ inside tick labels is *hide past domain*. In other cases the
661
+ default is *hide past div*.
662
+
663
+ The 'ticklabeloverflow' property is an enumeration that may be specified as:
664
+ - One of the following enumeration values:
665
+ ['allow', 'hide past div', 'hide past domain']
666
+
667
+ Returns
668
+ -------
669
+ Any
670
+ """
671
+ return self["ticklabeloverflow"]
672
+
673
+ @ticklabeloverflow.setter
674
+ def ticklabeloverflow(self, val):
675
+ self["ticklabeloverflow"] = val
676
+
677
+ @property
678
+ def ticklabelposition(self):
679
+ """
680
+ Determines where tick labels are drawn relative to the ticks.
681
+ Left and right options are used when `orientation` is "h", top
682
+ and bottom when `orientation` is "v".
683
+
684
+ The 'ticklabelposition' property is an enumeration that may be specified as:
685
+ - One of the following enumeration values:
686
+ ['outside', 'inside', 'outside top', 'inside top',
687
+ 'outside left', 'inside left', 'outside right', 'inside
688
+ right', 'outside bottom', 'inside bottom']
689
+
690
+ Returns
691
+ -------
692
+ Any
693
+ """
694
+ return self["ticklabelposition"]
695
+
696
+ @ticklabelposition.setter
697
+ def ticklabelposition(self, val):
698
+ self["ticklabelposition"] = val
699
+
700
+ @property
701
+ def ticklabelstep(self):
702
+ """
703
+ Sets the spacing between tick labels as compared to the spacing
704
+ between ticks. A value of 1 (default) means each tick gets a
705
+ label. A value of 2 means shows every 2nd label. A larger value
706
+ n means only every nth tick is labeled. `tick0` determines
707
+ which labels are shown. Not implemented for axes with `type`
708
+ "log" or "multicategory", or when `tickmode` is "array".
709
+
710
+ The 'ticklabelstep' property is a integer and may be specified as:
711
+ - An int (or float that will be cast to an int)
712
+ in the interval [1, 9223372036854775807]
713
+
714
+ Returns
715
+ -------
716
+ int
717
+ """
718
+ return self["ticklabelstep"]
719
+
720
+ @ticklabelstep.setter
721
+ def ticklabelstep(self, val):
722
+ self["ticklabelstep"] = val
723
+
724
+ @property
725
+ def ticklen(self):
726
+ """
727
+ Sets the tick length (in px).
728
+
729
+ The 'ticklen' property is a number and may be specified as:
730
+ - An int or float in the interval [0, inf]
731
+
732
+ Returns
733
+ -------
734
+ int|float
735
+ """
736
+ return self["ticklen"]
737
+
738
+ @ticklen.setter
739
+ def ticklen(self, val):
740
+ self["ticklen"] = val
741
+
742
+ @property
743
+ def tickmode(self):
744
+ """
745
+ Sets the tick mode for this axis. If "auto", the number of
746
+ ticks is set via `nticks`. If "linear", the placement of the
747
+ ticks is determined by a starting position `tick0` and a tick
748
+ step `dtick` ("linear" is the default value if `tick0` and
749
+ `dtick` are provided). If "array", the placement of the ticks
750
+ is set via `tickvals` and the tick text is `ticktext`. ("array"
751
+ is the default value if `tickvals` is provided).
752
+
753
+ The 'tickmode' property is an enumeration that may be specified as:
754
+ - One of the following enumeration values:
755
+ ['auto', 'linear', 'array']
756
+
757
+ Returns
758
+ -------
759
+ Any
760
+ """
761
+ return self["tickmode"]
762
+
763
+ @tickmode.setter
764
+ def tickmode(self, val):
765
+ self["tickmode"] = val
766
+
767
+ @property
768
+ def tickprefix(self):
769
+ """
770
+ Sets a tick label prefix.
771
+
772
+ The 'tickprefix' property is a string and must be specified as:
773
+ - A string
774
+ - A number that will be converted to a string
775
+
776
+ Returns
777
+ -------
778
+ str
779
+ """
780
+ return self["tickprefix"]
781
+
782
+ @tickprefix.setter
783
+ def tickprefix(self, val):
784
+ self["tickprefix"] = val
785
+
786
+ @property
787
+ def ticks(self):
788
+ """
789
+ Determines whether ticks are drawn or not. If "", this axis'
790
+ ticks are not drawn. If "outside" ("inside"), this axis' are
791
+ drawn outside (inside) the axis lines.
792
+
793
+ The 'ticks' property is an enumeration that may be specified as:
794
+ - One of the following enumeration values:
795
+ ['outside', 'inside', '']
796
+
797
+ Returns
798
+ -------
799
+ Any
800
+ """
801
+ return self["ticks"]
802
+
803
+ @ticks.setter
804
+ def ticks(self, val):
805
+ self["ticks"] = val
806
+
807
+ @property
808
+ def ticksuffix(self):
809
+ """
810
+ Sets a tick label suffix.
811
+
812
+ The 'ticksuffix' property is a string and must be specified as:
813
+ - A string
814
+ - A number that will be converted to a string
815
+
816
+ Returns
817
+ -------
818
+ str
819
+ """
820
+ return self["ticksuffix"]
821
+
822
+ @ticksuffix.setter
823
+ def ticksuffix(self, val):
824
+ self["ticksuffix"] = val
825
+
826
+ @property
827
+ def ticktext(self):
828
+ """
829
+ Sets the text displayed at the ticks position via `tickvals`.
830
+ Only has an effect if `tickmode` is set to "array". Used with
831
+ `tickvals`.
832
+
833
+ The 'ticktext' property is an array that may be specified as a tuple,
834
+ list, numpy array, or pandas Series
835
+
836
+ Returns
837
+ -------
838
+ numpy.ndarray
839
+ """
840
+ return self["ticktext"]
841
+
842
+ @ticktext.setter
843
+ def ticktext(self, val):
844
+ self["ticktext"] = val
845
+
846
+ @property
847
+ def ticktextsrc(self):
848
+ """
849
+ Sets the source reference on Chart Studio Cloud for `ticktext`.
850
+
851
+ The 'ticktextsrc' property must be specified as a string or
852
+ as a plotly.grid_objs.Column object
853
+
854
+ Returns
855
+ -------
856
+ str
857
+ """
858
+ return self["ticktextsrc"]
859
+
860
+ @ticktextsrc.setter
861
+ def ticktextsrc(self, val):
862
+ self["ticktextsrc"] = val
863
+
864
+ @property
865
+ def tickvals(self):
866
+ """
867
+ Sets the values at which ticks on this axis appear. Only has an
868
+ effect if `tickmode` is set to "array". Used with `ticktext`.
869
+
870
+ The 'tickvals' property is an array that may be specified as a tuple,
871
+ list, numpy array, or pandas Series
872
+
873
+ Returns
874
+ -------
875
+ numpy.ndarray
876
+ """
877
+ return self["tickvals"]
878
+
879
+ @tickvals.setter
880
+ def tickvals(self, val):
881
+ self["tickvals"] = val
882
+
883
+ @property
884
+ def tickvalssrc(self):
885
+ """
886
+ Sets the source reference on Chart Studio Cloud for `tickvals`.
887
+
888
+ The 'tickvalssrc' property must be specified as a string or
889
+ as a plotly.grid_objs.Column object
890
+
891
+ Returns
892
+ -------
893
+ str
894
+ """
895
+ return self["tickvalssrc"]
896
+
897
+ @tickvalssrc.setter
898
+ def tickvalssrc(self, val):
899
+ self["tickvalssrc"] = val
900
+
901
+ @property
902
+ def tickwidth(self):
903
+ """
904
+ Sets the tick width (in px).
905
+
906
+ The 'tickwidth' property is a number and may be specified as:
907
+ - An int or float in the interval [0, inf]
908
+
909
+ Returns
910
+ -------
911
+ int|float
912
+ """
913
+ return self["tickwidth"]
914
+
915
+ @tickwidth.setter
916
+ def tickwidth(self, val):
917
+ self["tickwidth"] = val
918
+
919
+ @property
920
+ def title(self):
921
+ """
922
+ The 'title' property is an instance of Title
923
+ that may be specified as:
924
+ - An instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Title`
925
+ - A dict of string/value properties that will be passed
926
+ to the Title constructor
927
+
928
+ Returns
929
+ -------
930
+ plotly.graph_objs.scattermap.marker.colorbar.Title
931
+ """
932
+ return self["title"]
933
+
934
+ @title.setter
935
+ def title(self, val):
936
+ self["title"] = val
937
+
938
+ @property
939
+ def x(self):
940
+ """
941
+ Sets the x position with respect to `xref` of the color bar (in
942
+ plot fraction). When `xref` is "paper", defaults to 1.02 when
943
+ `orientation` is "v" and 0.5 when `orientation` is "h". When
944
+ `xref` is "container", defaults to 1 when `orientation` is "v"
945
+ and 0.5 when `orientation` is "h". Must be between 0 and 1 if
946
+ `xref` is "container" and between "-2" and 3 if `xref` is
947
+ "paper".
948
+
949
+ The 'x' property is a number and may be specified as:
950
+ - An int or float
951
+
952
+ Returns
953
+ -------
954
+ int|float
955
+ """
956
+ return self["x"]
957
+
958
+ @x.setter
959
+ def x(self, val):
960
+ self["x"] = val
961
+
962
+ @property
963
+ def xanchor(self):
964
+ """
965
+ Sets this color bar's horizontal position anchor. This anchor
966
+ binds the `x` position to the "left", "center" or "right" of
967
+ the color bar. Defaults to "left" when `orientation` is "v" and
968
+ "center" when `orientation` is "h".
969
+
970
+ The 'xanchor' property is an enumeration that may be specified as:
971
+ - One of the following enumeration values:
972
+ ['left', 'center', 'right']
973
+
974
+ Returns
975
+ -------
976
+ Any
977
+ """
978
+ return self["xanchor"]
979
+
980
+ @xanchor.setter
981
+ def xanchor(self, val):
982
+ self["xanchor"] = val
983
+
984
+ @property
985
+ def xpad(self):
986
+ """
987
+ Sets the amount of padding (in px) along the x direction.
988
+
989
+ The 'xpad' property is a number and may be specified as:
990
+ - An int or float in the interval [0, inf]
991
+
992
+ Returns
993
+ -------
994
+ int|float
995
+ """
996
+ return self["xpad"]
997
+
998
+ @xpad.setter
999
+ def xpad(self, val):
1000
+ self["xpad"] = val
1001
+
1002
+ @property
1003
+ def xref(self):
1004
+ """
1005
+ Sets the container `x` refers to. "container" spans the entire
1006
+ `width` of the plot. "paper" refers to the width of the
1007
+ plotting area only.
1008
+
1009
+ The 'xref' property is an enumeration that may be specified as:
1010
+ - One of the following enumeration values:
1011
+ ['container', 'paper']
1012
+
1013
+ Returns
1014
+ -------
1015
+ Any
1016
+ """
1017
+ return self["xref"]
1018
+
1019
+ @xref.setter
1020
+ def xref(self, val):
1021
+ self["xref"] = val
1022
+
1023
+ @property
1024
+ def y(self):
1025
+ """
1026
+ Sets the y position with respect to `yref` of the color bar (in
1027
+ plot fraction). When `yref` is "paper", defaults to 0.5 when
1028
+ `orientation` is "v" and 1.02 when `orientation` is "h". When
1029
+ `yref` is "container", defaults to 0.5 when `orientation` is
1030
+ "v" and 1 when `orientation` is "h". Must be between 0 and 1 if
1031
+ `yref` is "container" and between "-2" and 3 if `yref` is
1032
+ "paper".
1033
+
1034
+ The 'y' property is a number and may be specified as:
1035
+ - An int or float
1036
+
1037
+ Returns
1038
+ -------
1039
+ int|float
1040
+ """
1041
+ return self["y"]
1042
+
1043
+ @y.setter
1044
+ def y(self, val):
1045
+ self["y"] = val
1046
+
1047
+ @property
1048
+ def yanchor(self):
1049
+ """
1050
+ Sets this color bar's vertical position anchor This anchor
1051
+ binds the `y` position to the "top", "middle" or "bottom" of
1052
+ the color bar. Defaults to "middle" when `orientation` is "v"
1053
+ and "bottom" when `orientation` is "h".
1054
+
1055
+ The 'yanchor' property is an enumeration that may be specified as:
1056
+ - One of the following enumeration values:
1057
+ ['top', 'middle', 'bottom']
1058
+
1059
+ Returns
1060
+ -------
1061
+ Any
1062
+ """
1063
+ return self["yanchor"]
1064
+
1065
+ @yanchor.setter
1066
+ def yanchor(self, val):
1067
+ self["yanchor"] = val
1068
+
1069
+ @property
1070
+ def ypad(self):
1071
+ """
1072
+ Sets the amount of padding (in px) along the y direction.
1073
+
1074
+ The 'ypad' property is a number and may be specified as:
1075
+ - An int or float in the interval [0, inf]
1076
+
1077
+ Returns
1078
+ -------
1079
+ int|float
1080
+ """
1081
+ return self["ypad"]
1082
+
1083
+ @ypad.setter
1084
+ def ypad(self, val):
1085
+ self["ypad"] = val
1086
+
1087
+ @property
1088
+ def yref(self):
1089
+ """
1090
+ Sets the container `y` refers to. "container" spans the entire
1091
+ `height` of the plot. "paper" refers to the height of the
1092
+ plotting area only.
1093
+
1094
+ The 'yref' property is an enumeration that may be specified as:
1095
+ - One of the following enumeration values:
1096
+ ['container', 'paper']
1097
+
1098
+ Returns
1099
+ -------
1100
+ Any
1101
+ """
1102
+ return self["yref"]
1103
+
1104
+ @yref.setter
1105
+ def yref(self, val):
1106
+ self["yref"] = val
1107
+
1108
+ @property
1109
+ def _prop_descriptions(self):
1110
+ return """\
1111
+ bgcolor
1112
+ Sets the color of padded area.
1113
+ bordercolor
1114
+ Sets the axis line color.
1115
+ borderwidth
1116
+ Sets the width (in px) or the border enclosing this
1117
+ color bar.
1118
+ dtick
1119
+ Sets the step in-between ticks on this axis. Use with
1120
+ `tick0`. Must be a positive number, or special strings
1121
+ available to "log" and "date" axes. If the axis `type`
1122
+ is "log", then ticks are set every 10^(n*dtick) where n
1123
+ is the tick number. For example, to set a tick mark at
1124
+ 1, 10, 100, 1000, ... set dtick to 1. To set tick marks
1125
+ at 1, 100, 10000, ... set dtick to 2. To set tick marks
1126
+ at 1, 5, 25, 125, 625, 3125, ... set dtick to
1127
+ log_10(5), or 0.69897000433. "log" has several special
1128
+ values; "L<f>", where `f` is a positive number, gives
1129
+ ticks linearly spaced in value (but not position). For
1130
+ example `tick0` = 0.1, `dtick` = "L0.5" will put ticks
1131
+ at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus
1132
+ small digits between, use "D1" (all digits) or "D2"
1133
+ (only 2 and 5). `tick0` is ignored for "D1" and "D2".
1134
+ If the axis `type` is "date", then you must convert the
1135
+ time to milliseconds. For example, to set the interval
1136
+ between ticks to one day, set `dtick` to 86400000.0.
1137
+ "date" also has special values "M<n>" gives ticks
1138
+ spaced by a number of months. `n` must be a positive
1139
+ integer. To set ticks on the 15th of every third month,
1140
+ set `tick0` to "2000-01-15" and `dtick` to "M3". To set
1141
+ ticks every 4 years, set `dtick` to "M48"
1142
+ exponentformat
1143
+ Determines a formatting rule for the tick exponents.
1144
+ For example, consider the number 1,000,000,000. If
1145
+ "none", it appears as 1,000,000,000. If "e", 1e+9. If
1146
+ "E", 1E+9. If "power", 1x10^9 (with 9 in a super
1147
+ script). If "SI", 1G. If "B", 1B. "SI" uses prefixes
1148
+ from "femto" f (10^-15) to "tera" T (10^12). *SI
1149
+ extended* covers instead the full SI range from
1150
+ "quecto" q (10^-30) to "quetta" Q (10^30). If "SI" or
1151
+ *SI extended* is used and the exponent is beyond the
1152
+ above ranges, the formatting rule will automatically be
1153
+ switched to the power notation.
1154
+ labelalias
1155
+ Replacement text for specific tick or hover labels. For
1156
+ example using {US: 'USA', CA: 'Canada'} changes US to
1157
+ USA and CA to Canada. The labels we would have shown
1158
+ must match the keys exactly, after adding any
1159
+ tickprefix or ticksuffix. For negative numbers the
1160
+ minus sign symbol used (U+2212) is wider than the
1161
+ regular ascii dash. That means you need to use −1
1162
+ instead of -1. labelalias can be used with any axis
1163
+ type, and both keys (if needed) and values (if desired)
1164
+ can include html-like tags or MathJax.
1165
+ len
1166
+ Sets the length of the color bar This measure excludes
1167
+ the padding of both ends. That is, the color bar length
1168
+ is this length minus the padding on both ends.
1169
+ lenmode
1170
+ Determines whether this color bar's length (i.e. the
1171
+ measure in the color variation direction) is set in
1172
+ units of plot "fraction" or in *pixels. Use `len` to
1173
+ set the value.
1174
+ minexponent
1175
+ Hide SI prefix for 10^n if |n| is below this number.
1176
+ This only has an effect when `tickformat` is "SI" or
1177
+ "B".
1178
+ nticks
1179
+ Specifies the maximum number of ticks for the
1180
+ particular axis. The actual number of ticks will be
1181
+ chosen automatically to be less than or equal to
1182
+ `nticks`. Has an effect only if `tickmode` is set to
1183
+ "auto".
1184
+ orientation
1185
+ Sets the orientation of the colorbar.
1186
+ outlinecolor
1187
+ Sets the axis line color.
1188
+ outlinewidth
1189
+ Sets the width (in px) of the axis line.
1190
+ separatethousands
1191
+ If "true", even 4-digit integers are separated
1192
+ showexponent
1193
+ If "all", all exponents are shown besides their
1194
+ significands. If "first", only the exponent of the
1195
+ first tick is shown. If "last", only the exponent of
1196
+ the last tick is shown. If "none", no exponents appear.
1197
+ showticklabels
1198
+ Determines whether or not the tick labels are drawn.
1199
+ showtickprefix
1200
+ If "all", all tick labels are displayed with a prefix.
1201
+ If "first", only the first tick is displayed with a
1202
+ prefix. If "last", only the last tick is displayed with
1203
+ a suffix. If "none", tick prefixes are hidden.
1204
+ showticksuffix
1205
+ Same as `showtickprefix` but for tick suffixes.
1206
+ thickness
1207
+ Sets the thickness of the color bar This measure
1208
+ excludes the size of the padding, ticks and labels.
1209
+ thicknessmode
1210
+ Determines whether this color bar's thickness (i.e. the
1211
+ measure in the constant color direction) is set in
1212
+ units of plot "fraction" or in "pixels". Use
1213
+ `thickness` to set the value.
1214
+ tick0
1215
+ Sets the placement of the first tick on this axis. Use
1216
+ with `dtick`. If the axis `type` is "log", then you
1217
+ must take the log of your starting tick (e.g. to set
1218
+ the starting tick to 100, set the `tick0` to 2) except
1219
+ when `dtick`=*L<f>* (see `dtick` for more info). If the
1220
+ axis `type` is "date", it should be a date string, like
1221
+ date data. If the axis `type` is "category", it should
1222
+ be a number, using the scale where each category is
1223
+ assigned a serial number from zero in the order it
1224
+ appears.
1225
+ tickangle
1226
+ Sets the angle of the tick labels with respect to the
1227
+ horizontal. For example, a `tickangle` of -90 draws the
1228
+ tick labels vertically.
1229
+ tickcolor
1230
+ Sets the tick color.
1231
+ tickfont
1232
+ Sets the color bar's tick label font
1233
+ tickformat
1234
+ Sets the tick label formatting rule using d3 formatting
1235
+ mini-languages which are very similar to those in
1236
+ Python. For numbers, see:
1237
+ https://github.com/d3/d3-format/tree/v1.4.5#d3-format.
1238
+ And for dates see: https://github.com/d3/d3-time-
1239
+ format/tree/v2.2.3#locale_format. We add two items to
1240
+ d3's date formatter: "%h" for half of the year as a
1241
+ decimal number as well as "%{n}f" for fractional
1242
+ seconds with n digits. For example, *2016-10-13
1243
+ 09:15:23.456* with tickformat "%H~%M~%S.%2f" would
1244
+ display "09~15~23.46"
1245
+ tickformatstops
1246
+ A tuple of :class:`plotly.graph_objects.scattermap.mark
1247
+ er.colorbar.Tickformatstop` instances or dicts with
1248
+ compatible properties
1249
+ tickformatstopdefaults
1250
+ When used in a template (as layout.template.data.scatte
1251
+ rmap.marker.colorbar.tickformatstopdefaults), sets the
1252
+ default property values to use for elements of
1253
+ scattermap.marker.colorbar.tickformatstops
1254
+ ticklabeloverflow
1255
+ Determines how we handle tick labels that would
1256
+ overflow either the graph div or the domain of the
1257
+ axis. The default value for inside tick labels is *hide
1258
+ past domain*. In other cases the default is *hide past
1259
+ div*.
1260
+ ticklabelposition
1261
+ Determines where tick labels are drawn relative to the
1262
+ ticks. Left and right options are used when
1263
+ `orientation` is "h", top and bottom when `orientation`
1264
+ is "v".
1265
+ ticklabelstep
1266
+ Sets the spacing between tick labels as compared to the
1267
+ spacing between ticks. A value of 1 (default) means
1268
+ each tick gets a label. A value of 2 means shows every
1269
+ 2nd label. A larger value n means only every nth tick
1270
+ is labeled. `tick0` determines which labels are shown.
1271
+ Not implemented for axes with `type` "log" or
1272
+ "multicategory", or when `tickmode` is "array".
1273
+ ticklen
1274
+ Sets the tick length (in px).
1275
+ tickmode
1276
+ Sets the tick mode for this axis. If "auto", the number
1277
+ of ticks is set via `nticks`. If "linear", the
1278
+ placement of the ticks is determined by a starting
1279
+ position `tick0` and a tick step `dtick` ("linear" is
1280
+ the default value if `tick0` and `dtick` are provided).
1281
+ If "array", the placement of the ticks is set via
1282
+ `tickvals` and the tick text is `ticktext`. ("array" is
1283
+ the default value if `tickvals` is provided).
1284
+ tickprefix
1285
+ Sets a tick label prefix.
1286
+ ticks
1287
+ Determines whether ticks are drawn or not. If "", this
1288
+ axis' ticks are not drawn. If "outside" ("inside"),
1289
+ this axis' are drawn outside (inside) the axis lines.
1290
+ ticksuffix
1291
+ Sets a tick label suffix.
1292
+ ticktext
1293
+ Sets the text displayed at the ticks position via
1294
+ `tickvals`. Only has an effect if `tickmode` is set to
1295
+ "array". Used with `tickvals`.
1296
+ ticktextsrc
1297
+ Sets the source reference on Chart Studio Cloud for
1298
+ `ticktext`.
1299
+ tickvals
1300
+ Sets the values at which ticks on this axis appear.
1301
+ Only has an effect if `tickmode` is set to "array".
1302
+ Used with `ticktext`.
1303
+ tickvalssrc
1304
+ Sets the source reference on Chart Studio Cloud for
1305
+ `tickvals`.
1306
+ tickwidth
1307
+ Sets the tick width (in px).
1308
+ title
1309
+ :class:`plotly.graph_objects.scattermap.marker.colorbar
1310
+ .Title` instance or dict with compatible properties
1311
+ x
1312
+ Sets the x position with respect to `xref` of the color
1313
+ bar (in plot fraction). When `xref` is "paper",
1314
+ defaults to 1.02 when `orientation` is "v" and 0.5 when
1315
+ `orientation` is "h". When `xref` is "container",
1316
+ defaults to 1 when `orientation` is "v" and 0.5 when
1317
+ `orientation` is "h". Must be between 0 and 1 if `xref`
1318
+ is "container" and between "-2" and 3 if `xref` is
1319
+ "paper".
1320
+ xanchor
1321
+ Sets this color bar's horizontal position anchor. This
1322
+ anchor binds the `x` position to the "left", "center"
1323
+ or "right" of the color bar. Defaults to "left" when
1324
+ `orientation` is "v" and "center" when `orientation` is
1325
+ "h".
1326
+ xpad
1327
+ Sets the amount of padding (in px) along the x
1328
+ direction.
1329
+ xref
1330
+ Sets the container `x` refers to. "container" spans the
1331
+ entire `width` of the plot. "paper" refers to the width
1332
+ of the plotting area only.
1333
+ y
1334
+ Sets the y position with respect to `yref` of the color
1335
+ bar (in plot fraction). When `yref` is "paper",
1336
+ defaults to 0.5 when `orientation` is "v" and 1.02 when
1337
+ `orientation` is "h". When `yref` is "container",
1338
+ defaults to 0.5 when `orientation` is "v" and 1 when
1339
+ `orientation` is "h". Must be between 0 and 1 if `yref`
1340
+ is "container" and between "-2" and 3 if `yref` is
1341
+ "paper".
1342
+ yanchor
1343
+ Sets this color bar's vertical position anchor This
1344
+ anchor binds the `y` position to the "top", "middle" or
1345
+ "bottom" of the color bar. Defaults to "middle" when
1346
+ `orientation` is "v" and "bottom" when `orientation` is
1347
+ "h".
1348
+ ypad
1349
+ Sets the amount of padding (in px) along the y
1350
+ direction.
1351
+ yref
1352
+ Sets the container `y` refers to. "container" spans the
1353
+ entire `height` of the plot. "paper" refers to the
1354
+ height of the plotting area only.
1355
+ """
1356
+
1357
+ def __init__(
1358
+ self,
1359
+ arg=None,
1360
+ bgcolor=None,
1361
+ bordercolor=None,
1362
+ borderwidth=None,
1363
+ dtick=None,
1364
+ exponentformat=None,
1365
+ labelalias=None,
1366
+ len=None,
1367
+ lenmode=None,
1368
+ minexponent=None,
1369
+ nticks=None,
1370
+ orientation=None,
1371
+ outlinecolor=None,
1372
+ outlinewidth=None,
1373
+ separatethousands=None,
1374
+ showexponent=None,
1375
+ showticklabels=None,
1376
+ showtickprefix=None,
1377
+ showticksuffix=None,
1378
+ thickness=None,
1379
+ thicknessmode=None,
1380
+ tick0=None,
1381
+ tickangle=None,
1382
+ tickcolor=None,
1383
+ tickfont=None,
1384
+ tickformat=None,
1385
+ tickformatstops=None,
1386
+ tickformatstopdefaults=None,
1387
+ ticklabeloverflow=None,
1388
+ ticklabelposition=None,
1389
+ ticklabelstep=None,
1390
+ ticklen=None,
1391
+ tickmode=None,
1392
+ tickprefix=None,
1393
+ ticks=None,
1394
+ ticksuffix=None,
1395
+ ticktext=None,
1396
+ ticktextsrc=None,
1397
+ tickvals=None,
1398
+ tickvalssrc=None,
1399
+ tickwidth=None,
1400
+ title=None,
1401
+ x=None,
1402
+ xanchor=None,
1403
+ xpad=None,
1404
+ xref=None,
1405
+ y=None,
1406
+ yanchor=None,
1407
+ ypad=None,
1408
+ yref=None,
1409
+ **kwargs,
1410
+ ):
1411
+ """
1412
+ Construct a new ColorBar object
1413
+
1414
+ Parameters
1415
+ ----------
1416
+ arg
1417
+ dict of properties compatible with this constructor or
1418
+ an instance of
1419
+ :class:`plotly.graph_objs.scattermap.marker.ColorBar`
1420
+ bgcolor
1421
+ Sets the color of padded area.
1422
+ bordercolor
1423
+ Sets the axis line color.
1424
+ borderwidth
1425
+ Sets the width (in px) or the border enclosing this
1426
+ color bar.
1427
+ dtick
1428
+ Sets the step in-between ticks on this axis. Use with
1429
+ `tick0`. Must be a positive number, or special strings
1430
+ available to "log" and "date" axes. If the axis `type`
1431
+ is "log", then ticks are set every 10^(n*dtick) where n
1432
+ is the tick number. For example, to set a tick mark at
1433
+ 1, 10, 100, 1000, ... set dtick to 1. To set tick marks
1434
+ at 1, 100, 10000, ... set dtick to 2. To set tick marks
1435
+ at 1, 5, 25, 125, 625, 3125, ... set dtick to
1436
+ log_10(5), or 0.69897000433. "log" has several special
1437
+ values; "L<f>", where `f` is a positive number, gives
1438
+ ticks linearly spaced in value (but not position). For
1439
+ example `tick0` = 0.1, `dtick` = "L0.5" will put ticks
1440
+ at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus
1441
+ small digits between, use "D1" (all digits) or "D2"
1442
+ (only 2 and 5). `tick0` is ignored for "D1" and "D2".
1443
+ If the axis `type` is "date", then you must convert the
1444
+ time to milliseconds. For example, to set the interval
1445
+ between ticks to one day, set `dtick` to 86400000.0.
1446
+ "date" also has special values "M<n>" gives ticks
1447
+ spaced by a number of months. `n` must be a positive
1448
+ integer. To set ticks on the 15th of every third month,
1449
+ set `tick0` to "2000-01-15" and `dtick` to "M3". To set
1450
+ ticks every 4 years, set `dtick` to "M48"
1451
+ exponentformat
1452
+ Determines a formatting rule for the tick exponents.
1453
+ For example, consider the number 1,000,000,000. If
1454
+ "none", it appears as 1,000,000,000. If "e", 1e+9. If
1455
+ "E", 1E+9. If "power", 1x10^9 (with 9 in a super
1456
+ script). If "SI", 1G. If "B", 1B. "SI" uses prefixes
1457
+ from "femto" f (10^-15) to "tera" T (10^12). *SI
1458
+ extended* covers instead the full SI range from
1459
+ "quecto" q (10^-30) to "quetta" Q (10^30). If "SI" or
1460
+ *SI extended* is used and the exponent is beyond the
1461
+ above ranges, the formatting rule will automatically be
1462
+ switched to the power notation.
1463
+ labelalias
1464
+ Replacement text for specific tick or hover labels. For
1465
+ example using {US: 'USA', CA: 'Canada'} changes US to
1466
+ USA and CA to Canada. The labels we would have shown
1467
+ must match the keys exactly, after adding any
1468
+ tickprefix or ticksuffix. For negative numbers the
1469
+ minus sign symbol used (U+2212) is wider than the
1470
+ regular ascii dash. That means you need to use −1
1471
+ instead of -1. labelalias can be used with any axis
1472
+ type, and both keys (if needed) and values (if desired)
1473
+ can include html-like tags or MathJax.
1474
+ len
1475
+ Sets the length of the color bar This measure excludes
1476
+ the padding of both ends. That is, the color bar length
1477
+ is this length minus the padding on both ends.
1478
+ lenmode
1479
+ Determines whether this color bar's length (i.e. the
1480
+ measure in the color variation direction) is set in
1481
+ units of plot "fraction" or in *pixels. Use `len` to
1482
+ set the value.
1483
+ minexponent
1484
+ Hide SI prefix for 10^n if |n| is below this number.
1485
+ This only has an effect when `tickformat` is "SI" or
1486
+ "B".
1487
+ nticks
1488
+ Specifies the maximum number of ticks for the
1489
+ particular axis. The actual number of ticks will be
1490
+ chosen automatically to be less than or equal to
1491
+ `nticks`. Has an effect only if `tickmode` is set to
1492
+ "auto".
1493
+ orientation
1494
+ Sets the orientation of the colorbar.
1495
+ outlinecolor
1496
+ Sets the axis line color.
1497
+ outlinewidth
1498
+ Sets the width (in px) of the axis line.
1499
+ separatethousands
1500
+ If "true", even 4-digit integers are separated
1501
+ showexponent
1502
+ If "all", all exponents are shown besides their
1503
+ significands. If "first", only the exponent of the
1504
+ first tick is shown. If "last", only the exponent of
1505
+ the last tick is shown. If "none", no exponents appear.
1506
+ showticklabels
1507
+ Determines whether or not the tick labels are drawn.
1508
+ showtickprefix
1509
+ If "all", all tick labels are displayed with a prefix.
1510
+ If "first", only the first tick is displayed with a
1511
+ prefix. If "last", only the last tick is displayed with
1512
+ a suffix. If "none", tick prefixes are hidden.
1513
+ showticksuffix
1514
+ Same as `showtickprefix` but for tick suffixes.
1515
+ thickness
1516
+ Sets the thickness of the color bar This measure
1517
+ excludes the size of the padding, ticks and labels.
1518
+ thicknessmode
1519
+ Determines whether this color bar's thickness (i.e. the
1520
+ measure in the constant color direction) is set in
1521
+ units of plot "fraction" or in "pixels". Use
1522
+ `thickness` to set the value.
1523
+ tick0
1524
+ Sets the placement of the first tick on this axis. Use
1525
+ with `dtick`. If the axis `type` is "log", then you
1526
+ must take the log of your starting tick (e.g. to set
1527
+ the starting tick to 100, set the `tick0` to 2) except
1528
+ when `dtick`=*L<f>* (see `dtick` for more info). If the
1529
+ axis `type` is "date", it should be a date string, like
1530
+ date data. If the axis `type` is "category", it should
1531
+ be a number, using the scale where each category is
1532
+ assigned a serial number from zero in the order it
1533
+ appears.
1534
+ tickangle
1535
+ Sets the angle of the tick labels with respect to the
1536
+ horizontal. For example, a `tickangle` of -90 draws the
1537
+ tick labels vertically.
1538
+ tickcolor
1539
+ Sets the tick color.
1540
+ tickfont
1541
+ Sets the color bar's tick label font
1542
+ tickformat
1543
+ Sets the tick label formatting rule using d3 formatting
1544
+ mini-languages which are very similar to those in
1545
+ Python. For numbers, see:
1546
+ https://github.com/d3/d3-format/tree/v1.4.5#d3-format.
1547
+ And for dates see: https://github.com/d3/d3-time-
1548
+ format/tree/v2.2.3#locale_format. We add two items to
1549
+ d3's date formatter: "%h" for half of the year as a
1550
+ decimal number as well as "%{n}f" for fractional
1551
+ seconds with n digits. For example, *2016-10-13
1552
+ 09:15:23.456* with tickformat "%H~%M~%S.%2f" would
1553
+ display "09~15~23.46"
1554
+ tickformatstops
1555
+ A tuple of :class:`plotly.graph_objects.scattermap.mark
1556
+ er.colorbar.Tickformatstop` instances or dicts with
1557
+ compatible properties
1558
+ tickformatstopdefaults
1559
+ When used in a template (as layout.template.data.scatte
1560
+ rmap.marker.colorbar.tickformatstopdefaults), sets the
1561
+ default property values to use for elements of
1562
+ scattermap.marker.colorbar.tickformatstops
1563
+ ticklabeloverflow
1564
+ Determines how we handle tick labels that would
1565
+ overflow either the graph div or the domain of the
1566
+ axis. The default value for inside tick labels is *hide
1567
+ past domain*. In other cases the default is *hide past
1568
+ div*.
1569
+ ticklabelposition
1570
+ Determines where tick labels are drawn relative to the
1571
+ ticks. Left and right options are used when
1572
+ `orientation` is "h", top and bottom when `orientation`
1573
+ is "v".
1574
+ ticklabelstep
1575
+ Sets the spacing between tick labels as compared to the
1576
+ spacing between ticks. A value of 1 (default) means
1577
+ each tick gets a label. A value of 2 means shows every
1578
+ 2nd label. A larger value n means only every nth tick
1579
+ is labeled. `tick0` determines which labels are shown.
1580
+ Not implemented for axes with `type` "log" or
1581
+ "multicategory", or when `tickmode` is "array".
1582
+ ticklen
1583
+ Sets the tick length (in px).
1584
+ tickmode
1585
+ Sets the tick mode for this axis. If "auto", the number
1586
+ of ticks is set via `nticks`. If "linear", the
1587
+ placement of the ticks is determined by a starting
1588
+ position `tick0` and a tick step `dtick` ("linear" is
1589
+ the default value if `tick0` and `dtick` are provided).
1590
+ If "array", the placement of the ticks is set via
1591
+ `tickvals` and the tick text is `ticktext`. ("array" is
1592
+ the default value if `tickvals` is provided).
1593
+ tickprefix
1594
+ Sets a tick label prefix.
1595
+ ticks
1596
+ Determines whether ticks are drawn or not. If "", this
1597
+ axis' ticks are not drawn. If "outside" ("inside"),
1598
+ this axis' are drawn outside (inside) the axis lines.
1599
+ ticksuffix
1600
+ Sets a tick label suffix.
1601
+ ticktext
1602
+ Sets the text displayed at the ticks position via
1603
+ `tickvals`. Only has an effect if `tickmode` is set to
1604
+ "array". Used with `tickvals`.
1605
+ ticktextsrc
1606
+ Sets the source reference on Chart Studio Cloud for
1607
+ `ticktext`.
1608
+ tickvals
1609
+ Sets the values at which ticks on this axis appear.
1610
+ Only has an effect if `tickmode` is set to "array".
1611
+ Used with `ticktext`.
1612
+ tickvalssrc
1613
+ Sets the source reference on Chart Studio Cloud for
1614
+ `tickvals`.
1615
+ tickwidth
1616
+ Sets the tick width (in px).
1617
+ title
1618
+ :class:`plotly.graph_objects.scattermap.marker.colorbar
1619
+ .Title` instance or dict with compatible properties
1620
+ x
1621
+ Sets the x position with respect to `xref` of the color
1622
+ bar (in plot fraction). When `xref` is "paper",
1623
+ defaults to 1.02 when `orientation` is "v" and 0.5 when
1624
+ `orientation` is "h". When `xref` is "container",
1625
+ defaults to 1 when `orientation` is "v" and 0.5 when
1626
+ `orientation` is "h". Must be between 0 and 1 if `xref`
1627
+ is "container" and between "-2" and 3 if `xref` is
1628
+ "paper".
1629
+ xanchor
1630
+ Sets this color bar's horizontal position anchor. This
1631
+ anchor binds the `x` position to the "left", "center"
1632
+ or "right" of the color bar. Defaults to "left" when
1633
+ `orientation` is "v" and "center" when `orientation` is
1634
+ "h".
1635
+ xpad
1636
+ Sets the amount of padding (in px) along the x
1637
+ direction.
1638
+ xref
1639
+ Sets the container `x` refers to. "container" spans the
1640
+ entire `width` of the plot. "paper" refers to the width
1641
+ of the plotting area only.
1642
+ y
1643
+ Sets the y position with respect to `yref` of the color
1644
+ bar (in plot fraction). When `yref` is "paper",
1645
+ defaults to 0.5 when `orientation` is "v" and 1.02 when
1646
+ `orientation` is "h". When `yref` is "container",
1647
+ defaults to 0.5 when `orientation` is "v" and 1 when
1648
+ `orientation` is "h". Must be between 0 and 1 if `yref`
1649
+ is "container" and between "-2" and 3 if `yref` is
1650
+ "paper".
1651
+ yanchor
1652
+ Sets this color bar's vertical position anchor This
1653
+ anchor binds the `y` position to the "top", "middle" or
1654
+ "bottom" of the color bar. Defaults to "middle" when
1655
+ `orientation` is "v" and "bottom" when `orientation` is
1656
+ "h".
1657
+ ypad
1658
+ Sets the amount of padding (in px) along the y
1659
+ direction.
1660
+ yref
1661
+ Sets the container `y` refers to. "container" spans the
1662
+ entire `height` of the plot. "paper" refers to the
1663
+ height of the plotting area only.
1664
+
1665
+ Returns
1666
+ -------
1667
+ ColorBar
1668
+ """
1669
+ super().__init__("colorbar")
1670
+ if "_parent" in kwargs:
1671
+ self._parent = kwargs["_parent"]
1672
+ return
1673
+
1674
+ if arg is None:
1675
+ arg = {}
1676
+ elif isinstance(arg, self.__class__):
1677
+ arg = arg.to_plotly_json()
1678
+ elif isinstance(arg, dict):
1679
+ arg = _copy.copy(arg)
1680
+ else:
1681
+ raise ValueError("""\
1682
+ The first argument to the plotly.graph_objs.scattermap.marker.ColorBar
1683
+ constructor must be a dict or
1684
+ an instance of :class:`plotly.graph_objs.scattermap.marker.ColorBar`""")
1685
+
1686
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
1687
+ self._validate = kwargs.pop("_validate", True)
1688
+
1689
+ self._set_property("bgcolor", arg, bgcolor)
1690
+ self._set_property("bordercolor", arg, bordercolor)
1691
+ self._set_property("borderwidth", arg, borderwidth)
1692
+ self._set_property("dtick", arg, dtick)
1693
+ self._set_property("exponentformat", arg, exponentformat)
1694
+ self._set_property("labelalias", arg, labelalias)
1695
+ self._set_property("len", arg, len)
1696
+ self._set_property("lenmode", arg, lenmode)
1697
+ self._set_property("minexponent", arg, minexponent)
1698
+ self._set_property("nticks", arg, nticks)
1699
+ self._set_property("orientation", arg, orientation)
1700
+ self._set_property("outlinecolor", arg, outlinecolor)
1701
+ self._set_property("outlinewidth", arg, outlinewidth)
1702
+ self._set_property("separatethousands", arg, separatethousands)
1703
+ self._set_property("showexponent", arg, showexponent)
1704
+ self._set_property("showticklabels", arg, showticklabels)
1705
+ self._set_property("showtickprefix", arg, showtickprefix)
1706
+ self._set_property("showticksuffix", arg, showticksuffix)
1707
+ self._set_property("thickness", arg, thickness)
1708
+ self._set_property("thicknessmode", arg, thicknessmode)
1709
+ self._set_property("tick0", arg, tick0)
1710
+ self._set_property("tickangle", arg, tickangle)
1711
+ self._set_property("tickcolor", arg, tickcolor)
1712
+ self._set_property("tickfont", arg, tickfont)
1713
+ self._set_property("tickformat", arg, tickformat)
1714
+ self._set_property("tickformatstops", arg, tickformatstops)
1715
+ self._set_property("tickformatstopdefaults", arg, tickformatstopdefaults)
1716
+ self._set_property("ticklabeloverflow", arg, ticklabeloverflow)
1717
+ self._set_property("ticklabelposition", arg, ticklabelposition)
1718
+ self._set_property("ticklabelstep", arg, ticklabelstep)
1719
+ self._set_property("ticklen", arg, ticklen)
1720
+ self._set_property("tickmode", arg, tickmode)
1721
+ self._set_property("tickprefix", arg, tickprefix)
1722
+ self._set_property("ticks", arg, ticks)
1723
+ self._set_property("ticksuffix", arg, ticksuffix)
1724
+ self._set_property("ticktext", arg, ticktext)
1725
+ self._set_property("ticktextsrc", arg, ticktextsrc)
1726
+ self._set_property("tickvals", arg, tickvals)
1727
+ self._set_property("tickvalssrc", arg, tickvalssrc)
1728
+ self._set_property("tickwidth", arg, tickwidth)
1729
+ self._set_property("title", arg, title)
1730
+ self._set_property("x", arg, x)
1731
+ self._set_property("xanchor", arg, xanchor)
1732
+ self._set_property("xpad", arg, xpad)
1733
+ self._set_property("xref", arg, xref)
1734
+ self._set_property("y", arg, y)
1735
+ self._set_property("yanchor", arg, yanchor)
1736
+ self._set_property("ypad", arg, ypad)
1737
+ self._set_property("yref", arg, yref)
1738
+ self._process_kwargs(**dict(arg, **kwargs))
1739
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.__tickfont.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.__tickformatstop.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/.__title.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/._title ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/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/scattermap/marker/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 = "scattermap.marker.colorbar"
10
+ _path_str = "scattermap.marker.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.scattermap.mar
267
+ ker.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.scattermap.marker.colorbar.Tickfont
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.scattermap.marker.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/scattermap/marker/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 = "scattermap.marker.colorbar"
10
+ _path_str = "scattermap.marker.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.scattermap.mar
179
+ ker.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.scattermap.marker.colorbar.Tickformatstop
229
+ constructor must be a dict or
230
+ an instance of :class:`plotly.graph_objs.scattermap.marker.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/scattermap/marker/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 = "scattermap.marker.colorbar"
10
+ _path_str = "scattermap.marker.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.scattermap.marker.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.scattermap.marker.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 :class:`plotly.graph_objs.scattermap.mar
97
+ ker.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.scattermap.marker.colorbar.Title
126
+ constructor must be a dict or
127
+ an instance of :class:`plotly.graph_objs.scattermap.marker.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/scattermap/marker/colorbar/title/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/colorbar/title/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/marker/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/scattermap/marker/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 = "scattermap.marker.colorbar.title"
10
+ _path_str = "scattermap.marker.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.scattermap.mar
267
+ ker.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.scattermap.marker.colorbar.title.Font
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.scattermap.marker.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/scattermap/selected/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/selected/.__marker.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/scattermap/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/scattermap/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 = "scattermap.selected"
10
+ _path_str = "scattermap.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.scattermap.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.scattermap.selected.Marker
117
+ constructor must be a dict or
118
+ an instance of :class:`plotly.graph_objs.scattermap.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