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

Method color

plotly/graph_objs/_mesh3d.py:225–242  ·  view source on GitHub ↗

Sets the color of the whole mesh The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv

(self)

Source from the content-addressed store, hash-verified

223
224 @property
225 def color(self):
226 """
227 Sets the color of the whole mesh
228
229 The 'color' property is a color and may be specified as:
230 - A hex string (e.g. '#ff0000')
231 - An rgb/rgba string (e.g. 'rgb(255,0,0)')
232 - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
233 - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
234 - A named CSS color: see https://plotly.com/python/css-colors/ for a list
235 - A number that will be interpreted as a color
236 according to mesh3d.colorscale
237
238 Returns
239 -------
240 str
241 """
242 return self["color"]
243
244 @color.setter
245 def color(self, val):

Callers 4

evaluateMethod · 0.45
evaluateMethod · 0.45
evaluateMethod · 0.45
evaluateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected