suppress vispy warning
@@ -10,6 +10,13 @@ Viewer
Data viewer displaying the currently rendered scene and
layer-related controls.
"""
+import warnings
+
+vispy_warning = "VisPy is not yet compatible with matplotlib 2.2+"
+
+with warnings.catch_warnings():
+ warnings.filterwarnings("ignore", category=UserWarning,
+ message=vispy_warning)
from ._window import Window, QtApplication
from ._viewer import Viewer
from ._layers_list import LayersList
