Mar-scal / Assessment_fns

SKY version - SABHU TEAM: Please fork this repo if planning to work on it from network directory. NO EDITS OR BRANCHES ALLOWED!
GNU General Public License v3.0
2 stars 6 forks source link

pecjector "expand" issue #109

Open freyakeyser opened 2 years ago

freyakeyser commented 2 years ago

There is an issue with pecjector where there is an unnecessary/undesirable space between the sf bounding box and the ggplot plotting panel. Dave tried to fix it but there may still be issues, especially when a user-defined area is plotted. In the meantime, users can sometimes manually fix the pecjector output by adding coord_sf(expand=F) and adjusting scale limits via scale_x_continuous and scale_y_continuous on their final plot, or by adjusting the user-defined area coordinates and re-trying.

Example: p + coord_sf(expand=F) + scale_x_continuous(limits=c(xmin, xmax)) + scale_y_continuous(limits=c(ymin, ymax))

Dave-Keith commented 2 years ago

I think we can close this now?