Skip to content

Commit d7f7fbb

Browse files
authored
Update xlabel to ylabel in UnitfulConversion documentation. (#4825)
1 parent 197cb29 commit d7f7fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dim-converts/unitful-integration.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ using Unitful, CairoMakie
137137
scatter(1:4, [1u"ns", 2u"ns", 3u"ns", 4u"ns"])
138138
```
139139
140-
Fix unit to always use Meter & display unit in the xlabel:
140+
Fix unit to always use Meter & display unit in the ylabel:
141141
```julia
142142
uc = Makie.UnitfulConversion(u"m"; units_in_label=false)
143143
scatter(1:4, [0.01u"km", 0.02u"km", 0.03u"km", 0.04u"km"]; axis=(dim2_conversion=uc, ylabel="y (m)"))

0 commit comments

Comments
 (0)