import random
import matplotlib.pyplot as plt
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
freq = {c: random.randint(1, 100) for c in alphabet if random.randint(1, 10) > 2}
print(len(freq))
print(freq)
plt.bar(range(len(freq)), freq.values(), align='center')
plt.xticks(range(len(freq)), freq.keys())
plt.show()
I received a code which uses matplotlib, I already installed it like here in console (in Git Bash) and searched for matplotlib under settings - modules, but found just two other and installed them (aliasimports/live coding in python). I still become this error:
ModuleNotFoundError: No module named 'matplotlib'