From 458e66d158fce38c88e521834764a22b7a1077d2 Mon Sep 17 00:00:00 2001
From: David <david.dorchies@inrae.fr>
Date: Wed, 15 May 2024 07:22:48 +0200
Subject: [PATCH] fix(plot.Qm3s): color palette issue

Fix #154
---
 R/plot.Qm3s.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/plot.Qm3s.R b/R/plot.Qm3s.R
index 6c03dfa..59569a7 100644
--- a/R/plot.Qm3s.R
+++ b/R/plot.Qm3s.R
@@ -42,7 +42,7 @@ plot.Qm3s <- function(x,
             inherits(x[, 1], "POSIXct"))
 
   col <- tryCatch(
-    length(col),
+    col,
     error = function(e) "#619CFF"
   )
 
-- 
GitLab