Define bokeh1/25/2024 the width of the actual plot, without toolbars etc. This is the exact width of the plotting canvas, i.e. The height of a plot frame or the inner height of a plot, excluding any axes, titles, border padding, etc. The width of a plot frame or the inner width of a plot, excluding any axes, titles, border padding, etc. This is a compatibility alias for the height property This is a compatibility alias for the width property Stick the toolbar to the edge of the plot.Ī list of renderers to occupy the area to the left of the plot.Ī list of renderers to occupy the area to the right of the plot.Ī list of renderers to occupy the area above of the plot.Ī list of renderers to occupy the area below of the plot.Ī list of renderers to occupy the center area (frame) of the plot. The toolbar associated with this plot which holds all the tools. The line cap for the plot border outline.Ī list of all renderers for this plot, including guides and annotations in addition to glyphs. The line alpha for the plot border outline. The line join for the plot border outline. The line dash for the plot border outline. The line width for the plot border outline. The line dash offset for the plot border outline. The line color for the plot border outline. Whether to use HiDPI mode when available. What kind of scale to use to convert y-coordinates in data space into y-coordinates in screen space.Īdditional named ranges to make available for mapping x-coordinates.Īdditional named ranges to make available for mapping y-coordinates.Īdditional named scales to make available for mapping x-coordinates.Īdditional named scales to make available for mapping y-coordinates. What kind of scale to use to convert x-coordinates in data space into x-coordinates in screen space. The (default) data range of the vertical dimension of the plot. The (default) data range of the horizontal dimension of the plot. Splattable list of Grid objects for the y dimension. Splattable list of Grid objects for the x dimension. Splattable list of Axis objects for the y dimension. Splattable list of Axis objects for the x dimension. (default: ‘auto’) y_range ( Any)Ĭustomize the y-range of the plot. Number of minor ticks between adjacent y-axis major ticks. (default: ‘auto’) y_minor_ticks ( Either( Auto, Int)) (default: ‘left’) y_axis_type ( Either( Null, Auto, Enum(Enumeration(linear, log, datetime, mercator)))) (default: ‘’) y_axis_location ( Nullable( Enum( HorizontalLocation))) (default: None) y_axis_label ( Nullable( Either( MathString, Instance( BaseText))))Ī label for the y-axis. (default: ‘auto’) x_range ( Any)Ĭustomize the x-range of the plot. Number of minor ticks between adjacent x-axis major ticks. (default: ‘auto’) x_minor_ticks ( Either( Auto, Int)) (default: ‘below’) x_axis_type ( Either( Null, Auto, Enum(Enumeration(linear, log, datetime, mercator)))) (default: ‘’) x_axis_location ( Nullable( Enum( VerticalLocation))) (default: None) x_axis_label ( Nullable( Either( MathString, Instance( BaseText))))Ī label for the x-axis. Tools argument, then passing tooltips here will cause one to be createdĪnd added. Tool is specified in the tools argument, this value will override that This argumentĪccepts the same values as the HoverTool.tooltips property. (default: ‘pan,wheel_zoom,box_zoom,save,reset,help’) tooltips ( Either( Null, Instance( Template), String, List))Īn optional argument to configure tooltips for the Figure. (default: ‘auto’) tools ( Either( String, Seq( Either( String, Instance( Tool))))) Which tap tool should initially be active. (default: ‘auto’) active_tap ( Either( Null, Auto, String, Instance( Tap))) Which scroll tool should initially be active. (default: ‘auto’) active_scroll ( Either( Null, Auto, String, Instance( Scroll))) Specify an active multi-gesture tool, for instance an edit tool or a range tool. (default: ‘auto’) active_multi ( Either( Null, Auto, String, Instance( GestureTool))) Which drag tool should initially be active. (default: ‘auto’) active_inspect ( Either( Null, Auto, String, Instance( InspectTool), Seq( Instance( InspectTool)))) In addition to all the Figure property attributes, the followingĪctive_drag ( Either( Null, Auto, String, Instance( Drag))) There are also specialized methods for stacking bars:Īs well as one specialized method for making simple hexbin plots: There is a scatter function that can be parameterized by marker type: Figure ¶ class Figure ( * args, ** kwargs ) ¶īases:, _api.GlyphAPIĪ subclass of Plot that simplifies plot creation with default axes, grids,įigure objects have many glyph methods that can be used to draw
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |