stanley-king před 2 roky
rodič
revize
7426d14083
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      plot/refill/MerchantPainter.py

+ 4 - 4
plot/refill/MerchantPainter.py

@@ -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)