def set_longitude_grid(self, degrees):
number = (<NUM_LIT> / degrees) + <NUM_LIT:1><EOL>self.xaxis.set_major_locator(<EOL>FixedLocator(<EOL>np.linspace(-np.pi, np.pi, number, True)[<NUM_LIT:1>:-<NUM_LIT:1>]))<EOL>self._logitude_degrees = degrees<EOL>self.xaxis.set_major_formatter(self.ThetaFormatter(degrees))<EOL>
Set the number of degrees between each longitude grid.