Changing Marker Outline on Bubble Chart

#1

Hi,

I’m using a bubble chart to show several dimensions (x- and y-axis, bubble size, bubble color). However, I’d like to show an additional dimension by the choice of bubble outline. I understand I can change the outline of an entire category (i.e. represented by the color) of marker, but need to change only a subset of a category. Is there any way to do this?

Thanks in advance for any help!
chris

#2

Hi @tennant,

You can set the outline color, scatter.marker.line.color, to a numeric array and then configure the colors using the colorscale at scatter.marker.line.colorscale. See https://plot.ly/python/colorscales/ for general info on colorscales.

-Jon