Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fa0305d

Browse files
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

‎packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py

Lines changed: 1 addition & 1 deletion
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",

‎packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /