Merge pull request #2561 from mbfstudios/pgfplotsx-fix-minor-ticks
Fix error when setting minor ticks. See #2560
This commit is contained in:
commit
1f7773ae4c
@ -1123,7 +1123,7 @@ function pgfx_axis!(opt::PGFPlotsX.Options, sp::Subplot, letter)
|
|||||||
axis[:minorgridalpha],
|
axis[:minorgridalpha],
|
||||||
axis[:minorgridstyle],
|
axis[:minorgridstyle],
|
||||||
),
|
),
|
||||||
"major tick length" => axis[:minorticks] ? "0.1cm" : "0"
|
"major tick length" => typeof(axis[:minorticks]) <: Integer && axis[:minorticks] > 1 || axis[:minorticks] ? "0.1cm" : "0"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user