From 783d8b38684728e4d9b7d6aea087c50917c00f2c Mon Sep 17 00:00:00 2001 From: fruchti Date: Sun, 17 Dec 2023 14:09:38 +0100 Subject: [PATCH] Fix switch_layer() --- lib/plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plot.py b/lib/plot.py index db44e8d..fa3ed89 100644 --- a/lib/plot.py +++ b/lib/plot.py @@ -303,9 +303,9 @@ class MultiPlotter(Plotter): for plotter in self.plotters: plotter.add_layer(*args, **kwargs) - def switch_layers(self, *args, **kwargs): + def switch_layer(self, *args, **kwargs): for plotter in self.plotters: - plotter.switch_layers(*args, **kwargs) + plotter.switch_layer(*args, **kwargs) def finalise(self): for plotter in self.plotters: