From a6e193767e534c7a9f2f330b7e978ed597bd732c Mon Sep 17 00:00:00 2001 From: Michele Mesiti Date: Wed, 8 Oct 2025 14:17:39 +0200 Subject: [PATCH] remove %matplotlib inline as it seems to break interactivity From a comment in the notes: "I had trouble getting matplotlib to behave interactively with widgets when %inline is invoked. Maybe remove that? " Additionally: "I think matplotlib has a quick way to invoke its widget with %widget as well" Removing the `%matplotlib inline` line seems to have fixed "reactivity" in the plot when moving the slider. --- content/extra-features.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/extra-features.md b/content/extra-features.md index d966307..fe757ce 100644 --- a/content/extra-features.md +++ b/content/extra-features.md @@ -171,7 +171,6 @@ Widgets can be used to interactively explore or analyze data. import random from ipywidgets import interact, widgets - %matplotlib inline from matplotlib import pyplot