hpie.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:pyplot-hierarchical-pie 作者: klieret 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号