kplot 1.1.39__tar.gz → 1.1.40__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kplot-1.1.39 → kplot-1.1.40}/PKG-INFO +1 -1
- {kplot-1.1.39 → kplot-1.1.40}/pyproject.toml +1 -1
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/cmaps.py +2 -0
- {kplot-1.1.39 → kplot-1.1.40}/README.md +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/__init__.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/axes.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/image.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/movie.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/plot.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/styles/example.mpl +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/styles/publication.mpl +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/threeD/__init__.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/threeD/slider_images.py +0 -0
- {kplot-1.1.39 → kplot-1.1.40}/src/kplot/utils.py +0 -0
|
@@ -91,7 +91,9 @@ def parse_color(
|
|
|
91
91
|
return color
|
|
92
92
|
# otherwise assume arrays of numbers want to be color-mapped
|
|
93
93
|
case x if type(color) in Array.types and type(color[0]) in Number.types:
|
|
94
|
+
print(color)
|
|
94
95
|
color = [cmap(norm(c)) for c in color]
|
|
96
|
+
print(color)
|
|
95
97
|
return color
|
|
96
98
|
case _:
|
|
97
99
|
raise NotImplementedError(f"bad color: {color}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|