def METHOD_NAME(self):
    filename = abspath(join(testdir, "plot_leaflet_network1.html"))
    if isfile(filename):
        os.remove(filename)
    inp_file = join(ex_datadir, "Net3.inp")
    wn = wntr.network.WaterNetworkModel(inp_file)
    longlat_map = {"Lake": (-106.6587, 35.0623), "219": (-106.5248, 35.1918)}
    wn2 = wntr.morph.convert_node_coordinates_to_longlat(wn, longlat_map)
    plt.figure()
    wntr.graphics.plot_leaflet_network(
        wn2,
        node_attribute="elevation",
        link_attribute="length",
        add_legend=True,
        filename=filename,
    )
    self.assertTrue(isfile(filename))