So I have this function,
func(a,x,y)
where x,y are the graphs coordinates, and a some other data (it doesnt really matter what a is for this problem)
I want this function to make subplots automatically,
so when the function is called and n number of times
func(a2,x2,y2)
func(a3,x3,y3)
func(a4,x4,y4)
.
.
func(an,xn,yn)
It should show n subplots on a graph
Note it is important that the function works in this way for my usecase, I dont want to be inputting an array of [a1,a2,...],[x1,x2,...],[y1,y2,...] and then plotting them all, I want to call each of the graph function seperately