From 8204de434bdb591f09c8c3225e15a4fdf2c353cc Mon Sep 17 00:00:00 2001 From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu> Date: Thu, 4 Feb 2021 18:08:29 +0100 Subject: [PATCH] Use RGB as default bands for plotting. --- pysegcnn/core/graphics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysegcnn/core/graphics.py b/pysegcnn/core/graphics.py index 2eeaa30..b8f2e8a 100644 --- a/pysegcnn/core/graphics.py +++ b/pysegcnn/core/graphics.py @@ -160,7 +160,7 @@ def plot_sample(x, use_bands, labels, y_pred={}, accuracy=False, figsize=(16, 9), - bands=['nir', 'red', 'green'], + bands=['red', 'green', 'blue'], alpha=0, state=None, fig=None, @@ -196,7 +196,7 @@ def plot_sample(x, use_bands, labels, figsize : `tuple`, optional The figure size in centimeters. The default is `(16, 9)`. bands : `list` [`str`], optional - The bands to build the FCC. The default is `['nir', 'red', 'green']`. + The bands to build the FCC. The default is `['red', 'green', 'blue']`. alpha : `int`, optional The level of the percentiles to increase constrast in the FCC. The default is `0`, i.e. no stretching is applied. -- GitLab