Python plot 散点图的color 怎么设置

*c* argument looks like a single numeric RGB or RGBA sequence, which should be avoided as value-mapping will have precedence in case its length matches with *x* & *y*.  Please use the *color* keyword-argument or provide a 2-D array with a single row if you intend to specify the same RGB or RGBA value for all points.

posted @ 2022-03-20 21:38  bH1pJ  阅读(433)  评论(0编辑  收藏  举报