I'm trying to plot a treemap with Squarify. But i don't realize how could i add a "%" to a float value.
ListaCryptos = ['BTC', 'ETH']
tamaños2 = [61,755, 32,992]
sq.plot(sizes=np.around(tamaños2, decimals=2),
label=ListaCryptos,
value=np.around(tamaños2, decimals=2),
color=colores,
pad=True,
alpha=0.9,
bar_kwargs=dict(linewidth=2, edgecolor="white"),
text_kwargs={'fontsize': 32})
plt.title("Rentabilidad", fontsize=32, fontweight="bold")
plt.axis('off')
plt.show()
Then in the plot i need to the values express like 61,75% 32,99%
How could i add a percent symbol to my float values.