Skip to content

Commit

Permalink
Change lineend to 'square'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Jul 6, 2024
1 parent 22a945b commit ee7fb01
Show file tree
Hide file tree
Showing 105 changed files with 300 additions and 299 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Made `mode_orientation` apply where no mode or theme set.
* In `set_blanket`, changed `theme` argument default to `theme_grey()`.
* For discrete colour scales, determined the number of colours based on the `after_stat` data.
* In `*_mode_*`, changed `lineend` to `"square"`.

# ggblanket 9.1.1

Expand Down
2 changes: 1 addition & 1 deletion R/flex_mode.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ flex_mode_base <- function(
theme <- ggplot2::theme(
text = ggplot2::element_text(size = base_size, family = base_family, face = "plain", colour = base_colour,
lineheight = 0.9, hjust = 0.5, vjust = 0.5, angle = 0, margin = ggplot2::margin(), debug = FALSE),
axis.line = ggplot2::element_line(colour = axis_line_colour, linewidth = axis_line_linewidth),
axis.line = ggplot2::element_line(colour = axis_line_colour, linewidth = axis_line_linewidth, lineend = "square"),
axis.line.x = NULL,
axis.line.x.bottom = NULL,
axis.line.x.top = NULL,
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-area.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-bar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-bin-2d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-blanket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-boxplot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-col.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-contour.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/article-demo-light/gg-crossbar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ee7fb01

Please sign in to comment.