Skip to content

Commit

Permalink
fix URsymbols
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed May 15, 2023
1 parent 285212a commit c408173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/UnitfulExt/unitfulext_examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ plot([plot(y, ylab="mass", title=repr(s), unitformat=s) for s in (nothing, true,
# `unitformat` can be one of a number of predefined symbols, defined in

URsymbols = if isdefined(Base, :get_extension)
Base.get_extension(Plots, :UnitfulExt)
getproperty(Base.get_extension(Plots, :UnitfulExt), :UNIT_FORMATS)
else
Plots.UnitfulExt.UNIT_FORMATS
end |> keys
Expand Down

0 comments on commit c408173

Please sign in to comment.