home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 165151235

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
165151235 MDU6SXNzdWUxNjUxNTEyMzU= 897 Allow specification of figsize in plot methods 296686 closed 0     1 2016-07-12T18:45:26Z 2016-12-18T22:43:19Z 2016-12-18T22:43:19Z CONTRIBUTOR      

Pandas allows a call to plot like:

python df.plot(x='var1', y='var2', figsize=(10, 6))

but this doesn't seem to be possible in xarray - but it would be handy if it were.

It looks like fixing this would require modifying the @_plot2d decorator, specifically around https://github.com/pydata/xarray/blob/master/xarray/plot/plot.py#L376 (although I can't seem to find how to do the equivalent of gca() but set a figsize too).

Any thoughts or ideas?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/897/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.564ms · About: xarray-datasette