commit for working scatter plot and related function in magicplott.py