Skip to content

Commit

Permalink
format with black and pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Oct 26, 2023
1 parent 5e194bc commit fb61e2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"metadata": {},
"outputs": [],
"source": [
"diedges = [({0, 1}, {2}), ({1}, {4}), ({2, 3}, {4,5})]\n",
"diedges = [({0, 1}, {2}), ({1}, {4}), ({2, 3}, {4, 5})]\n",
"DH = xgi.DiHypergraph(diedges)"
]
},
Expand Down
4 changes: 2 additions & 2 deletions xgi/drawing/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ def draw_node_labels(
Turn on clipping of node labels at axis boundaries.
By default, True.
zorder : int, optional
The vertical order on which to draw the labels. By default, None,
The vertical order on which to draw the labels. By default, None,
in which case it is plotted above the last plotted object.
Returns
Expand Down Expand Up @@ -1724,7 +1724,7 @@ def draw_dihypergraph(
iterations : int, optional
Maximum number of iterations taken to recompute the layout.
An original partial layout is computed solely based on the original nodes.
A full initial layout is then computed by simply adding the "edge" nodes
A full initial layout is then computed by simply adding the "edge" nodes
at the barycenters. This initial layout may suffer from overlap between edge-nodes.
After that, a spring layout is ran starting from the
initial layout, and each iteration makes all of the nodes overlap less.
Expand Down
1 change: 0 additions & 1 deletion xgi/drawing/draw_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import matplotlib.pyplot as plt
import numpy as np
import seaborn as sb # for cmap "crest"
from matplotlib.colors import (
LinearSegmentedColormap,
ListedColormap,
Expand Down

0 comments on commit fb61e2d

Please sign in to comment.