1
Log 보조 Y 축을 주 Y 선형 축이있는 차트에 배치하는 방법은 무엇입니까?Bokeh에서 보조 축을 선형 축과 함께 기록 하시겠습니까?
import numpy as np
import bokeh as b
import bokeh.io
from bokeh.models.formatters import *
from bokeh.plotting import figure, show, output_file
from bokeh.models import LinearAxis, LogAxis, DataRange1d
TOOLS = "pan,wheel_zoom,box_zoom,reset,save"
x = np.arange(100)
y1 = np.arange(100)
y2 = np.arange(100)**3
p3 = figure(
tools=TOOLS, active_scroll="wheel_zoom",
plot_width=800, plot_height=500,
title = "TEST")
p3.line(x, y1)
p3.extra_y_ranges = {"log": DataRange1d()}
p3.add_layout(LogAxis(y_range_name="log"), 'right')
p3.line(x, y2, color='#FF0000', y_range_name="log")
show(p3)
하지만 [내 브라우저에] 작동하지 않습니다 :
나는이 시도했습니다 왼쪽 축이 내가 확대하는 경우에만 표시됩니다, 그것은 선형 축으로 나타납니다 ...
내가 누락되었거나 버그를 작성해야합니까?