|
@@ -1,8 +1,8 @@
|
|
|
import numpy as np
|
|
|
import plotly.graph_objects as go
|
|
|
-import reflex as rx
|
|
|
import pytest
|
|
|
|
|
|
+import reflex as rx
|
|
|
from reflex.utils.serializers import serialize, serialize_figure
|
|
|
|
|
|
|
|
@@ -40,6 +40,5 @@ def test_plotly_config_option(plotly_fig: go.Figure):
|
|
|
Args:
|
|
|
plotly_fig: The figure to display.
|
|
|
"""
|
|
|
-
|
|
|
# This tests just confirm that the component can be created with a config option.
|
|
|
- _ = rx.plotly(data=plotly_fig, config={"showLink": True})
|
|
|
+ _ = rx.plotly(data=plotly_fig, config={"showLink": True})
|