def _add_inset_axes(parent_axes, inset_axes):
 parent_axes.figure.add_axes(inset_axes)
 inset_axes.set_navigate(False)

def _add_inset_axes ( parent_axes , inset_axes ) : parent_axes . figure . add_axes ( inset_axes ) inset_axes . set_navigate ( False )
helper function to add an inset axes and disable navigation in it .