• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

USEPA / WNTR / 17334236796
81%
master: 82%

Build:
Build:
LAST BUILD BRANCH: pandas-cap
DEFAULT BRANCH: master
Ran 29 Aug 2025 09:34PM UTC
Jobs 1
Files 76
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Aug 2025 09:04PM UTC coverage: 81.505% (-0.7%) from 82.156%
17334236796

push

github

web-flow
Update plot_network to use the geopandas plotting API in place of the networkx plotting API (#451)

* first draft of plot_network function with a GIS backend

* incorporating the rest of the keywords from plot_network in plot_network_gis

* combining link-like and node-like gis files

* adding tank/reservoir marker shapes and implementating other type options for attributes

* set geopandas backend to the plot_network function name. update the geopandas backend to handle lists for attributes and add shapes for valves and pumps.

* archive networkx plotting function in test suite

* clean up function and add directed functionality

* add comparison test for plotting

* handle cbar manually to avoid error in earthquake demo

* extend test cases

* fix bug caused by node_type no longer provided by GIS geodataframes, fix bugs pointed out by meghna: colorbar scale and spacing, reduce directed arrow size, add option for pumps/valves (default to not plot),

* add extra test cases, remove unneccesary calls to plt.figure

* setting compare to false

* add alpha to colorbars

* fix color bug on mpl 3.8, change plot_valve/pumps kwarg name, set aspect to "equal"

* fix test case to adjust for new kwarg names

* add legend and plot all nodes regardless of node_attribute

* add additional tests

* remove old plot network code, clean up plot network, add default colorbar label when passing a str for attribute, fix missingkwds markersize

* remove pump/valve direction plotting tests

* update plot_network to use _format functions instead of _prepare function

* add geopandas backend as an option to plot_network. defaults to networkx backend.

* add backend to docstring

* add ax returning and information on gpd option.

28 of 160 new or added lines in 1 file covered. (17.5%)

1 existing line in 1 file now uncovered.

13084 of 16053 relevant lines covered (81.51%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
132
59.31
-22.12% wntr/graphics/network.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
59.31
-22.12% wntr/graphics/network.py
Jobs
ID Job ID Ran Files Coverage
1 17334236796.1 29 Aug 2025 09:34PM UTC 76
81.51
GitHub Action Run
Source Files on build 17334236796
  • Tree
  • List 76
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 306de0b2 on github
  • Prev Build on main (#17334201092)
  • Next Build on main (#17364007328)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc