From 5c68af74208ad778b46ebde7377dc7537d4f99e5 Mon Sep 17 00:00:00 2001 From: Romain Hugonnet Date: Tue, 17 Dec 2024 12:54:44 -0900 Subject: [PATCH] Change default plot interpolation to avoid large PDF sizes (#643) --- geoutils/raster/raster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoutils/raster/raster.py b/geoutils/raster/raster.py index aaedfbf0..f5646665 100644 --- a/geoutils/raster/raster.py +++ b/geoutils/raster/raster.py @@ -2795,7 +2795,7 @@ def plot( # Set matplotlib interpolation to None by default, to avoid spreading gaps in plots if "interpolation" not in kwargs.keys(): - kwargs.update({"interpolation": "None"}) + kwargs.update({"interpolation": None}) # Check if specific band selected, or take all # rshow takes care of image dimensions