Closed spouyllau closed 3 years ago
You can see that the first argument to plot()
must be sizes
, which should be a list of sizes (i.e., that input you would normally give to the squarify
function itself.
In your code, you provided sizes
with a string sizes="data"
. You probably meant to do sizes=df["data"]
. Feel free to reopen if that doesn't solve the issue.
Hello, With squarify, I try to do an treemap but I have an :
My code is :
What's wrong with this data in a DataFrame ? Best, Stéphane.