def METHOD_NAME(mesh):  # pragma: no cover
    r"""
    Visualizes the mesh of a region as obtained by ``get_mesh`` function in
    the ``metrics`` submodule.
    Parameters
    ----------
    mesh : tuple
        A mesh returned by ``skimage.measure.marching_cubes``
    Returns
    -------
    fig : Matplotlib figure
        A handle to a matplotlib 3D axis
    Examples
    --------
    `Click here
    <https://porespy.org/examples/visualization/reference/show_mesh.html>`_
    to view online example.
    """
    try:
        verts = mesh.vertices
    except AttributeError:
        verts = mesh.verts
    lim_max = np.amax(verts, axis=0)
    lim_min = np.amin(verts, axis=0)
    # Display resulting triangular mesh using Matplotlib.
    fig = plt.figure()
    ax = fig.add_subplot(111, projection='3d')
    # Fancy indexing: `verts[faces]` to generate a collection of triangles
    mesh = Poly3DCollection(verts[mesh.faces])
    mesh.set_edgecolor('k')
    ax.add_collection3d(mesh)
    ax.set_xlabel("x-axis")
    ax.set_ylabel("y-axis")
    ax.set_zlabel("z-axis")
    ax.set_xlim(lim_min[0], lim_max[0])
    ax.set_ylim(lim_min[1], lim_max[1])
    ax.set_zlim(lim_min[2], lim_max[2])
    return fig