File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ install:
30
30
- travis_retry pip install scikit-learn==0.23.1
31
31
# Pin version of scipy (1.5 did not work with PyInstaller 3.6)
32
32
- 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"
33
35
# Linux/macOS tests did not run with PyQt 5.15
34
36
- travis_retry pip install threadpoolctl==2.0.0
35
37
- travis_retry pip install PyQt5==5.14.2 PyQt5-sip==12.7.2
Original file line number Diff line number Diff line change 1
1
0.8.2
2
- - setup: bump matplotlib to 3.3.0
2
+ - setup: bump matplotlib to >=3
3
3
(NavigationToolbar2QT modifications)
4
4
0.8.1
5
5
- fix: correctly handle lmfit models with expressions
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ install:
28
28
- appveyor-retry python -m pip install --upgrade pip
29
29
# Pin version of scipy (1.5 did not work with PyInstaller 3.6?)
30
30
- 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"
31
33
# nanite needs scikit-learn>0.23.0
32
34
- appveyor-retry python -m pip install scikit-learn==0.23.1
33
35
- appveyor-retry pip install git+git://github.com/AFM-analysis/nanite.git
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class NavigationToolbarCustom(NavigationToolbar2QT):
54
54
def __init__ (self , * args , ** kwargs ):
55
55
super (NavigationToolbarCustom , self ).__init__ (* args , ** kwargs )
56
56
57
- def _icon (self , name ):
57
+ def _icon (self , name , color = None ):
58
58
"""Override matplotlibs `_icon` function to get custom icons"""
59
59
name = name .replace ('.png' , '_large.png' )
60
60
impath = str (cbook ._get_data_path ('images' , name ))
Original file line number Diff line number Diff line change 27
27
install_requires = ["afmformats>=0.11.0" ,
28
28
"appdirs" ,
29
29
"nanite>=1.6.2" ,
30
- "matplotlib>=3.3.0 " , # NavigationToolbar2QT mod
30
+ "matplotlib>=3" , # NavigationToolbar2QT mod
31
31
"pyqt5" ],
32
32
python_requires = '>=3.6, <4' ,
33
33
entry_points = {"gui_scripts" : ['pyjibe = pyjibe.__main__:main' ]},
You can’t perform that action at this time.
0 commit comments