3d scatter plot with varying dot size?

I have a 3d scatter plot and would like to make the dot size a parameter, i.e., the column of a pandas dataframe (x, y, z, are 3 other columns). Can I do this? When I set size=df[‘dotsize’] in the marker setup it plots a fixed dot size.

Try setting marker.size to an array as in: http://codepen.io/etpinard/pen/QyLbqY