Update PlottingApp.py

Fixing NameError: global name 'b' is not defined