Python, visual studio code Undergraduate

Python assignment

There shouldn’t be much to do since it is basically finished but i cant get the plots/ figures to open and be saved.

The following errors occurs:

warnings.warn(msg, UserWarning)
C:UsersbenniAppDataLocalPackagesPythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0LocalCachelocal-packagesPython38site-packagesseaborndistributions.py:283: UserWarning: Data must have variance to compute a kernel density estimate.

and:
  File “C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.8_3.8.1008.0_x64__qbz5n2kfra8p0libtkinter__init__.py”, line 1627, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: invalid command name “.”