Hmm yea i see the same thing, I’m not sure this can be done that way but i’m still tinkering with it.
One post from a bit ago got it working using the unicode version of some icons:
https://community.plotly.com/t/i-want-to-use-custom-icon-for-the-scatter-markers-how-to-do-it/6644