From 7b8817ccb1eb23b4d9e4061dae9918ac104680fd Mon Sep 17 00:00:00 2001 From: kbonney Date: Mon, 13 Nov 2023 12:28:55 -0500 Subject: [PATCH] adding node attribute to vertex graphing test for code coverage --- wntr/tests/test_graphics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wntr/tests/test_graphics.py b/wntr/tests/test_graphics.py index 6b08ff375..88402deb4 100644 --- a/wntr/tests/test_graphics.py +++ b/wntr/tests/test_graphics.py @@ -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()