QPromaQ commited on
Commit
0e913f4
·
verified ·
1 Parent(s): b6ac309

Add files using upload-large-folder tool

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/barpolar/__pycache__/__init__.cpython-312.pyc +0 -0
  2. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_hoverlabel.cpython-312.pyc +0 -0
  3. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_legendgrouptitle.cpython-312.pyc +0 -0
  4. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_marker.cpython-312.pyc +0 -0
  5. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_selected.cpython-312.pyc +0 -0
  6. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_stream.cpython-312.pyc +0 -0
  7. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_unselected.cpython-312.pyc +0 -0
  8. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/hoverlabel/__init__.py +9 -0
  9. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/hoverlabel/__pycache__/__init__.cpython-312.pyc +0 -0
  10. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/hoverlabel/__pycache__/_font.cpython-312.pyc +0 -0
  11. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/hoverlabel/_font.py +587 -0
  12. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/legendgrouptitle/__init__.py +9 -0
  13. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/legendgrouptitle/__pycache__/__init__.cpython-312.pyc +0 -0
  14. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/legendgrouptitle/__pycache__/_font.cpython-312.pyc +0 -0
  15. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/legendgrouptitle/_font.py +334 -0
  16. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__init__.py +16 -0
  17. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/__init__.cpython-312.pyc +0 -0
  18. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/_colorbar.cpython-312.pyc +0 -0
  19. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/_line.cpython-312.pyc +0 -0
  20. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/_pattern.cpython-312.pyc +0 -0
  21. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/_colorbar.py +1739 -0
  22. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/_line.py +546 -0
  23. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/_pattern.py +495 -0
  24. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__init__.py +16 -0
  25. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/__init__.cpython-312.pyc +0 -0
  26. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/_tickfont.cpython-312.pyc +0 -0
  27. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/_tickformatstop.cpython-312.pyc +0 -0
  28. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/_title.cpython-312.pyc +0 -0
  29. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py +334 -0
  30. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py +241 -0
  31. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/_title.py +136 -0
  32. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/title/__init__.py +9 -0
  33. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/title/__pycache__/__init__.cpython-312.pyc +0 -0
  34. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/title/__pycache__/_font.cpython-312.pyc +0 -0
  35. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py +334 -0
  36. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__init__.py +12 -0
  37. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__pycache__/__init__.cpython-312.pyc +0 -0
  38. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__pycache__/_marker.cpython-312.pyc +0 -0
  39. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__pycache__/_textfont.cpython-312.pyc +0 -0
  40. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/_marker.py +104 -0
  41. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/_textfont.py +81 -0
  42. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__init__.py +12 -0
  43. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__pycache__/__init__.cpython-312.pyc +0 -0
  44. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__pycache__/_marker.cpython-312.pyc +0 -0
  45. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__pycache__/_textfont.cpython-312.pyc +0 -0
  46. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/_marker.py +110 -0
  47. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/_textfont.py +84 -0
  48. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/carpet/__pycache__/__init__.cpython-312.pyc +0 -0
  49. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/carpet/__pycache__/_aaxis.cpython-312.pyc +0 -0
  50. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/carpet/__pycache__/_baxis.cpython-312.pyc +0 -0
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (1.12 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_hoverlabel.cpython-312.pyc ADDED
Binary file (13.6 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_legendgrouptitle.cpython-312.pyc ADDED
Binary file (4.09 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_marker.cpython-312.pyc ADDED
Binary file (27.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_selected.cpython-312.pyc ADDED
Binary file (4.4 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_stream.cpython-312.pyc ADDED
Binary file (4.57 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/__pycache__/_unselected.cpython-312.pyc ADDED
Binary file (4.45 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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/barpolar/hoverlabel/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (512 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/hoverlabel/__pycache__/_font.cpython-312.pyc ADDED
Binary file (20.4 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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 = "barpolar.hoverlabel"
10
+ _path_str = "barpolar.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.barpolar.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.barpolar.hoverlabel.Font
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/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/barpolar/legendgrouptitle/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (518 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/legendgrouptitle/__pycache__/_font.cpython-312.pyc ADDED
Binary file (12 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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 = "barpolar.legendgrouptitle"
10
+ _path_str = "barpolar.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.barpolar.legen
267
+ dgrouptitle.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.barpolar.legendgrouptitle.Font
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/marker/__init__.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._colorbar import ColorBar
6
+ from ._line import Line
7
+ from ._pattern import Pattern
8
+ from . import colorbar
9
+ else:
10
+ from _plotly_utils.importers import relative_import
11
+
12
+ __all__, __getattr__, __dir__ = relative_import(
13
+ __name__,
14
+ [".colorbar"],
15
+ ["._colorbar.ColorBar", "._line.Line", "._pattern.Pattern"],
16
+ )
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (688 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/_colorbar.cpython-312.pyc ADDED
Binary file (69.4 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/_line.cpython-312.pyc ADDED
Binary file (23.5 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/__pycache__/_pattern.cpython-312.pyc ADDED
Binary file (18.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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 = "barpolar.marker"
10
+ _path_str = "barpolar.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.barpolar.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.barpolar.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.barpolar.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.barpolar.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.barpolar.marke
635
+ r.colorbar.tickformatstopdefaults), sets the default property
636
+ values to use for elements of
637
+ barpolar.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.barpolar.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.barpolar.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.barpolar.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.barpolar.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.barpolar.marker
1247
+ .colorbar.Tickformatstop` instances or dicts with
1248
+ compatible properties
1249
+ tickformatstopdefaults
1250
+ When used in a template (as layout.template.data.barpol
1251
+ ar.marker.colorbar.tickformatstopdefaults), sets the
1252
+ default property values to use for elements of
1253
+ barpolar.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.barpolar.marker.colorbar.T
1310
+ itle` 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.barpolar.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.barpolar.marker
1556
+ .colorbar.Tickformatstop` instances or dicts with
1557
+ compatible properties
1558
+ tickformatstopdefaults
1559
+ When used in a template (as layout.template.data.barpol
1560
+ ar.marker.colorbar.tickformatstopdefaults), sets the
1561
+ default property values to use for elements of
1562
+ barpolar.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.barpolar.marker.colorbar.T
1619
+ itle` 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.barpolar.marker.ColorBar
1683
+ constructor must be a dict or
1684
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/marker/_line.py ADDED
@@ -0,0 +1,546 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "barpolar.marker"
10
+ _path_str = "barpolar.marker.line"
11
+ _valid_props = {
12
+ "autocolorscale",
13
+ "cauto",
14
+ "cmax",
15
+ "cmid",
16
+ "cmin",
17
+ "color",
18
+ "coloraxis",
19
+ "colorscale",
20
+ "colorsrc",
21
+ "reversescale",
22
+ "width",
23
+ "widthsrc",
24
+ }
25
+
26
+ @property
27
+ def autocolorscale(self):
28
+ """
29
+ Determines whether the colorscale is a default palette
30
+ (`autocolorscale: true`) or the palette determined by
31
+ `marker.line.colorscale`. Has an effect only if in
32
+ `marker.line.color` is set to a numerical array. In case
33
+ `colorscale` is unspecified or `autocolorscale` is true, the
34
+ default palette will be chosen according to whether numbers in
35
+ the `color` array are all positive, all negative or mixed.
36
+
37
+ The 'autocolorscale' property is a boolean and must be specified as:
38
+ - A boolean value: True or False
39
+
40
+ Returns
41
+ -------
42
+ bool
43
+ """
44
+ return self["autocolorscale"]
45
+
46
+ @autocolorscale.setter
47
+ def autocolorscale(self, val):
48
+ self["autocolorscale"] = val
49
+
50
+ @property
51
+ def cauto(self):
52
+ """
53
+ Determines whether or not the color domain is computed with
54
+ respect to the input data (here in `marker.line.color`) or the
55
+ bounds set in `marker.line.cmin` and `marker.line.cmax` Has an
56
+ effect only if in `marker.line.color` is set to a numerical
57
+ array. Defaults to `false` when `marker.line.cmin` and
58
+ `marker.line.cmax` are set by the user.
59
+
60
+ The 'cauto' property is a boolean and must be specified as:
61
+ - A boolean value: True or False
62
+
63
+ Returns
64
+ -------
65
+ bool
66
+ """
67
+ return self["cauto"]
68
+
69
+ @cauto.setter
70
+ def cauto(self, val):
71
+ self["cauto"] = val
72
+
73
+ @property
74
+ def cmax(self):
75
+ """
76
+ Sets the upper bound of the color domain. Has an effect only if
77
+ in `marker.line.color` is set to a numerical array. Value
78
+ should have the same units as in `marker.line.color` and if
79
+ set, `marker.line.cmin` must be set as well.
80
+
81
+ The 'cmax' property is a number and may be specified as:
82
+ - An int or float
83
+
84
+ Returns
85
+ -------
86
+ int|float
87
+ """
88
+ return self["cmax"]
89
+
90
+ @cmax.setter
91
+ def cmax(self, val):
92
+ self["cmax"] = val
93
+
94
+ @property
95
+ def cmid(self):
96
+ """
97
+ Sets the mid-point of the color domain by scaling
98
+ `marker.line.cmin` and/or `marker.line.cmax` to be equidistant
99
+ to this point. Has an effect only if in `marker.line.color` is
100
+ set to a numerical array. Value should have the same units as
101
+ in `marker.line.color`. Has no effect when `marker.line.cauto`
102
+ is `false`.
103
+
104
+ The 'cmid' property is a number and may be specified as:
105
+ - An int or float
106
+
107
+ Returns
108
+ -------
109
+ int|float
110
+ """
111
+ return self["cmid"]
112
+
113
+ @cmid.setter
114
+ def cmid(self, val):
115
+ self["cmid"] = val
116
+
117
+ @property
118
+ def cmin(self):
119
+ """
120
+ Sets the lower bound of the color domain. Has an effect only if
121
+ in `marker.line.color` is set to a numerical array. Value
122
+ should have the same units as in `marker.line.color` and if
123
+ set, `marker.line.cmax` must be set as well.
124
+
125
+ The 'cmin' property is a number and may be specified as:
126
+ - An int or float
127
+
128
+ Returns
129
+ -------
130
+ int|float
131
+ """
132
+ return self["cmin"]
133
+
134
+ @cmin.setter
135
+ def cmin(self, val):
136
+ self["cmin"] = val
137
+
138
+ @property
139
+ def color(self):
140
+ """
141
+ Sets the marker.line color. It accepts either a specific color
142
+ or an array of numbers that are mapped to the colorscale
143
+ relative to the max and min values of the array or relative to
144
+ `marker.line.cmin` and `marker.line.cmax` if set.
145
+
146
+ The 'color' property is a color and may be specified as:
147
+ - A hex string (e.g. '#ff0000')
148
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
149
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
150
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
151
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
152
+ - A number that will be interpreted as a color
153
+ according to barpolar.marker.line.colorscale
154
+ - A list or array of any of the above
155
+
156
+ Returns
157
+ -------
158
+ str|numpy.ndarray
159
+ """
160
+ return self["color"]
161
+
162
+ @color.setter
163
+ def color(self, val):
164
+ self["color"] = val
165
+
166
+ @property
167
+ def coloraxis(self):
168
+ """
169
+ Sets a reference to a shared color axis. References to these
170
+ shared color axes are "coloraxis", "coloraxis2", "coloraxis3",
171
+ etc. Settings for these shared color axes are set in the
172
+ layout, under `layout.coloraxis`, `layout.coloraxis2`, etc.
173
+ Note that multiple color scales can be linked to the same color
174
+ axis.
175
+
176
+ The 'coloraxis' property is an identifier of a particular
177
+ subplot, of type 'coloraxis', that may be specified as:
178
+ - the string 'coloraxis' optionally followed by an integer >= 1
179
+ (e.g. 'coloraxis', 'coloraxis1', 'coloraxis2', 'coloraxis3', etc.)
180
+
181
+ Returns
182
+ -------
183
+ str
184
+ """
185
+ return self["coloraxis"]
186
+
187
+ @coloraxis.setter
188
+ def coloraxis(self, val):
189
+ self["coloraxis"] = val
190
+
191
+ @property
192
+ def colorscale(self):
193
+ """
194
+ Sets the colorscale. Has an effect only if in
195
+ `marker.line.color` is set to a numerical array. The colorscale
196
+ must be an array containing arrays mapping a normalized value
197
+ to an rgb, rgba, hex, hsl, hsv, or named color string. At
198
+ minimum, a mapping for the lowest (0) and highest (1) values
199
+ are required. For example, `[[0, 'rgb(0,0,255)'], [1,
200
+ 'rgb(255,0,0)']]`. To control the bounds of the colorscale in
201
+ color space, use `marker.line.cmin` and `marker.line.cmax`.
202
+ Alternatively, `colorscale` may be a palette name string of the
203
+ following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,
204
+ Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,
205
+ YlGnBu,YlOrRd.
206
+
207
+ The 'colorscale' property is a colorscale and may be
208
+ specified as:
209
+ - A list of colors that will be spaced evenly to create the colorscale.
210
+ Many predefined colorscale lists are included in the sequential, diverging,
211
+ and cyclical modules in the plotly.colors package.
212
+ - A list of 2-element lists where the first element is the
213
+ normalized color level value (starting at 0 and ending at 1),
214
+ and the second item is a valid color string.
215
+ (e.g. [[0, 'green'], [0.5, 'red'], [1.0, 'rgb(0, 0, 255)']])
216
+ - One of the following named colorscales:
217
+ ['aggrnyl', 'agsunset', 'algae', 'amp', 'armyrose', 'balance',
218
+ 'blackbody', 'bluered', 'blues', 'blugrn', 'bluyl', 'brbg',
219
+ 'brwnyl', 'bugn', 'bupu', 'burg', 'burgyl', 'cividis', 'curl',
220
+ 'darkmint', 'deep', 'delta', 'dense', 'earth', 'edge', 'electric',
221
+ 'emrld', 'fall', 'geyser', 'gnbu', 'gray', 'greens', 'greys',
222
+ 'haline', 'hot', 'hsv', 'ice', 'icefire', 'inferno', 'jet',
223
+ 'magenta', 'magma', 'matter', 'mint', 'mrybm', 'mygbm', 'oranges',
224
+ 'orrd', 'oryel', 'oxy', 'peach', 'phase', 'picnic', 'pinkyl',
225
+ 'piyg', 'plasma', 'plotly3', 'portland', 'prgn', 'pubu', 'pubugn',
226
+ 'puor', 'purd', 'purp', 'purples', 'purpor', 'rainbow', 'rdbu',
227
+ 'rdgy', 'rdpu', 'rdylbu', 'rdylgn', 'redor', 'reds', 'solar',
228
+ 'spectral', 'speed', 'sunset', 'sunsetdark', 'teal', 'tealgrn',
229
+ 'tealrose', 'tempo', 'temps', 'thermal', 'tropic', 'turbid',
230
+ 'turbo', 'twilight', 'viridis', 'ylgn', 'ylgnbu', 'ylorbr',
231
+ 'ylorrd'].
232
+ Appending '_r' to a named colorscale reverses it.
233
+
234
+ Returns
235
+ -------
236
+ str
237
+ """
238
+ return self["colorscale"]
239
+
240
+ @colorscale.setter
241
+ def colorscale(self, val):
242
+ self["colorscale"] = val
243
+
244
+ @property
245
+ def colorsrc(self):
246
+ """
247
+ Sets the source reference on Chart Studio Cloud for `color`.
248
+
249
+ The 'colorsrc' property must be specified as a string or
250
+ as a plotly.grid_objs.Column object
251
+
252
+ Returns
253
+ -------
254
+ str
255
+ """
256
+ return self["colorsrc"]
257
+
258
+ @colorsrc.setter
259
+ def colorsrc(self, val):
260
+ self["colorsrc"] = val
261
+
262
+ @property
263
+ def reversescale(self):
264
+ """
265
+ Reverses the color mapping if true. Has an effect only if in
266
+ `marker.line.color` is set to a numerical array. If true,
267
+ `marker.line.cmin` will correspond to the last color in the
268
+ array and `marker.line.cmax` will correspond to the first
269
+ color.
270
+
271
+ The 'reversescale' property is a boolean and must be specified as:
272
+ - A boolean value: True or False
273
+
274
+ Returns
275
+ -------
276
+ bool
277
+ """
278
+ return self["reversescale"]
279
+
280
+ @reversescale.setter
281
+ def reversescale(self, val):
282
+ self["reversescale"] = val
283
+
284
+ @property
285
+ def width(self):
286
+ """
287
+ Sets the width (in px) of the lines bounding the marker points.
288
+
289
+ The 'width' property is a number and may be specified as:
290
+ - An int or float in the interval [0, inf]
291
+ - A tuple, list, or one-dimensional numpy array of the above
292
+
293
+ Returns
294
+ -------
295
+ int|float|numpy.ndarray
296
+ """
297
+ return self["width"]
298
+
299
+ @width.setter
300
+ def width(self, val):
301
+ self["width"] = val
302
+
303
+ @property
304
+ def widthsrc(self):
305
+ """
306
+ Sets the source reference on Chart Studio Cloud for `width`.
307
+
308
+ The 'widthsrc' property must be specified as a string or
309
+ as a plotly.grid_objs.Column object
310
+
311
+ Returns
312
+ -------
313
+ str
314
+ """
315
+ return self["widthsrc"]
316
+
317
+ @widthsrc.setter
318
+ def widthsrc(self, val):
319
+ self["widthsrc"] = val
320
+
321
+ @property
322
+ def _prop_descriptions(self):
323
+ return """\
324
+ autocolorscale
325
+ Determines whether the colorscale is a default palette
326
+ (`autocolorscale: true`) or the palette determined by
327
+ `marker.line.colorscale`. Has an effect only if in
328
+ `marker.line.color` is set to a numerical array. In
329
+ case `colorscale` is unspecified or `autocolorscale` is
330
+ true, the default palette will be chosen according to
331
+ whether numbers in the `color` array are all positive,
332
+ all negative or mixed.
333
+ cauto
334
+ Determines whether or not the color domain is computed
335
+ with respect to the input data (here in
336
+ `marker.line.color`) or the bounds set in
337
+ `marker.line.cmin` and `marker.line.cmax` Has an effect
338
+ only if in `marker.line.color` is set to a numerical
339
+ array. Defaults to `false` when `marker.line.cmin` and
340
+ `marker.line.cmax` are set by the user.
341
+ cmax
342
+ Sets the upper bound of the color domain. Has an effect
343
+ only if in `marker.line.color` is set to a numerical
344
+ array. Value should have the same units as in
345
+ `marker.line.color` and if set, `marker.line.cmin` must
346
+ be set as well.
347
+ cmid
348
+ Sets the mid-point of the color domain by scaling
349
+ `marker.line.cmin` and/or `marker.line.cmax` to be
350
+ equidistant to this point. Has an effect only if in
351
+ `marker.line.color` is set to a numerical array. Value
352
+ should have the same units as in `marker.line.color`.
353
+ Has no effect when `marker.line.cauto` is `false`.
354
+ cmin
355
+ Sets the lower bound of the color domain. Has an effect
356
+ only if in `marker.line.color` is set to a numerical
357
+ array. Value should have the same units as in
358
+ `marker.line.color` and if set, `marker.line.cmax` must
359
+ be set as well.
360
+ color
361
+ Sets the marker.line color. It accepts either a
362
+ specific color or an array of numbers that are mapped
363
+ to the colorscale relative to the max and min values of
364
+ the array or relative to `marker.line.cmin` and
365
+ `marker.line.cmax` if set.
366
+ coloraxis
367
+ Sets a reference to a shared color axis. References to
368
+ these shared color axes are "coloraxis", "coloraxis2",
369
+ "coloraxis3", etc. Settings for these shared color axes
370
+ are set in the layout, under `layout.coloraxis`,
371
+ `layout.coloraxis2`, etc. Note that multiple color
372
+ scales can be linked to the same color axis.
373
+ colorscale
374
+ Sets the colorscale. Has an effect only if in
375
+ `marker.line.color` is set to a numerical array. The
376
+ colorscale must be an array containing arrays mapping a
377
+ normalized value to an rgb, rgba, hex, hsl, hsv, or
378
+ named color string. At minimum, a mapping for the
379
+ lowest (0) and highest (1) values are required. For
380
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
381
+ To control the bounds of the colorscale in color space,
382
+ use `marker.line.cmin` and `marker.line.cmax`.
383
+ Alternatively, `colorscale` may be a palette name
384
+ string of the following list: Blackbody,Bluered,Blues,C
385
+ ividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portl
386
+ and,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
387
+ colorsrc
388
+ Sets the source reference on Chart Studio Cloud for
389
+ `color`.
390
+ reversescale
391
+ Reverses the color mapping if true. Has an effect only
392
+ if in `marker.line.color` is set to a numerical array.
393
+ If true, `marker.line.cmin` will correspond to the last
394
+ color in the array and `marker.line.cmax` will
395
+ correspond to the first color.
396
+ width
397
+ Sets the width (in px) of the lines bounding the marker
398
+ points.
399
+ widthsrc
400
+ Sets the source reference on Chart Studio Cloud for
401
+ `width`.
402
+ """
403
+
404
+ def __init__(
405
+ self,
406
+ arg=None,
407
+ autocolorscale=None,
408
+ cauto=None,
409
+ cmax=None,
410
+ cmid=None,
411
+ cmin=None,
412
+ color=None,
413
+ coloraxis=None,
414
+ colorscale=None,
415
+ colorsrc=None,
416
+ reversescale=None,
417
+ width=None,
418
+ widthsrc=None,
419
+ **kwargs,
420
+ ):
421
+ """
422
+ Construct a new Line object
423
+
424
+ Parameters
425
+ ----------
426
+ arg
427
+ dict of properties compatible with this constructor or
428
+ an instance of
429
+ :class:`plotly.graph_objs.barpolar.marker.Line`
430
+ autocolorscale
431
+ Determines whether the colorscale is a default palette
432
+ (`autocolorscale: true`) or the palette determined by
433
+ `marker.line.colorscale`. Has an effect only if in
434
+ `marker.line.color` is set to a numerical array. In
435
+ case `colorscale` is unspecified or `autocolorscale` is
436
+ true, the default palette will be chosen according to
437
+ whether numbers in the `color` array are all positive,
438
+ all negative or mixed.
439
+ cauto
440
+ Determines whether or not the color domain is computed
441
+ with respect to the input data (here in
442
+ `marker.line.color`) or the bounds set in
443
+ `marker.line.cmin` and `marker.line.cmax` Has an effect
444
+ only if in `marker.line.color` is set to a numerical
445
+ array. Defaults to `false` when `marker.line.cmin` and
446
+ `marker.line.cmax` are set by the user.
447
+ cmax
448
+ Sets the upper bound of the color domain. Has an effect
449
+ only if in `marker.line.color` is set to a numerical
450
+ array. Value should have the same units as in
451
+ `marker.line.color` and if set, `marker.line.cmin` must
452
+ be set as well.
453
+ cmid
454
+ Sets the mid-point of the color domain by scaling
455
+ `marker.line.cmin` and/or `marker.line.cmax` to be
456
+ equidistant to this point. Has an effect only if in
457
+ `marker.line.color` is set to a numerical array. Value
458
+ should have the same units as in `marker.line.color`.
459
+ Has no effect when `marker.line.cauto` is `false`.
460
+ cmin
461
+ Sets the lower bound of the color domain. Has an effect
462
+ only if in `marker.line.color` is set to a numerical
463
+ array. Value should have the same units as in
464
+ `marker.line.color` and if set, `marker.line.cmax` must
465
+ be set as well.
466
+ color
467
+ Sets the marker.line color. It accepts either a
468
+ specific color or an array of numbers that are mapped
469
+ to the colorscale relative to the max and min values of
470
+ the array or relative to `marker.line.cmin` and
471
+ `marker.line.cmax` if set.
472
+ coloraxis
473
+ Sets a reference to a shared color axis. References to
474
+ these shared color axes are "coloraxis", "coloraxis2",
475
+ "coloraxis3", etc. Settings for these shared color axes
476
+ are set in the layout, under `layout.coloraxis`,
477
+ `layout.coloraxis2`, etc. Note that multiple color
478
+ scales can be linked to the same color axis.
479
+ colorscale
480
+ Sets the colorscale. Has an effect only if in
481
+ `marker.line.color` is set to a numerical array. The
482
+ colorscale must be an array containing arrays mapping a
483
+ normalized value to an rgb, rgba, hex, hsl, hsv, or
484
+ named color string. At minimum, a mapping for the
485
+ lowest (0) and highest (1) values are required. For
486
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
487
+ To control the bounds of the colorscale in color space,
488
+ use `marker.line.cmin` and `marker.line.cmax`.
489
+ Alternatively, `colorscale` may be a palette name
490
+ string of the following list: Blackbody,Bluered,Blues,C
491
+ ividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portl
492
+ and,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
493
+ colorsrc
494
+ Sets the source reference on Chart Studio Cloud for
495
+ `color`.
496
+ reversescale
497
+ Reverses the color mapping if true. Has an effect only
498
+ if in `marker.line.color` is set to a numerical array.
499
+ If true, `marker.line.cmin` will correspond to the last
500
+ color in the array and `marker.line.cmax` will
501
+ correspond to the first color.
502
+ width
503
+ Sets the width (in px) of the lines bounding the marker
504
+ points.
505
+ widthsrc
506
+ Sets the source reference on Chart Studio Cloud for
507
+ `width`.
508
+
509
+ Returns
510
+ -------
511
+ Line
512
+ """
513
+ super().__init__("line")
514
+ if "_parent" in kwargs:
515
+ self._parent = kwargs["_parent"]
516
+ return
517
+
518
+ if arg is None:
519
+ arg = {}
520
+ elif isinstance(arg, self.__class__):
521
+ arg = arg.to_plotly_json()
522
+ elif isinstance(arg, dict):
523
+ arg = _copy.copy(arg)
524
+ else:
525
+ raise ValueError("""\
526
+ The first argument to the plotly.graph_objs.barpolar.marker.Line
527
+ constructor must be a dict or
528
+ an instance of :class:`plotly.graph_objs.barpolar.marker.Line`""")
529
+
530
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
531
+ self._validate = kwargs.pop("_validate", True)
532
+
533
+ self._set_property("autocolorscale", arg, autocolorscale)
534
+ self._set_property("cauto", arg, cauto)
535
+ self._set_property("cmax", arg, cmax)
536
+ self._set_property("cmid", arg, cmid)
537
+ self._set_property("cmin", arg, cmin)
538
+ self._set_property("color", arg, color)
539
+ self._set_property("coloraxis", arg, coloraxis)
540
+ self._set_property("colorscale", arg, colorscale)
541
+ self._set_property("colorsrc", arg, colorsrc)
542
+ self._set_property("reversescale", arg, reversescale)
543
+ self._set_property("width", arg, width)
544
+ self._set_property("widthsrc", arg, widthsrc)
545
+ self._process_kwargs(**dict(arg, **kwargs))
546
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/_pattern.py ADDED
@@ -0,0 +1,495 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Pattern(_BaseTraceHierarchyType):
9
+ _parent_path_str = "barpolar.marker"
10
+ _path_str = "barpolar.marker.pattern"
11
+ _valid_props = {
12
+ "bgcolor",
13
+ "bgcolorsrc",
14
+ "fgcolor",
15
+ "fgcolorsrc",
16
+ "fgopacity",
17
+ "fillmode",
18
+ "path",
19
+ "pathsrc",
20
+ "shape",
21
+ "shapesrc",
22
+ "size",
23
+ "sizesrc",
24
+ "solidity",
25
+ "soliditysrc",
26
+ }
27
+
28
+ @property
29
+ def bgcolor(self):
30
+ """
31
+ When there is no colorscale sets the color of background
32
+ pattern fill. Defaults to a `marker.color` background when
33
+ `fillmode` is "overlay". Otherwise, defaults to a transparent
34
+ background.
35
+
36
+ The 'bgcolor' property is a color and may be specified as:
37
+ - A hex string (e.g. '#ff0000')
38
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
39
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
40
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
41
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
42
+ - A list or array of any of the above
43
+
44
+ Returns
45
+ -------
46
+ str|numpy.ndarray
47
+ """
48
+ return self["bgcolor"]
49
+
50
+ @bgcolor.setter
51
+ def bgcolor(self, val):
52
+ self["bgcolor"] = val
53
+
54
+ @property
55
+ def bgcolorsrc(self):
56
+ """
57
+ Sets the source reference on Chart Studio Cloud for `bgcolor`.
58
+
59
+ The 'bgcolorsrc' property must be specified as a string or
60
+ as a plotly.grid_objs.Column object
61
+
62
+ Returns
63
+ -------
64
+ str
65
+ """
66
+ return self["bgcolorsrc"]
67
+
68
+ @bgcolorsrc.setter
69
+ def bgcolorsrc(self, val):
70
+ self["bgcolorsrc"] = val
71
+
72
+ @property
73
+ def fgcolor(self):
74
+ """
75
+ When there is no colorscale sets the color of foreground
76
+ pattern fill. Defaults to a `marker.color` background when
77
+ `fillmode` is "replace". Otherwise, defaults to dark grey or
78
+ white to increase contrast with the `bgcolor`.
79
+
80
+ The 'fgcolor' property is a color and may be specified as:
81
+ - A hex string (e.g. '#ff0000')
82
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
83
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
84
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
85
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
86
+ - A list or array of any of the above
87
+
88
+ Returns
89
+ -------
90
+ str|numpy.ndarray
91
+ """
92
+ return self["fgcolor"]
93
+
94
+ @fgcolor.setter
95
+ def fgcolor(self, val):
96
+ self["fgcolor"] = val
97
+
98
+ @property
99
+ def fgcolorsrc(self):
100
+ """
101
+ Sets the source reference on Chart Studio Cloud for `fgcolor`.
102
+
103
+ The 'fgcolorsrc' property must be specified as a string or
104
+ as a plotly.grid_objs.Column object
105
+
106
+ Returns
107
+ -------
108
+ str
109
+ """
110
+ return self["fgcolorsrc"]
111
+
112
+ @fgcolorsrc.setter
113
+ def fgcolorsrc(self, val):
114
+ self["fgcolorsrc"] = val
115
+
116
+ @property
117
+ def fgopacity(self):
118
+ """
119
+ Sets the opacity of the foreground pattern fill. Defaults to a
120
+ 0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.
121
+
122
+ The 'fgopacity' property is a number and may be specified as:
123
+ - An int or float in the interval [0, 1]
124
+
125
+ Returns
126
+ -------
127
+ int|float
128
+ """
129
+ return self["fgopacity"]
130
+
131
+ @fgopacity.setter
132
+ def fgopacity(self, val):
133
+ self["fgopacity"] = val
134
+
135
+ @property
136
+ def fillmode(self):
137
+ """
138
+ Determines whether `marker.color` should be used as a default
139
+ to `bgcolor` or a `fgcolor`.
140
+
141
+ The 'fillmode' property is an enumeration that may be specified as:
142
+ - One of the following enumeration values:
143
+ ['replace', 'overlay']
144
+
145
+ Returns
146
+ -------
147
+ Any
148
+ """
149
+ return self["fillmode"]
150
+
151
+ @fillmode.setter
152
+ def fillmode(self, val):
153
+ self["fillmode"] = val
154
+
155
+ @property
156
+ def path(self):
157
+ """
158
+ Sets a custom path for pattern fill. Use with no `shape` or
159
+ `solidity`, provide an SVG path string for the regions of the
160
+ square from (0,0) to (`size`,`size`) to color.
161
+
162
+ The 'path' property is a string and must be specified as:
163
+ - A string
164
+ - A number that will be converted to a string
165
+ - A tuple, list, or one-dimensional numpy array of the above
166
+
167
+ Returns
168
+ -------
169
+ str|numpy.ndarray
170
+ """
171
+ return self["path"]
172
+
173
+ @path.setter
174
+ def path(self, val):
175
+ self["path"] = val
176
+
177
+ @property
178
+ def pathsrc(self):
179
+ """
180
+ Sets the source reference on Chart Studio Cloud for `path`.
181
+
182
+ The 'pathsrc' property must be specified as a string or
183
+ as a plotly.grid_objs.Column object
184
+
185
+ Returns
186
+ -------
187
+ str
188
+ """
189
+ return self["pathsrc"]
190
+
191
+ @pathsrc.setter
192
+ def pathsrc(self, val):
193
+ self["pathsrc"] = val
194
+
195
+ @property
196
+ def shape(self):
197
+ """
198
+ Sets the shape of the pattern fill. By default, no pattern is
199
+ used for filling the area.
200
+
201
+ The 'shape' property is an enumeration that may be specified as:
202
+ - One of the following enumeration values:
203
+ ['', '/', '\\', 'x', '-', '|', '+', '.']
204
+ - A tuple, list, or one-dimensional numpy array of the above
205
+
206
+ Returns
207
+ -------
208
+ Any|numpy.ndarray
209
+ """
210
+ return self["shape"]
211
+
212
+ @shape.setter
213
+ def shape(self, val):
214
+ self["shape"] = val
215
+
216
+ @property
217
+ def shapesrc(self):
218
+ """
219
+ Sets the source reference on Chart Studio Cloud for `shape`.
220
+
221
+ The 'shapesrc' property must be specified as a string or
222
+ as a plotly.grid_objs.Column object
223
+
224
+ Returns
225
+ -------
226
+ str
227
+ """
228
+ return self["shapesrc"]
229
+
230
+ @shapesrc.setter
231
+ def shapesrc(self, val):
232
+ self["shapesrc"] = val
233
+
234
+ @property
235
+ def size(self):
236
+ """
237
+ Sets the size of unit squares of the pattern fill in pixels,
238
+ which corresponds to the interval of repetition of the pattern.
239
+
240
+ The 'size' property is a number and may be specified as:
241
+ - An int or float in the interval [0, inf]
242
+ - A tuple, list, or one-dimensional numpy array of the above
243
+
244
+ Returns
245
+ -------
246
+ int|float|numpy.ndarray
247
+ """
248
+ return self["size"]
249
+
250
+ @size.setter
251
+ def size(self, val):
252
+ self["size"] = val
253
+
254
+ @property
255
+ def sizesrc(self):
256
+ """
257
+ Sets the source reference on Chart Studio Cloud for `size`.
258
+
259
+ The 'sizesrc' property must be specified as a string or
260
+ as a plotly.grid_objs.Column object
261
+
262
+ Returns
263
+ -------
264
+ str
265
+ """
266
+ return self["sizesrc"]
267
+
268
+ @sizesrc.setter
269
+ def sizesrc(self, val):
270
+ self["sizesrc"] = val
271
+
272
+ @property
273
+ def solidity(self):
274
+ """
275
+ Sets the solidity of the pattern fill. Solidity is roughly the
276
+ fraction of the area filled by the pattern. Solidity of 0 shows
277
+ only the background color without pattern and solidty of 1
278
+ shows only the foreground color without pattern.
279
+
280
+ The 'solidity' property is a number and may be specified as:
281
+ - An int or float in the interval [0, 1]
282
+ - A tuple, list, or one-dimensional numpy array of the above
283
+
284
+ Returns
285
+ -------
286
+ int|float|numpy.ndarray
287
+ """
288
+ return self["solidity"]
289
+
290
+ @solidity.setter
291
+ def solidity(self, val):
292
+ self["solidity"] = val
293
+
294
+ @property
295
+ def soliditysrc(self):
296
+ """
297
+ Sets the source reference on Chart Studio Cloud for `solidity`.
298
+
299
+ The 'soliditysrc' property must be specified as a string or
300
+ as a plotly.grid_objs.Column object
301
+
302
+ Returns
303
+ -------
304
+ str
305
+ """
306
+ return self["soliditysrc"]
307
+
308
+ @soliditysrc.setter
309
+ def soliditysrc(self, val):
310
+ self["soliditysrc"] = val
311
+
312
+ @property
313
+ def _prop_descriptions(self):
314
+ return """\
315
+ bgcolor
316
+ When there is no colorscale sets the color of
317
+ background pattern fill. Defaults to a `marker.color`
318
+ background when `fillmode` is "overlay". Otherwise,
319
+ defaults to a transparent background.
320
+ bgcolorsrc
321
+ Sets the source reference on Chart Studio Cloud for
322
+ `bgcolor`.
323
+ fgcolor
324
+ When there is no colorscale sets the color of
325
+ foreground pattern fill. Defaults to a `marker.color`
326
+ background when `fillmode` is "replace". Otherwise,
327
+ defaults to dark grey or white to increase contrast
328
+ with the `bgcolor`.
329
+ fgcolorsrc
330
+ Sets the source reference on Chart Studio Cloud for
331
+ `fgcolor`.
332
+ fgopacity
333
+ Sets the opacity of the foreground pattern fill.
334
+ Defaults to a 0.5 when `fillmode` is "overlay".
335
+ Otherwise, defaults to 1.
336
+ fillmode
337
+ Determines whether `marker.color` should be used as a
338
+ default to `bgcolor` or a `fgcolor`.
339
+ path
340
+ Sets a custom path for pattern fill. Use with no
341
+ `shape` or `solidity`, provide an SVG path string for
342
+ the regions of the square from (0,0) to (`size`,`size`)
343
+ to color.
344
+ pathsrc
345
+ Sets the source reference on Chart Studio Cloud for
346
+ `path`.
347
+ shape
348
+ Sets the shape of the pattern fill. By default, no
349
+ pattern is used for filling the area.
350
+ shapesrc
351
+ Sets the source reference on Chart Studio Cloud for
352
+ `shape`.
353
+ size
354
+ Sets the size of unit squares of the pattern fill in
355
+ pixels, which corresponds to the interval of repetition
356
+ of the pattern.
357
+ sizesrc
358
+ Sets the source reference on Chart Studio Cloud for
359
+ `size`.
360
+ solidity
361
+ Sets the solidity of the pattern fill. Solidity is
362
+ roughly the fraction of the area filled by the pattern.
363
+ Solidity of 0 shows only the background color without
364
+ pattern and solidty of 1 shows only the foreground
365
+ color without pattern.
366
+ soliditysrc
367
+ Sets the source reference on Chart Studio Cloud for
368
+ `solidity`.
369
+ """
370
+
371
+ def __init__(
372
+ self,
373
+ arg=None,
374
+ bgcolor=None,
375
+ bgcolorsrc=None,
376
+ fgcolor=None,
377
+ fgcolorsrc=None,
378
+ fgopacity=None,
379
+ fillmode=None,
380
+ path=None,
381
+ pathsrc=None,
382
+ shape=None,
383
+ shapesrc=None,
384
+ size=None,
385
+ sizesrc=None,
386
+ solidity=None,
387
+ soliditysrc=None,
388
+ **kwargs,
389
+ ):
390
+ """
391
+ Construct a new Pattern object
392
+
393
+ Sets the pattern within the marker.
394
+
395
+ Parameters
396
+ ----------
397
+ arg
398
+ dict of properties compatible with this constructor or
399
+ an instance of
400
+ :class:`plotly.graph_objs.barpolar.marker.Pattern`
401
+ bgcolor
402
+ When there is no colorscale sets the color of
403
+ background pattern fill. Defaults to a `marker.color`
404
+ background when `fillmode` is "overlay". Otherwise,
405
+ defaults to a transparent background.
406
+ bgcolorsrc
407
+ Sets the source reference on Chart Studio Cloud for
408
+ `bgcolor`.
409
+ fgcolor
410
+ When there is no colorscale sets the color of
411
+ foreground pattern fill. Defaults to a `marker.color`
412
+ background when `fillmode` is "replace". Otherwise,
413
+ defaults to dark grey or white to increase contrast
414
+ with the `bgcolor`.
415
+ fgcolorsrc
416
+ Sets the source reference on Chart Studio Cloud for
417
+ `fgcolor`.
418
+ fgopacity
419
+ Sets the opacity of the foreground pattern fill.
420
+ Defaults to a 0.5 when `fillmode` is "overlay".
421
+ Otherwise, defaults to 1.
422
+ fillmode
423
+ Determines whether `marker.color` should be used as a
424
+ default to `bgcolor` or a `fgcolor`.
425
+ path
426
+ Sets a custom path for pattern fill. Use with no
427
+ `shape` or `solidity`, provide an SVG path string for
428
+ the regions of the square from (0,0) to (`size`,`size`)
429
+ to color.
430
+ pathsrc
431
+ Sets the source reference on Chart Studio Cloud for
432
+ `path`.
433
+ shape
434
+ Sets the shape of the pattern fill. By default, no
435
+ pattern is used for filling the area.
436
+ shapesrc
437
+ Sets the source reference on Chart Studio Cloud for
438
+ `shape`.
439
+ size
440
+ Sets the size of unit squares of the pattern fill in
441
+ pixels, which corresponds to the interval of repetition
442
+ of the pattern.
443
+ sizesrc
444
+ Sets the source reference on Chart Studio Cloud for
445
+ `size`.
446
+ solidity
447
+ Sets the solidity of the pattern fill. Solidity is
448
+ roughly the fraction of the area filled by the pattern.
449
+ Solidity of 0 shows only the background color without
450
+ pattern and solidty of 1 shows only the foreground
451
+ color without pattern.
452
+ soliditysrc
453
+ Sets the source reference on Chart Studio Cloud for
454
+ `solidity`.
455
+
456
+ Returns
457
+ -------
458
+ Pattern
459
+ """
460
+ super().__init__("pattern")
461
+ if "_parent" in kwargs:
462
+ self._parent = kwargs["_parent"]
463
+ return
464
+
465
+ if arg is None:
466
+ arg = {}
467
+ elif isinstance(arg, self.__class__):
468
+ arg = arg.to_plotly_json()
469
+ elif isinstance(arg, dict):
470
+ arg = _copy.copy(arg)
471
+ else:
472
+ raise ValueError("""\
473
+ The first argument to the plotly.graph_objs.barpolar.marker.Pattern
474
+ constructor must be a dict or
475
+ an instance of :class:`plotly.graph_objs.barpolar.marker.Pattern`""")
476
+
477
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
478
+ self._validate = kwargs.pop("_validate", True)
479
+
480
+ self._set_property("bgcolor", arg, bgcolor)
481
+ self._set_property("bgcolorsrc", arg, bgcolorsrc)
482
+ self._set_property("fgcolor", arg, fgcolor)
483
+ self._set_property("fgcolorsrc", arg, fgcolorsrc)
484
+ self._set_property("fgopacity", arg, fgopacity)
485
+ self._set_property("fillmode", arg, fillmode)
486
+ self._set_property("path", arg, path)
487
+ self._set_property("pathsrc", arg, pathsrc)
488
+ self._set_property("shape", arg, shape)
489
+ self._set_property("shapesrc", arg, shapesrc)
490
+ self._set_property("size", arg, size)
491
+ self._set_property("sizesrc", arg, sizesrc)
492
+ self._set_property("solidity", arg, solidity)
493
+ self._set_property("soliditysrc", arg, soliditysrc)
494
+ self._process_kwargs(**dict(arg, **kwargs))
495
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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/barpolar/marker/colorbar/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (723 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/_tickfont.cpython-312.pyc ADDED
Binary file (12.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/_tickformatstop.cpython-312.pyc ADDED
Binary file (10.2 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/__pycache__/_title.cpython-312.pyc ADDED
Binary file (5.28 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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 = "barpolar.marker.colorbar"
10
+ _path_str = "barpolar.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.barpolar.marke
267
+ r.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.barpolar.marker.colorbar.Tickfont
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/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 = "barpolar.marker.colorbar"
10
+ _path_str = "barpolar.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.barpolar.marke
179
+ r.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.barpolar.marker.colorbar.Tickformatstop
229
+ constructor must be a dict or
230
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/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 = "barpolar.marker.colorbar"
10
+ _path_str = "barpolar.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.barpolar.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.barpolar.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.barpolar.marke
97
+ r.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.barpolar.marker.colorbar.Title
126
+ constructor must be a dict or
127
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/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/barpolar/marker/colorbar/title/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (523 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/marker/colorbar/title/__pycache__/_font.cpython-312.pyc ADDED
Binary file (12.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/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 = "barpolar.marker.colorbar.title"
10
+ _path_str = "barpolar.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.barpolar.marke
267
+ r.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.barpolar.marker.colorbar.title.Font
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.barpolar.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/barpolar/selected/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._marker import Marker
6
+ from ._textfont import Textfont
7
+ else:
8
+ from _plotly_utils.importers import relative_import
9
+
10
+ __all__, __getattr__, __dir__ = relative_import(
11
+ __name__, [], ["._marker.Marker", "._textfont.Textfont"]
12
+ )
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (592 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__pycache__/_marker.cpython-312.pyc ADDED
Binary file (4.09 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/__pycache__/_textfont.cpython-312.pyc ADDED
Binary file (3.33 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/_marker.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 Marker(_BaseTraceHierarchyType):
9
+ _parent_path_str = "barpolar.selected"
10
+ _path_str = "barpolar.selected.marker"
11
+ _valid_props = {"color", "opacity"}
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 _prop_descriptions(self):
55
+ return """\
56
+ color
57
+ Sets the marker color of selected points.
58
+ opacity
59
+ Sets the marker opacity of selected points.
60
+ """
61
+
62
+ def __init__(self, arg=None, color=None, opacity=None, **kwargs):
63
+ """
64
+ Construct a new Marker 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.barpolar.selected.Marker`
72
+ color
73
+ Sets the marker color of selected points.
74
+ opacity
75
+ Sets the marker opacity of selected points.
76
+
77
+ Returns
78
+ -------
79
+ Marker
80
+ """
81
+ super().__init__("marker")
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.barpolar.selected.Marker
95
+ constructor must be a dict or
96
+ an instance of :class:`plotly.graph_objs.barpolar.selected.Marker`""")
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("opacity", arg, opacity)
103
+ self._process_kwargs(**dict(arg, **kwargs))
104
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/selected/_textfont.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "barpolar.selected"
10
+ _path_str = "barpolar.selected.textfont"
11
+ _valid_props = {"color"}
12
+
13
+ @property
14
+ def color(self):
15
+ """
16
+ Sets the text font 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 _prop_descriptions(self):
37
+ return """\
38
+ color
39
+ Sets the text font color of selected points.
40
+ """
41
+
42
+ def __init__(self, arg=None, color=None, **kwargs):
43
+ """
44
+ Construct a new Textfont object
45
+
46
+ Parameters
47
+ ----------
48
+ arg
49
+ dict of properties compatible with this constructor or
50
+ an instance of
51
+ :class:`plotly.graph_objs.barpolar.selected.Textfont`
52
+ color
53
+ Sets the text font color of selected points.
54
+
55
+ Returns
56
+ -------
57
+ Textfont
58
+ """
59
+ super().__init__("textfont")
60
+ if "_parent" in kwargs:
61
+ self._parent = kwargs["_parent"]
62
+ return
63
+
64
+ if arg is None:
65
+ arg = {}
66
+ elif isinstance(arg, self.__class__):
67
+ arg = arg.to_plotly_json()
68
+ elif isinstance(arg, dict):
69
+ arg = _copy.copy(arg)
70
+ else:
71
+ raise ValueError("""\
72
+ The first argument to the plotly.graph_objs.barpolar.selected.Textfont
73
+ constructor must be a dict or
74
+ an instance of :class:`plotly.graph_objs.barpolar.selected.Textfont`""")
75
+
76
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
77
+ self._validate = kwargs.pop("_validate", True)
78
+
79
+ self._set_property("color", arg, color)
80
+ self._process_kwargs(**dict(arg, **kwargs))
81
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__init__.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._marker import Marker
6
+ from ._textfont import Textfont
7
+ else:
8
+ from _plotly_utils.importers import relative_import
9
+
10
+ __all__, __getattr__, __dir__ = relative_import(
11
+ __name__, [], ["._marker.Marker", "._textfont.Textfont"]
12
+ )
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (594 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__pycache__/_marker.cpython-312.pyc ADDED
Binary file (4.41 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/__pycache__/_textfont.cpython-312.pyc ADDED
Binary file (3.49 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/_marker.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "barpolar.unselected"
10
+ _path_str = "barpolar.unselected.marker"
11
+ _valid_props = {"color", "opacity"}
12
+
13
+ @property
14
+ def color(self):
15
+ """
16
+ Sets the marker color of unselected points, applied only when a
17
+ selection exists.
18
+
19
+ The 'color' property is a color and may be specified as:
20
+ - A hex string (e.g. '#ff0000')
21
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
22
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
23
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
24
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
25
+
26
+ Returns
27
+ -------
28
+ str
29
+ """
30
+ return self["color"]
31
+
32
+ @color.setter
33
+ def color(self, val):
34
+ self["color"] = val
35
+
36
+ @property
37
+ def opacity(self):
38
+ """
39
+ Sets the marker opacity of unselected points, applied only when
40
+ a selection exists.
41
+
42
+ The 'opacity' property is a number and may be specified as:
43
+ - An int or float in the interval [0, 1]
44
+
45
+ Returns
46
+ -------
47
+ int|float
48
+ """
49
+ return self["opacity"]
50
+
51
+ @opacity.setter
52
+ def opacity(self, val):
53
+ self["opacity"] = val
54
+
55
+ @property
56
+ def _prop_descriptions(self):
57
+ return """\
58
+ color
59
+ Sets the marker color of unselected points, applied
60
+ only when a selection exists.
61
+ opacity
62
+ Sets the marker opacity of unselected points, applied
63
+ only when a selection exists.
64
+ """
65
+
66
+ def __init__(self, arg=None, color=None, opacity=None, **kwargs):
67
+ """
68
+ Construct a new Marker object
69
+
70
+ Parameters
71
+ ----------
72
+ arg
73
+ dict of properties compatible with this constructor or
74
+ an instance of
75
+ :class:`plotly.graph_objs.barpolar.unselected.Marker`
76
+ color
77
+ Sets the marker color of unselected points, applied
78
+ only when a selection exists.
79
+ opacity
80
+ Sets the marker opacity of unselected points, applied
81
+ only when a selection exists.
82
+
83
+ Returns
84
+ -------
85
+ Marker
86
+ """
87
+ super().__init__("marker")
88
+ if "_parent" in kwargs:
89
+ self._parent = kwargs["_parent"]
90
+ return
91
+
92
+ if arg is None:
93
+ arg = {}
94
+ elif isinstance(arg, self.__class__):
95
+ arg = arg.to_plotly_json()
96
+ elif isinstance(arg, dict):
97
+ arg = _copy.copy(arg)
98
+ else:
99
+ raise ValueError("""\
100
+ The first argument to the plotly.graph_objs.barpolar.unselected.Marker
101
+ constructor must be a dict or
102
+ an instance of :class:`plotly.graph_objs.barpolar.unselected.Marker`""")
103
+
104
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
105
+ self._validate = kwargs.pop("_validate", True)
106
+
107
+ self._set_property("color", arg, color)
108
+ self._set_property("opacity", arg, opacity)
109
+ self._process_kwargs(**dict(arg, **kwargs))
110
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/barpolar/unselected/_textfont.py ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "barpolar.unselected"
10
+ _path_str = "barpolar.unselected.textfont"
11
+ _valid_props = {"color"}
12
+
13
+ @property
14
+ def color(self):
15
+ """
16
+ Sets the text font color of unselected points, applied only
17
+ when a selection exists.
18
+
19
+ The 'color' property is a color and may be specified as:
20
+ - A hex string (e.g. '#ff0000')
21
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
22
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
23
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
24
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
25
+
26
+ Returns
27
+ -------
28
+ str
29
+ """
30
+ return self["color"]
31
+
32
+ @color.setter
33
+ def color(self, val):
34
+ self["color"] = val
35
+
36
+ @property
37
+ def _prop_descriptions(self):
38
+ return """\
39
+ color
40
+ Sets the text font color of unselected points, applied
41
+ only when a selection exists.
42
+ """
43
+
44
+ def __init__(self, arg=None, color=None, **kwargs):
45
+ """
46
+ Construct a new Textfont object
47
+
48
+ Parameters
49
+ ----------
50
+ arg
51
+ dict of properties compatible with this constructor or
52
+ an instance of
53
+ :class:`plotly.graph_objs.barpolar.unselected.Textfont`
54
+ color
55
+ Sets the text font color of unselected points, applied
56
+ only when a selection exists.
57
+
58
+ Returns
59
+ -------
60
+ Textfont
61
+ """
62
+ super().__init__("textfont")
63
+ if "_parent" in kwargs:
64
+ self._parent = kwargs["_parent"]
65
+ return
66
+
67
+ if arg is None:
68
+ arg = {}
69
+ elif isinstance(arg, self.__class__):
70
+ arg = arg.to_plotly_json()
71
+ elif isinstance(arg, dict):
72
+ arg = _copy.copy(arg)
73
+ else:
74
+ raise ValueError("""\
75
+ The first argument to the plotly.graph_objs.barpolar.unselected.Textfont
76
+ constructor must be a dict or
77
+ an instance of :class:`plotly.graph_objs.barpolar.unselected.Textfont`""")
78
+
79
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
80
+ self._validate = kwargs.pop("_validate", True)
81
+
82
+ self._set_property("color", arg, color)
83
+ self._process_kwargs(**dict(arg, **kwargs))
84
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/carpet/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (905 Bytes). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/carpet/__pycache__/_aaxis.cpython-312.pyc ADDED
Binary file (68.7 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/carpet/__pycache__/_baxis.cpython-312.pyc ADDED
Binary file (68.7 kB). View file