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

Holoviewsでjupyter notebook上に無理やりplotする

More than 1 year has passed since last update.

holoviews自体の説明はqiita内を検索してください。
matplotlibでいうshowのようなものがないのでloop中でplotする方法わからず困っていた。

hv.ipython.display()を使えばよい

import holoviews as hv
hv.extension('bokeh')
%matplotlib inline


# データ生成
import numpy as np
x = np.linspace(-np.pi, np.pi, 100)
plot_obj = hv.Curve((x, np.sin(x)))

for i in range(5):
    hv.ipython.display(plot_obj)
ymd_
機械学習やってます
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