File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ def _shaped_scatter(
497
497
x : NDArrayA ,
498
498
y : NDArrayA ,
499
499
s : float ,
500
- c : NDArrayA ,
500
+ c : NDArrayA | str ,
501
501
shape : _AvailShapes | ScatterShape | None = ScatterShape .CIRCLE ,
502
502
norm : _Normalize | None = None ,
503
503
** kwargs : Any ,
@@ -955,7 +955,7 @@ def _plot_scatter(
955
955
coords [:, 0 ],
956
956
coords [:, 1 ],
957
957
s = outline_params .bg_size ,
958
- c = colors . to_rgba_array ( outline_params .bg_color ) ,
958
+ c = outline_params .bg_color ,
959
959
rasterized = sc_settings ._vector_friendly ,
960
960
cmap = cmap_params .cmap ,
961
961
norm = norm ,
@@ -966,7 +966,7 @@ def _plot_scatter(
966
966
coords [:, 0 ],
967
967
coords [:, 1 ],
968
968
s = outline_params .gap_size ,
969
- c = colors . to_rgba_array ( outline_params .gap_color ) ,
969
+ c = outline_params .gap_color ,
970
970
rasterized = sc_settings ._vector_friendly ,
971
971
cmap = cmap_params .cmap ,
972
972
norm = norm ,
You can’t perform that action at this time.
0 commit comments