Skip to content

Commit 0f93fe5

Browse files
committed
ci: stick to mpl 3.2.2 because of pyinstaller/pyinstaller#5004
1 parent 7a99692 commit 0f93fe5

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ install:
3030
- travis_retry pip install scikit-learn==0.23.1
3131
# Pin version of scipy (1.5 did not work with PyInstaller 3.6)
3232
- travis_retry pip install "scipy<1.5.0"
33+
# Pin matplotlib to 3.2.2 (https://github.com/pyinstaller/pyinstaller/issues/5004)
34+
- travis_retry pip install "matplotlib==3.2.2"
3335
# Linux/macOS tests did not run with PyQt 5.15
3436
- travis_retry pip install threadpoolctl==2.0.0
3537
- travis_retry pip install PyQt5==5.14.2 PyQt5-sip==12.7.2

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
0.8.2
2-
- setup: bump matplotlib to 3.3.0
2+
- setup: bump matplotlib to >=3
33
(NavigationToolbar2QT modifications)
44
0.8.1
55
- fix: correctly handle lmfit models with expressions

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ install:
2828
- appveyor-retry python -m pip install --upgrade pip
2929
# Pin version of scipy (1.5 did not work with PyInstaller 3.6?)
3030
- appveyor-retry pip install "scipy<1.5.0"
31+
# Pin matplotlib to 3.2.2 (https://github.com/pyinstaller/pyinstaller/issues/5004)
32+
- appveyor-retry pip install "matplotlib==3.2.2"
3133
# nanite needs scikit-learn>0.23.0
3234
- appveyor-retry python -m pip install scikit-learn==0.23.1
3335
- appveyor-retry pip install git+git://github.com/AFM-analysis/nanite.git

pyjibe/head/custom_widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class NavigationToolbarCustom(NavigationToolbar2QT):
5454
def __init__(self, *args, **kwargs):
5555
super(NavigationToolbarCustom, self).__init__(*args, **kwargs)
5656

57-
def _icon(self, name):
57+
def _icon(self, name, color=None):
5858
"""Override matplotlibs `_icon` function to get custom icons"""
5959
name = name.replace('.png', '_large.png')
6060
impath = str(cbook._get_data_path('images', name))

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
install_requires=["afmformats>=0.11.0",
2828
"appdirs",
2929
"nanite>=1.6.2",
30-
"matplotlib>=3.3.0", # NavigationToolbar2QT mod
30+
"matplotlib>=3", # NavigationToolbar2QT mod
3131
"pyqt5"],
3232
python_requires='>=3.6, <4',
3333
entry_points={"gui_scripts": ['pyjibe = pyjibe.__main__:main']},

0 commit comments

Comments
 (0)