let' plot simple line graph using matplotliband then customize it to create more informative visualization of our data we'll use the square number sequence as the data for the graph just provide matplotlib with the numbers as shown hereand matplotlib should do the restmpl_squares py import matplotlib pyplot as plt squares [ plt plot(squaresplt show(we first import the pyplot module using the alias plt so we don' have to type pyplot repeatedly (you'll see this convention often in online examplesso we'll do the same here pyplot contains number of functions that help generate charts and plots we create list to hold the squares and then pass it to the plot(functionwhich will try to plot the numbers in meaningful way plt show(opens matplotlib' viewer and displays the plotas shown in figure - the viewer allows you to zoom and navigate the plotand if you click the disk iconyou can save any plot images you like figure - one of the simplest plots you can make in matplotlib changing the label type and graph thickness although the plot shown in figure - shows that the numbers are increasingthe label type is too small and the line is too thin fortunatelymatplotlib allows you to adjust every feature of visualization