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

Method convert_zunits

lib/mpl_toolkits/mplot3d/axes3d.py:228–233  ·  view source on GitHub ↗

For artists in an Axes, if the zaxis has units support, convert *z* using zaxis unit type

(self, z)

Source from the content-addressed store, hash-verified

226 self.stale = True
227
228 def convert_zunits(self, z):
229 """
230 For artists in an Axes, if the zaxis has units support,
231 convert *z* using zaxis unit type
232 """
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

Callers

nothing calls this directly

Calls 1

convert_unitsMethod · 0.80

Tested by

no test coverage detected