Help us understand the problem. What is going on with this article?

HoloViewsのplot rangeの設定

More than 1 year has passed since last update.

holoviews のplot rangeの設定

import holoviews as hv

x = [0,1,2,3]
y = [0,1,4,8]
x_range = (-1, 5)
y_range = (-1, 10)

curve = hv.Curve((x,y))
# ここでrangeを設定
curve = curve.redim(x=dict(range=x_range), y=dict(range=y_range))

renderer = hv.renderer('bokeh'), './result.html')
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away