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 a Barbs element #133

Closed
philippjfr opened this issue Feb 6, 2018 · 4 comments · Fixed by #651
Closed

Add a Barbs element #133

philippjfr opened this issue Feb 6, 2018 · 4 comments · Fixed by #651

Comments

@philippjfr
Copy link
Member

philippjfr commented Feb 6, 2018

Since we have a VectorField element now it would be nice if we had a similar Barbs element. Cartopy and matplotlib already support drawing barbs and it shouldn't be too difficult to draw barbs using bokeh too.

Here's what barbs look like in cartopy:

image

@jbednar
Copy link
Member

jbednar commented Feb 6, 2018

Sounds good. For clarity, it would be helpful to paste a screenshot or link to another plotting program's barb glyphs to show what functionality would be expected, more concretely.

@acrosby
Copy link

acrosby commented Jul 25, 2019

I am interested in visualizing points with barbs in addition to the vector field example above.

What might be involved in, or where to start, getting an implementation equivalent to MPL's (https://matplotlib.org/api/_as_gen/matplotlib.pyplot.barbs.html#matplotlib.pyplot.barbs) over to bokeh/geoviews?

Here's MPL's barb demo (https://matplotlib.org/gallery/images_contours_and_fields/barb_demo.html#sphx-glr-gallery-images-contours-and-fields-barb-demo-py):

@jbednar
Copy link
Member

jbednar commented Jul 25, 2019

I've been wondering when someone would start asking for this! :-)

@dwr-psandhu
Copy link
Contributor

@jbednar Given mpl's implementation of barbs doesn't this issue belong to holoviews? I read the previous discussion that closed holoviz/holoviews#3901 based on cartopy's implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants