docs: def remove_surface(self, name):
          '''
          Remove layer from rendering stack and flatten remaining layers.
  
          Args
          ----
  
              name (str) : Name of layer.
          '''
          self.df_surfaces.drop(name, axis=0, inplace=True)
  
          # Order of layers may have changed after removing a layer. Trigger
          # refresh of surfaces.
          self.reorder_surfaces(self.df_surfaces.index)