Changed geometry from grid to pack to avoid error with tcl/tk 8.6

Matplotlib's NavigationToolbar2TkAgg uses pack to arrange buttons, which
causes a run-in if combined with grid.