(self)
| 35 | self.spines['geo'].register_axis(self.yaxis) |
| 36 | |
| 37 | def clear(self): |
| 38 | # docstring inherited |
| 39 | super().clear() |
| 40 | |
| 41 | self.set_longitude_grid(30) |
| 42 | self.set_latitude_grid(15) |
| 43 | self.set_longitude_grid_ends(75) |
| 44 | self.xaxis.set_minor_locator(NullLocator()) |
| 45 | self.yaxis.set_minor_locator(NullLocator()) |
| 46 | self.xaxis.set_ticks_position('none') |
| 47 | self.yaxis.set_ticks_position('none') |
| 48 | self.yaxis.set_tick_params(label1On=True) |
| 49 | # Why do we need to turn on yaxis tick labels, but |
| 50 | # xaxis tick labels are already on? |
| 51 | |
| 52 | self.grid(mpl.rcParams['axes.grid']) |
| 53 | |
| 54 | Axes.set_xlim(self, -np.pi, np.pi) |
| 55 | Axes.set_ylim(self, -np.pi / 2.0, np.pi / 2.0) |
| 56 | |
| 57 | def _set_lim_and_transforms(self): |
| 58 | # A (possibly non-linear) projection on the (already scaled) data |
no test coverage detected