Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Nov 14, 2023
1 parent 4cab4f3 commit dccbba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function prepare_output(plt::Plot)

_wh = plt.attr[:size]
if length(_wh) != 2
throw(ArgumentError("size have length = 2, got size = $_wh"))
throw(ArgumentError("size must have length = 2, got size = $_wh"))
end
w, h = _wh

Expand Down

0 comments on commit dccbba6

Please sign in to comment.