Fix error when setting minor ticks
Fix type error when specifying number of minor ticks for PGFPlotsX backend.
This commit is contained in:
parent
70f207f5cc
commit
4a5c82ec7f
@ -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