I would like to extract the data from graphs like these and run scripts on the data extracted. I know you can manually do this with matplotlib. But can I write a script to do this automatically on variations of these graphs.