![]() ![]() In the previous example, you provided the data to be plotted using lists. # create a ColumnDataSource obj using a dataframe The following example shows how to display a bar chart by supplying data through a ColumnDataSource object: from otting import figure, output_file, showįrom bokeh.models import ColumnDataSource Vertical Barsīar charts can be drawn easily in Bokeh using the vbar() method. The toolbar is customizable and in a later section, I'll show you how to hide/add tools in the toolbar. Help: Link to the page on Bokeh plot tools.Reset: Restore the plot to its original state.Save: Save and download a copy of your chart in PNG format.Wheel Zoom: Use the wheel on your mouse to zoom in and out of the plot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |