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