figure - multiple figures using matplotlib we plot multiple figures while telling the data story for use case yetthere are cases where we need multiple plots in the same figure this is where the concept of subplots comes into the picture subplot divides figure into grid of specified rows and columns and also provides interfaces to interact with plotting elements subplots can be generated using few different ways and their use depends on personal preferences and use case demands we begin with the most intuitive onethe add_subplot(method this method is exposed through the figure object itself its parameters help define the grid layout and other properties the following snippet generates four subplots in figure np sin(xfigure_obj plt figure(figsize=( )ax figure_obj add_subplot( , , ax plot( ,yax figure_obj add_subplot( , , ax figure_obj add_subplot( , ,