예제 #1
0
 def to_file(self, filename):
     err = Error()
     if gtlib.gt_graphics_save_to_file(self.g, filename,
                                       err._as_parameter_) < 0:
         gterror(err)
예제 #2
0
파일: graphics.py 프로젝트: pythseq/EDTA
 def to_file(self, filename):
     err = Error()
     if gtlib.gt_graphics_save_to_file(self.g,
                                       str(filename).encode("utf-8"),
                                       err) < 0:
         gterror(err)
예제 #3
0
 def to_file(self, filename):
     err = Error()
     if gtlib.gt_graphics_save_to_file(self.g, filename, err) < 0:
         gterror(err)
예제 #4
0
 def to_file(self, filename):
     err = Error()
     if gtlib.gt_graphics_save_to_file(self.g,
                                       str(filename).encode("utf-8"), err) < 0:
         gterror(err)