This commit is contained in:
Simon Christ 2020-03-16 13:31:19 +01:00
parent aad750f208
commit 2439bf0e55

View File

@ -872,10 +872,11 @@ function pgfx_axis!(opt::PGFPlotsX.Options, sp::Subplot, letter)
"scaled $(letter) ticks" => "false", "scaled $(letter) ticks" => "false",
string(letter, :label) => axis[:guide], string(letter, :label) => axis[:guide],
) )
tick_color = plot_color(axis[:foreground_color_axis])
push!(opt, push!(opt,
"$(letter) tick style" => PGFPlotsX.Options( "$(letter) tick style" => PGFPlotsX.Options(
"color" => plot_color(axis[:foreground_color_axis]), "color" => color(tick_color),
"opacity" => alpha(axis[:foreground_color_axis]), "opacity" => alpha(tick_color),
), ),
) )