(self)
| 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): |