From 7bbdc9c9eabd4801466a92116855434577862bc5 Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:37:15 -0700 Subject: [PATCH 1/3] update jaxlib and flax --- pyproject.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f1fcaac5..26dad974 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,14 +81,16 @@ klayout = [ "pyvis<=0.3.1" ] meow = [ - "jax==0.4.23", - "jaxlib==0.4.23", + "jax", + "jaxlib", + "flax>=0.8.2", "meow-sim>=0.9.0,<0.11.0", "tidy3d==2.5.2" ] sax = [ - "jax<=0.4.23", - "jaxlib<=0.4.23", + "jax", + "jaxlib", + "flax>=0.8.2", "sax>=0.12.1,<0.13.0", "scikit-learn", "pyvis<=0.3.1" From cf52b6a78ad83b04249072611129007c80a799bb Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:48:11 -0700 Subject: [PATCH 2/3] fix jaxlib min version --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 26dad974..4c06290d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,15 +81,15 @@ klayout = [ "pyvis<=0.3.1" ] meow = [ - "jax", - "jaxlib", + "jax>=0.4.26", + "jaxlib>=0.4.26", "flax>=0.8.2", "meow-sim>=0.9.0,<0.11.0", "tidy3d==2.5.2" ] sax = [ - "jax", - "jaxlib", + "jax>=0.4.26", + "jaxlib>=0.4.26", "flax>=0.8.2", "sax>=0.12.1,<0.13.0", "scikit-learn", From b71c87606baa20701322db8b48fe8703e913a2fd Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Tue, 9 Apr 2024 19:19:31 -0700 Subject: [PATCH 3/3] fix docs --- gplugins/path_length_analysis/path_length_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gplugins/path_length_analysis/path_length_analysis.py b/gplugins/path_length_analysis/path_length_analysis.py index f28e1369..0566372e 100644 --- a/gplugins/path_length_analysis/path_length_analysis.py +++ b/gplugins/path_length_analysis/path_length_analysis.py @@ -423,8 +423,8 @@ def get_pathlength_widgets( k: node_positions[d["name"]] for k, d in graph_to_viz.nodes(data=True) } graph_renderer = from_networkx(graph_to_viz, node_positions_by_int_label) - graph_renderer.node_renderer.glyph = Circle(size=5, fill_color=Spectral4[0]) - graph_renderer.node_renderer.hover_glyph = Circle(size=15, fill_color=Spectral4[1]) + graph_renderer.node_renderer.glyph = Circle(fill_color=Spectral4[0]) + graph_renderer.node_renderer.hover_glyph = Circle(fill_color=Spectral4[1]) graph_renderer.edge_renderer.glyph = MultiLine( line_color="edge_color", line_alpha=0.8, line_width=5