home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 223628261

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/866#issuecomment-223628261 https://api.github.com/repos/pydata/xarray/issues/866 223628261 MDEyOklzc3VlQ29tbWVudDIyMzYyODI2MQ== 10050469 2016-06-03T16:34:26Z 2016-06-03T16:36:12Z MEMBER

Actually there are a couple of other things which are not OK with xarray's contour. For example:

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

x, y = np.meshgrid(np.arange(12), np.arange(12)) z = xr.DataArray(np.sqrt(x2 + y2))

kw = {'levels':[2, 4, 6, 8], 'colors':['k']} f, (ax1, ax2) = plt.subplots(1, 2, figsize=(6, 3)) z.plot.contour(ax=ax1, kw) ax2.contour(z.values, kw) plt.show() ```

I'll try to have a look at what's going on. @xarraydevs, do you agree that add_colorbar should default to false when contour is used?

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