Skip to content

Commit

Permalink
Merge pull request #65 from ropensci/gg
Browse files Browse the repository at this point in the history
Fix ggplot2 errors for #62
  • Loading branch information
mpadge authored Jun 26, 2024
2 parents d480f42 + 78a6c0a commit 7de768d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: osmplotr
Title: Bespoke Images of 'OpenStreetMap' Data
Version: 0.3.5.003
Version: 0.3.5.004
Authors@R:
c(person(given = "Mark",
family = "Padgham",
Expand Down
4 changes: 2 additions & 2 deletions R/osm-basemap.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ osm_basemap <- function (bbox, structures, bg = "gray20") {
ylim = range (bbox [2, ])
) +
ggplot2::aes (x = lon, y = lat) +
ggplot2::scale_x_continuous (expand = c (0, 0)) +
ggplot2::scale_y_continuous (expand = c (0, 0))
ggplot2::scale_x_discrete (expand = c (0, 0)) +
ggplot2::scale_y_discrete (expand = c (0, 0))

return (map)
}
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "/~https://github.com/ropensci/osmplotr",
"issueTracker": "/~https://github.com/ropensci/osmplotr/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.3.5.003",
"version": "0.3.5.004",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 7de768d

Please sign in to comment.