class_docstr: Plot3D provides a common baseclass for mplot3d based
  plots.
class_docstr_tok: ["Plot3D","provides","a","common","baseclass","for","mplot3d","based","plots","."]
docstr: Extends the ElementPlot _finalize_axis method to set appropriate
  labels, and axes options for 3D Plots.
docstr_tok: ["Extends","the","ElementPlot","_finalize_axis","method","to","set","appropriate","labels",",","and","axes","options","for","3D","Plots","."]
code: def _finalize_axis(self, key, **kwargs):
      """
      Extends the ElementPlot _finalize_axis method to set appropriate
      labels, and axes options for 3D Plots.
      """
      axis = self.handles["axis"]
      self.handles["fig"].set_frameon(False)
      axis.grid(self.show_grid)
      axis.view_init(elev=self.elevation, azim=self.azimuth)
      try:
          axis._dist = self.distance
      except Exception:
          # axis.dist is deprecated see here:
          # https://github.com/matplotlib/matplotlib/pull/22084
          axis.dist = self.distance
  
      if self.xaxis is None:
          axis.w_xaxis.line.set_lw(0.0)
          axis.w_xaxis.label.set_text("")
      if self.yaxis is None:
          axis.w_yaxis.line.set_lw(0.0)
          axis.w_yaxis.label.set_text("")
      if self.zaxis is None:
          axis.w_zaxis.line.set_lw(0.0)
          axis.w_zaxis.label.set_text("")
      if self.disable_axes:
          axis.set_axis_off()
  
      if mpl_version <= Version("1.5.9"):
          axis.set_axis_bgcolor(self.bgcolor)
      else:
          axis.set_facecolor(self.bgcolor)
      return super()._finalize_axis(key, **kwargs)
  
imports: import numpy
  import param
  from matplotlib import cm
  from mpl_toolkits.mplot3d.art3d import Line3DCollection
  from packaging.version import Version
  from ...core import Dimension
  from ...core.options import abbreviated_exception
  from ...util.transform import dim
  from ..util import map_colors
  from .chart import PointPlot
  from .element import ColorbarPlot
  from .path import PathPlot
  from .util import mpl_version
label_desc: Use image node_id 1 for calling the Plot3D obj's underlying member method code with example usage: obj._finalize_axis(key) and returns: super