We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7129bfb commit cb087acCopy full SHA for cb087ac
reflex/components/plotly/plotly.py
@@ -255,7 +255,7 @@ def _exclude_props(self) -> set[str]:
255
256
def _render(self):
257
tag = super()._render()
258
- figure = self.data.to(dict) if self.data is not None else {}
+ figure = self.data.to(dict) if self.data is not None else Var.create({})
259
merge_dicts = [] # Data will be merged and spread from these dict Vars
260
if self.layout is not None:
261
# Why is this not a literal dict? Great question... it didn't work
0 commit comments