def _plot(self, f, a, b): artist = Artist(strategy=self.strategy) if type(a) in [tuple, list]: if len(a) == 2: artist.plot_2d(f, a, b) else: artist.scatter_plot_per_dimension() else: artist.plot_1d(f, a, b)