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 b41b1f3 commit 7129bfbCopy full SHA for 7129bfb
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)
+ figure = self.data.to(dict) if self.data is not None else {}
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