class_docstr: Scales data in range -pi/2 to pi/2 (-90 to 90 degrees) using
  the system used to scale latitudes in a Mercator__ projection.
  
  The scale function:
    ln(tan(y) + sec(y))
  
  The inverse scale function:
    atan(sinh(y))
  
  Since the Mercator scale tends to infinity at +/- 90 degrees,
  there is user-defined threshold, above and below which nothing
  will be plotted.  This defaults to +/- 85 degrees.
  
  __ https://en.wikipedia.org/wiki/Mercator_projection
docstr: Override this method to return a new instance that does the
  actual transformation of the data.
  
  The MercatorLatitudeTransform class is defined below as a
  nested class of this one.
docstr_tok: ["Override","this","method","to","return","a","new","instance","that","does","the","actual","transformation","of","the","data",".","The","MercatorLatitudeTransform","class","is","defined","below","as","a","nested","class","of","this","one","."]
code: def get_transform(self):
      """
      Override this method to return a new instance that does the
      actual transformation of the data.
  
      The MercatorLatitudeTransform class is defined below as a
      nested class of this one.
      """
      return self.MercatorLatitudeTransform(self.thresh)
  
file_path: matplotlib/galleries/examples/scales/custom_scale.py
imports: import numpy
  from numpy import ma
  from matplotlib import scale
  from matplotlib import transforms
  from matplotlib.ticker import FixedLocator, FuncFormatter
label_desc: Use image node_id 2 for calling the MercatorLatitudeScale obj's underlying member method code with example usage: obj.get_transform() and returns: self