| 6 | |
| 7 | |
| 8 | class Number(_BaseTraceHierarchyType): |
| 9 | _parent_path_str = "indicator" |
| 10 | _path_str = "indicator.number" |
| 11 | _valid_props = {"font", "prefix", "suffix", "valueformat"} |
| 12 | |
| 13 | @property |
| 14 | def font(self): |
| 15 | """ |
| 16 | Set the font used to display main number |
| 17 | |
| 18 | The 'font' property is an instance of Font |
| 19 | that may be specified as: |
| 20 | - An instance of :class:`plotly.graph_objs.indicator.number.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.indicator.number.Font |
| 27 | """ |
| 28 | return self["font"] |
| 29 | |
| 30 | @font.setter |
| 31 | def font(self, val): |
| 32 | self["font"] = val |
| 33 | |
| 34 | @property |
| 35 | def prefix(self): |
| 36 | """ |
| 37 | Sets a prefix appearing before the number. |
| 38 | |
| 39 | The 'prefix' 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["prefix"] |
| 48 | |
| 49 | @prefix.setter |
| 50 | def prefix(self, val): |
| 51 | self["prefix"] = val |
| 52 | |
| 53 | @property |
| 54 | def suffix(self): |
| 55 | """ |
| 56 | Sets a suffix appearing next to the number. |
| 57 | |
| 58 | The 'suffix' property is a string and must be specified as: |
| 59 | - A string |
| 60 | - A number that will be converted to a string |
| 61 | |
| 62 | Returns |
| 63 | ------- |
| 64 | str |
| 65 | """ |
no outgoing calls
no test coverage detected