Scattergeo Plots Offline?

I’m able to recreate what I see on our network on a network with a connection. It has to do with the topojsonURL in the config.

If you do the following plot call, you will see what I see.

plot(fig,config={'topojsonURL':'some_unreachable_URL'})

So, I have found some posts related to my issue, but I’m unable to understand them.

Here is the first Link.

So, I have saved the json file that is hosted on cdn.plot.ly/world_110m.json to a local directory, for examples sake say I saved it in C:\MyJson\world_110m.json .

In that post the reply states that the file might need to hosted on a server, so I host the directory C:\MyJson on port 8000 so that I can view the json at 127.0.0.1/world_110m.json and do

I used the following command to setup the simple http server:

python -m SimpleHTTPServer 8000

inside the C:\MyJson directory.

plot(fig,config={'topojsonURL':'127.0.0.1:8000'})

I have also tried

plot(fig,config={'topojsonURL':'127.0.0.1:8000/world_110m.json'})

but neither of these work. Now that I’ve learned that there is a topojsonURL in the HTML, I’ve noticed too that there is a topojsonName, however, I do not see the ‘world_110m.json’ set to any variable.

I have tried to add ‘topojsonName’ in the config dictionary, however, there isn’t an option to do that. It doesn’t seem to exist in the config: here

I cannot seem to change the topojsonName, is there any way to do that in python? Also, am I on the right track to getting this to work?

EDIT:

I have the python simple server setup like above, and it is outputting the following:

127.0.0.1 - - [08/Jun/2020 15:20:12] “GET /world_110m.json HTTP/1.1” 200 -

which seems like it is requesting the correct file, however, the plot is still not rendering… I’m lost.