home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 488190500

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
488190500 MDU6SXNzdWU0ODgxOTA1MDA= 3275 Change the label size and tick label size of colorbar 30388627 closed 0     10 2019-09-02T13:27:32Z 2021-11-17T19:38:25Z 2019-09-02T13:36:18Z NONE      

MCVE Code Sample

```python

Your code here

import xarray as xr

airtemps = xr.tutorial.open_dataset('air_temperature') air = airtemps.air - 273.15 air2d = air.isel(time=500) air2d.plot.pcolormesh(add_colorbar=True, add_labels=True, cbar_kwargs=dict(orientation='horizontal', pad=0.15, shrink=1, label='Temperature ($^{\circ}$C)')) ```

Expected Output

Problem Description

Is it possible to change the label size and ticks label size of colorbar? size and labelsize don't work in cbar_kwargs.

Output of xr.show_versions()

# Paste the output here xr.show_versions() here INSTALLED VERSIONS ------------------ commit: None python: 3.6.7 (default, Feb 28 2019, 07:28:18) [MSC v.1900 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 158 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None libhdf5: 1.10.4 libnetcdf: 4.6.2 xarray: 0.12.1 pandas: 0.24.2 numpy: 1.16.3 scipy: 1.2.1 netCDF4: 1.5.1.1 pydap: None h5netcdf: None h5py: 2.9.0 Nio: None zarr: None cftime: 1.0.3.4 nc_time_axis: None PseudonetCDF: None rasterio: 1.0.22 cfgrib: None iris: None bottleneck: None dask: 1.2.0 distributed: 1.27.1 matplotlib: 3.1.1 cartopy: 0.17.0 seaborn: None setuptools: 41.0.1 pip: 19.1 conda: None pytest: None IPython: 7.6.1 sphinx: None
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/3275/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

  • 1 row from issues_id in issues_labels
  • 10 rows from issue in issue_comments
Powered by Datasette · Queries took 0.495ms · About: xarray-datasette