Skip to content

Commit

Permalink
📝 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed May 21, 2024
1 parent a21afb0 commit ea7ad50
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/reference/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To apply one of the first three strategies, use the following snippet:

.. code-block:: python
from cdlib import LifeCycle
from cdlib import LifeCycle, TemporalClustering, algorithms
from networkx.generators.community import LFR_benchmark_graph
tc = TemporalClustering()
Expand Down Expand Up @@ -92,7 +92,7 @@ To define custom events, use the following snippet:

.. code-block:: python
from cdlib import LifeCycle
from cdlib import LifeCycle, TemporalClustering, algorithms
from networkx.generators.community import LFR_benchmark_graph
tc = TemporalClustering()
Expand Down Expand Up @@ -143,7 +143,7 @@ Here an example of how to analyze community events and flows:

.. code-block:: python
from cdlib import LifeCycle
from cdlib import LifeCycle, TemporalClustering, algorithms
from networkx.generators.community import LFR_benchmark_graph
tc = TemporalClustering()
Expand Down Expand Up @@ -186,7 +186,7 @@ Setting and retreiving node attributes is straightforward:

.. code-block:: python
from cdlib import LifeCycle
from cdlib import LifeCycle, TemporalClustering, algorithms
from networkx.generators.community import LFR_benchmark_graph
def random_leaning():
Expand Down Expand Up @@ -236,7 +236,7 @@ Here an example of how to visualize community events, flows and polytree:

.. code-block:: python
from cdlib import LifeCycle
from cdlib import LifeCycle, TemporalClustering, algorithms
from cdlib.viz import (
plot_flow,
plot_event_radar,
Expand Down Expand Up @@ -290,7 +290,7 @@ Here an example of how to validate the observed flows:

.. code-block:: python
from cdlib import LifeCycle
from cdlib import LifeCycle, TemporalClustering, algorithms
from cdlib.lifecycles.validation import validate_flow, validate_all_flows
from networkx.generators.community import LFR_benchmark_graph
Expand Down

0 comments on commit ea7ad50

Please sign in to comment.