Skip to content

Commit

Permalink
Changed default interpolate and colorize method to eq_hist
Browse files Browse the repository at this point in the history
  • Loading branch information
jbednar committed Mar 30, 2016
1 parent a55302f commit 0a640e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datashader/transfer_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _normalize_interpolate_how(how):
raise ValueError("Unknown interpolation method: {0}".format(how))


def interpolate(agg, low=None, high=None, cmap=None, how='cbrt'):
def interpolate(agg, low=None, high=None, cmap=None, how='eq_hist'):
"""Convert a 2D DataArray to an image.
Data is converted to an image either by interpolating between a `low` and
Expand Down Expand Up @@ -182,7 +182,7 @@ def interpolate(agg, low=None, high=None, cmap=None, how='cbrt'):
return Image(img, coords=agg.coords, dims=agg.dims)


def colorize(agg, color_key, how='cbrt', min_alpha=20):
def colorize(agg, color_key, how='eq_hist', min_alpha=20):
"""Color a CategoricalAggregate by field.
Parameters
Expand Down

0 comments on commit 0a640e9

Please sign in to comment.