GIven a Python/Sage object p, you can get the list of available methods by doing p.<TAB_BUTTON>, so you can see that there is a set_axes_range method. Then, you can see its documentation by doing p.set_axes_range?. In you case, you can do:
sage: p.set_axes_range(xmin=-3, xmax=3)