Skip to content

Commit 998ed61

Browse files
rhtCorvince
authored andcommitted
Move jupyter_viz to core Mesa repo
1 parent 428c900 commit 998ed61

File tree

8 files changed

+3
-237
lines changed

8 files changed

+3
-237
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ $ pip install -U -e git+https://github.com/projectmesa/mesa-examples#egg=mesa-mo
1313
from mesa_models.boltzmann_wealth_model.model import BoltzmannWealthModel
1414
```
1515
You can see the available models at [setup.cfg](https://github.com/projectmesa/mesa-examples/blob/main/setup.cfg).
16-
17-
The package also contains experimental code, which will be in the main Mesa package once they have stabilized.
18-
You can see an example of the `JupyterViz` function in the experimental boltzmann wealth model's [app.py](https://github.com/projectmesa/mesa-examples/blob/main/examples/boltzmann_wealth_model_experimental/app.py).

examples/boltzmann_wealth_model_experimental/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from mesa_models.experimental import JupyterViz
1+
from mesa.experimental import JupyterViz
22
from model import BoltzmannWealthModel
33

44

examples/schelling_experimental/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from mesa_models.experimental import JupyterViz, make_text
1+
from mesa.experimental import JupyterViz, make_text
22
from model import Schelling
33

44

examples/sugarscape_g1mt/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
import solara
33
from matplotlib.figure import Figure
4-
from mesa_models.experimental import JupyterViz
4+
from mesa.experimental import JupyterViz
55
from sugarscape_g1mt.model import SugarscapeG1mt
66
from sugarscape_g1mt.resource_agents import Sugar
77
from sugarscape_g1mt.trader_agents import Trader

experimental/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

experimental/jupyter_viz.py

Lines changed: 0 additions & 225 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ authors = [
88
license = {file = "LICENSE"}
99
readme = "README.rst"
1010
requires-python = ">=3.8"
11-
dependencies = [
12-
"solara",
13-
]
14-
1511

1612
[build-system]
1713
requires = [

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ package_dir =
44
mesa_models.schelling = examples/schelling
55
mesa_models.epstein_civil_violence = examples/epstein_civil_violence/epstein_civil_violence
66
mesa_models.wolf_sheep = examples/wolf_sheep/wolf_sheep
7-
mesa_models.experimental = experimental

0 commit comments

Comments
 (0)