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

Method default

plotly/io/_templates.py:137–154  ·  view source on GitHub ↗

The name of the default template, or None if no there is no default If not None, the default template is automatically applied to all figures during figure construction if no explicit template is specified. The names of available templates may be retrieved

(self)

Source from the content-addressed store, hash-verified

135 # ### Properties ###
136 @property
137 def default(self):
138 """
139 The name of the default template, or None if no there is no default
140
141 If not None, the default template is automatically applied to all
142 figures during figure construction if no explicit template is
143 specified.
144
145 The names of available templates may be retrieved with:
146
147 >>> import plotly.io as pio
148 >>> list(pio.templates)
149
150 Returns
151 -------
152 str
153 """
154 return self._default
155
156 @default.setter
157 def default(self, value):

Callers

nothing calls this directly

Calls 1

_validateMethod · 0.95

Tested by

no test coverage detected