mpl_base.py 文件源码

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

项目:GRIPy 作者: giruenf 项目源码 文件源码
def update(self, title=None, color=None, fontsize=10):
        """
        Update PlotLabelTitle properties.

        Parameters
        ----------
        title : str
            Title string.
        bcolor : mpl color spec
            Tiles's background color. 
        """

        if title is not None:
            self._text.set_text(title)
        if color is not None:    
            self.figure.set_facecolor(color)
        if fontsize is not None:
            self._text.set_fontsize(fontsize)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号