ggplot2
                                
                                 ggplot2 copied to clipboard
                                
                                    ggplot2 copied to clipboard
                            
                            
                            
                        POC: Standardise `width` calculation
This PR aims to fix #2800.
Briefly; it adds a helper function to standardise computing widths and applies it to several geoms that compute it.
There are several problems with the current situation;
- Some geoms have widthas an aesthetic, some havewidthas a parameter.
- The Geom$default_aes$widthis a 'dummy' default which was never actually used.
Respecitvely, this PR solves these thus:
- All widthis implemented as aesthetic.
- The Geom$default_aes$widthis used as a multiplier after calculating the data resolution. It replaces hardcoded defaults.
As a caveat; I didn't treat GeomErrorbarh in this PR, but that is because I think it should be deprecated (#5961). For this reason I still treat this as POC.