![]() ![]() pi / ( len ( df ) + 1 ) small_angle = big_angle / 7 x = np. log ( mic * 1E4 )) + b big_angle = 2.0 * np. 001 * 1E4 )) maxr = sqrt ( log ( 1000 * 1E4 )) a = ( outer_radius - inner_radius ) / ( minr - maxr ) b = inner_radius - a * maxr def rad ( mic ): return a * np. read_csv ( StringIO ( antibiotics ), skiprows = 1, skipinitialspace = True ) width = 800 height = 800 inner_radius = 90 outer_radius = 300 - 10 minr = sqrt ( log (. The code and instructions for running this example can be found atĪnother example is the sliders applet that presents several sliders to modifyįrom collections import OrderedDict from math import log, sqrt import numpy as np import pandas as pd from six.moves import cStringIO as StringIO from otting import * antibiotics = """ bacteria, penicillin, streptomycin, neomycin, gram Mycobacterium tuberculosis, 800, 5, 2, negative Salmonella schottmuelleri, 10, 0.8, 0.09, negative Proteus vulgaris, 3, 0.1, 0.1, negative Klebsiella pneumoniae, 850, 1.2, 1, negative Brucella abortus, 1, 2, 0.02, negative Pseudomonas aeruginosa, 850, 2, 0.4, negative Escherichia coli, 100, 0.4, 0.1, negative Salmonella (Eberthella) typhosa, 1, 0.4, 0.008, negative Aerobacter aerogenes, 870, 1, 1.6, negative Brucella antracis, 0.001, 0.01, 0.007, positive Streptococcus fecalis, 1, 1, 0.1, positive Staphylococcus aureus, 0.03, 0.03, 0.001, positive Staphylococcus albus, 0.007, 0.1, 0.001, positive Streptococcus hemolyticus, 0.001, 14, 10, positive Streptococcus viridans, 0.005, 10, 40, positive Diplococcus pneumoniae, 0.005, 11, 10, positive """ drug_color = OrderedDict () gram_color = df = pd. Highlight the selected points on the time series, as well as update the histograms to only show These plots have linked panning and selections making a selection on the correlation plot will The subplots below show histograms for each time series as well as the time series themselves. This applet allows a user to pick between pairs of stocks to display correlation plots for. One example is the stocks correlation applet pictured below: Inform the application view based on user input. Made available to the applet code, which can add, remove, or update plots or otherwise Such as drop downs, date selectors, and sliders. InĪddition to the standard Bokeh interactive plot tools, Bokeh applets can contain widgets ![]() These applets can be servedĭirectly from the Bokeh Server, or they may be embedded in you own web applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |