QPromaQ commited on
Commit
56d23b0
·
verified ·
1 Parent(s): be4d336

Reset repository and upload final project (part 17)

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/densitymapbox/colorbar/title/.___init__.py +0 -0
  2. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/.___pycache__ +0 -0
  3. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/.__font.py +0 -0
  4. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/__init__.py +9 -0
  5. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/_font.py +334 -0
  6. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/.___init__.py +0 -0
  7. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/.___pycache__ +0 -0
  8. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/.__font.py +0 -0
  9. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/__init__.py +9 -0
  10. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/_font.py +587 -0
  11. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/.___init__.py +0 -0
  12. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/.___pycache__ +0 -0
  13. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/.__font.py +0 -0
  14. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/__init__.py +9 -0
  15. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py +334 -0
  16. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.___init__.py +0 -0
  17. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.___pycache__ +0 -0
  18. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__connector.py +0 -0
  19. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__hoverlabel.py +0 -0
  20. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__insidetextfont.py +0 -0
  21. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__legendgrouptitle.py +0 -0
  22. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__marker.py +0 -0
  23. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__outsidetextfont.py +0 -0
  24. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__stream.py +0 -0
  25. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__textfont.py +0 -0
  26. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._connector +0 -0
  27. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._hoverlabel +0 -0
  28. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._legendgrouptitle +0 -0
  29. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._marker +0 -0
  30. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/__init__.py +33 -0
  31. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_connector.py +130 -0
  32. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_hoverlabel.py +366 -0
  33. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_insidetextfont.py +587 -0
  34. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_legendgrouptitle.py +104 -0
  35. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_marker.py +621 -0
  36. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_outsidetextfont.py +587 -0
  37. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_stream.py +113 -0
  38. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_textfont.py +587 -0
  39. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/.___init__.py +0 -0
  40. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/.___pycache__ +0 -0
  41. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/.__line.py +0 -0
  42. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/__init__.py +9 -0
  43. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/_line.py +139 -0
  44. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/.___init__.py +0 -0
  45. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/.___pycache__ +0 -0
  46. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/.__font.py +0 -0
  47. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/__init__.py +9 -0
  48. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/_font.py +587 -0
  49. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/legendgrouptitle/.___init__.py +0 -0
  50. .venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/legendgrouptitle/.___pycache__ +0 -0
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/colorbar/title/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/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/densitymapbox/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 = "densitymapbox.colorbar.title"
10
+ _path_str = "densitymapbox.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.densitymapbox.
267
+ colorbar.title.Font`
268
+ color
269
+
270
+ family
271
+ HTML font family - the typeface that will be applied by
272
+ the web browser. The web browser can only apply a font
273
+ if it is available on the system where it runs. Provide
274
+ multiple font families, separated by commas, to
275
+ indicate the order in which to apply fonts if they
276
+ aren't available.
277
+ lineposition
278
+ Sets the kind of decoration line(s) with text, such as
279
+ an "under", "over" or "through" as well as combinations
280
+ e.g. "under+over", etc.
281
+ shadow
282
+ Sets the shape and color of the shadow behind text.
283
+ "auto" places minimal shadow and applies contrast text
284
+ font color. See https://developer.mozilla.org/en-
285
+ US/docs/Web/CSS/text-shadow for additional options.
286
+ size
287
+
288
+ style
289
+ Sets whether a font should be styled with a normal or
290
+ italic face from its family.
291
+ textcase
292
+ Sets capitalization of text. It can be used to make
293
+ text appear in all-uppercase or all-lowercase, or with
294
+ each word capitalized.
295
+ variant
296
+ Sets the variant of the font.
297
+ weight
298
+ Sets the weight (or boldness) of the font.
299
+
300
+ Returns
301
+ -------
302
+ Font
303
+ """
304
+ super().__init__("font")
305
+ if "_parent" in kwargs:
306
+ self._parent = kwargs["_parent"]
307
+ return
308
+
309
+ if arg is None:
310
+ arg = {}
311
+ elif isinstance(arg, self.__class__):
312
+ arg = arg.to_plotly_json()
313
+ elif isinstance(arg, dict):
314
+ arg = _copy.copy(arg)
315
+ else:
316
+ raise ValueError("""\
317
+ The first argument to the plotly.graph_objs.densitymapbox.colorbar.title.Font
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.densitymapbox.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/densitymapbox/hoverlabel/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/hoverlabel/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/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/densitymapbox/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 = "densitymapbox.hoverlabel"
10
+ _path_str = "densitymapbox.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 :class:`plotly.graph_objs.densitymapbox.
484
+ 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.densitymapbox.hoverlabel.Font
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.densitymapbox.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/densitymapbox/legendgrouptitle/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/legendgrouptitle/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/densitymapbox/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/densitymapbox/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 = "densitymapbox.legendgrouptitle"
10
+ _path_str = "densitymapbox.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.densitymapbox.
267
+ legendgrouptitle.Font`
268
+ color
269
+
270
+ family
271
+ HTML font family - the typeface that will be applied by
272
+ the web browser. The web browser can only apply a font
273
+ if it is available on the system where it runs. Provide
274
+ multiple font families, separated by commas, to
275
+ indicate the order in which to apply fonts if they
276
+ aren't available.
277
+ lineposition
278
+ Sets the kind of decoration line(s) with text, such as
279
+ an "under", "over" or "through" as well as combinations
280
+ e.g. "under+over", etc.
281
+ shadow
282
+ Sets the shape and color of the shadow behind text.
283
+ "auto" places minimal shadow and applies contrast text
284
+ font color. See https://developer.mozilla.org/en-
285
+ US/docs/Web/CSS/text-shadow for additional options.
286
+ size
287
+
288
+ style
289
+ Sets whether a font should be styled with a normal or
290
+ italic face from its family.
291
+ textcase
292
+ Sets capitalization of text. It can be used to make
293
+ text appear in all-uppercase or all-lowercase, or with
294
+ each word capitalized.
295
+ variant
296
+ Sets the variant of the font.
297
+ weight
298
+ Sets the weight (or boldness) of the font.
299
+
300
+ Returns
301
+ -------
302
+ Font
303
+ """
304
+ super().__init__("font")
305
+ if "_parent" in kwargs:
306
+ self._parent = kwargs["_parent"]
307
+ return
308
+
309
+ if arg is None:
310
+ arg = {}
311
+ elif isinstance(arg, self.__class__):
312
+ arg = arg.to_plotly_json()
313
+ elif isinstance(arg, dict):
314
+ arg = _copy.copy(arg)
315
+ else:
316
+ raise ValueError("""\
317
+ The first argument to the plotly.graph_objs.densitymapbox.legendgrouptitle.Font
318
+ constructor must be a dict or
319
+ an instance of :class:`plotly.graph_objs.densitymapbox.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/funnel/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__connector.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__hoverlabel.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__insidetextfont.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__legendgrouptitle.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__marker.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__outsidetextfont.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__stream.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/.__textfont.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._connector ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._hoverlabel ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._legendgrouptitle ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/._marker ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/__init__.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._connector import Connector
6
+ from ._hoverlabel import Hoverlabel
7
+ from ._insidetextfont import Insidetextfont
8
+ from ._legendgrouptitle import Legendgrouptitle
9
+ from ._marker import Marker
10
+ from ._outsidetextfont import Outsidetextfont
11
+ from ._stream import Stream
12
+ from ._textfont import Textfont
13
+ from . import connector
14
+ from . import hoverlabel
15
+ from . import legendgrouptitle
16
+ from . import marker
17
+ else:
18
+ from _plotly_utils.importers import relative_import
19
+
20
+ __all__, __getattr__, __dir__ = relative_import(
21
+ __name__,
22
+ [".connector", ".hoverlabel", ".legendgrouptitle", ".marker"],
23
+ [
24
+ "._connector.Connector",
25
+ "._hoverlabel.Hoverlabel",
26
+ "._insidetextfont.Insidetextfont",
27
+ "._legendgrouptitle.Legendgrouptitle",
28
+ "._marker.Marker",
29
+ "._outsidetextfont.Outsidetextfont",
30
+ "._stream.Stream",
31
+ "._textfont.Textfont",
32
+ ],
33
+ )
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_connector.py ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 Connector(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.connector"
11
+ _valid_props = {"fillcolor", "line", "visible"}
12
+
13
+ @property
14
+ def fillcolor(self):
15
+ """
16
+ Sets the fill color.
17
+
18
+ The 'fillcolor' 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["fillcolor"]
30
+
31
+ @fillcolor.setter
32
+ def fillcolor(self, val):
33
+ self["fillcolor"] = val
34
+
35
+ @property
36
+ def line(self):
37
+ """
38
+ The 'line' property is an instance of Line
39
+ that may be specified as:
40
+ - An instance of :class:`plotly.graph_objs.funnel.connector.Line`
41
+ - A dict of string/value properties that will be passed
42
+ to the Line constructor
43
+
44
+ Returns
45
+ -------
46
+ plotly.graph_objs.funnel.connector.Line
47
+ """
48
+ return self["line"]
49
+
50
+ @line.setter
51
+ def line(self, val):
52
+ self["line"] = val
53
+
54
+ @property
55
+ def visible(self):
56
+ """
57
+ Determines if connector regions and lines are drawn.
58
+
59
+ The 'visible' property is a boolean and must be specified as:
60
+ - A boolean value: True or False
61
+
62
+ Returns
63
+ -------
64
+ bool
65
+ """
66
+ return self["visible"]
67
+
68
+ @visible.setter
69
+ def visible(self, val):
70
+ self["visible"] = val
71
+
72
+ @property
73
+ def _prop_descriptions(self):
74
+ return """\
75
+ fillcolor
76
+ Sets the fill color.
77
+ line
78
+ :class:`plotly.graph_objects.funnel.connector.Line`
79
+ instance or dict with compatible properties
80
+ visible
81
+ Determines if connector regions and lines are drawn.
82
+ """
83
+
84
+ def __init__(self, arg=None, fillcolor=None, line=None, visible=None, **kwargs):
85
+ """
86
+ Construct a new Connector object
87
+
88
+ Parameters
89
+ ----------
90
+ arg
91
+ dict of properties compatible with this constructor or
92
+ an instance of
93
+ :class:`plotly.graph_objs.funnel.Connector`
94
+ fillcolor
95
+ Sets the fill color.
96
+ line
97
+ :class:`plotly.graph_objects.funnel.connector.Line`
98
+ instance or dict with compatible properties
99
+ visible
100
+ Determines if connector regions and lines are drawn.
101
+
102
+ Returns
103
+ -------
104
+ Connector
105
+ """
106
+ super().__init__("connector")
107
+ if "_parent" in kwargs:
108
+ self._parent = kwargs["_parent"]
109
+ return
110
+
111
+ if arg is None:
112
+ arg = {}
113
+ elif isinstance(arg, self.__class__):
114
+ arg = arg.to_plotly_json()
115
+ elif isinstance(arg, dict):
116
+ arg = _copy.copy(arg)
117
+ else:
118
+ raise ValueError("""\
119
+ The first argument to the plotly.graph_objs.funnel.Connector
120
+ constructor must be a dict or
121
+ an instance of :class:`plotly.graph_objs.funnel.Connector`""")
122
+
123
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
124
+ self._validate = kwargs.pop("_validate", True)
125
+
126
+ self._set_property("fillcolor", arg, fillcolor)
127
+ self._set_property("line", arg, line)
128
+ self._set_property("visible", arg, visible)
129
+ self._process_kwargs(**dict(arg, **kwargs))
130
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_hoverlabel.py ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # --- THIS FILE IS AUTO-GENERATED ---
2
+ # Modifications will be overwitten the next time code generation run.
3
+
4
+ from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
5
+ import copy as _copy
6
+
7
+
8
+ class Hoverlabel(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.hoverlabel"
11
+ _valid_props = {
12
+ "align",
13
+ "alignsrc",
14
+ "bgcolor",
15
+ "bgcolorsrc",
16
+ "bordercolor",
17
+ "bordercolorsrc",
18
+ "font",
19
+ "namelength",
20
+ "namelengthsrc",
21
+ "showarrow",
22
+ }
23
+
24
+ @property
25
+ def align(self):
26
+ """
27
+ Sets the horizontal alignment of the text content within hover
28
+ label box. Has an effect only if the hover label text spans
29
+ more two or more lines
30
+
31
+ The 'align' property is an enumeration that may be specified as:
32
+ - One of the following enumeration values:
33
+ ['left', 'right', 'auto']
34
+ - A tuple, list, or one-dimensional numpy array of the above
35
+
36
+ Returns
37
+ -------
38
+ Any|numpy.ndarray
39
+ """
40
+ return self["align"]
41
+
42
+ @align.setter
43
+ def align(self, val):
44
+ self["align"] = val
45
+
46
+ @property
47
+ def alignsrc(self):
48
+ """
49
+ Sets the source reference on Chart Studio Cloud for `align`.
50
+
51
+ The 'alignsrc' property must be specified as a string or
52
+ as a plotly.grid_objs.Column object
53
+
54
+ Returns
55
+ -------
56
+ str
57
+ """
58
+ return self["alignsrc"]
59
+
60
+ @alignsrc.setter
61
+ def alignsrc(self, val):
62
+ self["alignsrc"] = val
63
+
64
+ @property
65
+ def bgcolor(self):
66
+ """
67
+ Sets the background color of the hover labels for this trace
68
+
69
+ The 'bgcolor' property is a color and may be specified as:
70
+ - A hex string (e.g. '#ff0000')
71
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
72
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
73
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
74
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
75
+ - A list or array of any of the above
76
+
77
+ Returns
78
+ -------
79
+ str|numpy.ndarray
80
+ """
81
+ return self["bgcolor"]
82
+
83
+ @bgcolor.setter
84
+ def bgcolor(self, val):
85
+ self["bgcolor"] = val
86
+
87
+ @property
88
+ def bgcolorsrc(self):
89
+ """
90
+ Sets the source reference on Chart Studio Cloud for `bgcolor`.
91
+
92
+ The 'bgcolorsrc' property must be specified as a string or
93
+ as a plotly.grid_objs.Column object
94
+
95
+ Returns
96
+ -------
97
+ str
98
+ """
99
+ return self["bgcolorsrc"]
100
+
101
+ @bgcolorsrc.setter
102
+ def bgcolorsrc(self, val):
103
+ self["bgcolorsrc"] = val
104
+
105
+ @property
106
+ def bordercolor(self):
107
+ """
108
+ Sets the border color of the hover labels for this trace.
109
+
110
+ The 'bordercolor' property is a color and may be specified as:
111
+ - A hex string (e.g. '#ff0000')
112
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
113
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
114
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
115
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
116
+ - A list or array of any of the above
117
+
118
+ Returns
119
+ -------
120
+ str|numpy.ndarray
121
+ """
122
+ return self["bordercolor"]
123
+
124
+ @bordercolor.setter
125
+ def bordercolor(self, val):
126
+ self["bordercolor"] = val
127
+
128
+ @property
129
+ def bordercolorsrc(self):
130
+ """
131
+ Sets the source reference on Chart Studio Cloud for
132
+ `bordercolor`.
133
+
134
+ The 'bordercolorsrc' property must be specified as a string or
135
+ as a plotly.grid_objs.Column object
136
+
137
+ Returns
138
+ -------
139
+ str
140
+ """
141
+ return self["bordercolorsrc"]
142
+
143
+ @bordercolorsrc.setter
144
+ def bordercolorsrc(self, val):
145
+ self["bordercolorsrc"] = val
146
+
147
+ @property
148
+ def font(self):
149
+ """
150
+ Sets the font used in hover labels.
151
+
152
+ The 'font' property is an instance of Font
153
+ that may be specified as:
154
+ - An instance of :class:`plotly.graph_objs.funnel.hoverlabel.Font`
155
+ - A dict of string/value properties that will be passed
156
+ to the Font constructor
157
+
158
+ Returns
159
+ -------
160
+ plotly.graph_objs.funnel.hoverlabel.Font
161
+ """
162
+ return self["font"]
163
+
164
+ @font.setter
165
+ def font(self, val):
166
+ self["font"] = val
167
+
168
+ @property
169
+ def namelength(self):
170
+ """
171
+ Sets the default length (in number of characters) of the trace
172
+ name in the hover labels for all traces. -1 shows the whole
173
+ name regardless of length. 0-3 shows the first 0-3 characters,
174
+ and an integer >3 will show the whole name if it is less than
175
+ that many characters, but if it is longer, will truncate to
176
+ `namelength - 3` characters and add an ellipsis.
177
+
178
+ The 'namelength' property is a integer and may be specified as:
179
+ - An int (or float that will be cast to an int)
180
+ in the interval [-1, 9223372036854775807]
181
+ - A tuple, list, or one-dimensional numpy array of the above
182
+
183
+ Returns
184
+ -------
185
+ int|numpy.ndarray
186
+ """
187
+ return self["namelength"]
188
+
189
+ @namelength.setter
190
+ def namelength(self, val):
191
+ self["namelength"] = val
192
+
193
+ @property
194
+ def namelengthsrc(self):
195
+ """
196
+ Sets the source reference on Chart Studio Cloud for
197
+ `namelength`.
198
+
199
+ The 'namelengthsrc' property must be specified as a string or
200
+ as a plotly.grid_objs.Column object
201
+
202
+ Returns
203
+ -------
204
+ str
205
+ """
206
+ return self["namelengthsrc"]
207
+
208
+ @namelengthsrc.setter
209
+ def namelengthsrc(self, val):
210
+ self["namelengthsrc"] = val
211
+
212
+ @property
213
+ def showarrow(self):
214
+ """
215
+ Sets whether or not to show the hover label arrow/triangle
216
+ pointing to the data point.
217
+
218
+ The 'showarrow' property is a boolean and must be specified as:
219
+ - A boolean value: True or False
220
+
221
+ Returns
222
+ -------
223
+ bool
224
+ """
225
+ return self["showarrow"]
226
+
227
+ @showarrow.setter
228
+ def showarrow(self, val):
229
+ self["showarrow"] = val
230
+
231
+ @property
232
+ def _prop_descriptions(self):
233
+ return """\
234
+ align
235
+ Sets the horizontal alignment of the text content
236
+ within hover label box. Has an effect only if the hover
237
+ label text spans more two or more lines
238
+ alignsrc
239
+ Sets the source reference on Chart Studio Cloud for
240
+ `align`.
241
+ bgcolor
242
+ Sets the background color of the hover labels for this
243
+ trace
244
+ bgcolorsrc
245
+ Sets the source reference on Chart Studio Cloud for
246
+ `bgcolor`.
247
+ bordercolor
248
+ Sets the border color of the hover labels for this
249
+ trace.
250
+ bordercolorsrc
251
+ Sets the source reference on Chart Studio Cloud for
252
+ `bordercolor`.
253
+ font
254
+ Sets the font used in hover labels.
255
+ namelength
256
+ Sets the default length (in number of characters) of
257
+ the trace name in the hover labels for all traces. -1
258
+ shows the whole name regardless of length. 0-3 shows
259
+ the first 0-3 characters, and an integer >3 will show
260
+ the whole name if it is less than that many characters,
261
+ but if it is longer, will truncate to `namelength - 3`
262
+ characters and add an ellipsis.
263
+ namelengthsrc
264
+ Sets the source reference on Chart Studio Cloud for
265
+ `namelength`.
266
+ showarrow
267
+ Sets whether or not to show the hover label
268
+ arrow/triangle pointing to the data point.
269
+ """
270
+
271
+ def __init__(
272
+ self,
273
+ arg=None,
274
+ align=None,
275
+ alignsrc=None,
276
+ bgcolor=None,
277
+ bgcolorsrc=None,
278
+ bordercolor=None,
279
+ bordercolorsrc=None,
280
+ font=None,
281
+ namelength=None,
282
+ namelengthsrc=None,
283
+ showarrow=None,
284
+ **kwargs,
285
+ ):
286
+ """
287
+ Construct a new Hoverlabel object
288
+
289
+ Parameters
290
+ ----------
291
+ arg
292
+ dict of properties compatible with this constructor or
293
+ an instance of
294
+ :class:`plotly.graph_objs.funnel.Hoverlabel`
295
+ align
296
+ Sets the horizontal alignment of the text content
297
+ within hover label box. Has an effect only if the hover
298
+ label text spans more two or more lines
299
+ alignsrc
300
+ Sets the source reference on Chart Studio Cloud for
301
+ `align`.
302
+ bgcolor
303
+ Sets the background color of the hover labels for this
304
+ trace
305
+ bgcolorsrc
306
+ Sets the source reference on Chart Studio Cloud for
307
+ `bgcolor`.
308
+ bordercolor
309
+ Sets the border color of the hover labels for this
310
+ trace.
311
+ bordercolorsrc
312
+ Sets the source reference on Chart Studio Cloud for
313
+ `bordercolor`.
314
+ font
315
+ Sets the font used in hover labels.
316
+ namelength
317
+ Sets the default length (in number of characters) of
318
+ the trace name in the hover labels for all traces. -1
319
+ shows the whole name regardless of length. 0-3 shows
320
+ the first 0-3 characters, and an integer >3 will show
321
+ the whole name if it is less than that many characters,
322
+ but if it is longer, will truncate to `namelength - 3`
323
+ characters and add an ellipsis.
324
+ namelengthsrc
325
+ Sets the source reference on Chart Studio Cloud for
326
+ `namelength`.
327
+ showarrow
328
+ Sets whether or not to show the hover label
329
+ arrow/triangle pointing to the data point.
330
+
331
+ Returns
332
+ -------
333
+ Hoverlabel
334
+ """
335
+ super().__init__("hoverlabel")
336
+ if "_parent" in kwargs:
337
+ self._parent = kwargs["_parent"]
338
+ return
339
+
340
+ if arg is None:
341
+ arg = {}
342
+ elif isinstance(arg, self.__class__):
343
+ arg = arg.to_plotly_json()
344
+ elif isinstance(arg, dict):
345
+ arg = _copy.copy(arg)
346
+ else:
347
+ raise ValueError("""\
348
+ The first argument to the plotly.graph_objs.funnel.Hoverlabel
349
+ constructor must be a dict or
350
+ an instance of :class:`plotly.graph_objs.funnel.Hoverlabel`""")
351
+
352
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
353
+ self._validate = kwargs.pop("_validate", True)
354
+
355
+ self._set_property("align", arg, align)
356
+ self._set_property("alignsrc", arg, alignsrc)
357
+ self._set_property("bgcolor", arg, bgcolor)
358
+ self._set_property("bgcolorsrc", arg, bgcolorsrc)
359
+ self._set_property("bordercolor", arg, bordercolor)
360
+ self._set_property("bordercolorsrc", arg, bordercolorsrc)
361
+ self._set_property("font", arg, font)
362
+ self._set_property("namelength", arg, namelength)
363
+ self._set_property("namelengthsrc", arg, namelengthsrc)
364
+ self._set_property("showarrow", arg, showarrow)
365
+ self._process_kwargs(**dict(arg, **kwargs))
366
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_insidetextfont.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 Insidetextfont(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.insidetextfont"
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 Insidetextfont object
476
+
477
+ Sets the font used for `text` lying inside the bar.
478
+
479
+ Parameters
480
+ ----------
481
+ arg
482
+ dict of properties compatible with this constructor or
483
+ an instance of
484
+ :class:`plotly.graph_objs.funnel.Insidetextfont`
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
+ Insidetextfont
547
+ """
548
+ super().__init__("insidetextfont")
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.funnel.Insidetextfont
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.funnel.Insidetextfont`""")
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/funnel/_legendgrouptitle.py ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # --- THIS FILE IS AUTO-GENERATED ---
2
+ # Modifications will be overwitten the next time code generation run.
3
+
4
+ from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
5
+ import copy as _copy
6
+
7
+
8
+ class Legendgrouptitle(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.legendgrouptitle"
11
+ _valid_props = {"font", "text"}
12
+
13
+ @property
14
+ def font(self):
15
+ """
16
+ Sets this legend group's title font.
17
+
18
+ The 'font' property is an instance of Font
19
+ that may be specified as:
20
+ - An instance of :class:`plotly.graph_objs.funnel.legendgrouptitle.Font`
21
+ - A dict of string/value properties that will be passed
22
+ to the Font constructor
23
+
24
+ Returns
25
+ -------
26
+ plotly.graph_objs.funnel.legendgrouptitle.Font
27
+ """
28
+ return self["font"]
29
+
30
+ @font.setter
31
+ def font(self, val):
32
+ self["font"] = val
33
+
34
+ @property
35
+ def text(self):
36
+ """
37
+ Sets the title of the legend group.
38
+
39
+ The 'text' property is a string and must be specified as:
40
+ - A string
41
+ - A number that will be converted to a string
42
+
43
+ Returns
44
+ -------
45
+ str
46
+ """
47
+ return self["text"]
48
+
49
+ @text.setter
50
+ def text(self, val):
51
+ self["text"] = val
52
+
53
+ @property
54
+ def _prop_descriptions(self):
55
+ return """\
56
+ font
57
+ Sets this legend group's title font.
58
+ text
59
+ Sets the title of the legend group.
60
+ """
61
+
62
+ def __init__(self, arg=None, font=None, text=None, **kwargs):
63
+ """
64
+ Construct a new Legendgrouptitle object
65
+
66
+ Parameters
67
+ ----------
68
+ arg
69
+ dict of properties compatible with this constructor or
70
+ an instance of
71
+ :class:`plotly.graph_objs.funnel.Legendgrouptitle`
72
+ font
73
+ Sets this legend group's title font.
74
+ text
75
+ Sets the title of the legend group.
76
+
77
+ Returns
78
+ -------
79
+ Legendgrouptitle
80
+ """
81
+ super().__init__("legendgrouptitle")
82
+ if "_parent" in kwargs:
83
+ self._parent = kwargs["_parent"]
84
+ return
85
+
86
+ if arg is None:
87
+ arg = {}
88
+ elif isinstance(arg, self.__class__):
89
+ arg = arg.to_plotly_json()
90
+ elif isinstance(arg, dict):
91
+ arg = _copy.copy(arg)
92
+ else:
93
+ raise ValueError("""\
94
+ The first argument to the plotly.graph_objs.funnel.Legendgrouptitle
95
+ constructor must be a dict or
96
+ an instance of :class:`plotly.graph_objs.funnel.Legendgrouptitle`""")
97
+
98
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
99
+ self._validate = kwargs.pop("_validate", True)
100
+
101
+ self._set_property("font", arg, font)
102
+ self._set_property("text", arg, text)
103
+ self._process_kwargs(**dict(arg, **kwargs))
104
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_marker.py ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "funnel"
10
+ _path_str = "funnel.marker"
11
+ _valid_props = {
12
+ "autocolorscale",
13
+ "cauto",
14
+ "cmax",
15
+ "cmid",
16
+ "cmin",
17
+ "color",
18
+ "coloraxis",
19
+ "colorbar",
20
+ "colorscale",
21
+ "colorsrc",
22
+ "line",
23
+ "opacity",
24
+ "opacitysrc",
25
+ "reversescale",
26
+ "showscale",
27
+ }
28
+
29
+ @property
30
+ def autocolorscale(self):
31
+ """
32
+ Determines whether the colorscale is a default palette
33
+ (`autocolorscale: true`) or the palette determined by
34
+ `marker.colorscale`. Has an effect only if in `marker.color` is
35
+ set to a numerical array. In case `colorscale` is unspecified
36
+ or `autocolorscale` is true, the default palette will be chosen
37
+ according to whether numbers in the `color` array are all
38
+ positive, all negative or mixed.
39
+
40
+ The 'autocolorscale' property is a boolean and must be specified as:
41
+ - A boolean value: True or False
42
+
43
+ Returns
44
+ -------
45
+ bool
46
+ """
47
+ return self["autocolorscale"]
48
+
49
+ @autocolorscale.setter
50
+ def autocolorscale(self, val):
51
+ self["autocolorscale"] = val
52
+
53
+ @property
54
+ def cauto(self):
55
+ """
56
+ Determines whether or not the color domain is computed with
57
+ respect to the input data (here in `marker.color`) or the
58
+ bounds set in `marker.cmin` and `marker.cmax` Has an effect
59
+ only if in `marker.color` is set to a numerical array. Defaults
60
+ to `false` when `marker.cmin` and `marker.cmax` are set by the
61
+ user.
62
+
63
+ The 'cauto' property is a boolean and must be specified as:
64
+ - A boolean value: True or False
65
+
66
+ Returns
67
+ -------
68
+ bool
69
+ """
70
+ return self["cauto"]
71
+
72
+ @cauto.setter
73
+ def cauto(self, val):
74
+ self["cauto"] = val
75
+
76
+ @property
77
+ def cmax(self):
78
+ """
79
+ Sets the upper bound of the color domain. Has an effect only if
80
+ in `marker.color` is set to a numerical array. Value should
81
+ have the same units as in `marker.color` and if set,
82
+ `marker.cmin` must be set as well.
83
+
84
+ The 'cmax' property is a number and may be specified as:
85
+ - An int or float
86
+
87
+ Returns
88
+ -------
89
+ int|float
90
+ """
91
+ return self["cmax"]
92
+
93
+ @cmax.setter
94
+ def cmax(self, val):
95
+ self["cmax"] = val
96
+
97
+ @property
98
+ def cmid(self):
99
+ """
100
+ Sets the mid-point of the color domain by scaling `marker.cmin`
101
+ and/or `marker.cmax` to be equidistant to this point. Has an
102
+ effect only if in `marker.color` is set to a numerical array.
103
+ Value should have the same units as in `marker.color`. Has no
104
+ effect when `marker.cauto` is `false`.
105
+
106
+ The 'cmid' property is a number and may be specified as:
107
+ - An int or float
108
+
109
+ Returns
110
+ -------
111
+ int|float
112
+ """
113
+ return self["cmid"]
114
+
115
+ @cmid.setter
116
+ def cmid(self, val):
117
+ self["cmid"] = val
118
+
119
+ @property
120
+ def cmin(self):
121
+ """
122
+ Sets the lower bound of the color domain. Has an effect only if
123
+ in `marker.color` is set to a numerical array. Value should
124
+ have the same units as in `marker.color` and if set,
125
+ `marker.cmax` must be set as well.
126
+
127
+ The 'cmin' property is a number and may be specified as:
128
+ - An int or float
129
+
130
+ Returns
131
+ -------
132
+ int|float
133
+ """
134
+ return self["cmin"]
135
+
136
+ @cmin.setter
137
+ def cmin(self, val):
138
+ self["cmin"] = val
139
+
140
+ @property
141
+ def color(self):
142
+ """
143
+ Sets the marker color. It accepts either a specific color or an
144
+ array of numbers that are mapped to the colorscale relative to
145
+ the max and min values of the array or relative to
146
+ `marker.cmin` and `marker.cmax` if set.
147
+
148
+ The 'color' property is a color and may be specified as:
149
+ - A hex string (e.g. '#ff0000')
150
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
151
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
152
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
153
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
154
+ - A number that will be interpreted as a color
155
+ according to funnel.marker.colorscale
156
+ - A list or array of any of the above
157
+
158
+ Returns
159
+ -------
160
+ str|numpy.ndarray
161
+ """
162
+ return self["color"]
163
+
164
+ @color.setter
165
+ def color(self, val):
166
+ self["color"] = val
167
+
168
+ @property
169
+ def coloraxis(self):
170
+ """
171
+ Sets a reference to a shared color axis. References to these
172
+ shared color axes are "coloraxis", "coloraxis2", "coloraxis3",
173
+ etc. Settings for these shared color axes are set in the
174
+ layout, under `layout.coloraxis`, `layout.coloraxis2`, etc.
175
+ Note that multiple color scales can be linked to the same color
176
+ axis.
177
+
178
+ The 'coloraxis' property is an identifier of a particular
179
+ subplot, of type 'coloraxis', that may be specified as:
180
+ - the string 'coloraxis' optionally followed by an integer >= 1
181
+ (e.g. 'coloraxis', 'coloraxis1', 'coloraxis2', 'coloraxis3', etc.)
182
+
183
+ Returns
184
+ -------
185
+ str
186
+ """
187
+ return self["coloraxis"]
188
+
189
+ @coloraxis.setter
190
+ def coloraxis(self, val):
191
+ self["coloraxis"] = val
192
+
193
+ @property
194
+ def colorbar(self):
195
+ """
196
+ The 'colorbar' property is an instance of ColorBar
197
+ that may be specified as:
198
+ - An instance of :class:`plotly.graph_objs.funnel.marker.ColorBar`
199
+ - A dict of string/value properties that will be passed
200
+ to the ColorBar constructor
201
+
202
+ Returns
203
+ -------
204
+ plotly.graph_objs.funnel.marker.ColorBar
205
+ """
206
+ return self["colorbar"]
207
+
208
+ @colorbar.setter
209
+ def colorbar(self, val):
210
+ self["colorbar"] = val
211
+
212
+ @property
213
+ def colorscale(self):
214
+ """
215
+ Sets the colorscale. Has an effect only if in `marker.color` is
216
+ set to a numerical array. The colorscale must be an array
217
+ containing arrays mapping a normalized value to an rgb, rgba,
218
+ hex, hsl, hsv, or named color string. At minimum, a mapping for
219
+ the lowest (0) and highest (1) values are required. For
220
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`. To
221
+ control the bounds of the colorscale in color space, use
222
+ `marker.cmin` and `marker.cmax`. Alternatively, `colorscale`
223
+ may be a palette name string of the following list: Blackbody,B
224
+ luered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic
225
+ ,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
226
+
227
+ The 'colorscale' property is a colorscale and may be
228
+ specified as:
229
+ - A list of colors that will be spaced evenly to create the colorscale.
230
+ Many predefined colorscale lists are included in the sequential, diverging,
231
+ and cyclical modules in the plotly.colors package.
232
+ - A list of 2-element lists where the first element is the
233
+ normalized color level value (starting at 0 and ending at 1),
234
+ and the second item is a valid color string.
235
+ (e.g. [[0, 'green'], [0.5, 'red'], [1.0, 'rgb(0, 0, 255)']])
236
+ - One of the following named colorscales:
237
+ ['aggrnyl', 'agsunset', 'algae', 'amp', 'armyrose', 'balance',
238
+ 'blackbody', 'bluered', 'blues', 'blugrn', 'bluyl', 'brbg',
239
+ 'brwnyl', 'bugn', 'bupu', 'burg', 'burgyl', 'cividis', 'curl',
240
+ 'darkmint', 'deep', 'delta', 'dense', 'earth', 'edge', 'electric',
241
+ 'emrld', 'fall', 'geyser', 'gnbu', 'gray', 'greens', 'greys',
242
+ 'haline', 'hot', 'hsv', 'ice', 'icefire', 'inferno', 'jet',
243
+ 'magenta', 'magma', 'matter', 'mint', 'mrybm', 'mygbm', 'oranges',
244
+ 'orrd', 'oryel', 'oxy', 'peach', 'phase', 'picnic', 'pinkyl',
245
+ 'piyg', 'plasma', 'plotly3', 'portland', 'prgn', 'pubu', 'pubugn',
246
+ 'puor', 'purd', 'purp', 'purples', 'purpor', 'rainbow', 'rdbu',
247
+ 'rdgy', 'rdpu', 'rdylbu', 'rdylgn', 'redor', 'reds', 'solar',
248
+ 'spectral', 'speed', 'sunset', 'sunsetdark', 'teal', 'tealgrn',
249
+ 'tealrose', 'tempo', 'temps', 'thermal', 'tropic', 'turbid',
250
+ 'turbo', 'twilight', 'viridis', 'ylgn', 'ylgnbu', 'ylorbr',
251
+ 'ylorrd'].
252
+ Appending '_r' to a named colorscale reverses it.
253
+
254
+ Returns
255
+ -------
256
+ str
257
+ """
258
+ return self["colorscale"]
259
+
260
+ @colorscale.setter
261
+ def colorscale(self, val):
262
+ self["colorscale"] = val
263
+
264
+ @property
265
+ def colorsrc(self):
266
+ """
267
+ Sets the source reference on Chart Studio Cloud for `color`.
268
+
269
+ The 'colorsrc' property must be specified as a string or
270
+ as a plotly.grid_objs.Column object
271
+
272
+ Returns
273
+ -------
274
+ str
275
+ """
276
+ return self["colorsrc"]
277
+
278
+ @colorsrc.setter
279
+ def colorsrc(self, val):
280
+ self["colorsrc"] = val
281
+
282
+ @property
283
+ def line(self):
284
+ """
285
+ The 'line' property is an instance of Line
286
+ that may be specified as:
287
+ - An instance of :class:`plotly.graph_objs.funnel.marker.Line`
288
+ - A dict of string/value properties that will be passed
289
+ to the Line constructor
290
+
291
+ Returns
292
+ -------
293
+ plotly.graph_objs.funnel.marker.Line
294
+ """
295
+ return self["line"]
296
+
297
+ @line.setter
298
+ def line(self, val):
299
+ self["line"] = val
300
+
301
+ @property
302
+ def opacity(self):
303
+ """
304
+ Sets the opacity of the bars.
305
+
306
+ The 'opacity' property is a number and may be specified as:
307
+ - An int or float in the interval [0, 1]
308
+ - A tuple, list, or one-dimensional numpy array of the above
309
+
310
+ Returns
311
+ -------
312
+ int|float|numpy.ndarray
313
+ """
314
+ return self["opacity"]
315
+
316
+ @opacity.setter
317
+ def opacity(self, val):
318
+ self["opacity"] = val
319
+
320
+ @property
321
+ def opacitysrc(self):
322
+ """
323
+ Sets the source reference on Chart Studio Cloud for `opacity`.
324
+
325
+ The 'opacitysrc' property must be specified as a string or
326
+ as a plotly.grid_objs.Column object
327
+
328
+ Returns
329
+ -------
330
+ str
331
+ """
332
+ return self["opacitysrc"]
333
+
334
+ @opacitysrc.setter
335
+ def opacitysrc(self, val):
336
+ self["opacitysrc"] = val
337
+
338
+ @property
339
+ def reversescale(self):
340
+ """
341
+ Reverses the color mapping if true. Has an effect only if in
342
+ `marker.color` is set to a numerical array. If true,
343
+ `marker.cmin` will correspond to the last color in the array
344
+ and `marker.cmax` will correspond to the first color.
345
+
346
+ The 'reversescale' property is a boolean and must be specified as:
347
+ - A boolean value: True or False
348
+
349
+ Returns
350
+ -------
351
+ bool
352
+ """
353
+ return self["reversescale"]
354
+
355
+ @reversescale.setter
356
+ def reversescale(self, val):
357
+ self["reversescale"] = val
358
+
359
+ @property
360
+ def showscale(self):
361
+ """
362
+ Determines whether or not a colorbar is displayed for this
363
+ trace. Has an effect only if in `marker.color` is set to a
364
+ numerical array.
365
+
366
+ The 'showscale' property is a boolean and must be specified as:
367
+ - A boolean value: True or False
368
+
369
+ Returns
370
+ -------
371
+ bool
372
+ """
373
+ return self["showscale"]
374
+
375
+ @showscale.setter
376
+ def showscale(self, val):
377
+ self["showscale"] = val
378
+
379
+ @property
380
+ def _prop_descriptions(self):
381
+ return """\
382
+ autocolorscale
383
+ Determines whether the colorscale is a default palette
384
+ (`autocolorscale: true`) or the palette determined by
385
+ `marker.colorscale`. Has an effect only if in
386
+ `marker.color` is set to a numerical array. In case
387
+ `colorscale` is unspecified or `autocolorscale` is
388
+ true, the default palette will be chosen according to
389
+ whether numbers in the `color` array are all positive,
390
+ all negative or mixed.
391
+ cauto
392
+ Determines whether or not the color domain is computed
393
+ with respect to the input data (here in `marker.color`)
394
+ or the bounds set in `marker.cmin` and `marker.cmax`
395
+ Has an effect only if in `marker.color` is set to a
396
+ numerical array. Defaults to `false` when `marker.cmin`
397
+ and `marker.cmax` are set by the user.
398
+ cmax
399
+ Sets the upper bound of the color domain. Has an effect
400
+ only if in `marker.color` is set to a numerical array.
401
+ Value should have the same units as in `marker.color`
402
+ and if set, `marker.cmin` must be set as well.
403
+ cmid
404
+ Sets the mid-point of the color domain by scaling
405
+ `marker.cmin` and/or `marker.cmax` to be equidistant to
406
+ this point. Has an effect only if in `marker.color` is
407
+ set to a numerical array. Value should have the same
408
+ units as in `marker.color`. Has no effect when
409
+ `marker.cauto` is `false`.
410
+ cmin
411
+ Sets the lower bound of the color domain. Has an effect
412
+ only if in `marker.color` is set to a numerical array.
413
+ Value should have the same units as in `marker.color`
414
+ and if set, `marker.cmax` must be set as well.
415
+ color
416
+ Sets the marker color. It accepts either a specific
417
+ color or an array of numbers that are mapped to the
418
+ colorscale relative to the max and min values of the
419
+ array or relative to `marker.cmin` and `marker.cmax` if
420
+ set.
421
+ coloraxis
422
+ Sets a reference to a shared color axis. References to
423
+ these shared color axes are "coloraxis", "coloraxis2",
424
+ "coloraxis3", etc. Settings for these shared color axes
425
+ are set in the layout, under `layout.coloraxis`,
426
+ `layout.coloraxis2`, etc. Note that multiple color
427
+ scales can be linked to the same color axis.
428
+ colorbar
429
+ :class:`plotly.graph_objects.funnel.marker.ColorBar`
430
+ instance or dict with compatible properties
431
+ colorscale
432
+ Sets the colorscale. Has an effect only if in
433
+ `marker.color` is set to a numerical array. The
434
+ colorscale must be an array containing arrays mapping a
435
+ normalized value to an rgb, rgba, hex, hsl, hsv, or
436
+ named color string. At minimum, a mapping for the
437
+ lowest (0) and highest (1) values are required. For
438
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
439
+ To control the bounds of the colorscale in color space,
440
+ use `marker.cmin` and `marker.cmax`. Alternatively,
441
+ `colorscale` may be a palette name string of the
442
+ following list: Blackbody,Bluered,Blues,Cividis,Earth,E
443
+ lectric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd
444
+ Bu,Reds,Viridis,YlGnBu,YlOrRd.
445
+ colorsrc
446
+ Sets the source reference on Chart Studio Cloud for
447
+ `color`.
448
+ line
449
+ :class:`plotly.graph_objects.funnel.marker.Line`
450
+ instance or dict with compatible properties
451
+ opacity
452
+ Sets the opacity of the bars.
453
+ opacitysrc
454
+ Sets the source reference on Chart Studio Cloud for
455
+ `opacity`.
456
+ reversescale
457
+ Reverses the color mapping if true. Has an effect only
458
+ if in `marker.color` is set to a numerical array. If
459
+ true, `marker.cmin` will correspond to the last color
460
+ in the array and `marker.cmax` will correspond to the
461
+ first color.
462
+ showscale
463
+ Determines whether or not a colorbar is displayed for
464
+ this trace. Has an effect only if in `marker.color` is
465
+ set to a numerical array.
466
+ """
467
+
468
+ def __init__(
469
+ self,
470
+ arg=None,
471
+ autocolorscale=None,
472
+ cauto=None,
473
+ cmax=None,
474
+ cmid=None,
475
+ cmin=None,
476
+ color=None,
477
+ coloraxis=None,
478
+ colorbar=None,
479
+ colorscale=None,
480
+ colorsrc=None,
481
+ line=None,
482
+ opacity=None,
483
+ opacitysrc=None,
484
+ reversescale=None,
485
+ showscale=None,
486
+ **kwargs,
487
+ ):
488
+ """
489
+ Construct a new Marker object
490
+
491
+ Parameters
492
+ ----------
493
+ arg
494
+ dict of properties compatible with this constructor or
495
+ an instance of :class:`plotly.graph_objs.funnel.Marker`
496
+ autocolorscale
497
+ Determines whether the colorscale is a default palette
498
+ (`autocolorscale: true`) or the palette determined by
499
+ `marker.colorscale`. Has an effect only if in
500
+ `marker.color` is set to a numerical array. In case
501
+ `colorscale` is unspecified or `autocolorscale` is
502
+ true, the default palette will be chosen according to
503
+ whether numbers in the `color` array are all positive,
504
+ all negative or mixed.
505
+ cauto
506
+ Determines whether or not the color domain is computed
507
+ with respect to the input data (here in `marker.color`)
508
+ or the bounds set in `marker.cmin` and `marker.cmax`
509
+ Has an effect only if in `marker.color` is set to a
510
+ numerical array. Defaults to `false` when `marker.cmin`
511
+ and `marker.cmax` are set by the user.
512
+ cmax
513
+ Sets the upper bound of the color domain. Has an effect
514
+ only if in `marker.color` is set to a numerical array.
515
+ Value should have the same units as in `marker.color`
516
+ and if set, `marker.cmin` must be set as well.
517
+ cmid
518
+ Sets the mid-point of the color domain by scaling
519
+ `marker.cmin` and/or `marker.cmax` to be equidistant to
520
+ this point. Has an effect only if in `marker.color` is
521
+ set to a numerical array. Value should have the same
522
+ units as in `marker.color`. Has no effect when
523
+ `marker.cauto` is `false`.
524
+ cmin
525
+ Sets the lower bound of the color domain. Has an effect
526
+ only if in `marker.color` is set to a numerical array.
527
+ Value should have the same units as in `marker.color`
528
+ and if set, `marker.cmax` must be set as well.
529
+ color
530
+ Sets the marker color. It accepts either a specific
531
+ color or an array of numbers that are mapped to the
532
+ colorscale relative to the max and min values of the
533
+ array or relative to `marker.cmin` and `marker.cmax` if
534
+ set.
535
+ coloraxis
536
+ Sets a reference to a shared color axis. References to
537
+ these shared color axes are "coloraxis", "coloraxis2",
538
+ "coloraxis3", etc. Settings for these shared color axes
539
+ are set in the layout, under `layout.coloraxis`,
540
+ `layout.coloraxis2`, etc. Note that multiple color
541
+ scales can be linked to the same color axis.
542
+ colorbar
543
+ :class:`plotly.graph_objects.funnel.marker.ColorBar`
544
+ instance or dict with compatible properties
545
+ colorscale
546
+ Sets the colorscale. Has an effect only if in
547
+ `marker.color` is set to a numerical array. The
548
+ colorscale must be an array containing arrays mapping a
549
+ normalized value to an rgb, rgba, hex, hsl, hsv, or
550
+ named color string. At minimum, a mapping for the
551
+ lowest (0) and highest (1) values are required. For
552
+ example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
553
+ To control the bounds of the colorscale in color space,
554
+ use `marker.cmin` and `marker.cmax`. Alternatively,
555
+ `colorscale` may be a palette name string of the
556
+ following list: Blackbody,Bluered,Blues,Cividis,Earth,E
557
+ lectric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd
558
+ Bu,Reds,Viridis,YlGnBu,YlOrRd.
559
+ colorsrc
560
+ Sets the source reference on Chart Studio Cloud for
561
+ `color`.
562
+ line
563
+ :class:`plotly.graph_objects.funnel.marker.Line`
564
+ instance or dict with compatible properties
565
+ opacity
566
+ Sets the opacity of the bars.
567
+ opacitysrc
568
+ Sets the source reference on Chart Studio Cloud for
569
+ `opacity`.
570
+ reversescale
571
+ Reverses the color mapping if true. Has an effect only
572
+ if in `marker.color` is set to a numerical array. If
573
+ true, `marker.cmin` will correspond to the last color
574
+ in the array and `marker.cmax` will correspond to the
575
+ first color.
576
+ showscale
577
+ Determines whether or not a colorbar is displayed for
578
+ this trace. Has an effect only if in `marker.color` is
579
+ set to a numerical array.
580
+
581
+ Returns
582
+ -------
583
+ Marker
584
+ """
585
+ super().__init__("marker")
586
+ if "_parent" in kwargs:
587
+ self._parent = kwargs["_parent"]
588
+ return
589
+
590
+ if arg is None:
591
+ arg = {}
592
+ elif isinstance(arg, self.__class__):
593
+ arg = arg.to_plotly_json()
594
+ elif isinstance(arg, dict):
595
+ arg = _copy.copy(arg)
596
+ else:
597
+ raise ValueError("""\
598
+ The first argument to the plotly.graph_objs.funnel.Marker
599
+ constructor must be a dict or
600
+ an instance of :class:`plotly.graph_objs.funnel.Marker`""")
601
+
602
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
603
+ self._validate = kwargs.pop("_validate", True)
604
+
605
+ self._set_property("autocolorscale", arg, autocolorscale)
606
+ self._set_property("cauto", arg, cauto)
607
+ self._set_property("cmax", arg, cmax)
608
+ self._set_property("cmid", arg, cmid)
609
+ self._set_property("cmin", arg, cmin)
610
+ self._set_property("color", arg, color)
611
+ self._set_property("coloraxis", arg, coloraxis)
612
+ self._set_property("colorbar", arg, colorbar)
613
+ self._set_property("colorscale", arg, colorscale)
614
+ self._set_property("colorsrc", arg, colorsrc)
615
+ self._set_property("line", arg, line)
616
+ self._set_property("opacity", arg, opacity)
617
+ self._set_property("opacitysrc", arg, opacitysrc)
618
+ self._set_property("reversescale", arg, reversescale)
619
+ self._set_property("showscale", arg, showscale)
620
+ self._process_kwargs(**dict(arg, **kwargs))
621
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_outsidetextfont.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 Outsidetextfont(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.outsidetextfont"
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 Outsidetextfont object
476
+
477
+ Sets the font used for `text` lying outside the bar.
478
+
479
+ Parameters
480
+ ----------
481
+ arg
482
+ dict of properties compatible with this constructor or
483
+ an instance of
484
+ :class:`plotly.graph_objs.funnel.Outsidetextfont`
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
+ Outsidetextfont
547
+ """
548
+ super().__init__("outsidetextfont")
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.funnel.Outsidetextfont
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.funnel.Outsidetextfont`""")
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/funnel/_stream.py ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # --- THIS FILE IS AUTO-GENERATED ---
2
+ # Modifications will be overwitten the next time code generation run.
3
+
4
+ from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
5
+ import copy as _copy
6
+
7
+
8
+ class Stream(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.stream"
11
+ _valid_props = {"maxpoints", "token"}
12
+
13
+ @property
14
+ def maxpoints(self):
15
+ """
16
+ Sets the maximum number of points to keep on the plots from an
17
+ incoming stream. If `maxpoints` is set to 50, only the newest
18
+ 50 points will be displayed on the plot.
19
+
20
+ The 'maxpoints' property is a number and may be specified as:
21
+ - An int or float in the interval [0, 10000]
22
+
23
+ Returns
24
+ -------
25
+ int|float
26
+ """
27
+ return self["maxpoints"]
28
+
29
+ @maxpoints.setter
30
+ def maxpoints(self, val):
31
+ self["maxpoints"] = val
32
+
33
+ @property
34
+ def token(self):
35
+ """
36
+ The stream id number links a data trace on a plot with a
37
+ stream. See https://chart-studio.plotly.com/settings for more
38
+ details.
39
+
40
+ The 'token' property is a string and must be specified as:
41
+ - A non-empty string
42
+
43
+ Returns
44
+ -------
45
+ str
46
+ """
47
+ return self["token"]
48
+
49
+ @token.setter
50
+ def token(self, val):
51
+ self["token"] = val
52
+
53
+ @property
54
+ def _prop_descriptions(self):
55
+ return """\
56
+ maxpoints
57
+ Sets the maximum number of points to keep on the plots
58
+ from an incoming stream. If `maxpoints` is set to 50,
59
+ only the newest 50 points will be displayed on the
60
+ plot.
61
+ token
62
+ The stream id number links a data trace on a plot with
63
+ a stream. See https://chart-studio.plotly.com/settings
64
+ for more details.
65
+ """
66
+
67
+ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):
68
+ """
69
+ Construct a new Stream object
70
+
71
+ Parameters
72
+ ----------
73
+ arg
74
+ dict of properties compatible with this constructor or
75
+ an instance of :class:`plotly.graph_objs.funnel.Stream`
76
+ maxpoints
77
+ Sets the maximum number of points to keep on the plots
78
+ from an incoming stream. If `maxpoints` is set to 50,
79
+ only the newest 50 points will be displayed on the
80
+ plot.
81
+ token
82
+ The stream id number links a data trace on a plot with
83
+ a stream. See https://chart-studio.plotly.com/settings
84
+ for more details.
85
+
86
+ Returns
87
+ -------
88
+ Stream
89
+ """
90
+ super().__init__("stream")
91
+ if "_parent" in kwargs:
92
+ self._parent = kwargs["_parent"]
93
+ return
94
+
95
+ if arg is None:
96
+ arg = {}
97
+ elif isinstance(arg, self.__class__):
98
+ arg = arg.to_plotly_json()
99
+ elif isinstance(arg, dict):
100
+ arg = _copy.copy(arg)
101
+ else:
102
+ raise ValueError("""\
103
+ The first argument to the plotly.graph_objs.funnel.Stream
104
+ constructor must be a dict or
105
+ an instance of :class:`plotly.graph_objs.funnel.Stream`""")
106
+
107
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
108
+ self._validate = kwargs.pop("_validate", True)
109
+
110
+ self._set_property("maxpoints", arg, maxpoints)
111
+ self._set_property("token", arg, token)
112
+ self._process_kwargs(**dict(arg, **kwargs))
113
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/_textfont.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 Textfont(_BaseTraceHierarchyType):
9
+ _parent_path_str = "funnel"
10
+ _path_str = "funnel.textfont"
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 Textfont object
476
+
477
+ Sets the font used for `text`.
478
+
479
+ Parameters
480
+ ----------
481
+ arg
482
+ dict of properties compatible with this constructor or
483
+ an instance of
484
+ :class:`plotly.graph_objs.funnel.Textfont`
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
+ Textfont
547
+ """
548
+ super().__init__("textfont")
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.funnel.Textfont
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.funnel.Textfont`""")
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/funnel/connector/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/.__line.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/__init__.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from typing import TYPE_CHECKING
3
+
4
+ if TYPE_CHECKING:
5
+ from ._line import Line
6
+ else:
7
+ from _plotly_utils.importers import relative_import
8
+
9
+ __all__, __getattr__, __dir__ = relative_import(__name__, [], ["._line.Line"])
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/connector/_line.py ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = "funnel.connector"
10
+ _path_str = "funnel.connector.line"
11
+ _valid_props = {"color", "dash", "width"}
12
+
13
+ @property
14
+ def color(self):
15
+ """
16
+ Sets the line color.
17
+
18
+ The 'color' property is a color and may be specified as:
19
+ - A hex string (e.g. '#ff0000')
20
+ - An rgb/rgba string (e.g. 'rgb(255,0,0)')
21
+ - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
22
+ - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
23
+ - A named CSS color: see https://plotly.com/python/css-colors/ for a list
24
+
25
+ Returns
26
+ -------
27
+ str
28
+ """
29
+ return self["color"]
30
+
31
+ @color.setter
32
+ def color(self, val):
33
+ self["color"] = val
34
+
35
+ @property
36
+ def dash(self):
37
+ """
38
+ Sets the dash style of lines. Set to a dash type string
39
+ ("solid", "dot", "dash", "longdash", "dashdot", or
40
+ "longdashdot") or a dash length list in px (eg
41
+ "5px,10px,2px,2px").
42
+
43
+ The 'dash' property is an enumeration that may be specified as:
44
+ - One of the following dash styles:
45
+ ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
46
+ - A string containing a dash length list in pixels or percentages
47
+ (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)
48
+
49
+ Returns
50
+ -------
51
+ str
52
+ """
53
+ return self["dash"]
54
+
55
+ @dash.setter
56
+ def dash(self, val):
57
+ self["dash"] = val
58
+
59
+ @property
60
+ def width(self):
61
+ """
62
+ Sets the line width (in px).
63
+
64
+ The 'width' property is a number and may be specified as:
65
+ - An int or float in the interval [0, inf]
66
+
67
+ Returns
68
+ -------
69
+ int|float
70
+ """
71
+ return self["width"]
72
+
73
+ @width.setter
74
+ def width(self, val):
75
+ self["width"] = val
76
+
77
+ @property
78
+ def _prop_descriptions(self):
79
+ return """\
80
+ color
81
+ Sets the line color.
82
+ dash
83
+ Sets the dash style of lines. Set to a dash type string
84
+ ("solid", "dot", "dash", "longdash", "dashdot", or
85
+ "longdashdot") or a dash length list in px (eg
86
+ "5px,10px,2px,2px").
87
+ width
88
+ Sets the line width (in px).
89
+ """
90
+
91
+ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs):
92
+ """
93
+ Construct a new Line object
94
+
95
+ Parameters
96
+ ----------
97
+ arg
98
+ dict of properties compatible with this constructor or
99
+ an instance of
100
+ :class:`plotly.graph_objs.funnel.connector.Line`
101
+ color
102
+ Sets the line color.
103
+ dash
104
+ Sets the dash style of lines. Set to a dash type string
105
+ ("solid", "dot", "dash", "longdash", "dashdot", or
106
+ "longdashdot") or a dash length list in px (eg
107
+ "5px,10px,2px,2px").
108
+ width
109
+ Sets the line width (in px).
110
+
111
+ Returns
112
+ -------
113
+ Line
114
+ """
115
+ super().__init__("line")
116
+ if "_parent" in kwargs:
117
+ self._parent = kwargs["_parent"]
118
+ return
119
+
120
+ if arg is None:
121
+ arg = {}
122
+ elif isinstance(arg, self.__class__):
123
+ arg = arg.to_plotly_json()
124
+ elif isinstance(arg, dict):
125
+ arg = _copy.copy(arg)
126
+ else:
127
+ raise ValueError("""\
128
+ The first argument to the plotly.graph_objs.funnel.connector.Line
129
+ constructor must be a dict or
130
+ an instance of :class:`plotly.graph_objs.funnel.connector.Line`""")
131
+
132
+ self._skip_invalid = kwargs.pop("skip_invalid", False)
133
+ self._validate = kwargs.pop("_validate", True)
134
+
135
+ self._set_property("color", arg, color)
136
+ self._set_property("dash", arg, dash)
137
+ self._set_property("width", arg, width)
138
+ self._process_kwargs(**dict(arg, **kwargs))
139
+ self._skip_invalid = False
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/.___pycache__ ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/hoverlabel/.__font.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/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/funnel/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 = "funnel.hoverlabel"
10
+ _path_str = "funnel.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.funnel.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.funnel.hoverlabel.Font
562
+ constructor must be a dict or
563
+ an instance of :class:`plotly.graph_objs.funnel.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/funnel/legendgrouptitle/.___init__.py ADDED
Binary file (4.1 kB). View file
 
.venv_haddock/lib/python3.12/site-packages/plotly/graph_objs/funnel/legendgrouptitle/.___pycache__ ADDED
Binary file (4.1 kB). View file