def createY2Axis (self):
        ybounds = self.y2bounds
        textProperties = {'textHeight': self.settings.y2AxisTextHeight,
                          'horizontalAnchor': 'left',
                          'verticalAnchor': 'middle',
                          }
        yaxis = YAxis (inf = self.canvas.y,
                       sup = self.canvas.y + self.canvas.height,
                       x = 0,
                       lower = self.y2bounds[0],
                       upper = self.y2bounds[1],
                       textProperties = textProperties)
        yaxis.createTicks ()
        if self.y2labels:
            yaxis.setText (self.y2labels)
        yaxis.drawTicks ()
        yaxis.move (self.canvas.x + self.canvas.width - yaxis.width, 0)
        self.canvas.changeSize (-yaxis.width - self.settings.y2AxisSpace, 0)
        self.dataGroup.drawAt (yaxis, 0)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/base.py/UnifiedGraph.createY2Axis/original