Skip to content

morikeli/matplotlib-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matplotlib-django

Integrating matplotlib with django

Technologies used:
- django
- Python's Matplotlib

Explanation

Create a utils.py file in your app, create two functions: get_graph() and get_plot(x, y). Function get_plot(x, y) deals with plotting the graph while get_graph() deals with the image file generated, since the graph will be rendered as an image file.

get_graph() and get_plot(x, y) functions

graph

importing function get_plot(x, y) to views.py

views

About

Integrating matplotlib with django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published