add line to PyRAF make use of matplotlib