def METHOD_NAME(mesh, plc, data, label, out,
            cMin=None, cMax=None, logScale=False, cmap=None):
    """
    """
    dpi=92
    scale=1
    fig = plt.figure(facecolor='white',
                     figsize=(scale*800/dpi, scale*490/dpi), dpi=dpi)  
    ax = fig.add_subplot(1,1,1)
    gci = pg.viewer.mpl.drawModel(ax, mesh, data=data[0],
                                 cMin=cMin, cMax=cMax, cmap=cmap,
                                 logScale=logScale)
    cbar = pg.viewer.mpl.createColorbar(gci, label=label, pad=0.55)
    ax.set_ylabel('Depth [m]')
    ax.set_xlabel('$x$ [m]')
    ticks = ax.yaxis.get_majorticklocs()
    tickLabels = []
    for t in ticks:
        tickLabels.append(str(int(abs(t))))
    ax.set_yticklabels(tickLabels)
    pg.show(plc, axes=ax)
    plt.tight_layout()
    plt.pause(0.001)
    def animate(i):
        print(out + ": Frame:", i, "/", len(data))
        pg.viewer.mpl.setMappableData(gci, pg.abs(data[i]), 
                                     cMin=cMin, cMax=cMax,
                                     logScale=logScale)
        #plt.pause(0.001)
    createAnimation(fig, animate, int(len(data)), dpi, out)