我有一个数据,我想用squarify绘制一幅树图。我想通过编辑country_name参数在图表上显示labels和counts,但似乎只有一个值。示例数据import pandas as pdd = {'country_name':['USAdd.counts), vmax=max(dd.counts))
colors = [matplotlib.cm.Blues(norm(value)) for value in d
我已经用'pip install squarify‘在bash中安装了它,并且通过'import squarify’来使用python,没有任何问题,但当我尝试在juypter笔记本中导入时,它显示如图所示image of juypter notebook that says squarify module is not found