From 41f242ceee32188f4905b1d995bcb26a0a792440 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Dec 2021 10:36:34 +0100 Subject: [PATCH] Format .jl files [skip ci] (#3981) Co-authored-by: t-bltg --- src/backends/pgfplotsx.jl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index dc35c8aa..211ecde3 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -1316,7 +1316,10 @@ function pgfx_axis!(opt::PGFPlotsX.Options, sp::Subplot, letter) end # grid on or off - push!(opt, "$(letter)majorgrids" => axis[:grid] && framestyle != :none ? "true" : "false") + push!( + opt, + "$(letter)majorgrids" => axis[:grid] && framestyle != :none ? "true" : "false", + ) # limits lims = @@ -1344,7 +1347,8 @@ function pgfx_axis!(opt::PGFPlotsX.Options, sp::Subplot, letter) push!(opt, string(letter, "ticklabels") => join(tick_labels)) end elseif axis[:showaxis] - tick_labels = ispolar(sp) && letter == :x ? [ticks[2][3:end]..., "0", "45"] : ticks[2] + tick_labels = + ispolar(sp) && letter == :x ? [ticks[2][3:end]..., "0", "45"] : ticks[2] is_log_scale && (tick_labels = wrap_power_labels(tick_labels)) if axis[:formatter] in (:scientific, :auto) && tick_labels isa Vector{String} tick_labels = string.("\$", convert_sci_unicode.(tick_labels), "\$")