コード例 #1
0
 def _make_template_plot(self,plot_template_name,plot_template,**kw):
     return make_template_plot(self._channels(plot_template,**kw),
                               self.input_sheet.sheet_views,
                               self.input_sheet.xdensity,
                               self.input_sheet.bounds,
                               self.normalize,
                               range_=kw['range_'])
コード例 #2
0
 def _make_template_plot(self,plot_template_name,plot_template,**kw):
     return make_template_plot(self._channels(plot_template,**kw),
                               kw['proj'].dest.sheet_views,
                               kw['proj'].dest.xdensity,
                               kw['proj'].dest.bounds,
                               self.normalize,
                               name=kw['proj'].name,
                               range_=kw['range_'])
コード例 #3
0
 def _make_template_plot(self,plot_template_name,plot_template,**kw):#sheet,proj
     return make_template_plot(self._channels(plot_template,**kw),
                               kw['proj'].src.sheet_views,
                               kw['proj'].src.xdensity,
                               None,
                               self.normalize,
                               name=kw['proj'].name,
                               range_=kw['range_'])
コード例 #4
0
 def _make_template_plot(self,plot_template_name,plot_template,**kw):
     return make_template_plot(plot_template,
                               kw['sheet'].sheet_views,
                               self.unit_size,
                               kw['sheet'].bounds,
                               self.normalize,
                               name=plot_template_name,
                               range_=kw['range_'])
コード例 #5
0
ファイル: plotgroup.py プロジェクト: bilal-khan/topographica
 def _make_template_plot(self,plot_template_name,plot_template,**kw):
     return make_template_plot(self._channels(plot_template,**kw),
                               kw['proj'].dest.views.cfs[kw['proj'].name],
                               kw['proj'].src.xdensity,
                               kw['bounds'],
                               self.normalize,
                               name=kw['proj'].name,
                               range_=kw['range_'])
コード例 #6
0
 def _make_template_plot(self,plot_template_name,plot_template,**kw):
     return make_template_plot(plot_template,
                               kw['sheet'].sheet_views,
                               kw['sheet'].xdensity,
                               kw['sheet'].bounds,
                               self.normalize,
                               # CEBALERT: after this class, p.t. name never used
                               name=plot_template_name,
                               range_=kw['range_'])
コード例 #7
0
ファイル: plotgroup.py プロジェクト: bilal-khan/topographica
    def _make_template_plot(self,plot_template_name,plot_template,**kw):
        input=self.input_sheet.name

        return make_template_plot(self._channels(plot_template, **kw),
                                  getattr(self.sheet.views.rfs, input, {}),
                                  self.input_sheet.xdensity,
                                  self.input_sheet.bounds,
                                  self.normalize,
                                  range_=kw['range_'])