fix black+ruff (#2750)
This commit is contained in:
parent
842c7e6882
commit
2d56441a28
@ -1,8 +1,8 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import plotly.graph_objects as go
|
import plotly.graph_objects as go
|
||||||
import reflex as rx
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
import reflex as rx
|
||||||
from reflex.utils.serializers import serialize, serialize_figure
|
from reflex.utils.serializers import serialize, serialize_figure
|
||||||
|
|
||||||
|
|
||||||
@ -40,6 +40,5 @@ def test_plotly_config_option(plotly_fig: go.Figure):
|
|||||||
Args:
|
Args:
|
||||||
plotly_fig: The figure to display.
|
plotly_fig: The figure to display.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# This tests just confirm that the component can be created with a config option.
|
# 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})
|
||||||
|
Loading…
Reference in New Issue
Block a user