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

Method fill

plotly/graph_objs/_scatter.py:267–298  ·  view source on GitHub ↗

Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `fillcolor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx"

(self)

Source from the content-addressed store, hash-verified

265
266 @property
267 def fill(self):
268 """
269 Sets the area to fill with a solid color. Defaults to "none"
270 unless this trace is stacked, then it gets "tonexty"
271 ("tonextx") if `orientation` is "v" ("h") Use with `fillcolor`
272 if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0
273 respectively. "tonextx" and "tonexty" fill between the
274 endpoints of this trace and the endpoints of the trace before
275 it, connecting those endpoints with straight lines (to make a
276 stacked area graph); if there is no trace before it, they
277 behave like "tozerox" and "tozeroy". "toself" connects the
278 endpoints of the trace (or each segment of the trace if it has
279 gaps) into a closed shape. "tonext" fills the space between two
280 traces if one completely encloses the other (eg consecutive
281 contour lines), and behaves like "toself" if there is no trace
282 before it. "tonext" should not be used if one trace does not
283 enclose the other. Traces in a `stackgroup` will only fill to
284 (or be filled to) other traces in the same group. With multiple
285 `stackgroup`s or some traces stacked and some not, if fill-
286 linked traces are not already consecutive, the later ones will
287 be pushed down in the drawing order.
288
289 The 'fill' property is an enumeration that may be specified as:
290 - One of the following enumeration values:
291 ['none', 'tozeroy', 'tozerox', 'tonexty', 'tonextx',
292 'toself', 'tonext']
293
294 Returns
295 -------
296 Any
297 """
298 return self["fill"]
299
300 @fill.setter
301 def fill(self, val):

Callers 15

aFunction · 0.45
zFunction · 0.45
oFunction · 0.45
nFunction · 0.45
drawMethod · 0.45
bFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected