Skip to content

Commit 01f4d5c

Browse files
committed
Updating "Display a Longitude-Velocity Slice" code block
1 parent 58e537e commit 01f4d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quarantine/FITS-cubes/FITS-cubes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@
489489
"# and plot the velocity along the x axis\n",
490490
"\n",
491491
"# Display the slice\n",
492-
"im = ax.imshow(sub_cube_slab[:, lat_slice, :].transpose()) # Display the image slice\n",
492+
"im = ax.imshow(sub_cube_slab[:, lat_slice, :].transpose().data) # Display the image slice\n",
493493
"ax.invert_yaxis() # Flips the Y axis \n",
494494
"\n",
495495
"# Add axes labels\n",

0 commit comments

Comments
 (0)