File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ https://semver.org/spec/v2.0.0.html
12
12
13
13
## [ Unreleased]
14
14
15
+ ### Removed
16
+ - Remove dependency on ` six ` (solves issue [ #536 ] ).
17
+
15
18
## [ 1.3.2] - 2022-02-10
16
19
17
20
### Added
@@ -889,6 +892,8 @@ https://semver.org/spec/v2.0.0.html
889
892
- Fix glitches in drawing of parallels and meridians.
890
893
891
894
895
+ [ #536 ] :
896
+ https://github.com/matplotlib/basemap/issues/536
892
897
[ #533 ] :
893
898
https://github.com/matplotlib/basemap/issues/533
894
899
[ #532 ] :
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Basic requirements are the following:
12
12
* [ numpy] ( https://github.com/numpy/numpy )
13
13
* [ pyproj] ( https://github.com/pyproj4/pyproj )
14
14
* [ pyshp] ( https://github.com/GeospatialPython/pyshp )
15
- * [ six] ( https://github.com/benjaminp/six )
16
15
17
16
Optional requirements include:
18
17
Original file line number Diff line number Diff line change @@ -413,8 +413,7 @@ init-import=no
413
413
414
414
# List of qualified module names which can have objects that can redefine
415
415
# builtins.
416
- redefining-builtins-modules =six.moves,
417
- past.builtins,
416
+ redefining-builtins-modules =past.builtins,
418
417
future.builtins,
419
418
builtins,
420
419
io
Original file line number Diff line number Diff line change 1
1
basemap_data >= 1.3 , < 1.4
2
2
3
- six >= 1.10 , < 1.16
4
-
5
3
numpy >= 1.11 , < 1.12 ; python_version == "2.6"
6
4
numpy >= 1.16 , < 1.17 ; python_version == "2.7"
7
5
numpy >= 1.11 , < 1.12 ; python_version == "3.2"
Original file line number Diff line number Diff line change 14
14
Run `examples/show_colormaps.py` to see what these colormaps look like.
15
15
"""
16
16
17
- from six import iteritems
18
-
19
17
from matplotlib import rcParams , colors
20
18
_LUTSIZE = rcParams ['image.lut' ]
21
19
76
74
def _revcmap (data ):
77
75
78
76
data_r = {}
79
- for key , val in iteritems ( data ):
77
+ for key , val in data . items ( ):
80
78
val = list (val )
81
79
valrev = val [::- 1 ]
82
80
valnew = []
You can’t perform that action at this time.
0 commit comments