The use of returnfig=True
creates multiple figures when using ipywidgets
#673
Labels
bug
Something isn't working
Describe the bug
If you provide returnfig=True or use your own axes, updating the ipywidgets produces additional plots.
To Reproduce
this example uses 15 min klines, but that doesn't matter.
Expected behavior
When using ipywidgets and updateing the slider, the reloading of the plot_func produces an additional figure each time you update the widget. This shouldn't be. When your don't use returnfig (or don't add ax and volume by your own figure) this behaviour does not accure.
jupyter lab
mplfinance 0.12.10b0
Screenshots
The text was updated successfully, but these errors were encountered: