I get this strange warning when using
scatter under Julia v. 1.0.2:
julia> scatter(rand(10)) 'c' argument looks like a single numeric RGB or RGBA sequence, which should be avoided as value-mapp ing will have precedence in case its length matches with 'x' & 'y'. Please use a 2-D array with a s ingle row if you really want to specify the same RGB or RGBA value for all points.
What is this? I do often want to use the same color for all markers. The same warning pops up if I do:
julia> scatter(rand(10),rand(10), mc=fill(:red,1,10))
What is this? Didn’t I make the marker color dimension equal to the points in the scatter plot? Isn’t that what the warning asks for?