def wedge(self, path: Path) -> Wedge:
""" Generates the patches wedge object corresponding to `path`."""
return Wedge((self.origin[0], self.origin[1]),
self._wedge_outer_radius(path),
self._angles[path].theta1,
self._angles[path].theta2,
width=self.wedge_width(path),
label=self.format_text(path),
facecolor=self.face_color(path),
edgecolor=self.edge_color(path),
linewidth=self.line_width(path),
fill=True,
alpha=self.alpha(path))
# todo: supply rest of the arguments
评论列表
文章目录