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

Method codes

lib/matplotlib/path.py:223–232  ·  view source on GitHub ↗

The list of codes in the `Path` as a 1D array. Each code is one of `STOP`, `MOVETO`, `LINETO`, `CURVE3`, `CURVE4` or `CLOSEPOLY`. For codes that correspond to more than one vertex (`CURVE3` and `CURVE4`), that code will be repeated so that the length of `ve

(self)

Source from the content-addressed store, hash-verified

221
222 @property
223 def codes(self):
224 """
225 The list of codes in the `Path` as a 1D array.
226
227 Each code is one of `STOP`, `MOVETO`, `LINETO`, `CURVE3`, `CURVE4` or
228 `CLOSEPOLY`. For codes that correspond to more than one vertex
229 (`CURVE3` and `CURVE4`), that code will be repeated so that the length
230 of `vertices` and `codes` is always the same.
231 """
232 return self._codes
233
234 @codes.setter
235 def codes(self, codes):

Callers

nothing calls this directly

Calls 1

_update_valuesMethod · 0.95

Tested by

no test coverage detected