mijowild / fieldcycling

0 stars 1 forks source link

Helpful Info #9

Open harrispilton opened 7 years ago

harrispilton commented 7 years ago

I have been looking for a way to find properties of a "model" like RangeSlider. It turns out somebody in the google group had the same problem. The solution is very cool. Just in case I drop what somebody wrote :=)

There are many models, each with many properties. It's certainly difficult for me to eyeball any differences, so I usually ask python directly:

    In [4]: set(dir(RangeSlider)) - set(dir(Slider))
    Out[4]: {'range'}

The reference documentation is also probably the best source for answering questions about properties on Bokeh models:

    http://bokeh.pydata.org/en/latest/docs/reference/