home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 447268579

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
447268579 MDU6SXNzdWU0NDcyNjg1Nzk= 2981 Plot title using loc keyword doesn't override automated title 15331990 closed 0     2 2019-05-22T17:56:17Z 2019-05-22T18:34:03Z 2019-05-22T18:34:03Z CONTRIBUTOR      

```python import xarray as xr import matplotlib.pyplot as plt

ds = xr.tutorial.open_dataset('air_temperature')['air'].isel(time=0) ```

This works as expected python ax = plt.axes() ds.plot(x='lon', y='lat', ax=ax) ax.set_title('new_title')

This doesn't ax = plt.axes() ds.plot(x='lon', y='lat', ax=ax) ax.set_title('new_title', loc='left')

With non-default loc, the old title still shows

xarray: 0.12.1 pandas: 0.23.4 numpy: 1.15.1 scipy: 1.1.0 netCDF4: 1.4.0 pydap: None h5netcdf: 0.6.1 h5py: 2.9.0 Nio: None zarr: None cftime: 1.0.0 nc_time_axis: None PseudonetCDF: None rasterio: 1.0.1 cfgrib: None iris: None bottleneck: 1.2.1 dask: 1.1.1 distributed: 1.25.3 matplotlib: 3.1.0 cartopy: 0.17.0 seaborn: 0.8.1 setuptools: 39.1.0 pip: 19.0.1 conda: 4.6.14 pytest: 3.5.1 IPython: 6.4.0 sphinx: 1.7.4
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2981/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
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 1.45ms · About: xarray-datasette