netechos.plot¶
Methods for plotting network model information.
NetworkPlot(model, theme='ticks')
¶
Object with basic plotting methods for model properties.
Object to hold plots and plotting methods.
| PARAMETER | DESCRIPTION |
|---|---|
model
|
An instance of a nim.core.NetworkModel object.
TYPE:
|
theme
|
Name of a Seaborn theme style. Used to set plot styling.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Self
|
An instance of the NetworkPlot object.
TYPE:
|
Source code in src/netechos/plot.py
attitude_and_connection_means(fig_width=7, fig_height=3)
¶
Plot mean attitude over time.
| PARAMETER | DESCRIPTION |
|---|---|
fig_width
|
Figure width, in inches.
TYPE:
|
fig_height
|
Figure height, in inches.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Self
|
An instance of the NetworkPlot object.
TYPE:
|
Source code in src/netechos/plot.py
node_attitudes_over_time(fig_width=5, fig_height=3)
¶
Plot individual node attitudes over time.
| PARAMETER | DESCRIPTION |
|---|---|
fig_width
|
Figure width, in inches.
TYPE:
|
fig_height
|
Figure height, in inches.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Self
|
An instance of the NetworkPlot object.
TYPE:
|