the program used to generate this chart is given belowimport matplotlib pyplot as pyplot set up the data [ [ set the axes headings pyplot ylabel('speed'fontsize= pyplot xlabel('time'fontsize= set the title pyplot title("speed time"plot and display the graph using blue circles for markers ('bo'and solid line ('-'pyplot plot(xy'bo-'pyplot show(the first thing that this program does is to import the matplotlib pyplot module and give it an alias of pyplot (as this is shorter name it makes the code easier to readtwo lists of values are then created for the and coordinates of each marker or plot point the graph itself is then configured with labels being provided for the and axis (using the pyplot functions xlabel(and ylabel()the title of the graph is then set (again using pyplot functionafter this the and values are then plotted as line chart on the graph this is done using the pyplot plot(function this function can take wide range of parametersthe only compulsory parameters being the data used to define the plot points in the above example third parameter is providedthis is string 'bo-this is coded format string in that each element of the string is meaningful to the pyplot plot(function the elements of the string areb--this indicates the colour to use when drawing the linein this case the letter 'bindicates the colour blue (in the same way 'rwould indicate red and 'gwould indicate greeno--this indicates that each marker (each point being plottedshould be represented by cirlce the lines between the markers then create the line plot '-'--this indicates the line style to use single dash ('-'indicates solid linewhere as double dash ('-'indicates dashed line