Colorbar in plotly scatter3d

Hi

I’m having difficulty making the colorbar appear in plotly scatterplot 3d.

In the code sample below I can get the colorbar to appear if I set:

color = 'z'

However if I choose to use:

color = flowers["petal_length"]

it wont appear although the data are the same and the resulting cooring of the data points is the same.

Am I missing something obvious?

import holoviews as hv
from holoviews import opts

from bokeh.sampledata.iris import flowers

hv.extension('plotly')


def hook(plot, element):

    plot.handles['components']['traces'][0]['marker']['line'] = dict(width=10,color='black')


flower_plot  =  hv.Scatter3D((flowers["sepal_length"],
                              flowers["sepal_width"],
                              flowers["petal_length"])).opts(opts.Scatter3D(
                                                                           #color = 'z',
                                                                           color = flowers["petal_length"],
                                                                           alpha = 0.7,
                                                                           size=5,
                                                                           cmap='Portland',
                                                                           marker= 'circle',
                                                                           hooks=[hook]
                                                                          ))

flower_plot.opts(width = 800,
                 height = 800,
                 colorbar=True)