I`m trying to get png bytes from plotly and i use
After that Im trying to encode bytes like
- “data:image/png;base64,” + str(base64.b64encode(img))
an this doesnt work. I`ve tried
but this doesnt work too.
I`ve also try http://freeonlinetools24.com/base64-image to chek the base64 string, but it doesnot worked.
Can i use, somehow, py.image.get to make static image on my web-site ?