@invalidate_plot
def set_x_unit(self, unit_name):
    'Set the unit to use along the x-axis\n\n        Parameters\n        ----------\n        unit_name: str\n          The name of the unit to use for the x-axis unit\n        '
    self._x_unit = unit_name
Set the unit to use along the x-axis

Parameters
----------
unit_name: str
  The name of the unit to use for the x-axis unit
@invalidate_plot
def set_x_unit(self, unit_name):
    'Set the unit to use along the x-axis\n\n        Parameters\n        ----------\n        unit_name: str\n          The name of the unit to use for the x-axis unit\n        '
    self._x_unit = unit_name