Skip to content

Comments

Fix spurious engine deprecation warning in write_image#5517

Open
mosh3eb wants to merge 1 commit intoplotly:mainfrom
mosh3eb:fix/write-image-spurious-engine-warning
Open

Fix spurious engine deprecation warning in write_image#5517
mosh3eb wants to merge 1 commit intoplotly:mainfrom
mosh3eb:fix/write-image-spurious-engine-warning

Conversation

@mosh3eb
Copy link

@mosh3eb mosh3eb commented Feb 20, 2026

write_image() defaulted engine='auto' and passed it to to_image(), which treats any non-None engine value as explicitly user-specified and emits a deprecation warning. By defaulting to None (matching to_image's expected interface), the warning only appears when the user actually passes an engine argument.

Fixes #5512

write_image() defaulted engine='auto' and passed it to to_image(),
which treats any non-None engine value as explicitly user-specified
and emits a deprecation warning. By defaulting to None (matching
to_image's expected interface), the warning only appears when the
user actually passes an engine argument.

Fixes plotly#5512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Unexpected warning when using write_image

1 participant