(constructor, fn, mode, x, y, color, result)
| 658 | ], |
| 659 | ) |
| 660 | def test_auto_boxlike_overlay(constructor, fn, mode, x, y, color, result): |
| 661 | df = constructor( |
| 662 | dict( |
| 663 | categorical1=["a", "a", "b", "b"], |
| 664 | categorical2=["a", "a", "b", "b"], |
| 665 | numerical=[1, 2, 3, 4], |
| 666 | ) |
| 667 | ) |
| 668 | assert fn(df, x=x, y=y, color=color).layout[mode] == result |
| 669 | |
| 670 | |
| 671 | @pytest.mark.parametrize("fn", [px.scatter, px.line, px.area, px.bar]) |
nothing calls this directly
no test coverage detected