Individually accessing the points of scatter points in BQPLOT

99 views Asked by At

I would like to change the size of a point amongst scatter points in BQPLOT. What is the best way to do it without affecting the size of the rest of the points?

Thanks

1

There are 1 answers

0
Godjenka On

I think I have solved it, I am leaving this here in case it can help somebody. I go about it using a size array:

    size_r = np.array([0.1,0.5,0.5, 0.2, 0.5, 0.5, 0.5, 0.8,0.5])
    scat = bplt.scatter(x,y,size = size_r)

The issue is that the smallest marker (of size 0.1 in this case) will not appear. I go about it by adding a dummy scatter point at the beginning of my data, and I give it the smallest number of the size array (it can be 0 for example).