Skip to content

Commit 41d6b9d

Browse files
committed
Silence more plotly warnings on import
1 parent 6e7c07b commit 41d6b9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
# importing plotly throws Python warnings from within the library - filter these out
3333
with warnings.catch_warnings():
3434
warnings.filterwarnings("ignore", category=ResourceWarning)
35+
warnings.filterwarnings("ignore", category=ImportWarning)
3536
import plotly # NOQA
3637
hasPlotly = True
3738
except:

0 commit comments

Comments
 (0)