Skip to content

Commit 2c1e96b

Browse files
missed a line in previous commit
1 parent 1320da4 commit 2c1e96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tikzplotlib/_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def draw_image(data, obj):
3636
# Convert mpl image to PIL
3737
if img_array.dtype != numpy.uint8:
3838
img_array = numpy.uint8(img_array * 255)
39-
image = PIL.Image.fromarray(numpy.uint8(img_array * 255))
39+
image = PIL.Image.fromarray(img_array)
4040

4141
# If the input image is PIL:
4242
# image = PIL.Image.fromarray(img_array)

0 commit comments

Comments
 (0)