Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8727205 commit 57040acCopy full SHA for 57040ac
lib/matplotlib/tests/test_delaunay.py
@@ -3,10 +3,16 @@
3
4
import six
5
from six.moves import xrange
6
+import warnings
7
8
import numpy as np
9
from matplotlib.testing.decorators import image_comparison, knownfailureif
-from matplotlib.delaunay.triangulate import Triangulation
10
+from matplotlib.cbook import MatplotlibDeprecationWarning
11
+
12
+with warnings.catch_warnings():
13
+ # the module is deprecated. The tests should be removed when the module is.
14
+ warnings.simplefilter('ignore', MatplotlibDeprecationWarning)
15
+ from matplotlib.delaunay.triangulate import Triangulation
16
from matplotlib import pyplot as plt
17
import matplotlib as mpl
18
0 commit comments