Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
348 B
2
Indexable
Never
import matplotlib.pyplot as plt

# Data
wing_angles = ['Wild-type', 'Dichaete']
counts = [56, 44]

# Plotting the bar graph
plt.bar(wing_angles, counts)

# Adding labels and title
plt.xlabel('Wing Angle Phenotype')
plt.ylabel('Count')
plt.title('Phenotypic Distribution of F2 Offspring Wing Angle')

# Displaying the graph
plt.show()