Skip to content

Commit

Permalink
Merge pull request #1 from lindsaycarr/ldecicco-USGS-configBranch
Browse files Browse the repository at this point in the history
par(xpd=TRUE) was in the wrong place
  • Loading branch information
ldecicco-USGS authored Aug 19, 2016
2 parents bbfc10f + 51123dd commit 20c9a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/legend.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ draw_legend <- function(gsplot) {

for (legend.name in names(gsplot[['legend']])) {

par(xpd=TRUE)

legend <- gsplot[['legend']][[legend.name]]
if (legend$draw) {
par(xpd=TRUE)

legend <- appendLegendColumnInfo(legend)
legend <- appendLegendPositionConfiguration(legend)
# set required legend argument to NA if not exists
Expand Down

0 comments on commit 20c9a11

Please sign in to comment.