1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > 【Python】绘制简易世界地图

【Python】绘制简易世界地图

时间:2022-12-04 03:59:36

相关推荐

【Python】绘制简易世界地图

import matplotlib.pyplot as pltimport mplleaflet#导入数据包#mplleaflet缩放页面fig, ax = plt.subplots()ax.plot([10, 20, 30], [10, 20, 30])# A second plot with some coordinates you want to use as the limits# For instance, I want a plot with x between (-100, 100)ax.plot([-100, 100], [10, 30], alpha = 0) #在当前绘图中绘图,alpha设置透明度mplleaflet.show(fig = ax.figure) #画图

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。