We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d905e7 commit 58ab3e1Copy full SHA for 58ab3e1
plotly/io/_templates.py
@@ -104,9 +104,9 @@ def __delitem__(self, key):
104
105
def _validate(self, value):
106
if not self._validator:
107
- from plotly.validators.layout import TemplateValidator
+ from plotly.validator_cache import ValidatorCache
108
109
- self._validator = TemplateValidator()
+ self._validator = ValidatorCache.get_validator("layout", "template")
110
111
return self._validator.validate_coerce(value)
112
0 commit comments