@invalidate_plot
def set_unit(self, field, unit_name):
    'Set the unit used to plot the field\n\n        Parameters\n        ----------\n        field: str or field tuple\n           The name of the field to set the units for\n        unit_name: str\n           The name of the unit to use for this field\n        '
    self._y_units[self.data_source._determine_fields(field)[0]] = unit_name
Set the unit used to plot the field

Parameters
----------
field: str or field tuple
   The name of the field to set the units for
unit_name: str
   The name of the unit to use for this field
@invalidate_plot
def set_unit(self, field, unit_name):
    'Set the unit used to plot the field\n\n        Parameters\n        ----------\n        field: str or field tuple\n           The name of the field to set the units for\n        unit_name: str\n           The name of the unit to use for this field\n        '
    self._y_units[self.data_source._determine_fields(field)[0]] = unit_name