issues: 1159961396
This data as json
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1159961396 | PR_kwDOAMm_X84z-K39 | 6330 | In documentation on adding a new backend, add missing import and tweak headings | 38358698 | closed | 0 | 0 | 2022-03-04T19:13:30Z | 2022-03-07T14:17:29Z | 2022-03-07T13:13:50Z | CONTRIBUTOR | 0 | pydata/xarray/pulls/6330 | Adding the import resolves the following exception that sphinx-build raises when one builds only "doc/internals/how-to-add-new-backend.rst": ``` NameError Traceback (most recent call last) Input In [1], in <module> ----> 1 var = xr.Variable( 2 dims=("x",), data=np.arange(10.0), attrs={"scale_factor": 10, "add_offset": 2} 3 ) NameError: name 'xr' is not defined ``` While in the file, I revised headings to have only their first letter capitalized (except for case-sensitive code), which seems to be the majority convention in the documentation. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/6330/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |