Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Silence more plotly warnings on import
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+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: |
|
|