コード例 #1
0
ファイル: legend.py プロジェクト: BenChristenson/chaco
 def _draw_overlay(self, gc, view_bounds=None, mode="normal"):
     if self.component is not None:
         self._draw_as_overlay(gc, view_bounds, mode)
     else:
         PlotComponent._draw_overlay(self, gc, view_bounds, mode)
     return
コード例 #2
0
 def _draw_overlay(self, gc, view_bounds=None, mode="normal"):
     if self.component is not None:
         self._draw_as_overlay(gc, view_bounds, mode)
     else:
         PlotComponent._draw_overlay(self, gc, view_bounds, mode)
     return