my try used this app https://github.com/scidam/django_matplotlib or try this similar method for generated graph https://www.hektorprofe.net/tutorial/graficos-matplotlib-django
On Sat, Dec 14, 2019 at 11:20 AM Guy NANA <guyrostan.n...@gmail.com> wrote: > 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 <guyros...@gmail.com> 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 django...@googlegroups.com. >>> 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 django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5ca808e2-77ba-4ee7-9e28-7b6ba6910e6a%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5ca808e2-77ba-4ee7-9e28-7b6ba6910e6a%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 django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAM-7rO1YX-T2nc%3DmQRWN7UUK-TkAjGE%2B32ErMX%3D76_DpcpSMQw%40mail.gmail.com.