In addition to shrinking every time I hit enter, also changing focus between windows (either by mouse click or alt-tab) causes gnome- terminal to shrink.
With bash I any time I hit enter it shortens. When I launched jupyter console, hitting enter doesn't shrink the window, but it still shrinks because of the focus change. Diane