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/4288#issuecomment-666485140,https://api.github.com/repos/pydata/xarray/issues/4288,666485140,MDEyOklzc3VlQ29tbWVudDY2NjQ4NTE0MA==,2448579,2020-07-30T15:57:20Z,2020-07-30T15:57:20Z,MEMBER,"I think we can add `hue` and faceting (`row`, `col`) support to `hist`. I am surprised `step` doesn't support `hue` already since iot sets a few kwargs before calling `line`. Here's the error for `step` with `hue`. I think we can safely call this a bug. ``` ~/python/xarray/xarray/plot/plot.py in step(self, *args, **kwargs) 461 @functools.wraps(step) 462 def step(self, *args, **kwargs): --> 463 return step(self._da, *args, **kwargs) 464 465 ~/python/xarray/xarray/plot/plot.py in step(darray, where, drawstyle, ds, *args, **kwargs) 369 drawstyle = ""steps-"" + where + drawstyle 370 --> 371 return line(darray, *args, drawstyle=drawstyle, **kwargs) 372 373 ~/python/xarray/xarray/plot/plot.py in line(darray, row, col, figsize, aspect, size, ax, hue, x, y, xincrease, yincrease, xscale, yscale, xticks, yticks, xlim, ylim, add_legend, _labels, *args, **kwargs) 297 # Remove pd.Intervals if contained in xplt.values and/or yplt.values. 298 xplt_val, yplt_val, xlabel, ylabel, kwargs = _resolve_intervals_1dplot( --> 299 xplt.values, yplt.values, xlabel, ylabel, kwargs 300 ) 301 ~/python/xarray/xarray/plot/utils.py in _resolve_intervals_1dplot(xval, yval, xlabel, ylabel, kwargs) 509 510 # Convert intervals to double points --> 511 if _valid_other_type(np.array([xval, yval]), [pd.Interval]): 512 raise TypeError(""Can't step plot intervals against intervals."") 513 if _valid_other_type(xval, [pd.Interval]): ValueError: could not broadcast input array from shape (100,7) into shape (100) ``` @jaicher PRs to fix these are very welcome!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,668256331