|
@@ -232,9 +232,9 @@ class MerchantPainter(object):
|
|
|
rect_succ = ax.bar(x_asix + width * 0.5, list(succ_count), width, label='succ',align='center')
|
|
|
rect_fail = ax.bar(x_asix + width * 1.5, list(fail_count), width, label='fail', align='center')
|
|
|
|
|
|
- ax.bar_label(rect_send, padding=3, rotation=270)
|
|
|
- ax.bar_label(rect_submit, padding=3, rotation=270)
|
|
|
- ax.bar_label(rect_succ, padding=3, rotation=270)
|
|
|
- ax.bar_label(rect_fail, padding=3, rotation=270)
|
|
|
+ ax.bar_label(rect_send, padding=0, rotation=270)
|
|
|
+ ax.bar_label(rect_submit, padding=0, rotation=270)
|
|
|
+ ax.bar_label(rect_succ, padding=0, rotation=270)
|
|
|
+ ax.bar_label(rect_fail, padding=0, rotation=270)
|
|
|
|
|
|
return fig_flush(ax, fig, xticks=x_asix, xlables=lables)
|