We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a tall skinny NDCube,
data = np.random.rand(4923,44,44) wcs = astropy.wcs.WCS(naxis=3) wcs.wcs.ctype = 'HPLN-TAN', 'HPLT-TAN', 'WAVE', wcs.wcs.cunit = 'deg', 'deg', 'm' wcs.wcs.cdelt = 0.00012694444093439315, 0.00012722222341431512, 6.500000017695121e-14 wcs.wcs.crpix = 0.0, 0.0, 1.0 wcs.wcs.crval = 0.0, 0.0, 1.799997462288593e-09 my_cube = ndcube.NDCube(data, wcs=wcs)
If I plot a single slice (in latitude), I see the x-axis has labels corresponding to the latitude and the y-axis corresponding to wavelength,
my_cube[:,0,:].plot()
However, if I plot a smaller section in wavelength space of the cube, the y-axis labels disappear
my_cube[950:1125,0,:].plot()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I have a tall skinny NDCube,
If I plot a single slice (in latitude), I see the x-axis has labels corresponding to the latitude and the y-axis corresponding to wavelength,
However, if I plot a smaller section in wavelength space of the cube, the y-axis labels disappear
The text was updated successfully, but these errors were encountered: