docs: def plot_dendrogram(ax, obj, show_diameters=True):
      '''Dendrogram of `obj`
  
      Args:
          obj: Neuron or tree \
          neurom.Neuron, neurom.Tree
          show_diameters : boolean \
              Determines if node diameters will \
              be show or not.
      '''
      # create dendrogram and generate rectangle collection
      dnd = Dendrogram(obj, show_diameters=show_diameters)
      dnd.generate()
  
      # render dendrogram and take into account neurite displacement which
      # starts as zero. It is important to avoid overlapping of neurites
      # and to determine tha limits of the figure.
  
      _render_dendrogram(dnd, ax, 0.)
  
      ax.set_title('Morphology Dendrogram')
      ax.set_xlabel('micrometers (um)')
      ax.set_ylabel('micrometers (um)')
  
      ax.set_aspect('auto')
      ax.legend()