home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

2 rows where repo = 13221727, type = "issue" and user = 31694629 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date), closed_at (date)

type 1

  • issue · 2 ✖

state 1

  • closed 2

repo 1

  • xarray · 2 ✖
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 pratiman-91 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 xarray 13221727 issue
634212258 MDU6SXNzdWU2MzQyMTIyNTg= 4128 Add text in FacetGrid subplots pratiman-91 31694629 closed 0     2 2020-06-08T06:13:23Z 2020-06-08T15:55:01Z 2020-06-08T15:55:00Z NONE      

Adding subplots numbers in the FacetGrid subplots. This will help in the easy generation of scientific publication quality figures.

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)

adding sub plot number

string = ['a','b','c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l'] for i, ax in enumerate(g_simple.axes.flatten()): ax.text(0.85, 0.85,'(' + string[i] +')',transform=ax.transAxes, bbox=dict(boxstyle="square", fc="w", ec="k"))

```

Expected Output

Problem Description

Currently, there is no argument that can enable the subplot numbers in the FacetGrid subplot. In the case of scientific publications, subplots need to be numbered. The addition of this feature will enable the easy generation of good quality figures.

Versions

Output of <tt>xr.show_versions()</tt> INSTALLED VERSIONS ------------------ commit: None python: 3.7.7 (default, May 6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 166 Stepping 0, GenuineIntel byteorder: little LC_ALL: None LANG: en LOCALE: None.None libhdf5: 1.10.4 libnetcdf: 4.7.3 xarray: 0.15.1 pandas: 1.0.3 numpy: 1.18.1 scipy: 1.4.1 netCDF4: 1.5.3 pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.1.2 nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: 2.16.0 distributed: 2.16.0 matplotlib: 3.1.3 cartopy: 0.17.0 seaborn: 0.10.1 numbagg: None setuptools: 46.2.0.post20200511 pip: 20.0.2 conda: 4.8.3 pytest: None IPython: 7.13.0 sphinx: 3.0.3
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4128/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [active_lock_reason] TEXT,
   [draft] INTEGER,
   [pull_request] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [state_reason] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
);
CREATE INDEX [idx_issues_repo]
    ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
    ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
    ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
    ON [issues] ([user]);
Powered by Datasette · Queries took 72.085ms · About: xarray-datasette