We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8fb9a commit e47827eCopy full SHA for e47827e
packages/python/plotly/plotly/express/_core.py
@@ -8,14 +8,19 @@
8
from plotly.colors import qualitative, sequential
9
import math
10
11
-import narwhals.stable.v1 as nw
12
-
13
from plotly._subplots import (
14
make_subplots,
15
_set_trace_grid_reference,
16
_subplot_type_for_trace_type,
17
)
18
+import narwhals.stable.v1 as nw
+
19
+# The reason to use narwhals.stable.v1 is to have a stable and perfectly
20
+# backwards-compatible API, hence the confidence to not pin the Narwhals version exactly,
21
+# allowing for multiple major libraries to have Narwhals as a dependency without
22
+# forbidding users to install them all together due to dependency conflicts.
23
24
NO_COLOR = "px_no_color_constant"
25
26
0 commit comments