Create a .py file, import the library, and you can also check the version of the matplotlib library as follows: import matplotlib # first step is to import the ...