如何减少gadfly中的点边界线宽度

How to decrease the points border line width in gadfly

我正在尝试在散点图中绘制 100k 个点。由于点周围的线宽太大,我无法区分这些点。有什么办法可以去掉这条线或者减小线的宽度吗?

plot(x=A, 
     y=C, 
     Geom.point, 
     Theme(panel_fill=color("black"), 
           default_point_size=2pt, 
           default_color=color("red")));

您可以使用highlight_width=0pt(找到here):

N = 10^4
A = rand(N)
B = rand(N)

plot(x = A, 
     y = B, 
     Geom.point, 
     Theme(panel_fill = colorant"black", 
           default_point_size = 2pt, 
           default_color = colorant"red",
           highlight_width = 0pt)
     )