pymod_plot.py 文件源码

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

项目:pymod 作者: pymodproject 项目源码 文件源码
def save_postscript(self):
        filepath = tkFileDialog.asksaveasfilename(filetypes=[("ps","*.ps")],parent=self)
        if not filepath == "":
            try:
                # Lowers the stack level of the points in order to hide them in the .ps image.
                self.canvas_plot.tag_lower("type:point")
                self.canvas_plot.postscript(file=filepath, colormode='color')
                self.canvas_plot.set_canvas_stack()
            except:
                pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号