Skip to content
Permalink
Browse files

Silence more plotly warnings on import

  • Loading branch information
nyalldawson committed Jun 22, 2018
1 parent 6e7c07b commit 41d6b9d967e1197c33cacdbdeb7ac793c073cc49
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py
@@ -32,6 +32,7 @@
# importing plotly throws Python warnings from within the library - filter these out
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=ResourceWarning)
warnings.filterwarnings("ignore", category=ImportWarning)
import plotly # NOQA
hasPlotly = True
except:

0 comments on commit 41d6b9d

Please sign in to comment.
You can’t perform that action at this time.