File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments