Skip to content

Commit

Permalink
Turned off x-axis minor breaks for all plots (for consistency) as HC …
Browse files Browse the repository at this point in the history
…major break causing multiple minor breaks in `ssd_plot()`
  • Loading branch information
joethorley committed Dec 11, 2024
1 parent e24cb92 commit daac36f
Show file tree
Hide file tree
Showing 43 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- For `ssd_plot()` function:
- Added `text_size` argument.
- Soft-deprecated `size` argument for `label_size`.
- Turned off x-axis minor breaks for all plots (for consistency) as HC major break causing multiple minor breaks in `ssd_plot()`.

# ssdtools 2.1.0

Expand Down
1 change: 1 addition & 0 deletions R/ssd-plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ plot_coord_scale <- function(data, xlab, ylab, trans, big.mark, suffix, xbreaks
coord_trans(x = trans),
scale_x_continuous(xlab,
breaks = xbreaks,
minor_breaks = NULL,
labels = ssd_label_fun,
limits = xlimits

Check warning on line 45 in R/ssd-plot.R

View check run for this annotation

Codecov / codecov/patch

R/ssd-plot.R#L43-L45

Added lines #L43 - L45 were not covered by tests
),
Expand Down
Binary file modified man/figures/README-unnamed-chunk-4-1.png
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-unnamed-chunk-8-1.png
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 paper/autoplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ affiliations:
name: Environmetrics Australia, Australia
- index: 6
name: Simon Fraser University, Canada
date: 10 December 2024
date: 11 December 2024
bibliography: paper.bib
tags:
- ssdtools
Expand Down
Binary file modified paper/ssd_plot.png
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 tests/testthat/_snaps/autoplot/autoplot.png
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 tests/testthat/_snaps/autoplot/autoplot_bigmark.png
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 tests/testthat/_snaps/autoplot/autoplot_new.png
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 tests/testthat/_snaps/autoplot/autoplot_rescale.png
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 tests/testthat/_snaps/autoplot/suffix.png
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 tests/testthat/_snaps/match-moments/cdf.png
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 tests/testthat/_snaps/plot-cdf/fits.png
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 tests/testthat/_snaps/plot-cdf/fits_average.png
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 tests/testthat/_snaps/plot-cdf/fits_average_na.png
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 tests/testthat/_snaps/plot-cdf/fits_bigmark.png
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 tests/testthat/_snaps/plot-cdf/fits_delta.png
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 tests/testthat/_snaps/plot-cdf/fits_rescale.png
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 tests/testthat/_snaps/plot-cdf/list.png
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 tests/testthat/_snaps/plot-cdf/suffix.png
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 tests/testthat/_snaps/plot-data/big_mark_comma.png
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 tests/testthat/_snaps/plot-data/big_mark_space.png
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 tests/testthat/_snaps/plot-data/ccme_boron.png
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 tests/testthat/_snaps/plot-data/ccme_boron2.png
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 tests/testthat/_snaps/plot-data/suffix.png
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 tests/testthat/_snaps/ssd-plot/boron_bigmark.png
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 tests/testthat/_snaps/ssd-plot/boron_breaks.png
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 tests/testthat/_snaps/ssd-plot/boron_color.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_hcdup.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_labelsize.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_limits.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_nohc.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_pred.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_pred_label.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_pred_shift_x.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_shape.png
Binary file modified tests/testthat/_snaps/ssd-plot/boron_textsize.png
Binary file modified tests/testthat/_snaps/ssd-plot/missing_order.png
Binary file modified tests/testthat/_snaps/ssd-plot/no_ribbon.png
Binary file modified tests/testthat/_snaps/ssd-plot/ribbon.png
Binary file modified tests/testthat/_snaps/ssd-plot/suffix.png
Binary file modified vignettes/small-sample-bias.pdf
Binary file not shown.

0 comments on commit daac36f

Please sign in to comment.