Skip to content

Commit fe3d655

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 301d80e + cfa2635 commit fe3d655

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed
File renamed without changes.

mesa/experimental/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
from mesa.experimental import cell_space
22

3-
__all__ = ["cell_space"]
3+
from .solara_viz import JupyterViz, Slider, SolaraViz, make_text
4+
5+
__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)