Get it displayed in pyecharts
1. Pyecharts rendering code
from pyecharts import options as opts from pyecharts.charts import Geo from pyecharts.datasets import register_url register_url("http://127.0.0.1:8000") g = ( Geo() .add_schema(maptype="The Forbidden City") .set_global_opts( title_opts=opts.TitleOpts(title="The Forbidden City in Beijing"), ) ) g.render()
Please save above code as "The-Forbidden-City.py"
2. Run it:
$ python The-Forbidden-City.py $ ls render.html ...