✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

[REACT] Fitbounds Mapbox in chloropleth maps


I’m looking into fitting my chloropleth map in Mapbox.
According to the Mapbox docs, you can pass an array of coordinates to a fitBounds parameter :

However I can not figure out where to pass the option since in plotly React you create a component looking like :
config={{mapboxAccessToken: token}}

Where do you add the coordinates array in the Plot wrapper as the fitBounds option ? In layout ? config ?

Thank you for your help