I tried to plot some data as a line graph using matplot. when i execute the python program it is not showing the graph in debian.
The question is without head or tail .Could you please provide them .
this is the most common problem encountered with python + matplotlib. The issue would be mostly related to missing GUI dependency libraries. You need to install an appropriate GUI framework like Tkinter / QT for python and then set an backend for matplotlib to use.
Search for it. Stackoverflow has got them already.