class_docstr: A d-dimensional Bézier segment.
  
  Parameters
  ----------
  control_points : (N, d) array
      Location of the *N* control points.
docstr: Degree of the polynomial. One less the number of control points.
docstr_tok: ["Degree","of","the","polynomial",".","One","less","the","number","of","control","points","."]
code: def degree(self):
      """Degree of the polynomial. One less the number of control points."""
      return self._N - 1
  
imports: from functools import lru_cache
  import math
  import warnings
  import numpy
  from matplotlib import _api
label_desc: Use image node_id 6 for calling the BezierSegment obj's underlying member method code with example usage: obj.degree() and returns: unknown