plot(title(xlabel(ylabel(axis(grid(subplot(legend(show(lets create some basic plotting examples using the matplotlib libraryexample plotting in python in this example we have to arrays with data we want to plot vs we can assume is time series and is the corresponding temperature degrees celsius im po rt [ , plt plot ( yp time temperature degc show we get the following plotwe can also write like this from mp ort [ , plot ( yx time temperature degc show this makes the code simpler to read one problem with this approach appears assuming we import and use multiple libraries and the different libraries have some functions with the same name but different use