We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a81bf5 commit 9951e66Copy full SHA for 9951e66
stubs/networkx/networkx/drawing/nx_pylab.pyi
@@ -1,5 +1,5 @@
1
from _typeshed import Incomplete
2
-from collections.abc import Collection
+from collections.abc import Collection, Sequence
3
4
__all__ = [
5
"draw",
@@ -25,7 +25,7 @@ def draw_networkx_nodes(
25
pos,
26
nodelist: Collection[Incomplete] | None = None,
27
node_size: Incomplete | int = 300,
28
- node_color: str = "#1f78b4",
+ node_color: str | Sequence[str] = "#1f78b4",
29
node_shape: str = "o",
30
alpha=None,
31
cmap=None,
0 commit comments