diff --git a/packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py b/packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py
index 5ae751f666..157cb1fd2a 100644
--- a/packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py
+++ b/packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py
@@ -293,7 +293,7 @@ def test_category_order_with_category_as_x(backend):
     # https://github.com/plotly/plotly.py/issues/4875
     tips = nw.from_native(px.data.tips(return_type=backend))
     fig = px.bar(
-        tips,
+        tips.to_native(),
         x="day",
         y="total_bill",
         color="smoker",
diff --git a/packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py b/packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py
index 81605b59a2..dff76b4863 100644
--- a/packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py
+++ b/packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py
@@ -464,7 +464,7 @@ def test_arguments_not_modified(backend):
 def test_pass_df_columns(backend):
     tips = nw.from_native(px.data.tips(return_type=backend))
     fig = px.histogram(
-        tips,
+        tips.to_native(),
         x="total_bill",
         y="tip",
         color="sex",