Skip to content

Commit 2316d51

Browse files
committed
Fix Python 3.8 compat issue in cdl/patch
1 parent 1987d2c commit 2316d51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cdl/patch.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# Allows accessing protecting members, unused arguments, unused variables
1212
# pylint: disable=W0212,W0613,W0612,E0102
1313

14+
from __future__ import annotations
15+
1416
import sys
1517
import warnings
1618

@@ -25,9 +27,8 @@
2527
from plotpy.panels.csection import csplot, cswidget
2628
from qtpy import QtCore as QC
2729
from qtpy.QtWidgets import QApplication, QMainWindow
28-
from qwt import QwtLinearScaleEngine
30+
from qwt import QwtLinearScaleEngine, QwtScaleDraw
2931
from qwt import QwtLogScaleEngine as QwtLog10ScaleEngine
30-
from qwt import QwtScaleDraw
3132

3233
from cdl.config import APP_NAME, _
3334
from cdl.core.model.signal import create_signal

0 commit comments

Comments
 (0)