我正在创建一个气泡图,其中每个气泡代表一个国家。
我的代码如下:
from bubbly.bubbly import bubbleplot
figure = bubbleplot(dataset=df_subset1, x_column="GDP per capita (constant 2005 US$)",
y_column="Fertility rate, total (births per woman)",
bubble_column="CountryName", time_column="Year", color_column="CountryCode",
x_title="GDP per capita", y_title="Fertility",
x_logscale=True, scale_bubble=3, height=650)
iplot(figure, config={'scrollzoom':True})
如何更改气泡的大小?