Custom XYZ Mapbox Layers

Hi I am trying to explore the potential in using Mapbox layers for custom XYZ layers. For example in folium I can apply:

import folium

m = folium.Map(tiles=‘https://storage.googleapis.com/ge_rivermaps/riverClasses/tile/{z}/{x}/{y}',attr='Bjorn Nyberg’)

On the other hand, the same XYZ tiles do not work in plotly. So im wondering how the structure of xyz tiles look like?

fig.update_layout(
mapbox_style=“white-bg”,
mapbox_layers=[
{
“below”: ‘traces’,
“sourcetype”: “raster”,
“sourceattribution”: “Bjorn Nyberg”,
“source”: [ “https://storage.googleapis.com/ge_rivermaps/riverClasses/tile/{z}/{x}/{y}”]
},
])
fig.show()

Thanks for any help,
Bjorn