added resetfontsizes()
This commit is contained in:
parent
05eb687ca4
commit
af56d6f265
@ -303,6 +303,18 @@ function scalefontsizes(factor::Number)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function resetfontsize(k::Symbol)
|
||||||
|
f = default(k)
|
||||||
|
default(k,f)
|
||||||
|
end
|
||||||
|
|
||||||
|
"Reset all fonts to default size"
|
||||||
|
function resetfontsizes()
|
||||||
|
for k in (:titlefont, :guidefont, :tickfont, :legendfont)
|
||||||
|
resetfontsize(k, factor)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
"Wrap a string with font info"
|
"Wrap a string with font info"
|
||||||
immutable PlotText
|
immutable PlotText
|
||||||
str::AbstractString
|
str::AbstractString
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user