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

Hv's example run results in error #222

Open
OdysseySeven777 opened this issue Nov 28, 2022 · 0 comments
Open

Hv's example run results in error #222

OdysseySeven777 opened this issue Nov 28, 2022 · 0 comments
Assignees

Comments

@OdysseySeven777
Copy link

OdysseySeven777 commented Nov 28, 2022

https://ubermag.github.io/api/_autosummary/discretisedfield.plotting.Hv.html
The example on the website has a running error:

import discretisedfield as df
p1 = (0, 0, 0)
p2 = (100, 100, 100)
n = (10, 10, 10)
mesh = df.Mesh(p1=p1, p2=p2, n=n)
field = df.Field(mesh, dim=1, value=2)
field.hv.contour(kdims=['y', 'z'])

The result after running is:
15
All other examples work fine.

@lang-m lang-m self-assigned this Jan 10, 2023
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

No branches or pull requests

2 participants