(df)
| 835 | |
| 836 | @pytest.mark.parametrize("df", [px.data.stocks(), dict(a=[1, 2], b=["1", "2"])]) |
| 837 | def test_mixed_input_error(df): |
| 838 | with pytest.raises(ValueError) as err_msg: |
| 839 | px.line(df) |
| 840 | assert ( |
| 841 | "Plotly Express cannot process wide-form data with columns of different type" |
| 842 | in str(err_msg.value) |
| 843 | ) |
| 844 | |
| 845 | |
| 846 | def test_mixed_number_input(constructor): |