fixing interact offset
@@ -237,8 +237,8 @@ def add_gaia_figure_elements(tpf, fig, magnitude_limit=18):
radecs = np.vstack([result['RA_ICRS'], result['DE_ICRS']]).T
coords = tpf.wcs.all_world2pix(radecs, 0)
year = ((tpf.astropy_time[0].jd - 2457206.375) * u.day).to(u.year)
- pmra = ((np.nan_to_num(np.asarray(result.pmRA)) * u.milliarcsecond/u.year) * year).to(u.arcsec).value
- pmdec = ((np.nan_to_num(np.asarray(result.pmDE)) * u.milliarcsecond/u.year) * year).to(u.arcsec).value
+ pmra = ((np.nan_to_num(np.asarray(result.pmRA)) * u.milliarcsecond/u.year) * year).to(u.deg).value
+ pmdec = ((np.nan_to_num(np.asarray(result.pmDE)) * u.milliarcsecond/u.year) * year).to(u.deg).value
result.RA_ICRS += pmra
result.DE_ICRS += pmdec
