We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c378cde commit c15dd7bCopy full SHA for c15dd7b
packages/python/plotly/plotly/tests/test_core/test_px/test_px.py
@@ -1,13 +1,12 @@
1
import plotly.express as px
2
import numpy as np
3
4
+
5
def test_scatter():
6
iris = px.data.iris()
7
fig = px.scatter(iris, x="sepal_width", y="sepal_length")
- assert fig.data[0].type == 'scatter'
8
+ assert fig.data[0].type == "scatter"
9
assert np.all(fig.data[0].x == iris.sepal_width)
10
assert np.all(fig.data[0].y == iris.sepal_length)
11
# test defaults
- assert fig.data[0].mode == 'markers'
12
-
13
+ assert fig.data[0].mode == "markers"
0 commit comments