(self)
| 2707 | ) |
| 2708 | |
| 2709 | def description(self): |
| 2710 | compound_description = super(BaseTemplateValidator, self).description() |
| 2711 | compound_description += """ |
| 2712 | - The name of a registered template where current registered templates |
| 2713 | are stored in the plotly.io.templates configuration object. The names |
| 2714 | of all registered templates can be retrieved with: |
| 2715 | >>> import plotly.io as pio |
| 2716 | >>> list(pio.templates) # doctest: +ELLIPSIS |
| 2717 | ['ggplot2', 'seaborn', 'simple_white', 'plotly', 'plotly_white', ...] |
| 2718 | |
| 2719 | - A string containing multiple registered template names, joined on '+' |
| 2720 | characters (e.g. 'template1+template2'). In this case the resulting |
| 2721 | template is computed by merging together the collection of registered |
| 2722 | templates""" |
| 2723 | |
| 2724 | return compound_description |
| 2725 | |
| 2726 | def validate_coerce(self, v, skip_invalid=False): |
| 2727 | import plotly.io as pio |
nothing calls this directly
no test coverage detected