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

Method style

plotly/graph_objs/layout/_map.py:162–187  ·  view source on GitHub ↗

Defines the map layers that are rendered by default below the trace layers defined in `data`, which are themselves by default rendered below the layers defined in `layout.map.layers`. These layers can be defined either explicitly as a Map Style object which c

(self)

Source from the content-addressed store, hash-verified

160
161 @property
162 def style(self):
163 """
164 Defines the map layers that are rendered by default below the
165 trace layers defined in `data`, which are themselves by default
166 rendered below the layers defined in `layout.map.layers`.
167 These layers can be defined either explicitly as a Map Style
168 object which can contain multiple layer definitions that load
169 data from any public or private Tile Map Service (TMS or XYZ)
170 or Web Map Service (WMS) or implicitly by using one of the
171 built-in style objects which use WMSes or by using a custom
172 style URL Map Style objects are of the form described in the
173 MapLibre GL JS documentation available at
174 https://maplibre.org/maplibre-style-spec/ The built-in
175 plotly.js styles objects are: basic, carto-darkmatter, carto-
176 darkmatter-nolabels, carto-positron, carto-positron-nolabels,
177 carto-voyager, carto-voyager-nolabels, dark, light, open-
178 street-map, outdoors, satellite, satellite-streets, streets,
179 white-bg.
180
181 The 'style' property accepts values of any type
182
183 Returns
184 -------
185 Any
186 """
187 return self["style"]
188
189 @style.setter
190 def style(self, val):

Callers 15

wtFunction · 0.45
_rFunction · 0.45
XrFunction · 0.45
tiFunction · 0.45
voFunction · 0.45
aFunction · 0.45
"src/lib/notifier.js"Function · 0.45
"src/lib/index.js"Function · 0.45
"src/plots/plots.js"Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected