code: def clean_axis(axis):
      
      axis.get_xaxis().set_ticks([])
      axis.get_yaxis().set_ticks([])
      for spine in list(axis.spines.values()):
          spine.set_visible(False)
docs: Remove ticks, tick labels, and frame from axis