holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

num_objects in annotators #234

Closed kcpevey closed 5 years ago

kcpevey commented 5 years ago

How would I set number of points in an annotator to be num_objects=1? Since that's specified in PolyDraw, I'm guessing it would either have to be exposed all the way up or I need to create my own annotator?

philippjfr commented 5 years ago

I'd suggest exposing that as a parameter on the annotators.

kcpevey commented 5 years ago

I was able to do this with my own annotator classes.

kcpevey commented 5 years ago

@philippjfr could add this to a PR

kcpevey commented 5 years ago

This is completed.