Set the latitude(s) at which to stop drawing the longitude grids.
(self, degrees)
| 188 | self.yaxis.set_major_formatter(self.ThetaFormatter(degrees)) |
| 189 | |
| 190 | def set_longitude_grid_ends(self, degrees): |
| 191 | """ |
| 192 | Set the latitude(s) at which to stop drawing the longitude grids. |
| 193 | """ |
| 194 | self._longitude_cap = np.deg2rad(degrees) |
| 195 | self._xaxis_pretransform \ |
| 196 | .clear() \ |
| 197 | .scale(1.0, self._longitude_cap * 2.0) \ |
| 198 | .translate(0.0, -self._longitude_cap) |
| 199 | |
| 200 | def get_data_ratio(self): |
| 201 | """Return the aspect ratio of the data itself.""" |