I saw a related link, but still having problems. I'm trying to use python to graph data from Google Cloud Platform Datastore. The x-axis will be date-time, and the y-axis will be the value coming in from a sensor connected to a Particle Boron. I have abandoned using Jupyter directly to access the Datastore...the few tutorials failed.
I moved on to using the Google Cloud Platform App Engine. It was a very steep learning curve, but I managed to pull data from Datastore, and create a png image of a chart to display on my local host 8080.
The only way to display a new image with updated data is to create a new name for the image.
My latest effort is to timestamp the filename, so it will always be different.
'''
picname = dir + 'data' + timestamp + '.png''''
A) Why would I need to create a new file name every time?.
B) how can I get gcloud to update an image every time I run matplotlib to generate the plot?.
C) Can I just write the plt to the html without saving as a .png first?
''''<img src='/static/images/data3.png'>
''''
Thank you in advance for your time and insights