Skip to content

Commit ec47b88

Browse files
committed
simplify
1 parent 725fbbe commit ec47b88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pgraph/PGraph.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,7 @@ def plot(self, colorcomponents=True, vertex=None, edge=None, text={}, block=Fals
542542
# # add a colorbar
543543
# plt.colorbar()
544544
ax.grid(True)
545-
if block:
546-
plt.show()
545+
plt.show(block=block)
547546

548547
def highlight_path(self, path, block=False, **kwargs):
549548
"""

0 commit comments

Comments
 (0)