我一直在使用该ax.bar_label方法将数据值添加到条形图中。数字很大,例如143858918。如何使用该ax.bar_label方法向数据值添加逗号?我确实知道如何使用注释方法添加逗号,但如果可以使用bar_label,我不确定。是否可以使用fmt可用的关键字参数?
ax.bar_label
bar_label
fmt
python matplotlib bar-chart seaborn plot-annotations
bar-chart ×1
matplotlib ×1
plot-annotations ×1
python ×1
seaborn ×1