Do not call plt.figure inside plotting functions
I think we shouldn't call
plt.figure()
inside a plotting function. Otherwise we can't overlay multiple datasets. Another solution could be of course to give a list of datasets to the plotting functions, thus, it would iterate through them and call
plt.figure()
only once.
It's really a design question. @snuverink_j What do you think?