def createYAxis (self):
        textProperties = {'textHeight': self.settings.yAxisTextHeight,
                          'horizontalAnchor': 'right',
                          'verticalAnchor': 'middle',
                          'lineLength': self.settings.yAxisMaxWidth,
                          'maxLines': self.settings.yAxisMaxLines,
                          }
        yaxis = YAxis (inf = self.canvas.y,
                       sup = self.canvas.y + self.canvas.height,
                       x = 0,
                       lower = self.ybounds[0],
                       upper = self.ybounds[1],
                       has_lines = self.settings.horizontalGrid,
                       line_height = self.canvas.width,
                       textProperties = textProperties)
        yaxis.createTicks (self.ypositions)
        yaxis.setText (self.ylabels)
        yaxis.drawTicks ()
        yaxis.move (self.canvas.x + yaxis.width, 0)
        self.canvas.changeSize (-yaxis.width - self.settings.yAxisSpace, 0)
        self.canvas.move (yaxis.width + self.settings.yAxisSpace, 0)
        self.dataGroup.drawAt (yaxis, 0)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/base.py/UnifiedGraph.createYAxis/original