1/1/2024 0 Comments Define bokeh![]() No uniqueness guarantees or other conditions are enforced on any tags This name can be useful when querying the document to retrieve specific Units to use for the associated property: deg, rad, grad or turn name = None ¶ Type The angles to rotate the text, as measured from the horizontal. Run callbacks when the specified event occurs on this Model Inherited from : py: class: EventCallbackManager Inherited from : py: class: Propert圜allbackManager Remove any themed values and restore defaults. Query the properties values of HasProps instances with a predicate.Īpply a set of theme values which will be used rather than defaults, but will not override application-set values. Updates the object's properties from a JSON attributes dictionary.įind the PropertyDescriptor for a Bokeh property on a class, given the property name.Ĭollect the names of properties on this class.Ĭollect the names of all properties on this class that also have references.Ĭollect the names of all DataSpec properties on this class.Ĭollect a dict mapping property names to their values. Updates the object's properties from the given keyword arguments. Set a property value on this object from JSON. Intercept attribute setting on HasProps in order to special case a few situations: Returns a JSON string encoding the attributes of this object. Returns a dictionary of the attributes of this object, containing only "JSON types" (string, number, boolean, none, dict, list). Update objects that match a given selector with the specified attribute/value updates. Query this object and all of its references for objects that match the given selector. Returns all Models that this object has references to. Link two Bokeh model properties using JavaScript.Īttach a CustomJS callback to an arbitrary BokehJS model event.Īdd a callback on this object to trigger when attr changes. This method is called when a class is subclassed.Ĭlean up references to the document and property Generate Python Parameter values suitable for functions that are derived from the glyph. Public Methods: Inherited from : py: class: Glyph The Document this model is attached to (can be None) Inherited from : py: class: HasDocumentRef Indicates whether this model should be synchronized back to a Bokeh server when updated in a web browser. List of events that are subscribed to by Python callbacks.Ī mapping of attribute names to lists of CustomJS callbacks, to be set up on BokehJS side when the document is created. a dict of the form.Īn arbitrary, user-supplied name for this model.Īn optional list of arbitrary, user-supplied values to attach to this model.Ī mapping of event names to lists of CustomJS callbacks. The text line height values for the text.Ī Bokeh protocol "structure" of this model, i.e. Offset values to apply to the y-coordinates. Offset values to apply to the x-coordinates. Units to use for the associated property: deg, rad, grad or turn The y-coordinates to locate the text anchors. The x-coordinates to locate the text anchors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |