class_docstr: An abstract base class for geographic projections
class_docstr_tok: ["An","abstract","base","class","for","geographic","projections"]
docstr: Set the number of degrees between each longitude grid.
  
  This is an example method that is specific to this projection
  class -- it provides a more convenient interface than
  set_yticks would.
docstr_tok: ["Set","the","number","of","degrees","between","each","longitude","grid",".","This","is","an","example","method","that","is","specific","to","this","projection","class","--","it","provides","a","more","convenient","interface","than","set_yticks","would","."]
code: def set_latitude_grid(self, degrees):
      """
      Set the number of degrees between each longitude grid.
  
      This is an example method that is specific to this projection
      class -- it provides a more convenient interface than
      set_yticks would.
      """
      # Skip -90 and 90, which are the fixed limits.
      grid = np.arange(-90 + degrees, 90, degrees)
      self.yaxis.set_major_locator(FixedLocator(np.deg2rad(grid)))
      self.yaxis.set_major_formatter(self.ThetaFormatter(degrees))
  
imports: import numpy
  import matplotlib
  from matplotlib.axes import Axes
  import matplotlib.axis
  from matplotlib.patches import Circle
  from matplotlib.path import Path
  from matplotlib.projections import register_projection
  import matplotlib.spines
  from matplotlib.ticker import FixedLocator, Formatter, NullLocator
  from matplotlib.transforms import Affine2D, BboxTransformTo, Transform
label_desc: Use image node_id 17 for calling the GeoAxes obj's underlying member method code with example usage: obj.set_latitude_grid(degrees) without return types