Skip to content

Commit

Permalink
adding node attribute to vertex graphing test for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kbonney committed Nov 13, 2023
1 parent f2408d9 commit 7b8817c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wntr/tests/test_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def test_plot_network_vertices(self):
wn = wntr.network.WaterNetworkModel(inp_file)

wntr.graphics.plot_network(
wn, link_attribute="diameter", plot_vertices=True
wn, link_attribute="diameter", node_attribute="elevation",
plot_vertices=True
)
plt.savefig(filename, format="png")
plt.close()
Expand Down

0 comments on commit 7b8817c

Please sign in to comment.