How to use categorical_binning in hvplot?

cat = ds.category_binning('weight', lower=0, higher=200, nbins=10)
agg = canvas.points(df,'x','y', agg=ds.by(cat, ds.max('age')))

How to achieve the same with hvplot?