the figsize is another type of functionality provide by matplotlib to visualization two or more charts and manage chart or figure position through the row and columns. Also, matplotlib providing subplot function to manipulate the chart. This tutorial we will calculate the slope of cost function and visualize into the same row into columns.