コード例 #1
0
ファイル: pyplot.py プロジェクト: dragoljub/galry
 def show(self):
     """Show the figure."""
     # self.update_normalization()
     pm = PaintManagerCreator.create(self, self.pmclass)
     im = InteractionManagerCreator.create(self, self.imclass)
     bindings = BindingCreator.create(self, self.bindingsclass)
     window = show_basic_window(
         paint_manager=pm,
         interaction_manager=im,
         bindings=bindings,
         constrain_ratio=self.constrain_ratio,
         constrain_navigation=self.constrain_navigation,
         display_fps=self.display_fps,
         activate3D=self.activate3D,
         antialiasing=self.antialiasing,
         activate_grid=self.activate_grid,
         show_grid=self.show_grid,
         activate_help=self.activate_help,
         animation_interval=self.animation_interval,
         size=self.figsize,
         toolbar=self.toolbar,
         autosave=self.autosave,
         autodestruct=self.autodestruct,
         )
     return window
コード例 #2
0
 def show(self):
     """Show the figure."""
     # self.update_normalization()
     pm = PaintManagerCreator.create(self, self.pmclass)
     im = InteractionManagerCreator.create(self, self.imclass)
     bindings = BindingCreator.create(self, self.bindingsclass)
     window = show_basic_window(
         paint_manager=pm,
         interaction_manager=im,
         bindings=bindings,
         constrain_ratio=self.constrain_ratio,
         constrain_navigation=self.constrain_navigation,
         display_fps=self.display_fps,
         activate3D=self.activate3D,
         antialiasing=self.antialiasing,
         activate_grid=self.activate_grid,
         momentum=self.momentum,
         show_grid=self.show_grid,
         activate_help=self.activate_help,
         animation_interval=self.animation_interval,
         size=self.figsize,
         toolbar=self.toolbar,
         autosave=self.autosave,
         autodestruct=self.autodestruct,
     )
     return window