Skip to content

Commit 0eb8099

Browse files
committed
Use qt_compat rather that qt4_compat in example
1 parent 5725b2c commit 0eb8099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/user_interfaces/embedding_in_qt4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import sys
1414
import os
1515
import random
16-
from matplotlib.backends import qt4_compat
17-
use_pyside = qt4_compat.QT_API == qt4_compat.QT_API_PYSIDE
16+
from matplotlib.backends import qt_compat
17+
use_pyside = qt_compat.QT_API == qt_compat.QT_API_PYSIDE
1818
if use_pyside:
1919
from PySide import QtGui, QtCore
2020
else:

0 commit comments

Comments
 (0)