Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add numpy logs to transformations #3731

Merged
merged 8 commits into from
May 25, 2019

Conversation

henriqueribeiro
Copy link
Contributor

As title states, this PR adds logs function to the available transformations

@philippjfr
Copy link
Member

One of the existing tests will need to be updated, otherwise this looks fine to me:

  File "/home/travis/build/pyviz/holoviews/holoviews/tests/util/testtransform.py", line 173, in test_ufunc_expression_repr
    self.assertEqual(repr(np.log(dim('float'))), "np.log(dim('float'))")
  File "/home/travis/build/pyviz/holoviews/holoviews/element/comparison.py", line 79, in assertEqual
    asserter(first, second)
  File "/home/travis/build/pyviz/holoviews/holoviews/element/comparison.py", line 56, in simple_equality
    raise cls.failureException(msg or standardMsg)
AssertionError: "dim('float').log()" != "np.log(dim('float'))"

@philippjfr
Copy link
Member

Thanks a lot for contributing!

@henriqueribeiro
Copy link
Contributor Author

Just fixed the test @philippjfr

@philippjfr philippjfr merged commit 145b6a1 into holoviz:master May 25, 2019
@jlstevens
Copy link
Contributor

Thanks for the PR @henriqueribeiro!

Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants