Skip to content

Commit caa2b9b

Browse files
committed
format again
1 parent 2384219 commit caa2b9b

File tree

5 files changed

+8
-14
lines changed

5 files changed

+8
-14
lines changed

GraphRecipes/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using Graphs
1313
using Test
1414
using Gtk # for popup
1515

16-
import GR;
16+
import GR
1717
gr()
1818

1919
isci() = get(ENV, "CI", "false") == "true"

PlotThemes/src/PlotThemes.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ PlotTheme(base::PlotTheme; kw...) = PlotTheme(KW(base.defaults..., KW(kw)...))
2727
"Get the palette of a PlotTheme"
2828
theme_palette(s::Symbol) =
2929
if haskey(_themes, s) && haskey(_themes[s].defaults, :palette)
30-
return _themes[s].defaults[:palette]
30+
_themes[s].defaults[:palette]
3131
else
32-
return palette(:default)
32+
palette(:default)
3333
end
3434

3535
# add themes
@@ -74,4 +74,4 @@ const _themes = Dict{Symbol,PlotTheme}([
7474

7575
add_theme(s::Symbol, thm::PlotTheme) = _themes[s] = thm
7676

77-
end # module
77+
end # module

PlotsBase/ext/GRExt.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,13 +2035,7 @@ function gr_draw_segments(series, x, y, z, fillrange, clims)
20352035
arrowside, arrowstyle, arrowsize =
20362036
arrow.side, arrow.style, (arrow.headlength+arrow.headwidth)/2
20372037

2038-
gr_polyline(
2039-
x[rng],
2040-
y[rng];
2041-
arrowside = arrowside,
2042-
arrowstyle = arrowstyle,
2043-
arrowsize = arrowsize,
2044-
)
2038+
gr_polyline(x[rng], y[rng]; arrowside, arrowstyle, arrowsize)
20452039
end
20462040
end
20472041
end

PlotsBase/ext/UnitfulExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ function PlotsBase.locate_annotation(
331331
) where {N}
332332
units = getaxisunit(sp.attr[:xaxis], sp.attr[:yaxis], sp.attr[:zaxis])
333333
PlotsBase.locate_annotation(sp, _ustrip.(zip(units, rel)), label)
334-
end#==================##==================#
334+
end
335335

336-
# ticks and limits #
336+
# ticks and limits
337337

338338
PlotsBase._transform_ticks(ticks::AbstractArray{T}, axis) where {T<:Quantity} =
339339
_ustrip.(getaxisunit(axis), ticks)

StatsPlots/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using PlotsBase
77
using NaNMath
88
using Test
99

10-
import GR;
10+
import GR
1111
gr()
1212

1313
@testset "Grouped histogram" begin

0 commit comments

Comments
 (0)