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 698e0b8 commit bdd5a3aCopy full SHA for bdd5a3a
packages/python/plotly/plotly/io/_templates.py
@@ -67,7 +67,8 @@ def __getitem__(self, item):
67
68
if item == "none":
69
# "none" is a special built-in named template that applied no defaults
70
- self._templates[item] = Template()
+ template = Template()
71
+ self._templates[item] = template
72
else:
73
# Load template from package data
74
path = os.path.join("package_data", "templates", item + ".json")
0 commit comments