How can I accomplish `set_xlim` or `set_ylim` in Bokeh?

前端 未结 4 1885
小鲜肉
小鲜肉 2020-12-03 06:53

I create a figure in a function, e.g.

import numpy
from bokeh.plotting import figure, show, output_notebook
output_notebook()

def make_fig():
    rows = col         


        
4条回答
  •  清歌不尽
    2020-12-03 07:22

    you can also use it directly

    p = Histogram(wind , xlabel= 'meters/sec', ylabel = 'Density',bins=12,x_range=Range1d(2, 16)) show(p)

提交回复
热议问题