File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def to_image(
157157 if kaleido_major > 0 :
158158 # Kaleido v1
159159 # Check if trying to export to EPS format, which is not supported in Kaleido v1
160- if format == ' eps' :
160+ if format == " eps" :
161161 raise ValueError (
162162 """
163163EPS export is not supported with Kaleido v1.
@@ -288,9 +288,7 @@ def write_image(
288288
289289 >>> import plotly.io as pio
290290 >>> pio.write_image(fig, file_path, format='png')
291- """ .format (
292- file = file
293- )
291+ """ .format (file = file )
294292 )
295293
296294 # Request image
@@ -319,9 +317,7 @@ def write_image(
319317 raise ValueError (
320318 """
321319The 'file' argument '{file}' is not a string, pathlib.Path object, or file descriptor.
322- """ .format (
323- file = file
324- )
320+ """ .format (file = file )
325321 )
326322 else :
327323 # We previously succeeded in interpreting `file` as a pathlib object.
You can’t perform that action at this time.
0 commit comments