| 233 | return self.zaxis.convert_units(z) |
| 234 | |
| 235 | def set_top_view(self): |
| 236 | # this happens to be the right view for the viewing coordinates |
| 237 | # moved up and to the left slightly to fit labels and axes |
| 238 | xdwl = 0.95 / self._dist |
| 239 | xdw = 0.9 / self._dist |
| 240 | ydwl = 0.95 / self._dist |
| 241 | ydw = 0.9 / self._dist |
| 242 | # Set the viewing pane. |
| 243 | self.viewLim.intervalx = (-xdwl, xdw) |
| 244 | self.viewLim.intervaly = (-ydwl, ydw) |
| 245 | self.stale = True |
| 246 | |
| 247 | def _init_axis(self): |
| 248 | """Init 3D Axes; overrides creation of regular X/Y Axes.""" |