diff --git a/packages/python/plotly/_plotly_utils/colors/sequential.py b/packages/python/plotly/_plotly_utils/colors/sequential.py index 0d0a4e57772..f1aaae78215 100644 --- a/packages/python/plotly/_plotly_utils/colors/sequential.py +++ b/packages/python/plotly/_plotly_utils/colors/sequential.py @@ -1,7 +1,7 @@ """ Sequential color scales are appropriate for most continuous data, but in some cases it \ -can be helpful to use a `plotly_express.colors.diverging` or \ -`plotly_express.colors.cyclical` scale instead. The color scales in this module are \ +can be helpful to use a `plotly.colors.diverging` or \ +`plotly.colors.cyclical` scale instead. The color scales in this module are \ mostly meant to be passed in as the `color_continuous_scale` argument to various functions. """ diff --git a/packages/python/plotly/plotly/express/__init__.py b/packages/python/plotly/plotly/express/__init__.py index eec2fd9da12..1d7c10d8cf2 100644 --- a/packages/python/plotly/plotly/express/__init__.py +++ b/packages/python/plotly/plotly/express/__init__.py @@ -1,6 +1,6 @@ """ -`plotly_express` is a terse, consistent, high-level wrapper around `plotly` for rapid \ -data exploration and figure generation. See the gallery at https://plotly.github.io/plotly_express +`plotly.express` is a terse, consistent, high-level wrapper around `plotly.graph_objects` +for rapid data exploration and figure generation. Learn more at https://plotly.express/ """ from __future__ import absolute_import from plotly import optional_imports diff --git a/packages/python/plotly/plotly/express/_core.py b/packages/python/plotly/plotly/express/_core.py index 1d919123c65..f338f64af77 100644 --- a/packages/python/plotly/plotly/express/_core.py +++ b/packages/python/plotly/plotly/express/_core.py @@ -36,8 +36,8 @@ def __init__(self): def set_mapbox_access_token(token): """ Arguments: - token: A Mapbox token to be used in `plotly_express.scatter_mapbox` and \ - `plotly_express.line_mapbox` figures. See \ + token: A Mapbox token to be used in `plotly.express.scatter_mapbox` and \ + `plotly.express.line_mapbox` figures. See \ https://docs.mapbox.com/help/how-mapbox-works/access-tokens/ for more details """ global MAPBOX_TOKEN @@ -50,7 +50,7 @@ def get_trendline_results(fig): the `trendline` argument set to `"ols"`). Arguments: - fig: the output of a `plotly_express` charting call + fig: the output of a `plotly.express` charting call Returns: A `pandas.DataFrame` with a column "px_fit_results" containing the `statsmodels` results objects, along with columns identifying the subset of the data the diff --git a/packages/python/plotly/plotly/express/_doc.py b/packages/python/plotly/plotly/express/_doc.py index 3ee3df4e5a7..9bc323648bd 100644 --- a/packages/python/plotly/plotly/express/_doc.py +++ b/packages/python/plotly/plotly/express/_doc.py @@ -247,7 +247,7 @@ "list of str", "Strings should define valid CSS-colors.", "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`.", - "Various useful color sequences are available in the `plotly_express.colors` submodules, specifically `plotly_express.colors.qualitative`.", + "Various useful color sequences are available in the `plotly.express.colors` submodules, specifically `plotly.express.colors.qualitative`.", ], color_discrete_map=[ "dict with str keys and str values (default `{}`)", @@ -259,12 +259,12 @@ "list of str", "Strings should define valid CSS-colors", "This list is used to build a continuous color scale when the column denoted by `color` contains numeric data.", - "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`.", + "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`.", ], color_continuous_midpoint=[ "number (default `None`)", "If set, computes the bounds of the continuous color scale to have the desired midpoint.", - "Setting this value is recommended when using `plotly_express.colors.diverging` color scales as the inputs to `color_continuous_scale`.", + "Setting this value is recommended when using `plotly.express.colors.diverging` color scales as the inputs to `color_continuous_scale`.", ], size_max=["int (default `20`)", "Set the maximum mark size when using `size`."], log_x=[