简体   繁体   English

如何使用Matplotlib使用国家边界创建HeatMap

[英]How to create a HeatMap using country borders with Matplotlib

在此处输入图片说明

I wanted to know if there is any way possible of making a heatmap like the above, ie on a real map(like the above), in matplotlib or any other python library. 我想知道是否有任何方法可以在matplotlib或任何其他python库中制作类似于上述的热图,即在真实地图(如上述)上。

You can use matplotlib-basemap, which is an extension to matplotlib. 您可以使用matplotlib-basemap,它是matplotlib的扩展。
Look at the really well done documentation first. 首先看做得好的文档 If you have questions after reading it you may update your question. 如果您在阅读后有疑问,可以更新您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM