import matplotlib.pyplot as plt
# Data
pod_lengths = [8.4, 7.0, 8.5, 8.8, 8.9, 6.7, 7.3, 7.9] number_of_seeds = [5, 5, 5, 5, 6, 4, 3, 5]
# Create a bar graph
plt.figure(figsize=(8, 5))
uplt.bar(pod_lengths, number_of_seeds, color='skyblue')
# Add labels and title
plt.xlabel('Pod Length (cm)')
plt.ylabel('Number of Seeds')
plt.title('Pod Length vs Number of Seeds')
# Show the plot
plt.show()