stanley-king 2 yıl önce
ebeveyn
işleme
a69ee050cd
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  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=60)
-        ax.bar_label(rect_submit, padding=3, rotation=60)
-        ax.bar_label(rect_succ, padding=3, rotation=60)
-        ax.bar_label(rect_fail, padding=3, rotation=60)
+        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)
 
         return fig_flush(ax, fig, xticks=x_asix, xlables=lables)