Formatting numbers as basis points

Hello,

I would like to format numbers as basis points, i.e. multiply by 1e4 first then decimal notation with a “bp” suffix.

Is there any way to do that ? If I understand correctly plotly’s formatting is built on https://github.com/d3/d3-format/blob/master/README.md#locale_format, and I didn’t find a way to do that kind of sophisticated formatting in this framework :(.

Amaury