diff --git a/samila/genimage.py b/samila/genimage.py index 6d5f157..79f5e9f 100644 --- a/samila/genimage.py +++ b/samila/genimage.py @@ -38,7 +38,7 @@ class GenerativeImage: _GI_initializer(self, function1, function2) if config is not None: load_config(self, config) - if data is not None: + elif data is not None: load_data(self, data) if self.matplotlib_version != matplotlib.__version__: warn(