kopia lustrzana https://github.com/sepandhaghighi/samila
fix : save_fig_buf function updated #60
rodzic
b128ff35fe
commit
f941390822
|
@ -153,7 +153,7 @@ def save_fig_buf(figure):
|
|||
"buffer": None}
|
||||
try:
|
||||
buf = io.BytesIO()
|
||||
figure.savefig(buf, format='png')
|
||||
figure.savefig(buf, format='png', facecolor=figure.get_facecolor(), edgecolor='none')
|
||||
result["buffer"] = buf
|
||||
return result
|
||||
except Exception as e:
|
||||
|
|
Ładowanie…
Reference in New Issue