MCPcopy Create free account
hub / github.com/plotly/plotly.py / simplify

Method simplify

plotly/graph_objs/scatter/_line.py:130–144  ·  view source on GitHub ↗

Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected. The 'simplify' property is a boolean and must be specified as:

(self)

Source from the content-addressed store, hash-verified

128
129 @property
130 def simplify(self):
131 """
132 Simplifies lines by removing nearly-collinear points. When
133 transitioning lines, it may be desirable to disable this so
134 that the number of points along the resulting SVG path is
135 unaffected.
136
137 The 'simplify' property is a boolean and must be specified as:
138 - A boolean value: True or False
139
140 Returns
141 -------
142 bool
143 """
144 return self["simplify"]
145
146 @simplify.setter
147 def simplify(self, val):

Callers 2

_calculationsFunction · 0.80
create_choroplethFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected