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

Area element #427

Merged
merged 7 commits into from Jan 29, 2016

Conversation

Projects
None yet
2 participants
@philippjfr
Copy link
Contributor

philippjfr commented Jan 29, 2016

Adds the new Area Element, which allows drawing the area under a curve:

xs = np.linspace(0, np.pi*4, 40)
hv.Area((xs, np.sin(xs)))

image

and between curves:

X  = np.linspace(0,3,200)
Y = X**2 + 3
Y2 = np.exp(X) + 2
Y3 = np.cos(X)
hv.Area((X, Y, Y2), vdims=['y', 'y2']) * hv.Area((X, Y, Y3), vdims=['y', 'y3'])

image

@jlstevens

This comment has been minimized.

Copy link
Contributor

jlstevens commented Jan 29, 2016

Looks good to merge as soon as the tests pass.

@jlstevens

This comment has been minimized.

Copy link
Contributor

jlstevens commented Jan 29, 2016

All the tests are passing now. Merging.

jlstevens added a commit that referenced this pull request Jan 29, 2016

@jlstevens jlstevens merged commit cb26870 into master Jan 29, 2016

3 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.02%) to 69.757%
Details

@philippjfr philippjfr deleted the area_element branch Jan 29, 2016

@philippjfr philippjfr added this to the v1.4.2 milestone Feb 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.