Prosty przykład wykreślania Trerema Pythona z Labels
import matplotlib.pyplot as plt
import squarify
import pandas as pd
square_sizes=[30, 40, 10, 60]
labels=["30", "40", "10", "60"]
squarify.plot(sizes=square_sizes, label=labels, alpha=0.6 )
plt.axis('off')
plt.show()
Unsightly Unicorn