Jupyter Notebook: interactive plot with widgets

后端 未结 2 1788
野性不改
野性不改 2020-12-02 17:11

I am trying to generate an interactive plot that depends on widgets. The problem I have is that when I change parameters using the slider, a new plot is done after the previ

2条回答
  •  盖世英雄少女心
    2020-12-02 17:45

    This is an issue (?) introduced in the last version of jupyter and/or ipywidgets. One workaround I found was to add the line plt.show() at the end of plot_func.

提交回复
热议问题