Command for hide/show bar

Closes #487
Fix python3 build