In the past rescale margin is shared between both sides of axis. E.g. top and bottom axis will share the same margin.
In Origin 2023b, independent controls are added. E.g.
Right-click on Y axis and choose Rescale Margins…
Uncheck Same Margin for Allow Separate Rescale Margin for Top and Bottom
Click the Rescale (Ctrl+R), Rescale X, Rescale Y buttons on toolbar bottons on right side of workspace to update.
Note: In Browser graph, editing Rescale Margin… will trigger the auto rescale. No need to do 3.