mapbox layers (those that require a token) do not work offline - they make external api calls to mapbox to get their layers.
if you have internally available mapping servers, then you can apply your own mapping base layer URLs by following this guide https://plot.ly/python/mapbox-layers/