I'm having an issue with Plotnine on python everything is working fine except when I attempt to specify a color in aes I get an error saying:
PlotnineError: "Could not evaluate the 'color' mapping: 'black' (original error: name 'black' is not defined)"
I have tried importing palettes but that has not worked.
from mizani.palettes import *
from palettable import *
ggplot(aes(x = 'Dest', y = 'AVG', color = 'Dest'),f) + geom_point(aes(size = 'Revenue'))+scale_size_continuous(range = (1,15))+geom_text(aes(label='Dest', color = 'black'),va='bottom')