using matplotlib, I have constructed a boxplot for a dataset read from excel. I want to include the individual data points alongside my boxplot. Any advice? Here is the code I used for my boxplot:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
Fast_G = pd.read_excel(r'C:\Users\Rex Reginald\Excel work\MFGP.xlsx')
plt.style.use('ggplot')
fig, ax = plt.subplots()
ax.boxplot((Fast_G.MIA, Fast_G.CTL), vert=True, showmeans=True, meanline=True, patch_artist=True,
labels=('MIA', 'CTL'),
medianprops={'linewidth': 2, 'color': 'purple'},
meanprops={'linewidth': 2, 'color': 'red'})
plt.title('MFGP')
plt.ylabel('MP')
plt.show()