Vegas("A scatterplot").
withDataFrame(neuronnet_activation_df).
mark(Point).
encodeX("s", Quantitative).
encodeY("d", Quantitative).
encodeColor(field="feature_0_prediction",scale=Scale(rangeNominals=List("#c41f01", "#00c610"))).
show
Is there away to plot each point with a specifiy RGB or aRGB value? I have the colors already computed, so I do not need to use ranges, also the color range is not linear for my data.