Correct Track Ratios helps ensure that ggplot objects are plotted with 1:1 unit ratio.
Without this function, plots have different x & y ratios and the tracks come out misshapen.
This is particularly evident at long tracks like Saudi Arabia or Canada.
Note that this leaves the plot object on a dark background, any plot borders will be maintained
Usage
correct_track_ratio(trackplot, x = "x", y = "y", background = "grey10")
A GGPlot object, ideally showing a track layout for ratio correction
x, y
Names of columns in the original data used for the plot's x and y values.
Defaults to 'x' and 'y'
background
Background colour to use for filling out the plot edges. Defaults to
"grey10" which is the default background colour if you use theme_dark_f1()
to theme your plots.