Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
roywei committed Apr 6, 2018
1 parent 9a76ade commit 9228fb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/mxnet/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def plot_network(symbol, title="plot", save_format='pdf', shape=None, node_attrs
nodes = conf["nodes"]
# check if multiple nodes have the same name
if len(nodes) != len(set([node["name"] for node in nodes])):
logging.warning("There are multiple variables with the same name in your graph, this may result in cyclic graph")
logging.warning("There are multiple variables with the same name in your graph, "
"this may result in cyclic graph")
# default attributes of node
node_attr = {"shape": "box", "fixedsize": "true",
"width": "1.3", "height": "0.8034", "style": "filled"}
Expand Down

0 comments on commit 9228fb5

Please sign in to comment.