File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ def _shaped_scatter(
497497 x : NDArrayA ,
498498 y : NDArrayA ,
499499 s : float ,
500- c : NDArrayA ,
500+ c : NDArrayA | str ,
501501 shape : _AvailShapes | ScatterShape | None = ScatterShape .CIRCLE ,
502502 norm : _Normalize | None = None ,
503503 ** kwargs : Any ,
@@ -955,7 +955,7 @@ def _plot_scatter(
955955 coords [:, 0 ],
956956 coords [:, 1 ],
957957 s = outline_params .bg_size ,
958- c = colors . to_rgba_array ( outline_params .bg_color ) ,
958+ c = outline_params .bg_color ,
959959 rasterized = sc_settings ._vector_friendly ,
960960 cmap = cmap_params .cmap ,
961961 norm = norm ,
@@ -966,7 +966,7 @@ def _plot_scatter(
966966 coords [:, 0 ],
967967 coords [:, 1 ],
968968 s = outline_params .gap_size ,
969- c = colors . to_rgba_array ( outline_params .gap_color ) ,
969+ c = outline_params .gap_color ,
970970 rasterized = sc_settings ._vector_friendly ,
971971 cmap = cmap_params .cmap ,
972972 norm = norm ,
You can’t perform that action at this time.
0 commit comments