Skip to content

Commit af33340

Browse files
fix: Bug
1 parent 8b298d0 commit af33340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansys/tools/visualization_interface/backends/plotly/plotly_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def show(self,
206206
The figure of the plot if in doc building environment. Else, None.
207207
"""
208208
import os
209-
if os.environ["PYANSYS_VISUALIZER_DOC_MODE"]:
209+
if os.environ.get("PYANSYS_VISUALIZER_DOC_MODE"):
210210
return self._fig
211211

212212
if plottable_object is not None:

0 commit comments

Comments
 (0)