diff --git a/src/consts.rs b/src/consts.rs index fb3afcf..14fa143 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -30,7 +30,7 @@ pub const DEFAULT_INTEGRAL_NUM: usize = 100; /// Colors used for plotting // Colors commented out are used elsewhere and are not included here for better user experience -pub const COLORS: &[Color32; 13] = &[ +pub const COLORS: [Color32; 13] = [ Color32::RED, // Color32::GREEN, // Color32::YELLOW,