From 8a8b08eafb4a80d5289c15c4206a30d76ded90ff Mon Sep 17 00:00:00 2001 From: Renata Imai Date: Tue, 17 Sep 2024 16:26:36 -0300 Subject: [PATCH] Update plot_subarea_analysis.py --- .../plot_subarea_analysis.py | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/docs/source/examples/assignment_workflows/plot_subarea_analysis.py b/docs/source/examples/assignment_workflows/plot_subarea_analysis.py index 161c30021..0287beb2b 100644 --- a/docs/source/examples/assignment_workflows/plot_subarea_analysis.py +++ b/docs/source/examples/assignment_workflows/plot_subarea_analysis.py @@ -6,8 +6,19 @@ In this example, we show how to perform sub-area analysis using route choice assignment, for a city in La Serena Metropolitan Area in Chile. -""" +.. admonition:: References + + :ref:`route_choice` + +.. seealso:: + The use of the following functions, methods, classes and modules is shown in this example: + + * :func:`aequilibrae.paths.Graph` + * :func:`aequilibrae.paths.RouteChoice` + * :func:`aequilibrae.paths.SubAreaAnalysis` + * :func:`aequilibrae.matrix.AequilibraeMatrix` +""" # %% # Imports @@ -407,17 +418,3 @@ def plot_results(link_loads): map = plot_results(rc.get_load_results()["demand"]) subarea_zone.add_to(map) map - -# %% -# .. admonition:: References -# -# :ref:`route_choice` - -# %% -# .. seealso:: -# The use of the following functions, methods, classes and modules is shown in this example: -# -# * :func:`aequilibrae.paths.Graph` -# * :func:`aequilibrae.paths.RouteChoice` -# * :func:`aequilibrae.paths.SubAreaAnalysis` -# * :func:`aequilibrae.matrix.AequilibraeMatrix` \ No newline at end of file