Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
vahanhov committed Jan 24, 2024
1 parent 0c2731b commit fbfb709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch_geometric/explain/explanation.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ def visualize_graph(self, path: Optional[str] = None,
If set to :obj:`None`, will use the most appropriate
visualization backend based on available system packages.
(default: :obj:`None`)
node_labels (List[str], optional): Node labels to use with graphviz.
node_labels (List[str], optional): Node labels for graphviz.
(default: :obj:`None`)
"""
edge_mask = self.get('edge_mask')
if edge_mask is None:
Expand Down
2 changes: 2 additions & 0 deletions torch_geometric/visualization/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def visualize_graph(
If set to :obj:`None`, will use the most appropriate
visualization backend based on available system packages.
(default: :obj:`None`)
node_labels (List[str], optional): Node labels for graphviz.
(default: :obj:`None`)
"""
if edge_weight is not None: # Normalize edge weights.
edge_weight = edge_weight - edge_weight.min()
Expand Down

0 comments on commit fbfb709

Please sign in to comment.