Skip to content

Commit fa0305d

Browse files
committed
test: Pass native dataframe to px.histogram in test_pass_df_columns
1 parent 0a4f0a0 commit fa0305d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def test_category_order_with_category_as_x(backend):
293293
# https://github.com/plotly/plotly.py/issues/4875
294294
tips = nw.from_native(px.data.tips(return_type=backend))
295295
fig = px.bar(
296-
tips,
296+
tips.to_native(),
297297
x="day",
298298
y="total_bill",
299299
color="smoker",

Diff for: packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def test_arguments_not_modified(backend):
464464
def test_pass_df_columns(backend):
465465
tips = nw.from_native(px.data.tips(return_type=backend))
466466
fig = px.histogram(
467-
tips,
467+
tips.to_native(),
468468
x="total_bill",
469469
y="tip",
470470
color="sex",

0 commit comments

Comments
 (0)