Skip to content

Commit 27b2996

Browse files
committed
use nw.get_native_namespace
1 parent 51e2b23 commit 27b2996

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/express/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ def _check_dataframe_all_leaves(df: nw.DataFrame) -> None:
18551855
name="fill_value",
18561856
values=[""] * len(df_sorted),
18571857
dtype=nw.String(),
1858-
native_namespace=df_sorted.__native_namespace__(),
1858+
native_namespace=nw.get_native_namespace(df_sorted),
18591859
)
18601860
df_sorted = df_sorted.with_columns(
18611861
**{

0 commit comments

Comments
 (0)