Skip to content

Commit 8d8665c

Browse files
Merge pull request #2074 from plotly/byebyepx
remove references to old name
2 parents deaa889 + cdeb52b commit 8d8665c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Diff for: packages/python/plotly/_plotly_utils/colors/sequential.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Sequential color scales are appropriate for most continuous data, but in some cases it \
3-
can be helpful to use a `plotly_express.colors.diverging` or \
4-
`plotly_express.colors.cyclical` scale instead. The color scales in this module are \
3+
can be helpful to use a `plotly.colors.diverging` or \
4+
`plotly.colors.cyclical` scale instead. The color scales in this module are \
55
mostly meant to be passed in as the `color_continuous_scale` argument to various functions.
66
"""
77

Diff for: packages/python/plotly/plotly/express/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
`plotly_express` is a terse, consistent, high-level wrapper around `plotly` for rapid \
3-
data exploration and figure generation. See the gallery at https://plotly.github.io/plotly_express
2+
`plotly.express` is a terse, consistent, high-level wrapper around `plotly.graph_objects`
3+
for rapid data exploration and figure generation. Learn more at https://plotly.express/
44
"""
55
from __future__ import absolute_import
66
from plotly import optional_imports

Diff for: packages/python/plotly/plotly/express/_core.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def __init__(self):
3636
def set_mapbox_access_token(token):
3737
"""
3838
Arguments:
39-
token: A Mapbox token to be used in `plotly_express.scatter_mapbox` and \
40-
`plotly_express.line_mapbox` figures. See \
39+
token: A Mapbox token to be used in `plotly.express.scatter_mapbox` and \
40+
`plotly.express.line_mapbox` figures. See \
4141
https://docs.mapbox.com/help/how-mapbox-works/access-tokens/ for more details
4242
"""
4343
global MAPBOX_TOKEN
@@ -50,7 +50,7 @@ def get_trendline_results(fig):
5050
the `trendline` argument set to `"ols"`).
5151
5252
Arguments:
53-
fig: the output of a `plotly_express` charting call
53+
fig: the output of a `plotly.express` charting call
5454
Returns:
5555
A `pandas.DataFrame` with a column "px_fit_results" containing the `statsmodels`
5656
results objects, along with columns identifying the subset of the data the

Diff for: packages/python/plotly/plotly/express/_doc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
"list of str",
248248
"Strings should define valid CSS-colors.",
249249
"When `color` is set and the values in the corresponding column are not numeric, values in that column are assigned colors by cycling through `color_discrete_sequence` in the order described in `category_orders`, unless the value of `color` is a key in `color_discrete_map`.",
250-
"Various useful color sequences are available in the `plotly_express.colors` submodules, specifically `plotly_express.colors.qualitative`.",
250+
"Various useful color sequences are available in the `plotly.express.colors` submodules, specifically `plotly.express.colors.qualitative`.",
251251
],
252252
color_discrete_map=[
253253
"dict with str keys and str values (default `{}`)",
@@ -259,12 +259,12 @@
259259
"list of str",
260260
"Strings should define valid CSS-colors",
261261
"This list is used to build a continuous color scale when the column denoted by `color` contains numeric data.",
262-
"Various useful color scales are available in the `plotly_express.colors` submodules, specifically `plotly_express.colors.sequential`, `plotly_express.colors.diverging` and `plotly_express.colors.cyclical`.",
262+
"Various useful color scales are available in the `plotly.express.colors` submodules, specifically `plotly.express.colors.sequential`, `plotly.express.colors.diverging` and `plotly.express.colors.cyclical`.",
263263
],
264264
color_continuous_midpoint=[
265265
"number (default `None`)",
266266
"If set, computes the bounds of the continuous color scale to have the desired midpoint.",
267-
"Setting this value is recommended when using `plotly_express.colors.diverging` color scales as the inputs to `color_continuous_scale`.",
267+
"Setting this value is recommended when using `plotly.express.colors.diverging` color scales as the inputs to `color_continuous_scale`.",
268268
],
269269
size_max=["int (default `20`)", "Set the maximum mark size when using `size`."],
270270
log_x=[

0 commit comments

Comments
 (0)