【动态】Python获取中国地图
from pyecharts import options as optsfrom pyecharts.charts import Map
from pyecharts.faker import Faker
from pyecharts.globals import ThemeType
c = (
Map(init_opts=opts.InitOpts(
theme=ThemeType.DARK,
bg_color='#404a59'
))
.add(
"中国地图",
,
"china"
)
.set_global_opts(
title_opts=opts.TitleOpts(title="中国地图-示例"),
visualmap_opts=opts.VisualMapOpts(),
)
.render("china_map.html")
)
http://cdn.u1.huluxia.com/g4/M01/25/5C/rBAAdl67rwuABgnQAAGiGsfkWy4340.png …… 看看好用不 呵呵。。。 没人回帖。。。我来个吧 站位支持 LZ是天才,坚定完毕
页:
[1]