Objects of this class can be passed to Plotly Express functions that expect column identifiers or list-like objects to indicate that this attribute should be mapped onto integers starting at 0. An optional label can be provided.
| 30 | |
| 31 | |
| 32 | class Range(object): |
| 33 | """ |
| 34 | Objects of this class can be passed to Plotly Express functions that expect column |
| 35 | identifiers or list-like objects to indicate that this attribute should be mapped |
| 36 | onto integers starting at 0. An optional label can be provided. |
| 37 | """ |
| 38 | |
| 39 | def __init__(self, label=None): |
| 40 | self.label = label |