diff --git a/mesa/examples/advanced/epstein_civil_violence/app.py b/mesa/examples/advanced/epstein_civil_violence/app.py index fe36ca78d20..749bd611f33 100644 --- a/mesa/examples/advanced/epstein_civil_violence/app.py +++ b/mesa/examples/advanced/epstein_civil_violence/app.py @@ -1,7 +1,7 @@ from mesa.visualization import SolaraViz, Slider, make_space_matplotlib, make_plot_measure -from agents import Citizen, Cop -from model import EpsteinCivilViolence +from mesa.examples.advanced.epstein_civil_violence.agents import Citizen, Cop +from mesa.examples.advanced.epstein_civil_violence.model import EpsteinCivilViolence COP_COLOR = "#000000" AGENT_QUIET_COLOR = "#648FFF" diff --git a/mesa/examples/advanced/epstein_civil_violence/model.py b/mesa/examples/advanced/epstein_civil_violence/model.py index b54441a9c48..239681c5335 100644 --- a/mesa/examples/advanced/epstein_civil_violence/model.py +++ b/mesa/examples/advanced/epstein_civil_violence/model.py @@ -1,6 +1,6 @@ import mesa -from agents import Citizen, Cop +from mesa.examples.advanced.epstein_civil_violence.agents import Citizen, Cop class EpsteinCivilViolence(mesa.Model): diff --git a/mesa/examples/advanced/pd_grid/app.py b/mesa/examples/advanced/pd_grid/app.py index b0c2f428916..2364cee422d 100644 --- a/mesa/examples/advanced/pd_grid/app.py +++ b/mesa/examples/advanced/pd_grid/app.py @@ -5,7 +5,7 @@ import solara from mesa.visualization import SolaraViz, make_space_matplotlib, make_plot_measure from mesa.visualization.UserParam import Slider -from model import PdGrid +from mesa.examples.advanced.pd_grid.model import PdGrid def pd_agent_portrayal(agent): diff --git a/mesa/examples/advanced/pd_grid/model.py b/mesa/examples/advanced/pd_grid/model.py index bd57281a9bb..78de0b5244a 100644 --- a/mesa/examples/advanced/pd_grid/model.py +++ b/mesa/examples/advanced/pd_grid/model.py @@ -1,7 +1,7 @@ import mesa from mesa.experimental.cell_space import OrthogonalMooreGrid -from agents import PDAgent +from mesa.examples.advanced.pd_grid.agents import PDAgent class PdGrid(mesa.Model):