NetworkX
1.11
Overview
Download
Installing
Tutorial
Reference
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Drawing
Matplotlib
Matplotlib
draw
draw_networkx
draw_networkx_nodes
draw_networkx_edges
draw_networkx_labels
draw_networkx_edge_labels
draw_circular
draw_random
draw_spectral
draw_spring
draw_shell
draw_graphviz
Graphviz AGraph (dot)
Graphviz with pydot
Graph Layout
Exceptions
Utilities
License
Citing
Credits
Glossary
Reference
Overview
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Reading and writing graphs
Drawing
Matplotlib
Graphviz AGraph (dot)
Graphviz with pydot
Graph Layout
Exceptions
Utilities
License
Citing
Credits
Glossary
Testing
Developer Guide
History
Bibliography
NetworkX Examples
NetworkX
Docs
»
Reference
»
Reference
»
Drawing
»
draw_spectral
draw_spectral
¶
draw_spectral
(
G
,
**kwargs
)
[source]
¶
Draw the graph G with a spectral layout.
Parameters:
G
(
graph
) – A networkx graph
kwargs
(
optional keywords
) – See networkx.draw_networkx() for a description of optional keywords, with the exception of the pos parameter which is not used by this function.