fix mpl graph example