Skip to content

Commit

Permalink
[fix] unregister plotly resampler before return (#52)
Browse files Browse the repository at this point in the history
* unregister resampler before return
  • Loading branch information
LeonieFreisinger authored May 4, 2023
1 parent 7d707e3 commit 391dc93
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
arrow>=1.2.3
dataclasses>=0.6;python_version<'3.7'
neuralprophet>=1.0.0rc1
numpy>=1.22.0,<1.24.0
Expand Down
2 changes: 0 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ pyright
pytest>=7.2.2, <8.0.0
pytest-cov>=4.0.0, <5.0.0
u8darts[torch]>= 0.23.1


1 change: 1 addition & 0 deletions tot/plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,4 +322,5 @@ def _plot_plotly(
**layout_args,
)
fig = go.Figure(data=data, layout=layout)
unregister_plotly_resampler()
return fig

0 comments on commit 391dc93

Please sign in to comment.