issues: 523027553
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
523027553 | MDU6SXNzdWU1MjMwMjc1NTM= | 3534 | Label row and column titles with units | 6815953 | open | 0 | 3 | 2019-11-14T18:23:25Z | 2019-11-17T17:46:12Z | NONE | According to this plotting example, xlabels and ylabels are labeled with units. However, row labels and column labels omit the units. MCVE Code Sample
Expected OutputShould Problem DescriptionIt could be solved with the following included in plot/facetgrid.py#L486:
```python
if self.data[self._row_var].attrs.get('units'):
units = self.data[self._row_var].attrs['units'] title = nicetitle(coord=self._row_var, value=row_name, \
maxchar=maxchar, template = template, units = unit
title = nicetitle(coord=self._col_var, value=col_name, \
maxchar=maxchar, template = template, units = units)
``` Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3534/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |