MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_top_view

Method set_top_view

lib/mpl_toolkits/mplot3d/axes3d.py:235–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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."""

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected