home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 640716432

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/4129#issuecomment-640716432 https://api.github.com/repos/pydata/xarray/issues/4129 640716432 MDEyOklzc3VlQ29tbWVudDY0MDcxNjQzMg== 31694629 2020-06-08T15:53:58Z 2020-06-08T15:53:58Z NONE

``` import xarray as xr import matplotlib.pyplot as plt 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, add_colorbar=False)

mappable = g_simple.axes[0][0].collections[0] cax = plt.axes([0.05, -0.04, 0.95, 0.04]) cbar1 = plt.colorbar(mappable, cax=cax, orientation='horizontal') ``` here the colobar is plotted using only first plots values.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  634222648
Powered by Datasette · Queries took 0.639ms · About: xarray-datasette