parameters: (ax)
docstring: Switch signs of depth ticks to be positive
docstring_summary: Switch signs of depth ticks to be positive
docstring_tokens: Switch signs of depth ticks to be positive
function: def renameDepthTicks(ax):
      """Switch signs of depth ticks to be positive"""
      @ticker.FuncFormatter
      def major_formatter(x, pos):
          return prettyFloat(-x) % x
  
      ax.yaxis.set_major_formatter(major_formatter)
      updateAxes(ax)
function_tokens: def renameDepthTicks ( ax ) : @ ticker . FuncFormatter def major_formatter ( x , pos ) : return prettyFloat ( - x ) % x ax . yaxis . set_major_formatter ( major_formatter ) updateAxes ( ax )