home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 212989385

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/836#issuecomment-212989385 https://api.github.com/repos/pydata/xarray/issues/836 212989385 MDEyOklzc3VlQ29tbWVudDIxMjk4OTM4NQ== 2443309 2016-04-21T16:08:55Z 2016-04-21T16:08:55Z MEMBER

@hugo-pires -

xarray's plotting module does not have a bar chart method at this time (api ref). You can, of course, export your data array to a pandas series and use the pandas bar chart. Psudo code...

``` Python

fig, ax = plt.subplots(figsize=(9, 9)) rain_series = dsfanadia.rain.to_series() rain_series.plot.bar(ax=ax) ```

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