1
我正在從bokeh
這個example這樣的時間曲線做實驗。是否可以創建x軸的小勾號?我嘗試了p.xaxis.minor
中的所有不同選項,但沒有一個看起來有用。散景時間繪圖
下面是例子代碼:
import pandas as pd
from bokeh.plotting import figure, output_file, show
AAPL = pd.read_csv(
"http://ichart.yahoo.com/table.csv?s=AAPL&a=0&b=1&c=2000&d=0&e=1&f=2010",
parse_dates=['Date']
)
output_file("datetime.html")
# create a new plot with a datetime axis type
p = figure(width=800, height=250, x_axis_type="datetime")
p.line(AAPL['Date'], AAPL['Close'], color='navy', alpha=0.5)
show(p)
而且圖像:
從什麼,似乎它會自動關閉,並且x-axis
更新正確,你放大,但包括用於可視化目的的小勾號將是非常好的。