I am trying to create a world map in background and bubble on top of it to show the data. I am using code below to create it but this gives a map in background with out country names and plane circle which doesnt show the location of country.
将熊猫作为pd导入
来自mpl_工具箱.底图导入基础地图
进口matplotlib.pyplot作为plt
^{pr2}$
具有转换率数据的数据帧
数据转换-比较数据帧:Country Sea Res ConvRate(%) Country_codes
Spain 6179 85 1.38 ES
United Kingdom 495 99 2.00 GB
France 473 12 2.55 FR
United States 442 7.8 1.76 US
Italy 358 7.4 2.07 IT
Germany 153 3.3 2.15 DE
Argentina 135 1.9 1.41 AR
Ireland 132 3.3 2.49 IE
Belgium 122 4.3 3.51 BE
Israel 109 2.2 1.82 IL
I want bubbles to have country code and converson rate and size of bubble based on conversion rate value
请建议修改代码以创建映射。
我还附加了图像的最终输出看起来像。在[Output i am getting][1]
[1]: https://i.stack.imgur.com/XagnV.png
[output i want][2]
[2]: https://i.stack.imgur.com/PVFX6.jpg