Loading doc/_cfg/Opinionet/graph_plot/eval.yml +11 −14 Original line number Diff line number Diff line Loading @@ -104,6 +104,8 @@ static_network: graph_highlighted: based_on: - static_network graph_creation: at_time_idx: 0 graph_drawing: positions: seed: 13 Loading @@ -113,26 +115,21 @@ graph_highlighted: scale_to_interval: [0, 1] node_labels: enabled: True show_only: &nodelist [ 2, 3, 4, 6, 7, 11, 13, 15, 18, 22, 24, 30, 49 ] show_only: &nodelist !range [2, 12] mark_nodes: nodelist: *nodelist color: *red mark_edges: colors: [ 24, 11] : *red [18, 15]: *red [49, 15]: *red [30, 49]: *red [24, 22]: *red [30, 24]: *red [2, 3] : *red [3, 4]: *red [4, 5]: *red [5, 6]: *red [6, 7]: *red [7, 11]: *red [22, 2]: *red [2, 13]: *red [18, 13]: *red [7, 4]: *red [4, 3]: *red [3, 2]: *red [7, 8]: *red [8, 9]: *red [9, 10]: *red [10, 11]: *red # Demonstrates manipulation of the colorbar graph_colorbar: Loading doc/_cfg/Opinionet/graph_plot/run.yml +3 −2 Original line number Diff line number Diff line Loading @@ -3,9 +3,10 @@ perform_sweep: false parameter_space: num_steps: 1000 write_every: 100 seed: 10 Opinionet: tolerance: 0.2 network: model: WattsStrogatz model: regular num_vertices: 50 mean_degree: 8 mean_degree: 14 doc/_cfg/SEIRD/multiverse_plots/eval.yml +1 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ scatter_3d: subspace: transmission rate: [0.2, 0.4] immunity rate: [0.2] seed: [0] seed: [4] transform: - .sel: [ !dag_tag kind, { kind: susceptible } ] kwargs: { drop: true } Loading doc/usage/eval/plotting/style.rst +3 −3 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ title, axis labels, and axis scales: x: $\alpha$ y: $\beta$ You can also some lines: You could add some lines: .. code-block:: yaml Loading @@ -363,7 +363,7 @@ You can also some lines: set_legend: loc: 'best' And why not annotate some points in the plot: Or annotate some noteworthy points in the plot: .. code-block:: yaml Loading @@ -385,7 +385,7 @@ And why not annotate some points in the plot: alpha: 0.5 boxstyle: round And the struggle with matplotlib ticks is finally over: The struggle with matplotlib ticks is finally over: .. code-block:: yaml Loading Loading
doc/_cfg/Opinionet/graph_plot/eval.yml +11 −14 Original line number Diff line number Diff line Loading @@ -104,6 +104,8 @@ static_network: graph_highlighted: based_on: - static_network graph_creation: at_time_idx: 0 graph_drawing: positions: seed: 13 Loading @@ -113,26 +115,21 @@ graph_highlighted: scale_to_interval: [0, 1] node_labels: enabled: True show_only: &nodelist [ 2, 3, 4, 6, 7, 11, 13, 15, 18, 22, 24, 30, 49 ] show_only: &nodelist !range [2, 12] mark_nodes: nodelist: *nodelist color: *red mark_edges: colors: [ 24, 11] : *red [18, 15]: *red [49, 15]: *red [30, 49]: *red [24, 22]: *red [30, 24]: *red [2, 3] : *red [3, 4]: *red [4, 5]: *red [5, 6]: *red [6, 7]: *red [7, 11]: *red [22, 2]: *red [2, 13]: *red [18, 13]: *red [7, 4]: *red [4, 3]: *red [3, 2]: *red [7, 8]: *red [8, 9]: *red [9, 10]: *red [10, 11]: *red # Demonstrates manipulation of the colorbar graph_colorbar: Loading
doc/_cfg/Opinionet/graph_plot/run.yml +3 −2 Original line number Diff line number Diff line Loading @@ -3,9 +3,10 @@ perform_sweep: false parameter_space: num_steps: 1000 write_every: 100 seed: 10 Opinionet: tolerance: 0.2 network: model: WattsStrogatz model: regular num_vertices: 50 mean_degree: 8 mean_degree: 14
doc/_cfg/SEIRD/multiverse_plots/eval.yml +1 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ scatter_3d: subspace: transmission rate: [0.2, 0.4] immunity rate: [0.2] seed: [0] seed: [4] transform: - .sel: [ !dag_tag kind, { kind: susceptible } ] kwargs: { drop: true } Loading
doc/usage/eval/plotting/style.rst +3 −3 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ title, axis labels, and axis scales: x: $\alpha$ y: $\beta$ You can also some lines: You could add some lines: .. code-block:: yaml Loading @@ -363,7 +363,7 @@ You can also some lines: set_legend: loc: 'best' And why not annotate some points in the plot: Or annotate some noteworthy points in the plot: .. code-block:: yaml Loading @@ -385,7 +385,7 @@ And why not annotate some points in the plot: alpha: 0.5 boxstyle: round And the struggle with matplotlib ticks is finally over: The struggle with matplotlib ticks is finally over: .. code-block:: yaml Loading