The subplots_adjust toolbar button could be disabled when figure.get_layout_engine().adjust_compatible is False. Bonus points if this reuses the machinery for disabling the forward/back buttons ...
import matplotlib.pyplot as mp import matplotlib.pyplot as mpp fig,axes = mpp.subplots() print(isinstance(axes,mp.axes._subplots.AxesSubplot)) ...