diff --git a/hexrdgui/brightness_contrast_editor.py b/hexrdgui/brightness_contrast_editor.py index 0d7d92414..2e3fa8b27 100644 --- a/hexrdgui/brightness_contrast_editor.py +++ b/hexrdgui/brightness_contrast_editor.py @@ -6,7 +6,7 @@ QDialog, QDialogButtonBox, QMessageBox, QVBoxLayout ) -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure from hexrdgui.range_widget import RangeWidget diff --git a/hexrdgui/calibration/hedm/calibration_results_dialog.py b/hexrdgui/calibration/hedm/calibration_results_dialog.py index 0d7e92f69..86d370035 100644 --- a/hexrdgui/calibration/hedm/calibration_results_dialog.py +++ b/hexrdgui/calibration/hedm/calibration_results_dialog.py @@ -1,7 +1,7 @@ from PySide6.QtCore import Qt from PySide6.QtWidgets import QSizePolicy -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure import numpy as np diff --git a/hexrdgui/image_canvas.py b/hexrdgui/image_canvas.py index f71a597ca..9e852d038 100644 --- a/hexrdgui/image_canvas.py +++ b/hexrdgui/image_canvas.py @@ -4,7 +4,7 @@ from PySide6.QtCore import QThreadPool, QTimer, Signal, Qt from PySide6.QtWidgets import QFileDialog, QMessageBox -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure from matplotlib.lines import Line2D from matplotlib.patches import Circle diff --git a/hexrdgui/indexing/fit_grains_results_dialog.py b/hexrdgui/indexing/fit_grains_results_dialog.py index 4207da796..9eab1eeb6 100644 --- a/hexrdgui/indexing/fit_grains_results_dialog.py +++ b/hexrdgui/indexing/fit_grains_results_dialog.py @@ -9,7 +9,7 @@ from mpl_toolkits.mplot3d import Axes3D, proj3d # noqa: F401 unused import import matplotlib import matplotlib.ticker as ticker -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure from PySide6.QtCore import QObject, QTimer, Qt, Signal diff --git a/hexrdgui/indexing/indexing_results_dialog.py b/hexrdgui/indexing/indexing_results_dialog.py index b81e8de47..a8dfd6ca3 100644 --- a/hexrdgui/indexing/indexing_results_dialog.py +++ b/hexrdgui/indexing/indexing_results_dialog.py @@ -1,6 +1,6 @@ import copy -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure import numpy as np diff --git a/hexrdgui/indexing/ome_maps_viewer_dialog.py b/hexrdgui/indexing/ome_maps_viewer_dialog.py index 0a3c34a83..00b60f229 100644 --- a/hexrdgui/indexing/ome_maps_viewer_dialog.py +++ b/hexrdgui/indexing/ome_maps_viewer_dialog.py @@ -1,7 +1,7 @@ import copy from pathlib import Path -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure import numpy as np import yaml diff --git a/hexrdgui/indexing/view_spots_dialog.py b/hexrdgui/indexing/view_spots_dialog.py index 0fb4eab91..2f8288585 100644 --- a/hexrdgui/indexing/view_spots_dialog.py +++ b/hexrdgui/indexing/view_spots_dialog.py @@ -1,7 +1,7 @@ from PySide6.QtCore import Qt from PySide6.QtWidgets import QSizePolicy -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure import numpy as np diff --git a/hexrdgui/navigation_toolbar.py b/hexrdgui/navigation_toolbar.py index f017b4d27..91a85d921 100644 --- a/hexrdgui/navigation_toolbar.py +++ b/hexrdgui/navigation_toolbar.py @@ -1,5 +1,5 @@ from matplotlib import rc_context -from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT +from matplotlib.backends.backend_qtagg import NavigationToolbar2QT from hexrdgui.utils import wrap_with_callbacks diff --git a/hexrdgui/snip_viewer_dialog.py b/hexrdgui/snip_viewer_dialog.py index 7e73dad49..fd30c1d7f 100644 --- a/hexrdgui/snip_viewer_dialog.py +++ b/hexrdgui/snip_viewer_dialog.py @@ -1,7 +1,7 @@ from pathlib import Path import h5py -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure import numpy as np diff --git a/hexrdgui/zoom_canvas.py b/hexrdgui/zoom_canvas.py index 4e2a67191..62a0c7358 100644 --- a/hexrdgui/zoom_canvas.py +++ b/hexrdgui/zoom_canvas.py @@ -1,7 +1,7 @@ from PySide6.QtCore import Signal, QTimer from PySide6.QtWidgets import QSizePolicy -from matplotlib.backends.backend_qt5agg import FigureCanvas +from matplotlib.backends.backend_qtagg import FigureCanvas from matplotlib.figure import Figure from matplotlib.widgets import Cursor