Fixed more
This commit is contained in:
parent
2d008b7d50
commit
a31f3d188a
1 changed files with 2 additions and 0 deletions
|
@ -93,5 +93,7 @@ def generate_chart(ticker, history):
|
|||
labels={"Open": "Price Per Share"},
|
||||
)
|
||||
|
||||
img_bytes = io.BytesIO()
|
||||
img_bytes = fig.to_image(format="png")
|
||||
image_buffer.seek(0)
|
||||
return img_bytes
|
||||
|
|
Loading…
Add table
Reference in a new issue