2016-08-18 5 views

답변

2

push_notebook은 인수를 전달하지 않으면 마지막 셀을 defatult로 업데이트합니다. 그러나 셀을 렌더링 할 때 show이 반환하는 "노트 핸들"도 허용합니다.

# in one cell 
p = figure(**opts) 
r = p2.circle([1,2,3], [4,5,6]) 
h = show(p) 

# in a different cell 
r.glyph.fill_color = "white" 
push_notebook(handle=h) 

GitHub repo의 예제 노트북을 참조하십시오.

+0

고마워요 @bigreddot, 그 위대한 작품. –

관련 문제