def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def __draw_ellipses(figure, visualizer, clusters, covariances, means):
        ax = figure.get_axes()[0]