Spaces:
Sleeping
Sleeping
File size: 247 Bytes
f0e5200 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import matplotlib.pyplot as plt
labels = ["Without", "With"]
constraint = [0, 88]
plt.figure()
plt.bar(labels, constraint)
plt.title("Constraint Satisfaction (Task 3)")
plt.ylabel("Percentage")
plt.savefig("task3_constraint.png")
plt.show()
|