Skip to content

Commit

Permalink
Merge pull request #168 from MTgeophysics/matplotlib_version_fix
Browse files Browse the repository at this point in the history
In setup.py set the matplotlib <=3.4
  • Loading branch information
kujaku11 authored Jan 26, 2022
2 parents f0d5bd1 + c21b08a commit 37e8072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mtpy/gui/occam1d_gui_qt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
raise ImportError("This version needs PyQt5")

import mtpy.modeling.occam1d as occam1d
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT as NavigationToolbar
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
from matplotlib.figure import Figure
from matplotlib.ticker import MultipleLocator
import matplotlib.gridspec as gridspec
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_version(rel_path):

setup_kwargs['install_requires'] = ['numpy>=1.8.1',
'scipy>=0.14.0',
'matplotlib',
'matplotlib<=3.4',
'pyyaml',
'pyproj',
'configparser']
Expand Down

0 comments on commit 37e8072

Please sign in to comment.