MCPcopy Index your code
hub / github.com/plotly/plotly.py / __setitem__

Method __setitem__

plotly/io/_templates.py:93–94  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

91 return self.merge_templates(*templates)
92
93 def __setitem__(self, key, value):
94 self._templates[key] = self._validate(value)
95
96 def __delitem__(self, key):
97 # Remove template

Callers

nothing calls this directly

Calls 1

_validateMethod · 0.95

Tested by

no test coverage detected