home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 215821510

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
215821510 MDU6SXNzdWUyMTU4MjE1MTA= 1315 Logarithmic colorbar ticks are jumbled 23484003 closed 0     1 2017-03-21T17:37:45Z 2017-03-21T17:46:00Z 2017-03-21T17:44:47Z NONE      

When I use LogNorm to get a logarithmic color scale for an xarray's self-plotting feature, the logarithmic ticks on the colorbar appear to be overplotted with a linear scale. If any of the data is out-of-range (ie, I set vmax & vmin) the problem only gets worse.

Here are my specs: Python 2.7.13 |Anaconda custom (64-bit) IPython 5.2.2 -- An enhanced Interactive Python. Using matplotlib backend: TkAgg Numpy: 1.11.3 Matplotlib: 2.0.0 xarray: 0.9.1

The code is: `import numpy from matplotlib.colors import LogNorm import xarray

data=numpy.random.random((10,12))*100.0+0.1 xr=xarray.DataArray(data,dims=['t','x']) xr.plot(norm=LogNorm())`

This is what it looks like:

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1315/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.612ms · About: xarray-datasette