Skip to content

Commit

Permalink
Update yt/visualization/plot_window.py
Browse files Browse the repository at this point in the history
Co-authored-by: Corentin Cadiou <contact@cphyc.me>
  • Loading branch information
neutrinoceros and cphyc authored Jul 27, 2021
1 parent 6bad0f8 commit c8a78a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/visualization/plot_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,7 @@ def _sanitize_normal_vector(ds, normal) -> Union[str, np.ndarray]:
try:
retv = np.array(normal, dtype="float64")
if retv.shape != (3,):
raise ValueError(f"{normal} is incorrectly shape.")
raise ValueError(f"{normal} is incorrectly shaped.")
except ValueError as exc:
raise TypeError(f"{normal} is not a valid normal vector.") from exc

Expand Down

0 comments on commit c8a78a7

Please sign in to comment.