docs: def _update_axes(ax, xincrease, yincrease,
                   xscale=None, yscale=None,
                   xticks=None, yticks=None,
                   xlim=None, ylim=None):
      """
      Update axes with provided parameters
      """
      if xincrease is None:
          pass
      elif xincrease and ax.xaxis_inverted():
          ax.invert_xaxis()
      elif not xincrease and not ax.xaxis_inverted():
          ax.invert_xaxis()
  
      if yincrease is None:
          pass
      elif yincrease and ax.yaxis_inverted():
          ax.invert_yaxis()
      elif not yincrease and not ax.yaxis_inverted():
          ax.invert_yaxis()
  
      # The default xscale, yscale needs to be None.
      # If we set a scale it resets the axes formatters,
      # This means that set_xscale('linear') on a datetime axis
      # will remove the date labels. So only set the scale when explicitly
      # asked to. https://github.com/matplotlib/matplotlib/issues/8740
      if xscale is not None:
          ax.set_xscale(xscale)
      if yscale is not None:
          ax.set_yscale(yscale)
  
      if xticks is not None:
          ax.set_xticks(xticks)
      if yticks is not None:
          ax.set_yticks(yticks)
  
      if xlim is not None:
          ax.set_xlim(xlim)
      if ylim is not None:
          ax.set_ylim(ylim)