id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 619327957,MDExOlB1bGxSZXF1ZXN0NDE4ODc5MTU3,4067,make text wrap width an argument in label_from_attrs,20617032,closed,0,,,4,2020-05-15T23:44:09Z,2023-03-26T20:06:29Z,2023-03-26T20:06:28Z,NONE,,0,pydata/xarray/pulls/4067,"label_from_attrs used textwrap.wrap with a default wrap width of 30, this commit changes label_from_attrs to instead take an argument wrap_width that specifies the wrap width. context: I find the label_from_attrs function useful for plots that I make using pyplot, but needed to change the text wrap with. I am new to contributing to projects like this so bear with me. I only had the mypy and flake8 linters and figured that was good enough for a minor change like this. And I didn't see label_from_attrs in the api document so just added a line to whats-new.rst - [x] Passes mypy . && flake8` - [x] Fully documented, including `whats-new.rst` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/4067/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull