Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-saigre committed Jul 17, 2024
1 parent 832a7f6 commit cdb0e39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

def plot_1(symbol):

if symbol == "_____": # invalid symbol, for plotly, we still need to pass a valid one
symbol = "circle"

df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species")

Expand Down Expand Up @@ -81,7 +84,7 @@ def plot_3():

return fig

@pytest.mark.parametrize("symbol", ["circle", 0, "0"])
@pytest.mark.parametrize("symbol", ["circle", 0, "0", "_____"])
def test_1(symbol):
assert_equality(plot_1(symbol), os.path.join(this_dir, test_name, test_name + "_1_reference.tex"))

Expand Down

0 comments on commit cdb0e39

Please sign in to comment.