Hvplot scatter plot no colorbar

I’m using hvplot.scatter on a dataframe with 3 columns: a, b, c. Here is the entire function call using hvplot version 0.7.0:

scatter = data.hvplot.scatter(
    x='a',
    y='b',
    c='c',
    xlabel='A',
    ylabel='B',
    clabel='C',
    colorbar=True,
    title='Scatter plot',
    datashade=True,
    dynspread=True,
    cmap=colorcet.blues,
    nonselection_color='blue',
    selection_color='green',
    tools=['hover'],
    hover_cols='all',
    use_index=False,
    width=800,
    height=400
)

However, the colorbar is not displayed. Is there something I am missing or are some of the parameters not working together properly? Help would really be appreciated.

1 Like

Hi @Basti

I cannot get it working either. I’ve reported it as a bug here Cannot show colorbar on scattter plot with datashading · Issue #649 · holoviz/hvplot (github.com)