1 # -*- coding: utf-8 -*-
2 # -----------------------------------------------------------------------------
3 # Copyright © 2019- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
8 """Provides QtChart classes and functions."""
11 from . import PYQT5
, PYSIDE2
, PythonQtError
15 from PyQt5
import QtChart
as QtCharts
17 raise PythonQtError('The QtChart module was not found. '
18 'It needs to be installed separately for PyQt5.')
20 from PySide2
.QtCharts
import *
22 raise PythonQtError('No Qt bindings could be found')