Skip to content

Commit

Permalink
Fixes #171 - removed unnecessary dependency (#172)
Browse files Browse the repository at this point in the history
* Fixes #171 - removed unnecessary dependency

* Changed the version of matplotlib

---------

Co-authored-by: YONG WOOK KIM <[email protected]>
  • Loading branch information
navarroc and ywkim312 committed Jul 9, 2024
1 parent d809d68 commit 3fb79e6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Fixed
- Unnecessary dependency in setup.py [#171](https://github.com/IN-CORE/pyincore-viz/issues/171)
- Matplotlib version incompatibility by upgrade in geoutil [#173](https://github.com/IN-CORE/pyincore-viz/issues/173)

## [1.10.1] - 2023-06-12
### Added
- Google Analytics to the documentation site [#164](https://github.com/IN-CORE/pyincore-viz/issues/164)
Expand Down
3 changes: 1 addition & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- ipyleaflet>=0.16.0
- ipywidgets>=7.6.0
- lxml>=4.6.3
- matplotlib>=3.8.0
- matplotlib>=3.8.3
- networkx>=3.2.1
- numpy>=1.26.0,<2.0a0
- owslib>=0.17.1
Expand All @@ -23,4 +23,3 @@ dependencies:
- pytest>=3.9.0
- python-jose>=3.0
- rasterio>=1.3.9
- openssl<=3.2.0
2 changes: 1 addition & 1 deletion pyincore_viz/geoutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def plot_raster_file_with_legend(file_path, title=None):
max = earthquake_nd.max()

# Define the default viridis colormap for viz
viz_cmap = cm.get_cmap('viridis', 256)
viz_cmap = plt.get_cmap('viridis', 256)

earthquake_nd = np.flip(earthquake_nd, axis=0)

Expand Down
2 changes: 1 addition & 1 deletion recipes/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ requirements:
- ipyleaflet>=0.16.0
- ipywidgets>=7.6.0
- lxml>=4.6.3
- matplotlib>=3.8.0
- matplotlib>=3.8.3
- networkx>=3.2.1
- owslib>=0.17.1
- pandas>=2.1.2
Expand Down
2 changes: 1 addition & 1 deletion requirements.min
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ geopandas>=0.14.0
ipyleaflet>=0.16.0
ipywidgets>=7.6.0
lxml>=4.6.3
matplotlib>=3.8.0
matplotlib>=3.8.3
networkx>=3.2.1
numpy>=1.26.0,<2.0a0
owslib>=0.17.1
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ geopandas>=0.14.0
ipyleaflet>=0.16.0
ipywidgets>=7.6.0
lxml>=4.6.3
matplotlib>=3.8.0
matplotlib>=3.8.3
networkx>=3.2.1
numpy>=1.26.0,<2.0a0
owslib>=0.17.1
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@
'ipyleaflet>=0.16.0',
'ipywidgets>=7.6.0',
'lxml>=4.6.3',
'matplotlib>=3.8.0',
'matplotlib>=3.8.3',
'networkx>=3.2.1',
'numpy>=1.26.0,<2.0a0',
'owslib>=0.17.1',
'pandas>=2.1.2',
'pillow',
'pyincore>=1.11.0',
'rasterio>=1.3.9',
'openssl<=3.2.0'
],

extras_require={
Expand Down

0 comments on commit 3fb79e6

Please sign in to comment.