MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _update_values

Method _update_values

lib/matplotlib/path.py:201–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

199 return cls(np.concatenate([v, v[:1]]), closed=True)
200
201 def _update_values(self):
202 self._simplify_threshold = mpl.rcParams['path.simplify_threshold']
203 self._should_simplify = (
204 self._simplify_threshold > 0 and
205 mpl.rcParams['path.simplify'] and
206 len(self._vertices) >= 128 and
207 (self._codes is None or np.all(self._codes <= Path.LINETO))
208 )
209
210 @property
211 def vertices(self):

Callers 3

__init__Method · 0.95
verticesMethod · 0.95
codesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected