I've written a sample program for using maplotlib and seaborn:
import matplotlib as plt
import numpy as np
import random
import seaborn as sns
rolls = [random.randrange(1, 7) for i in range(600)]
values, frequencies = np.unique(rolls, return_counts=True)
title = f'Rolling a Six-Sided Die {len(rolls):,} Times'
sns.set_style('whitegrid')
axes = sns.barplot(x=values, y=frequencies, palette='bright')
Everything is calculated correctly (I've omitted print's for brevity), but nothing shows up.
I've tried either under command line, and with vscode.
I'm running windows 7, python 3.7.7 and conda 4.8.3
What am I missing?
Thanks
plt.show()at the end of your code