Skip to content

Commit b21bb4b

Browse files
committed
Fix typo
1 parent 1f1dc72 commit b21bb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/io/_kaleido.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def write_image(
261261
# Open file
262262
# ---------
263263
if path is not None:
264-
file.write_bytes(img_data)
264+
path.write_bytes(img_data)
265265
else:
266266
# Handle an open file descriptor
267267
# ------------------------------

0 commit comments

Comments
 (0)