Skip to content

Commit

Permalink
Fixed flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 6, 2020
1 parent cb634cb commit 6221ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/util/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import numpy as np

from ..core.dimension import Dimension, dimension_name
from ..core.dimension import Dimension
from ..core.util import basestring, unique_iterator

def _maybe_map(numpy_fn):
Expand Down Expand Up @@ -486,7 +486,7 @@ def apply(self, dataset, flat=False, expanded=None, ranges={}, all_values=False,
for o in self.ops:
args = o['args']
fn = o['fn']
fn_name = self._numy_funcs.get(fn)
fn_name = self._numpy_funcs.get(fn)
if fn_name and hasattr(data, fn_name):
fn = fn_name
fn_args = [] if isinstance(fn, basestring) else [data]
Expand Down

0 comments on commit 6221ae6

Please sign in to comment.