"format" file
This commit is contained in:
parent
1924eeeff6
commit
dbcaf2d08f
@ -1961,6 +1961,7 @@ function _update_subplot_legend(sp::Subplot, plotattributes_in)
|
|||||||
k in (:family, :pointsize, :valign, :halign, :rotation, :color) if
|
k in (:family, :pointsize, :valign, :halign, :rotation, :color) if
|
||||||
haskey(plotattributes_in, Symbol(:legend_font_, k))
|
haskey(plotattributes_in, Symbol(:legend_font_, k))
|
||||||
)
|
)
|
||||||
|
#! format: off
|
||||||
match_attr = NamedTuple(
|
match_attr = NamedTuple(
|
||||||
(
|
(
|
||||||
lk = Symbol(:legend_font_, k);
|
lk = Symbol(:legend_font_, k);
|
||||||
@ -1973,6 +1974,7 @@ function _update_subplot_legend(sp::Subplot, plotattributes_in)
|
|||||||
default(plotattributes_in, lk)
|
default(plotattributes_in, lk)
|
||||||
) for k in (:family, :pointsize, :valign, :halign, :rotation, :color)
|
) for k in (:family, :pointsize, :valign, :halign, :rotation, :color)
|
||||||
)
|
)
|
||||||
|
#! format: on
|
||||||
sp.attr[:legend_font] = font(; merge(match_attr, f_attr)...)
|
sp.attr[:legend_font] = font(; merge(match_attr, f_attr)...)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user