mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[matplotlib/modpyplot.cpp] Removed function previously used for setting colors
Change-Id: I76bb489d5a5b78162873f68c5e3cca8cebb77aba
This commit is contained in:
committed by
Émilie Feral
parent
c39b432dd6
commit
68e3208799
@@ -60,17 +60,6 @@ KDColor colorFromKeywordArgument(mp_map_elem_t * elemColor) {
|
||||
}
|
||||
}
|
||||
|
||||
// Get color from arguments if possible
|
||||
// TODO DELETE AFTER REPLACEMENT
|
||||
|
||||
KDColor colorFromOptionalArgumentAtIndex(size_t n_args, const mp_obj_t * args, size_t colorIndex) {
|
||||
if (n_args > colorIndex) {
|
||||
return MicroPython::Color::Parse(args[colorIndex]);
|
||||
} else {
|
||||
return Palette::nextDataColor(&paletteIndex);
|
||||
}
|
||||
}
|
||||
|
||||
// Internal functions
|
||||
|
||||
mp_obj_t modpyplot___init__() {
|
||||
|
||||
Reference in New Issue
Block a user