In my app I create a matplotlib plot which works nicely in Anvil . I would like to add a logo to the plot (using ax.imshow(im, ...)), which is a small jpg file. The jpg file should be stored in the Anvil app.
I thought of storing the jpg file in the theme folder (uploaded into assets) such that I could access it from my server module using:
im = matplotlib.image.imread('_/theme/logo.png')
However, this does not work .
Any idea how I could manage the access to the jpg file?