(self, v)
| 414 | list, numpy array, or pandas Series""".format(plotly_name=self.plotly_name) |
| 415 | |
| 416 | def validate_coerce(self, v): |
| 417 | if is_none_or_typed_array_spec(v): |
| 418 | pass |
| 419 | elif is_homogeneous_array(v): |
| 420 | v = copy_to_readonly_numpy_array(v) |
| 421 | elif is_simple_array(v): |
| 422 | v = to_scalar_or_list(v) |
| 423 | else: |
| 424 | self.raise_invalid_val(v) |
| 425 | return v |
| 426 | |
| 427 | |
| 428 | class EnumeratedValidator(BaseValidator): |
nothing calls this directly
no test coverage detected