How to plot multiple pie charts in a single image file python

Where TC denotes to TestClass and Automated denoted Automated tests and manual denoted manual testcases Want to create a plot which creates 2 pie charts 1 for each TC having breakup of Automated Vs Manual.

I wanted to plot separate pie charts of all these columns in a single figure or sheet. This is my code:
Python Matplotlib Multiple Pie Charts

Learn how to create Python Matplotlib multiple pie charts . My guide covers subplots, explode effects, and shadows with full Python code examples for USA data.
To plot multiple column groups in a single axes, repeat plot method specifying target ax. It is recommended to specify color and label keywords to distinguish each groups.

Python Pie Chart
Learn how to create a Python pie chart using Matplotlib and Pandas . Discover practical code examples and essential design tips to create clear, visuals.
Since a pie chart is fundamentally a one-dimensional (1D) visualization ( a single set of values and corresponding labels), it's often best practice to use the pie plot function directly on a pandas Series rather than a DataFrame. This approach clearly defines the values and uses the Series' index for labels, avoiding the y argument confusion ...

pandas.DataFrame.plot.pie pandas 3.0.4 documentation
pandas .DataFrame. plot . pie # DataFrame. plot .pie(y=None, **kwargs) [source] # Generate a pie plot . A pie plot is a proportional representation of the numerical data in a column. This function wraps matplotlib.pyplot. pie () for the specified column. If no column reference is passed and subplots=True a pie plot is drawn for each numerical column independently. Parameters: yint or label, optional ...
A pie chart is a circular statistical graphic divided into slices to illustrate numerical proportions. Each slice represents a category's contribution to the whole, typically expressed as a percentage of 100%. Pie charts are widely used in research, engineering, business analytics and data visualization tasks to show parts- to -whole relationships. Before you begin, install the required ...

Pie charts Matplotlib 3.11.0 documentation
Label slices # Plot a pie chart of animals and label the slices. To add labels, pass a list of labels to the labels parameter ... Each slice of the pie chart is a patches.Wedge object; therefore in addition to the customizations shown here, each wedge can be customized using the wedgeprops argument, as demonstrated in Nested pie charts . Auto ...






Create multiple subplots using plt.subplots # pyplot.subplots creates a figure and a grid of subplots with a single call, while providing reasonable control over how the individual plots are created. For more advanced use cases you can use GridSpec for a more general subplot layout or Figure.add_subplot for adding subplots at arbitrary locations within the figure.