Skip to content

Commit

Permalink
small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
emolinab committed Jan 22, 2024
1 parent 2b50b0c commit b23579b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '70723008'
ValidationKey: '70742752'
AutocreateReadme: yes
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'luplot: Landuse Plot Library'
version: 3.58.2
version: 3.58.3
date-released: '2024-01-22'
abstract: Some useful functions to plot data such as a map plot function for MAgPIE
objects.
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: luplot
Title: Landuse Plot Library
Version: 3.58.2
Version: 3.58.3
Date: 2024-01-22
Authors@R: c(
person("Benjamin Leon", "Bodirsky", , "[email protected]", role = c("aut", "cre")),
Expand Down
4 changes: 2 additions & 2 deletions R/plotCorrHist2D.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ plotCorrHist2D <- function(x, y, title = NULL, xlab = "x", ylab = "y", bins = 40
limMin <- min(min(data[, valueX]), min(data[, valueY]))
limMax <- max(max(data[, valueX]), max(data[, valueY]))

limx1 <- if(is.null (limx)) c(limMin - limMax / 7, limMax + limMax / 7) else limx
limy1 <- if (is.null(limy)) c(limMin - limMax / 7, limMax + limMax / 7) else limy
limx1 <- if(is.null (limx)) c(limMin , limMax + limMax / 7) else limx
limy1 <- if (is.null(limy)) c(limMin , limMax + limMax / 7) else limy

labelX <- limx1[2] - limx1[2] / 8
labelY <- limMin + limMax / 4
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Landuse Plot Library

R package **luplot**, version **3.58.2**
R package **luplot**, version **3.58.3**

[![CRAN status](https://www.r-pkg.org/badges/version/luplot)](https://cran.r-project.org/package=luplot) [![R build status](https://github.com/pik-piam/luplot/workflows/check/badge.svg)](https://github.com/pik-piam/luplot/actions) [![codecov](https://codecov.io/gh/pik-piam/luplot/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/luplot) [![r-universe](https://pik-piam.r-universe.dev/badges/luplot)](https://pik-piam.r-universe.dev/builds)

Expand Down Expand Up @@ -39,7 +39,7 @@ In case of questions / problems please contact Benjamin Bodirsky <bodirsky@pik-p

To cite package **luplot** in publications use:

Bodirsky B, Dietrich J, Krause M, Stevanovic M, Humpenoeder F, Weindl I, Baumstark L, Klein D, Rolinski S, Wang X (2024). _luplot: Landuse Plot Library_. R package version 3.58.2, <URL: https://github.com/pik-piam/luplot>.
Bodirsky B, Dietrich J, Krause M, Stevanovic M, Humpenoeder F, Weindl I, Baumstark L, Klein D, Rolinski S, Wang X (2024). _luplot: Landuse Plot Library_. R package version 3.58.3, <URL: https://github.com/pik-piam/luplot>.

A BibTeX entry for LaTeX users is

Expand All @@ -48,7 +48,7 @@ A BibTeX entry for LaTeX users is
title = {luplot: Landuse Plot Library},
author = {Benjamin Leon Bodirsky and Jan Philipp Dietrich and Michael Krause and Miodrag Stevanovic and Florian Humpenoeder and Isabelle Weindl and Lavinia Baumstark and David Klein and Susanne Rolinski and Xiaoxi Wang},
year = {2024},
note = {R package version 3.58.2},
note = {R package version 3.58.3},
url = {https://github.com/pik-piam/luplot},
}
```

0 comments on commit b23579b

Please sign in to comment.