Skip to content

Commit

Permalink
Backport PR yt-project#3488: [bugfix] Get order of axes right for FIT…
Browse files Browse the repository at this point in the history
…SParticleProjection
  • Loading branch information
jzuhone authored and meeseeksmachine committed Oct 15, 2021
1 parent 6a90b96 commit f3c71c0
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit f3c71c0

Please sign in to comment.