eliocamp / metR

Tools for Easier Analysis of Meteorological Fields
https://eliocamp.github.io/metR/
139 stars 22 forks source link

Wrong default for expand in latitude and longitude scales #167

Closed tamas-ferenci closed 1 year ago

tamas-ferenci commented 1 year ago

The expand parameter for the latitude and longitude scales (e.g., scale_x_longitude) is said to have a default "to expand the scale by 5% on each side for continuous variables, and by 0.6 units on each side for discrete variables". However, in reality, it is set to a zero expansion by default.

eliocamp commented 1 year ago

Ah, yes. This is because I blindly import the documentation from ggplot2. Nice catch.