def _init_axis(self):
     self.xaxis = maxis.XAxis(self)
     self.yaxis = maxis.YAxis(self)
     # Do not register xaxis or yaxis with spines -- as done in
     # Axes._init_axis() -- until GeoAxes.xaxis.cla() works.
     # self.spines['geo'].register_axis(self.yaxis)
     self._update_transScale()
示例#2
0
 def _init_axis(self):
     self.xaxis = maxis.XAxis(self)
     self.yaxis = maxis.YAxis(self)
     #xaxis dan yaxis tidak langsung di kenalkan pada kerangka
     #sebagaimana Axes._init_axis() -- until HammerAxes.xaxis.cla() bekerja
     # self.spines['hammer'].register_axis(self.yaxis)
     self._update_transScale()
示例#3
0
 def _init_axis(self):
     self.xaxis = maxis.XAxis(self)
     self.yaxis = maxis.YAxis(self)
     # FIXME: we probably want to register axis with spines.
     # Axes._init_axis() -- until HammerAxes.xaxis.cla() works.
     #self.spines['hammer'].register_axis(self.yaxis)
     self._update_transScale()
示例#4
0
文件: polar.py 项目: shaak/matplotlib
 def _init_axis(self):
     "move this out of __init__ because non-separable axes don't use it"
     self.xaxis = maxis.XAxis(self)
     self.yaxis = maxis.YAxis(self)
     # Calling polar_axes.xaxis.cla() or polar_axes.xaxis.cla()
     # results in weird artifacts. Therefore we disable this for
     # now.
     # self.spines['polar'].register_axis(self.yaxis)
     self._update_transScale()
示例#5
0
 def _init_axis(self):
     # Axes._init_axis() -- until HammerAxes.xaxis.cla() works.
     self.xaxis = maxis.XAxis(self)
     self.spines['bottom'].register_axis(self.xaxis)
     self.spines['top'].register_axis(self.xaxis)
     self.yaxis = maxis.YAxis(self)
     self.spines['left'].register_axis(self.yaxis)
     self.spines['right'].register_axis(self.yaxis)
     self._update_transScale()
示例#6
0
文件: _axes.py 项目: yuzie007/mpltern
    def _init_axis(self):
        self.xaxis = maxis.XAxis(self)
        self.yaxis = maxis.YAxis(self)

        self.taxis = TAxis(self)
        self.laxis = LAxis(self)
        self.raxis = RAxis(self)

        self.spines['tside'].register_axis(self.taxis)
        self.spines['lside'].register_axis(self.laxis)
        self.spines['rside'].register_axis(self.raxis)

        self._update_transScale()
示例#7
0
 def _init_axis(self):
     self.xaxis = maxis.XAxis(self)
     self.yaxis = maxis.YAxis(self)
     self.update_transScale()