diff --git a/spyder/plugins/plots/plugin.py b/spyder/plugins/plots/plugin.py index d82ff10e5ec..dfdbef16cd6 100644 --- a/spyder/plugins/plots/plugin.py +++ b/spyder/plugins/plots/plugin.py @@ -118,4 +118,4 @@ def set_shellwidget(self, shellwidget): shellwidget: spyder.plugins.ipyconsole.widgets.shell.ShellWidget The shell widget. """ - self.get_widget().add_shellwidget(shellwidget) + self.get_widget().set_shellwidget(shellwidget)