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

+ 2 - 1
plot/refill/ChannelPainter.py

@@ -76,8 +76,9 @@ class ChannelPainter(PainterBase):
             ax.set_xticklabels(lables)
             fig.autofmt_xdate()
             ax.grid()
-            fig.subplots_adjust(left=0.1, right=0.8, top=0.95, bottom=0.1)
+            # fig.subplots_adjust(left=0.1, right=0.8, top=0.95, bottom=0.1)
             ax.legend(bbox_to_anchor=(1, 1), loc='upper left')
+            fig.tight_layout()
 
             buf = BytesIO()
             fig.savefig(buf, format="png")