Skip to content

Commit

Permalink
Fix linking in jdaviz (#257)
Browse files Browse the repository at this point in the history
Co-authored-by: Camilla Pacifici <cpacifici@stsci.edu>
  • Loading branch information
camipacifici and Camilla Pacifici authored Nov 8, 2024
1 parent eeea159 commit 19846d5
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,8 @@
"\n",
"# this aligns the image to use the WCS coordinates; \n",
"# the images need to be loaded first, but before adding markers\n",
"imviz.link_data(link_type='wcs')\n",
"linking = imviz.plugins['Orientation']\n",
"linking.link_type = 'WCS'\n",
"\n",
"# also plot the associated catalog\n",
"# this needs to be a separate loop due to linking in imviz when using sky coordinates\n",
Expand Down Expand Up @@ -793,7 +794,7 @@
" imviz.load_data(img, data_label=title)\n",
"\n",
" # this aligns the image to use the WCS coordinates\n",
" linking = imviz.plugins['Links Control']\n",
" linking = imviz.plugins['Orientation']\n",
" linking.link_type = 'WCS'\n",
"\n",
" # also plot the associated catalog\n",
Expand Down Expand Up @@ -1197,7 +1198,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.7"
"version": "3.11.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 19846d5

Please sign in to comment.