home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 634222648

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
634222648 MDU6SXNzdWU2MzQyMjI2NDg= 4129 FacetGrid colorbar horizontal orientation 31694629 closed 0     4 2020-06-08T06:23:53Z 2020-06-09T07:41:22Z 2020-06-09T07:41:21Z NONE      

When using Facetgrid with color orientation as horizontal, the map stretches and looks weird. The expected outcome should create extra space for the colorbar.

MCVE Code Sample

```python import xarray as xr

airtemps = xr.tutorial.open_dataset('air_temperature') air = airtemps['air'] t = air.isel(time=slice(0, 365 * 4, 250)) g_simple = t.plot(x='lon', y='lat', col='time', col_wrap=3, cbar_kwargs={'orientation': 'horizontal'}) ``` Output:

Expected Output

Problem Description

The current behavior of the changes the aspect ratio of the subplots. The addition of this feather will enable a better-looking plot and can be directly used for publishing.

Versions

Output of <tt>xr.show_versions()</tt>
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4129/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 79.528ms · About: xarray-datasette