Пример #1
0
 def _init_axis(self):
     # Taken from Axes and modified to use our modified X-axis
     self.xaxis = SkewXAxis(self)
     self.spines['top'].register_axis(self.xaxis)
     self.spines['bottom'].register_axis(self.xaxis)
     self.yaxis = maxis.YAxis(self)
     self.spines['left'].register_axis(self.yaxis)
     self.spines['right'].register_axis(self.yaxis)
Пример #2
0
 def _init_axis(self):
     # Taken from Axes and modified to use our modified X-axis
     self.xaxis = SkewXAxis(self)
     self.spines.top.register_axis(self.xaxis)
     self.spines.bottom.register_axis(self.xaxis)
     self.yaxis = maxis.YAxis(self)
     self.spines.left.register_axis(self.yaxis)
     self.spines.right.register_axis(self.yaxis)
Пример #3
0
 def _init_axis(self):
     # Taken from Axes and modified to use our modified X-axis
     self.xaxis = SkewXAxis(self)
     self.spines["top"].register_axis(self.xaxis)
     self.spines["bottom"].register_axis(self.xaxis)
     self.yaxis = maxis.YAxis(self)
     self.spines["left"].register_axis(self.yaxis)
     self.spines["right"].register_axis(self.yaxis)
Пример #4
0
 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
 def _init_axis(self):
     # Taken from Axes and modified to use our modified X-axis
     self.xaxis = SkewXAxis(self)
     self.spines['top'].register_axis(self.xaxis)
     self.spines['bottom'].register_axis(self.xaxis)
     self.yaxis = maxis.YAxis(self)
     self.yaxis.set_major_formatter(ScalarFormatter())
     self.yaxis.set_major_locator(MultipleLocator(100))
     self.spines['left'].register_axis(self.yaxis)
     self.spines['right'].register_axis(self.yaxis)
Пример #7
0
 def _init_axis(self):
     """
     Taken from matplolib's Axes_ and modified to use our modified X-axis
     
     .. _Axes:https://matplotlib.org/api/axes_api.html
     """
     self.xaxis = SkewXAxis(self)
     self.spines['top'].register_axis(self.xaxis)
     self.spines['bottom'].register_axis(self.xaxis)
     self.yaxis = maxis.YAxis(self)
     self.spines['left'].register_axis(self.yaxis)
     self.spines['right'].register_axis(self.yaxis)
Пример #8
0
 def _init_axis(self):
     """
     We need a custom XAxis because there is currently no way
     of setting the tick label direction to vertical from the
     Scale class
     """
     self.xaxis = AddressSpaceXAxis(self)
     self.spines['bottom'].register_axis(self.xaxis)
     self.spines['top'].register_axis(self.xaxis)
     self.yaxis = axis.YAxis(self)
     self.spines['left'].register_axis(self.yaxis)
     self.spines['right'].register_axis(self.yaxis)
     self._update_transScale()
Пример #9
0
    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()
Пример #10
0
 def _init_axis(self):
     #Taken from Axes and modified to use our modified X-axis
     "move this out of __init__ because non-separable axes don't use it"
     self.xaxis = SkewXAxis(self)
     self.yaxis = maxis.YAxis(self)
     self._update_transScale()
Пример #11
0
 def _init_axis(self):
     self.xaxis = maxis.XAxis(self)
     self.yaxis = maxis.YAxis(self)
     self.update_transScale()