import numpy as np import matplotlib.pyplot as plt navn = np.array(['Isabel', 'Odin', 'Beverly', 'Sofie']) poeng = np.array([2, 1.5, 0.5, 2]) plt.figure(2) plt.bar(navn, poeng, color=('green', 'red', 'pink', 'yellow')) plt.show()