mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-05 08:51:20 +00:00
finally figured out I needed to upgrade pyupgrade
This commit is contained in:
@@ -93,7 +93,7 @@ def pie_chart_weights(weights: dict):
|
||||
sizes, labels=stocks, autopct="", textprops=dict(color="w")
|
||||
)
|
||||
for i, a in enumerate(autotexts):
|
||||
a.set_text("{}".format(sizes[i]))
|
||||
a.set_text(f"{sizes[i]}")
|
||||
|
||||
ax.axis("equal")
|
||||
ax.legend(
|
||||
|
||||
Reference in New Issue
Block a user