# Interactive Plot Not Updating

**URL:** <https://pybamm.discourse.group/t/interactive-plot-not-updating/471>\
**Category:** PyBaMM Q&A\
**Created:** [22 June 2026 01:13 UTC](https://pybamm.discourse.group/t/interactive-plot-not-updating/471 "2026-06-22T01:13:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ropaul](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@ropaul](https://pybamm.discourse.group/u/ropaul)\
**Post date:** [22 June 2026 01:13 UTC](https://pybamm.discourse.group/t/interactive-plot-not-updating/471/1 "2026-06-22T01:13:29Z")

</div>

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.

```auto
%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()

```

 ![image](https://global.discourse-cdn.com/free1/uploads/pybamm/original/1X/0d8e9f63fe0fc1a9f772348be320f4d16fa2adee.png)
