I just started using PyBamm and was following a tutorial, but my graphs don’t update when I move the slider as in the tutorial. The code I ran is below. I’m running this using Juptyer Notebook with Python 3.13.11 on Conda. I’m new to coding, so please explain it like I’m five.
%matplotlib ipympl
%matplotlib widget # google said this might solve the issue
import pybamm
#model = pybamm.lithium_ion.SPM()
model = pybamm.lithium_ion.SPMe()
#model = pybamm.lithium_ion.DFN()
sim = pybamm.Simulation(model)
sim.solve([0,3600])
sim.plot()
