I need your help to write a script in Python that will take dynamically changed data, the source of data is not matter here, and display graph on the screen.
I know how
As an alternative to matplotlib, the Chaco library provides nice graphing capabilities and is in some ways better-suited for live plotting.
See some screenshots here, and in particular, see these examples:
data_stream.py
spectrum.py
Chaco has backends for qt and wx, so it handles the underlying details for you rather nicely most of the time.