Skip to content

Commit

Permalink
title_length
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Dec 31, 2024
1 parent b587808 commit 07bd718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NMFkPlotMap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function mapbox(df::DataFrames.DataFrame; column::Union{Symbol,AbstractString}="
f = ""
end
tv = split(string(a), ' ')
pushfirst!(tv, repeat(" ", title_length))
pushfirst!(tv, repeat(" ", title_length)) # adding nonbreaking spaces to control the colorbar size/position
aa = join(tv, "<br>")
p = mapbox(lon, lat, df[!, a]; filename=f, title=aa, kw...)
display(p)
Expand Down

0 comments on commit 07bd718

Please sign in to comment.