Skip to content

Commit

Permalink
Don't use union operator for Python 3.8 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Jul 19, 2024
1 parent b11cd2c commit 00ba041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue_plotly/viewers/common/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, session, state=None):

layout = self._create_layout_config()
self.figure = go.FigureWidget(layout=layout)
self.figure._config = self.figure._config | {"displayModeBar": False}
self.figure._config = self.figure._config = {**self.figure._config, "displayModeBar": False}

self._unique_class = f"glue-plotly-{uuid4().hex}"
self.figure.add_class(self._unique_class)
Expand Down

0 comments on commit 00ba041

Please sign in to comment.