From d78a16de02b73d3548942d43e6664cf0dfa54a5d Mon Sep 17 00:00:00 2001 From: Julius Krumbiegel Date: Wed, 6 Jan 2021 19:58:10 +0100 Subject: [PATCH] forward xtick and ytickcolor --- src/makielayout/layoutables/axis.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/makielayout/layoutables/axis.jl b/src/makielayout/layoutables/axis.jl index 74b44fb77..cccb90d85 100644 --- a/src/makielayout/layoutables/axis.jl +++ b/src/makielayout/layoutables/axis.jl @@ -154,7 +154,7 @@ function Axis(fig_or_scene; bbox = nothing, kwargs...) ticklabelspace = xticklabelspace, ticks = xticks, tickformat = xtickformat, ticklabelsvisible = xticklabelsvisible, ticksvisible = xticksvisible, spinevisible = xspinevisible, spinecolor = xspinecolor, spinewidth = spinewidth, ticklabelsize = xticklabelsize, trimspine = xtrimspine, ticksize = xticksize, - reversed = xreversed, tickwidth = xtickwidth) + reversed = xreversed, tickwidth = xtickwidth, tickcolor = xtickcolor) decorations[:xaxis] = xaxis yaxis = LineAxis(topscene, endpoints = yaxis_endpoints, limits = lift(ylimits, limits), @@ -164,7 +164,9 @@ function Axis(fig_or_scene; bbox = nothing, kwargs...) label = ylabel, labelfont = ylabelfont, ticklabelfont = yticklabelfont, ticklabelcolor = yticklabelcolor, labelcolor = ylabelcolor, tickalign = ytickalign, ticklabelspace = yticklabelspace, ticks = yticks, tickformat = ytickformat, ticklabelsvisible = yticklabelsvisible, ticksvisible = yticksvisible, spinevisible = yspinevisible, spinecolor = yspinecolor, spinewidth = spinewidth, - trimspine = ytrimspine, ticklabelsize = yticklabelsize, ticksize = yticksize, flip_vertical_label = flip_ylabel, reversed = yreversed, tickwidth = ytickwidth) + trimspine = ytrimspine, ticklabelsize = yticklabelsize, ticksize = yticksize, flip_vertical_label = flip_ylabel, reversed = yreversed, tickwidth = ytickwidth, + tickcolor = ytickcolor) + decorations[:yaxis] = yaxis xoppositelinepoints = lift(scene.px_area, spinewidth, xaxisposition) do r, sw, xaxpos