I've seen that post but it doesn't response to my problem. It use pylab instead of pyplot and I want to pass the generated image to the template via the render method to display it in a specific part of my html page.
Le samedi 14 décembre 2019 01:03:59 UTC+1, sacrac a écrit : > > > https://django.cowhite.com/blog/creating-charts-and-output-them-as-images-to-the-browser-in-django-using-python-matplotlib-library/ > > On Fri, Dec 13, 2019 at 4:50 PM Guy NANA <[email protected] > <javascript:>> wrote: > >> Hello, >> I want to show in my web app figures generated with matplotlib.pyplot but >> I don't find how to do it. >> Someone can explain me how it works? >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/bf515cc4-4ce2-4169-859c-962b0901586f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/bf515cc4-4ce2-4169-859c-962b0901586f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > att. > Carlos Rocha > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ca808e2-77ba-4ee7-9e28-7b6ba6910e6a%40googlegroups.com.

