This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
x = np.arange(10) | |
fig = plt.figure() | |
ax = plt.subplot(111) | |
for i in xrange(5): | |
ax.plot(x, i * x, label='$y = %ix$'%i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
from bokeh.models import Circle, ColumnDataSource, Range1d, HoverTool, CustomJS | |
from bokeh.transform import factor_cmap | |
from bokeh.plotting import figure, show, output_file | |
output_file("hover_linked_samples.html") | |
raw_array=np.random.rand(80,2) |