Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit b5a5e29

Browse files
committed
Merge branch 'feature/v0.1.5' into develop
2 parents 6b405d0 + f1c90b2 commit b5a5e29

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
__major_version__ = '0'
3535
__minor_version__ = '1'
36-
__change_version__ = '4'
36+
__change_version__ = '5'
3737
__version__ = '.'.join(
3838
(__major_version__,
3939
__minor_version__,

colour_analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def buffer_geometry(**kwargs):
412412
}
413413

414414
for attribute, values in kwargs.items():
415-
values = as_float_array(values)
415+
values = np.asarray(values)
416416
shape = values.shape
417417
dtype = values.dtype.name
418418

@@ -963,7 +963,7 @@ def pointer_gamut_visual(colourspace_model='CIE xyY'):
963963
POINTER_GAMUT_ILLUMINANT, colourspace_model),
964964
colourspace_model)
965965

966-
vertices.append(np.array(zip(section, section[1:])))
966+
vertices.append(list(zip(section, section[1:])))
967967

968968
vertices = as_float_array(vertices)
969969

@@ -991,6 +991,6 @@ def visible_spectrum_visual(colourspace_model='CIE xyY'):
991991
XYZ, ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['E'],
992992
colourspace_model), colourspace_model)
993993

994-
vertices = np.array(zip(vertices, vertices[1:]))
994+
vertices = as_float_array(list(zip(vertices, vertices[1:])))
995995

996996
return buffer_geometry(position=vertices)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "colour-analysis",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Colour - Analysis",
55
"private": true,
66
"scripts": {

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
</div>
120120
</div>
121121

122-
<script src="https://cdn.jsdelivr.net/gh/nathancahill/Split.js/split.min.js"></script>
122+
<script src="https://cdn.jsdelivr.net/gh/nathancahill/split@v1.3.5/split.min.js"></script>
123123
<script>
124124
Split(['#gamutView', '#imageView'], {
125125
elementStyle: function (dimension, size, gutterSize) {

0 commit comments

Comments
 (0)