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
Off-axis slicing doesn't work properly when the dataset's axis ordering is not (x, y, z)
import numpy as np import yt shp = (256, 256, 256) data = {('gas', 'density'): np.random.random(shp)} ds = yt.load_uniform_grid(data, shp, axis_order=('z', 'y', 'x')) slc = yt.OffAxisSlicePlot(ds, [1., 0., 0.], ('gas', 'density')) slc.show()
Should look the same as using the default axis , i.e.,
ds = yt.load_uniform_grid(data, shp) normal = [0., 0., 1.] slc = yt.OffAxisSlicePlot(ds, normal, ('gas', 'density')) slc.show()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Off-axis slicing doesn't work properly when the dataset's axis ordering is not (x, y, z)
Should look the same as using the default axis , i.e.,
The text was updated successfully, but these errors were encountered: