Is it somehow possible to get the actual size value for each marker from a figure?
When iterating through traces of a figure with
for data_trace in fig.data:
print(data_trace['marker']['size'])
I’m getting the value of the corresponding column I set for size in px.scatter(..., size='...', ...)
. This theoretical value is then put into ratio with all values from that column before being plotted. This ‘actual’ size value is what I’m looking for.
What I’m trying to do is to put markers on every (or some) markers with sizes, corresponding to the original markers
with fig.add_trace(go.Scatter(..., marker=dict(..., size='...', ...)
E.x putting a slightly smaller or bigger marker on each of the original markers.
Any idea on how to achieve that (or any one even getting what I’m trying to say? )