Code for visualizing residue wise distribution of binding energy
For Installing the plugin in chimera follow these instructions
Download the folder Chimera-CHEWD
Open Chimera, go to favorites tab > Preferences. Change category to Tools. Click Add, then browse and select Chimera-CHEWD. Click save
For Installing the plugin in pymol follow these instructions
For plugin to work you would need the pymol 2.10
Open the plugin manager from wizard tab in pymol and select "Install New Plugin" tab and browser to the CHEWD.py file.