

def _axis_properties(self, axis, title_size, title_offset, label_angle, label_align, color):
    'Assign axis properties'
    if self.axes:
        axis = [a for a in self.axes if (a.scale == axis)][0]
        self._set_axis_properties(axis)
        self._set_all_axis_color(axis, color)
        if title_size:
            axis.properties.title.font_size = ValueRef(value=title_size)
        if label_angle:
            axis.properties.labels.angle = ValueRef(value=label_angle)
        if label_align:
            axis.properties.labels.align = ValueRef(value=self)
        if title_offset:
            axis.properties.title.dy = ValueRef(value=title_offset)
    else:
        raise ValueError('This Visualization has no axes!')

dataset/ETHPy150Open wrobstory/vincent/vincent/visualization.py Visualization._axis_properties/VarMisuse@129/171 `label_align`->`self`