Skip to content

Commit 5430490

Browse files
PR feedback
1 parent 4599415 commit 5430490

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/python/plotly/plotly/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
def plot(data_frame, kind, **kwargs):
8181
"""
8282
Pandas plotting backend function, not meant to be called directly.
83-
To activate, set pandas.options.plotting.backend="plotly.express.pandas_backend"
83+
To activate, set pandas.options.plotting.backend="plotly"
8484
See https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/__init__.py
8585
"""
8686
from .express import scatter, line, area, bar, box, histogram
@@ -103,14 +103,14 @@ def plot(data_frame, kind, **kwargs):
103103
new_kwargs = {k: kwargs[k] for k in kwargs if k not in ["by", "bins"]}
104104
return histogram(data_frame, **new_kwargs)
105105
raise NotImplementedError(
106-
"The plotly.express backend doesn't yet support kind='%s'" % kind
106+
"kind='%s' not yet supported for plotting.backend='plotly'" % kind
107107
)
108108

109109

110110
def boxplot_frame(data_frame, **kwargs):
111111
"""
112112
Pandas plotting backend function, not meant to be called directly.
113-
To activate, set pandas.options.plotting.backend="plotly.express.pandas_backend"
113+
To activate, set pandas.options.plotting.backend="plotly"
114114
See https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/__init__.py
115115
"""
116116
from .express import box
@@ -124,7 +124,7 @@ def boxplot_frame(data_frame, **kwargs):
124124
def hist_frame(data_frame, **kwargs):
125125
"""
126126
Pandas plotting backend function, not meant to be called directly.
127-
To activate, set pandas.options.plotting.backend="plotly.express.pandas_backend"
127+
To activate, set pandas.options.plotting.backend="plotly"
128128
See https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/__init__.py
129129
"""
130130
from .express import histogram
@@ -138,7 +138,7 @@ def hist_frame(data_frame, **kwargs):
138138
def hist_series(data_frame, **kwargs):
139139
"""
140140
Pandas plotting backend function, not meant to be called directly.
141-
To activate, set pandas.options.plotting.backend="plotly.express.pandas_backend"
141+
To activate, set pandas.options.plotting.backend="plotly"
142142
See https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/__init__.py
143143
"""
144144
from .express import histogram

0 commit comments

Comments
 (0)