kplot 1.1.32__tar.gz → 1.1.33__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.32 → kplot-1.1.33}/PKG-INFO +1 -1
- {kplot-1.1.32 → kplot-1.1.33}/pyproject.toml +1 -1
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/cmaps.py +1 -1
- {kplot-1.1.32 → kplot-1.1.33}/README.md +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/__init__.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/axes.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/image.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/movie.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/plot.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/styles/example.mpl +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/styles/publication.mpl +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/threeD/__init__.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/threeD/slider_images.py +0 -0
- {kplot-1.1.32 → kplot-1.1.33}/src/kplot/utils.py +0 -0
|
@@ -84,7 +84,7 @@ def parse_color(
|
|
|
84
84
|
"""docstring"""
|
|
85
85
|
match color:
|
|
86
86
|
# given an rgb(a)
|
|
87
|
-
case (
|
|
87
|
+
case (r, g, b) | (r, g, b, a) if all(type(x) in Number.types for x in color):
|
|
88
88
|
return color
|
|
89
89
|
# otherwise assume arrays of numbers want to be color-mapped
|
|
90
90
|
case x if type(color) in Array.types and type(color[0]) in Number.types:
|
|
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
|