Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
dorisjlee committed Mar 22, 2021
1 parent d9d39c2 commit 853844a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ def test_bar_uniform():
df["Type"] = "A"
vis = Vis(["Type"], df)
vis_code = vis.to_Altair()
assert ("y = alt.Y('Type', type= 'nominal'" in vis_code)
assert "y = alt.Y('Type', type= 'nominal'" in vis_code


def test_scatter_chart(global_var):
df = pytest.car_df
Expand Down Expand Up @@ -375,7 +376,7 @@ def test_histogram_uniform():
df["Units"] = 4.0
vis = Vis(["Units"], df)
vis_code = vis.to_Altair()
assert ("y = alt.Y('Units', type= 'nominal'" in vis_code)
assert "y = alt.Y('Units', type= 'nominal'" in vis_code


def test_heatmap_chart(global_var):
Expand Down

0 comments on commit 853844a

Please sign in to comment.