Skip to content

Commit d3ec09d

Browse files
vhessCorvince
authored andcommitted
move solara_viz back to experimental
1 parent e6fcf14 commit d3ec09d

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed
File renamed without changes.

mesa/experimental/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from mesa.experimental import cell_space
2+
from .solara_viz import JupyterViz, SolaraViz, make_text, Slider
23

3-
__all__ = ["cell_space"]
4+
__all__ = ["cell_space", "JupyterViz", "SolaraViz", "make_text", "Slider"]
File renamed without changes.

mesa/visualization/solara_viz.py renamed to mesa/experimental/solara_viz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
import solara
3030
from solara.alias import rv
3131

32-
import mesa.visualization.components.altair as components_altair
33-
import mesa.visualization.components.matplotlib as components_matplotlib
34-
from mesa.visualization.UserParam import Slider
32+
import mesa.experimental.components.altair as components_altair
33+
import mesa.experimental.components.matplotlib as components_matplotlib
34+
from mesa.experimental.UserParam import Slider
3535

3636

3737
# TODO: Turn this function into a Solara component once the current_step.value

mesa/visualization/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
from .solara_viz import JupyterViz, Slider, SolaraViz, make_text
2-
3-
__all__ = ["JupyterViz", "make_text", "Slider", "SolaraViz"]

0 commit comments

Comments
 (0)