code: def plotDataframe(table, title, plotPath):
    
    plt.figure()
    axes = table.T.plot(subplots=True, sharex=True, grid=True, legend=True,
                        title=title, figsize=(8, 11))
  
    # Use fixed scale for "accuracy"
    accuracy = next(ax for ax in axes if ax.lines[0].get_label() == 'accuracy')
    accuracy.set_ylim(0.0, 1.0)
  
    plt.savefig(plotPath)
    plt.close()
docs: Plot Panda dataframe.
  
    :param table: Panda dataframe returned by :func:`analyzeWeightPruning`
    :type table: :class:`pandas.DataFrame`
    :param title: Plot title
    :type title: str
    :param plotPath: Plot full path
    :type plotPath: str