human
How to extract data from matplotlib plot
assistant
Here is some code to get data from matplotlib plot

gca().get_lines()[n].get_xydata()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.