Skip to content

Commit e4eeb3b

Browse files
emilyklayjayt
authored andcommitted
wording
1 parent 7f841b2 commit e4eeb3b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/py/kaleido/_utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ def warn_incompatible_plotly():
3232
f"Warning: You have Plotly version {installed_plotly_version}, "
3333
"which is not compatible with this version of "
3434
f"Kaleido ({installed_kaleido_version}).\n\n"
35-
"This means that image generation (e.g. `fig.write_image()`) "
35+
"This means that static image generation (e.g. `fig.write_image()`) "
3636
"will not work.\n\n"
37-
f"Please upgrade Plotly to at least {min_compatible_plotly_version}, "
38-
"or downgrade Kaleido."
39-
"\n\n",
37+
f"Please upgrade Plotly to version {min_compatible_plotly_version} "
38+
"or greater, or downgrade Kaleido to version 0.2.1."
39+
"\n",
4040
UserWarning,
41-
stacklevel=2,
41+
stacklevel=3,
4242
)
4343
except PackageNotFoundError:
4444
# If Plotly is not installed, there's nothing to worry about

0 commit comments

Comments
 (0)