introduction to matplotlib introduction matplotlib is python graphing and plotting library that can generate variety of different types of graph or chart in variety of different formats it can be used to generate line chartsscatter graphsheat mapsbar chartspie charts and plots it can even support animations and interactive displays an example of graph generated using matplotlib is given below this shows line chart used to plot simple sign wavematplotlib is very flexible and powerful graphing library it can support variety of different python graphics platforms and operating system windowing environments it can also generate output graphics in variety of different formats including pngjpegsvg and pdf etc (cspringer nature switzerland ag huntadvanced guide to python programmingundergraduate topics in computer science