diff options
-rw-r--r-- | src/argaze/ArFeatures.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index f40377b..1a13092 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -1019,7 +1019,7 @@ class ArFrame(): self.__look_lock.acquire() # Draw background only - if background_weight is not None and heatmap_weight is None: + if background_weight is not None and (heatmap_weight is None or self.heatmap is None): image = self.background.copy() @@ -1069,7 +1069,6 @@ class ArFrame(): Parameters: kwargs: ArFrame.__image parameters """ - # Use image_parameters attribute if no kwargs if kwargs: |