如何设置平方图而不是大小

时间:2019-09-29 12:56:41

标签: python plot squarify

我有一个平方图坐标,但是这些代码都无法得到我想要的。

我正在使用Python

这些是坐标

    r'[1-2][1-2]': 'hibernating',
    r'[1-2][3-4]': 'at risk',
    r'[1-2]5': 'can\'t loose',
    r'3[1-2]': 'about to sleep',
    r'33': 'need attention',
    r'[3-4][4-5]': 'loyal customers',
    r'41': 'promising',
    r'51': 'new customers',
    r'[4-5][2-3]': 'potential loyalists',
    r'5[4-5]': 'champions'
}```

x-axes and y-axes


  [1]: https://i.stack.imgur.com/TmERq.png

0 个答案:

没有答案