Skip to content

Commit f5cd596

Browse files
authored
Merge pull request #112 from MJWeberg/main
increase min Python version
2 parents 8568360 + c050879 commit f5cd596

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
include:
16-
- python-version: 3.8
1716
- python-version: 3.9
1817
- python-version: '3.10'
18+
- python-version: '3.11'
19+
- python-version: '3.12'
1920
steps:
2021
- name: Checkout
2122
uses: actions/checkout@v2.3.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ environment. You can now import the package using `import eispac`.
8686

8787
### Required Packages
8888

89-
* python >= 3.8
89+
* python >= 3.9
9090
* numpy >= 1.18
9191
* scipy >= 1.4
9292
* matplotlib >= 3.1

docs/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ automatically check and install missing dependencies, assuming your
1010
environment is configured appropriately. If it does not, you may wish to
1111
try installing the required packages individually first.
1212

13-
- python >= 3.8
13+
- python >= 3.9
1414

1515
- numpy >= 1.18
1616

scripts/eis_explore_raster.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,6 @@ def initUI(self):
159159
self.radio_sync_cross.setFont(self.font_default)
160160
self.radio_sync_cross.setChecked(True)
161161

162-
# self.label_inten_cmap = QtWidgets.QLabel()
163-
# self.label_inten_cmap.setFont(self.font_default)
164-
# self.label_inten_cmap.setText("Intensity colormap")
165-
166-
# self.box_inten_cmap = QtWidgets.QComboBox()
167-
# self.box_inten_cmap.addItems(self.inten_cmap_list)
168-
# self.box_inten_cmap.setFixedWidth(2*self.base_width)
169-
# self.box_inten_cmap.setFont(self.font_default)
170-
# self.box_inten_cmap.setCurrentIndex(0)
171-
# self.box_inten_cmap.currentIndexChanged.connect(self.event_change_layout)
172-
173162
self.label_tips = QtWidgets.QLabel()
174163
self.label_tips.setFont(self.font_default_italic)
175164
self.label_tips.setText("Middle click to toggle\npan/zoom mode"
@@ -581,6 +570,8 @@ def plot_raster(self, r_ind=0):
581570
old_cross_x = self.rast_crosshair[r_ind].get_offsets()[0,0]
582571
old_cross_y = self.rast_crosshair[r_ind].get_offsets()[0,1]
583572
self.crosshair_old_coords[r_ind] = [old_cross_x, old_cross_y]
573+
self.rast_crosshair[r_ind].remove()
574+
self.rast_crosshair[r_ind] = None
584575

585576
self.rast_fig[r_ind].clf()
586577

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ classifiers =
1313
License :: OSI Approved :: MIT License
1414
Programming Language :: Python
1515
Programming Language :: Python :: 3
16-
Programming Language :: Python :: 3.8
1716
Programming Language :: Python :: 3.9
1817
Programming Language :: Python :: 3.10
18+
Programming Language :: Python :: 3.11
19+
Programming Language :: Python :: 3.12
1920
Operating System :: OS Independent
2021

2122
[options]
2223
zip_safe = False
23-
python_requires = >=3.7
24+
python_requires = >=3.9
2425
packages = find:
2526
include_package_data = True
2627
setup_requires =

0 commit comments

Comments
 (0)