Skip to content

Commit ee42a1f

Browse files
committed
draw_image: origin was ignored
1 parent 591928e commit ee42a1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

matplotlib2tikz/image.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def draw_image(data, obj):
3333
arr=img_array,
3434
cmap=obj.get_cmap(),
3535
vmin=clims[0],
36-
vmax=clims[1]
36+
vmax=clims[1],
37+
origin=obj.origin
3738
)
3839
else:
3940
# RGB (+alpha) information at each point

0 commit comments

Comments
 (0)