Skip to content
New issue

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

[bugfix] Get order of axes right for FITSParticleProjection #3488

Merged
merged 1 commit into from
Aug 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yt/visualization/fits_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ def sanitize_fits_unit(unit):
# This list allows one to determine which axes are the
# correct axes of the image in a right-handed coordinate
# system depending on which axis is sliced or projected
axis_wcs = [[1, 2], [0, 2], [0, 1]]
axis_wcs = [[1, 2], [2, 0], [0, 1]]


def construct_image(ds, axis, data_source, center, image_res, width, length_unit):
Expand Down