Initial Python "black" refactoring
- Optimize code with syntax refactoring using https://github.com/psf/black
-- ("The uncompromising Python code formatter") - Also update Python dependencies:
--typing-extensions>=3.10.0.0
--pygments==2.9.0;python_version>="3.5"
--ipython==7.23.0;python_version>="3.7"
--matplotlib-inline==0.1.2;python_version>="3.7"