home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 127164584

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/pull/509#issuecomment-127164584 https://api.github.com/repos/pydata/xarray/issues/509 127164584 MDEyOklzc3VlQ29tbWVudDEyNzE2NDU4NA== 1217238 2015-08-03T08:39:18Z 2015-08-03T08:39:18Z MEMBER

Looking at the matplotlib source code, here's how they figure out levels in contour/contourf: https://github.com/matplotlib/matplotlib/blob/714d18788320325d0bff75184f62d472f67ceb91/lib/matplotlib/contour.py#L1143

It looks like they use MaxNLocator to do this: http://matplotlib.org/api/ticker_api.html#matplotlib.ticker.MaxNLocator

It should be pretty straightforward to use that here.

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