(self)
| 53 | # self.spines['geo'].register_axis(self.yaxis) |
| 54 | |
| 55 | def clear(self): |
| 56 | # docstring inherited |
| 57 | super().clear() |
| 58 | |
| 59 | self.set_longitude_grid(30) |
| 60 | self.set_latitude_grid(15) |
| 61 | self.set_longitude_grid_ends(75) |
| 62 | self.xaxis.set_minor_locator(NullLocator()) |
| 63 | self.yaxis.set_minor_locator(NullLocator()) |
| 64 | self.xaxis.set_ticks_position('none') |
| 65 | self.yaxis.set_ticks_position('none') |
| 66 | self.yaxis.set_tick_params(label1On=True) |
| 67 | # Why do we need to turn on yaxis tick labels, but |
| 68 | # xaxis tick labels are already on? |
| 69 | |
| 70 | self.grid(rcParams['axes.grid']) |
| 71 | |
| 72 | Axes.set_xlim(self, -np.pi, np.pi) |
| 73 | Axes.set_ylim(self, -np.pi / 2.0, np.pi / 2.0) |
| 74 | |
| 75 | def _set_lim_and_transforms(self): |
| 76 | # A (possibly non-linear) projection on the (already scaled) data |
no test coverage detected