layouts.py 文件源码

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

项目:MDT 作者: cbclab 项目源码 文件源码
def __init__(self, gridspec, figure, positions=None):
        """Create a grid layout specifier using the given gridspec and the given figure.

        Args:
            gridspec (GridSpec): the gridspec to use
            figure (Figure): the figure to generate subplots for
            positions (:class:`list`): if given, a list with grid spec indices for every requested axis
                can be logical indices or (x, y) coordinate indices (choose one and stick with it).
        """
        self.gridspec = gridspec
        self.figure = figure
        self.positions = positions
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号