Skip to content

Commit

Permalink
add inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GStechschulte committed Oct 18, 2023
1 parent e44009d commit 01efb2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def food_choice():
# Improvement:
# * Test the actual plots are what we are indeed the desired result.
# * Test using the dictionary and the list gives the same plot
# * Use the same function for different models, e.g. average by, transforms, etc.


class TestCommon:
Expand Down Expand Up @@ -194,7 +195,7 @@ def test_average_by(self, mtcars, average_by):
# grid of values with average_by
plot_predictions(model, idata, ["hp", "am", "drat"], average_by)

# unit level with average by
# unit level with average by covariates
plot_predictions(model, idata, None, average_by)

@pytest.mark.parametrize("pps", [False, True])
Expand Down

0 comments on commit 01efb2c

Please sign in to comment.