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: colouring based on scalar field #476

Open
lang-m opened this issue Sep 18, 2023 · 0 comments
Open

Hv: colouring based on scalar field #476

lang-m opened this issue Sep 18, 2023 · 0 comments

Comments

@lang-m
Copy link
Member

lang-m commented Sep 18, 2023

currently not implemented; was possible in an older version:

We can also pass a different scalar field for the colouring. Here we create a new scalar field (square of the y component of the original field).

# TODO
field.hv.vector(
    kdims=["x", "y"],
    cdim=field.y**2,
    cmap="plasma",
    clabel="our colour field",
)
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

1 participant