fix errors

This commit is contained in:
Daniel Schwabeneder 2017-11-19 15:36:11 +01:00
parent 0da6f6b4a4
commit 6e51a08694
2 changed files with 5 additions and 5 deletions

View File

@ -1152,7 +1152,7 @@ const _match_map2 = KW(
:foreground_color_guide => :foreground_color_subplot,
:foreground_color_text => :foreground_color_subplot,
:tickfontcolor => :foreground_color_text,
:guidefontcolor => :foreground_color_text,
:guidefontcolor => :foreground_color_guide,
)
# properly retrieve from plt.attr, passing `:match` to the correct key

View File

@ -1015,7 +1015,7 @@ ignorenan_extrema(plt::Plot) = (xmin(plt), xmax(plt))
titlefont(sp::Subplot) = font(
sp[:titlefontfamily],
sp[:titlefontsize],
sp[:titlefont],
sp[:titlefontvalign],
sp[:titlefonthalign],
sp[:titlefontrotation],
sp[:titlefontcolor],
@ -1024,7 +1024,7 @@ titlefont(sp::Subplot) = font(
legendfont(sp::Subplot) = font(
sp[:legendfontfamily],
sp[:legendfontsize],
sp[:legendfont],
sp[:legendfontvalign],
sp[:legendfonthalign],
sp[:legendfontrotation],
sp[:legendfontcolor],
@ -1033,7 +1033,7 @@ legendfont(sp::Subplot) = font(
tickfont(ax::Axis) = font(
ax[:tickfontfamily],
ax[:tickfontsize],
ax[:tickfont],
ax[:tickfontvalign],
ax[:tickfonthalign],
ax[:tickfontrotation],
ax[:tickfontcolor],
@ -1042,7 +1042,7 @@ tickfont(ax::Axis) = font(
guidefont(ax::Axis) = font(
ax[:guidefontfamily],
ax[:guidefontsize],
ax[:guidefont],
ax[:guidefontvalign],
ax[:guidefonthalign],
ax[:guidefontrotation],
ax[:guidefontcolor],