Skip to content

Commit

Permalink
pep8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jgostick committed Sep 15, 2023
1 parent 69ecad5 commit 9a9c072
Showing 1 changed file with 11 additions and 39 deletions.
50 changes: 11 additions & 39 deletions openpnm/_skgraph/generators/_voronoi_delaunay_dual.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,49 +168,21 @@ def voronoi_delaunay_dual(
shape=[1, 1, 0],
trim=True,
reflect=True,
relaxation=0,
f=0.2,
relaxation=0,
node_prefix='pore',
edge_prefix='throat',
)
net = op.network.Network()
net.update(pn)
h = None
h = op.visualization.plot_connections(net, throats=pn['throat.delaunay'], c='b', ax=h)
h = op.visualization.plot_connections(net, throats=pn['throat.voronoi'], c='g', ax=h)
h = op.visualization.plot_connections(net, throats=pn['throat.interconnect'], c='r', ax=h)
h = op.visualization.plot_coordinates(net, pores=pn['pore.voronoi'], c='g', markersize=150, ax=h)
h = op.visualization.plot_coordinates(net, pores=pn['pore.delaunay'], c='b', markersize=150, ax=h)

































h = op.visualization.plot_connections(
net, throats=pn['throat.delaunay'], c='b', ax=h)
h = op.visualization.plot_connections(
net, throats=pn['throat.voronoi'], c='g', ax=h)
h = op.visualization.plot_connections(
net, throats=pn['throat.interconnect'], c='r', ax=h)
h = op.visualization.plot_coordinates(
net, pores=pn['pore.voronoi'], c='g', markersize=150, ax=h)
h = op.visualization.plot_coordinates(
net, pores=pn['pore.delaunay'], c='b', markersize=150, ax=h)

0 comments on commit 9a9c072

Please sign in to comment.