Skip to content

Commit

Permalink
potential fix for #4350
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Feb 24, 2023
1 parent 96371c6 commit 2fdd517
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion answer-store
6 changes: 4 additions & 2 deletions yt/geometry/coordinates/spec_cube_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,16 @@ def _get_plot_axes_default_properties(
x_axis_label="y",
y_axis_label="z",
x_axis_units=None,
y_axis_units=None, # this may require more attention
# https://github.com/yt-project/yt/issues/4350
y_axis_units="dimensionless",
)
elif normal_axis_name == "y":
return dict(
x_axis_label="x",
y_axis_label="z",
x_axis_units=None,
y_axis_units=None, # this may require more attention
# https://github.com/yt-project/yt/issues/4350
y_axis_units="dimensionless",
)
elif normal_axis_name == "z":
return dict(
Expand Down

0 comments on commit 2fdd517

Please sign in to comment.