I have a few examples where I’m using hvplot to make life a bit quicker, but I get stuck especially when the variable name is really large or ugly… for instance in the example below the legend will show ‘CANADA_direct’ and I would just like to relabel the legend name to ‘direct’ so it takes less space.
labo_curves = labo_summary2.hvplot.area(x='Date',
y=['CANADA_direct', 'CANADA_indirect'],
value_label='# thousands Employed',
xlim=[2007,2021],
ylim=[0,200],
height=400,
width=700,
stacked=True,
hover=False,
grid=True,
alpha=0.7,
title='Industry Employment').opts(legend_position='bottom_left')
labo_curves.opts(hooks=[remove_bokeh_logo], width=700, height=400, shared_axes=False)
My second question is for area charts, the bug that shows ??? still happens so I turn off hover info. What do you guys do to work around this issue ?