Skip to content

Commit

Permalink
Minor fixes to visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
icedoom888 committed Sep 20, 2024
1 parent 14097e2 commit 1fd8711
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 181,523 deletions.
1 change: 0 additions & 1 deletion example_graph_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ creator: HierarchicalGraphCreator

num_hidden: 3
level_process: True
data: 'data'

processor_node:
_target_: anemoi.graphs.nodes.TriNodes
Expand Down
6 changes: 3 additions & 3 deletions src/anemoi/graphs/plotting/graph_vis_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def vis_downscale(data_nodes, hidden_nodes, data_to_hidden_edges, downscale_edge

colorscale = generate_shades(color, num_hidden)
layout = make_layout(title)
scale_increment = 1/num_hidden
scale_increment = 1/(num_hidden+1)

# Data
g_data = to_networkx(
Expand Down Expand Up @@ -267,7 +267,7 @@ def vis_upscale(data_nodes, hidden_nodes, data_to_hidden_edges, upscale_edges, t

colorscale = generate_shades(color, num_hidden)
layout = make_layout(title)
scale_increment = 1/num_hidden
scale_increment = 1/(num_hidden+1)

# Hidden
graphs = []
Expand Down Expand Up @@ -336,7 +336,7 @@ def vis_level(data_nodes, hidden_nodes, data_to_hidden_edges, hidden_edges, titl

colorscale = generate_shades(color, num_hidden)
layout = make_layout(title)
scale_increment = 1/num_hidden
scale_increment = 1/(num_hidden+1)


# Data
Expand Down
181,529 changes: 10 additions & 181,519 deletions src/anemoi/graphs/plotting/hierarchical_dynamic_vis.ipynb

Large diffs are not rendered by default.

0 comments on commit 1fd8711

Please sign in to comment.