Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
forward xtick and ytickcolor
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel committed Jan 6, 2021
1 parent 31f58fe commit d78a16d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/makielayout/layoutables/axis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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
Expand Down

0 comments on commit d78a16d

Please sign in to comment.