COLORS don't need to be borrowed
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user