Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Sep 2, 2022
1 parent 845a759 commit 89b2782
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: ggblanket
Title: Wrappers to Simplify 'ggplot2' Visualisation
Title: Simplify 'ggplot2' Visualisation
Version: 1.4.0
Authors@R:
person("David", "Hodge", email = "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-3868-7501"))
Description: Simplify visualisation with 'ggplot2' wrapper functions.
Description: Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions.
License: MIT + file LICENSE
URL: https://davidhodge931.github.io/ggblanket/,
https://github.com/davidhodge931/ggblanket/
Expand Down
17 changes: 9 additions & 8 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# ggblanket 1.3.9000
# ggblanket 1.4.0

* Breaking: Removed `col_intervals` argument.
* Breaking: Removed `*_oob` argument.
* Breaking: In gg_theme, changed `*_style` arguments to `*_face`.
* Breaking: In gg_theme, changed `font` arguments to `family`.
* Breaking: In `gg_theme`, changed `*_style` arguments to `*_face`.
* Breaking: In `gg_theme`, changed `font` arguments to `family`.
* Added `gg_polygon` function.
* Added `col_continuous` argument to support colouring by "steps".
* Added `col_legend_rev` argument to reverse legends.
* Added `gg_polygon` function.
* Added `facet_space` and `facet_layout` arguments to support proportional facet panels.
* Added `facet_layout` argument for more faceting flexibility.
* Added `facet_space` argument to support proportional facet panels.
* Removed `width` default.
* Improved default legend look for where continuous gradient.
* Improved scales where `y` is NULL and plot is horizontal.
Expand All @@ -22,10 +23,10 @@
* Added `facet2` aesthetic in to support effortless grid facetting.
* Changed default background theme colours.
* Fixed bug with `*_limits` and `*_include` not working correctly.
* Added *_sec_axis arguments.
* Changed *_oob default to `scales::oob_keep`.
* Added `*_sec_axis` arguments.
* Changed `*_oob` default to `scales::oob_keep`.
* Removed reversal of logical variable order.
* Defaulted col_legend_place to bottom.
* Defaulted `col_legend_place` to `"b"`.

# ggblanket 1.2.0

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ knitr::opts_chunk$set(

ggblanket is a package of wrapper functions around the fantastic ggplot2 package.

The primary objective is to **simplify visualisation**.
The primary objective is to **simplify ggplot2 visualisation**.

Secondary objectives relate to:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ downloads](https://cranlogs.r-pkg.org/badges/last-day/ggblanket?color=lightgrey)
ggblanket is a package of wrapper functions around the fantastic ggplot2
package.

The primary objective is to **simplify visualisation**.
The primary objective is to **simplify ggplot2 visualisation**.

Secondary objectives relate to:

Expand Down
4 changes: 2 additions & 2 deletions man/ggblanket-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vignettes/ggblanket.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ knitr::opts_chunk$set(

ggblanket is a package of wrapper functions around the fantastic ggplot2 package.

The primary objective is to **simplify visualisation**.
The primary objective is to **simplify ggplot2 visualisation**.

Secondary objectives relate to:

Expand All @@ -44,9 +44,9 @@ library(palmerpenguins)

## How it works

To simplify visualisation, the ggblanket package provides:
To simplify ggplot2 visualisation, the ggblanket package provides:

* `gg_*` functions to plot a single geom
* `gg_*` wrapper functions to plot a single geom
* col and fill aesthetics merged into a single `col` argument
* Colours customised via a `pal` argument consistently
* A `facet` argument to facet in a "wrap" or "grid" layout
Expand All @@ -61,7 +61,7 @@ To simplify visualisation, the ggblanket package provides:
* A way to easily create your own customised plot functions
* Control over `plotly::ggplotly` tooltips with `add_tooltip_text`

### 1. `gg_*` functions to plot a single geom
### 1. `gg_*` wrapper functions to plot a single geom

These `gg_*`functions each wrap a ggplot2 `ggplot(aes(...))` function with the applicable ggplot2 `geom_*()` function.

Expand Down

0 comments on commit 89b2782

Please sign in to comment.