home / github / pull_requests

Menu
  • Search all tables
  • GraphQL API

pull_requests: 46483378

This data as json

id node_id number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone draft head base author_association auto_merge repo url merged_by
46483378 MDExOlB1bGxSZXF1ZXN0NDY0ODMzNzg= 598 closed 0 Fix colormap for facet grid plots 2443309 Fixes #592 Added test to check that all subplots in facet grid have same data range and colormap. This fixes two issues present in the existing code: 1) colormap was being selected for each subplot 2) range was being selected for each subplot and colorbar was the result of only the last subplot Some sample code: ``` Python data = (np.random.random(size=(20, 25, 12)) + np.linspace(-3, 3, 12)) # range is ~ -3 to 4 da = xray.DataArray(data, dims=['x', 'y', 'time'], name='data') fg = da.plot.pcolormesh(col='time', col_wrap=4) ``` previously yielded this plot: ![broken](https://cloud.githubusercontent.com/assets/2443309/10212715/f752a92e-67b7-11e5-8477-f5fc877fe716.png) and now yields this plot: ![fixed](https://cloud.githubusercontent.com/assets/2443309/10212716/000fe1f8-67b8-11e5-8265-7ce2a89f8fa4.png) 2015-10-01T04:15:04Z 2015-10-21T07:08:00Z 2015-10-01T17:10:31Z 2015-10-01T17:10:31Z e881473120221e89608c566f55f2aa4b9e013bf3   1307323 0 ca5b1cbd52ddc210bf2a016522213dbdec499c9e 1ec0e3592be5e9136824144809aa763499134ec7 MEMBER   13221727 https://github.com/pydata/xarray/pull/598  

Links from other tables

  • 2 rows from pull_requests_id in labels_pull_requests
Powered by Datasette · Queries took 0.914ms