When trying to run it on iPython I get the following error:
File "/Users/lmeinhardt/Programs/Python3/deitel/ch01/RollDieDynamic.py", line 17, in update
axes = sns.barplot(faces, frequencies, palette='bright') # new bars
TypeError: barplot() takes from 0 to 1 positional arguments but 2 positional arguments (and 1 keyword-only argument) were given

Note: Not using anaconda installation - using the standard installation from python.org - all libraries are installed and yet I get this error.
OS: MacOS 10.16
Python: Python 3.9.12
The content of the two parameters are:
Faces: [1, 2, 3, 4, 5, 6]
Frequencies: [0, 0, 0, 1, 0, 0]