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
Merged

Area element #427

merged 7 commits into from
Jan 29, 2016

Conversation

philippjfr
Copy link
Member

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
Copy link
Contributor

Looks good to merge as soon as the tests pass.

@jlstevens
Copy link
Contributor

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
@philippjfr philippjfr deleted the area_element branch January 29, 2016 03:55
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants