This exceeds the line limit of 79 chars and thus flake8 complains. One option would be less wordy:  ~~~  """Update the axis instances based on unit *kwargs* if given."""  OTOH it would be even better to document the parameters.  ~~~    