Skip to content

Commit

Permalink
Remove ticks along y axis of interval plot
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Sep 12, 2024
1 parent 40e6c6a commit 824b472
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 33 deletions.
3 changes: 2 additions & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ plot.TimeIntervals <- function(x, calendar = getOption("aion.calendar"),
## Construct Axis
if (axes) {
year_axis(side = 1, format = TRUE, calendar = calendar)
graphics::axis(side = 2, at = seq_len(n), labels = names(int), las = 1)
graphics::axis(side = 2, at = seq_len(n), labels = names(int),
lty = 0, las = 1)
}

## Plot frame
Expand Down
16 changes: 0 additions & 16 deletions inst/tinytest/_tinysnapshot/plot_interval_CE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions inst/tinytest/_tinysnapshot/plot_interval_rd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-time-intervals-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 824b472

Please sign in to comment.