(self, v)
| 681 | as a plotly.grid_objs.Column object""".format(plotly_name=self.plotly_name) |
| 682 | |
| 683 | def validate_coerce(self, v): |
| 684 | if is_none_or_typed_array_spec(v): |
| 685 | pass |
| 686 | elif isinstance(v, str): |
| 687 | pass |
| 688 | elif self.chart_studio and isinstance(v, self.chart_studio.grid_objs.Column): |
| 689 | # Convert to id string |
| 690 | v = v.id |
| 691 | else: |
| 692 | self.raise_invalid_val(v) |
| 693 | |
| 694 | return v |
| 695 | |
| 696 | |
| 697 | class NumberValidator(BaseValidator): |