def METHOD_NAME(self):
    from scipy.stats import lognorm
    filename = abspath(join(testdir, "plot_fragility_curve1.png"))
    if isfile(filename):
        os.remove(filename)
    FC = wntr.scenario.FragilityCurve()
    FC.add_state("Minor", 1, {"Default": lognorm(0.5, scale=0.3)})
    FC.add_state("Major", 2, {"Default": lognorm(0.5, scale=0.7)})
    plt.figure()
    wntr.graphics.plot_fragility_curve(FC)
    plt.savefig(filename, format="png")
    plt.close()
    self.assertTrue(isfile(filename))