parameters: (ax, axis, tick_type, formatter)
return_statement: return False
docstring: Check whether the formatter is default for the given axis and tick type.
docstring_summary: Check whether the formatter is default for the given axis and tick type.
docstring_tokens: Check whether the formatter is default for the given axis and tick type .
function: def _is_default_tick_formatter(ax, axis, tick_type, formatter):
      """
      Check whether the formatter is default for the given axis and tick type.
      """
      scale = getattr(getattr(ax, axis), "get_scale")()
      if scale in DEFAULT_TICK_FORMATTERS:
          if isinstance(formatter, DEFAULT_TICK_FORMATTERS[scale][tick_type]):
              return True
      return False
function_tokens: def _is_default_tick_formatter ( ax , axis , tick_type , formatter ) : scale = getattr ( getattr ( ax , axis ) , "get_scale" ) ( ) if scale in DEFAULT_TICK_FORMATTERS : if isinstance ( formatter , DEFAULT_TICK_FORMATTERS [ scale ] [ tick_type ] ) : return True return False