I'm new to python so please just don't blast me.
import matplotlib.pyplot as plt
plt.xlabel('sepal length [cm]')
I know that the import works with modules and I also know what I module is. The fact is that when a call the xlabel method same information is stored in plt as it would act as an object. In fact, if I then call
plt.show()
It appears a graph with "sepal length [cm]" in the x-axis.
So when I import a module it acts like an object? Is there a more precise definition of this?