Skip to content

Commit

Permalink
tame long line
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Feb 23, 2024
1 parent 1875641 commit c1986e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/geom-path.R
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,10 @@ GeomStep <- ggproto("GeomStep", GeomPath,
lineend = "butt", linejoin = "round", linemitre = 10,
direction = "hv") {
data <- dapply(data, "group", stairstep, direction = direction)
GeomPath$draw_panel(data, panel_params, coord, lineend = lineend, linejoin = linejoin, linemitre = linemitre)
GeomPath$draw_panel(
data, panel_params, coord,
lineend = lineend, linejoin = linejoin, linemitre = linemitre
)
}
)

Expand Down

0 comments on commit c1986e2

Please sign in to comment.