Skip to content

Commit 21bd591

Browse files
authored
Merge branch 'master' into cleanup/chart_types
2 parents b108bd1 + 8e9a704 commit 21bd591

34 files changed

+287
-368
lines changed

Diff for: .circleci/config.yml

-1
Original file line numberDiff line numberDiff line change
@@ -617,4 +617,3 @@ workflows:
617617
- python_39_percy
618618
- python_312_no_numpy
619619
- build-doc
620-

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [5.24.1] - 2024-09-12
6+
7+
### Updated
8+
9+
- Updated Plotly.js from version 2.35.0 to version 2.35.2. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2352----2024-09-10) for more information.
10+
511
## [5.24.0] - 2024-08-29
612

713
### Added

Diff for: LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2018 Plotly, Inc
3+
Copyright (c) 2016-2024 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
## Quickstart
4242

43-
`pip install plotly==5.24.0`
43+
`pip install plotly==5.24.1`
4444

4545
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
4646

@@ -85,13 +85,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
8585
plotly.py may be installed using pip...
8686

8787
```
88-
pip install plotly==5.24.0
88+
pip install plotly==5.24.1
8989
```
9090

9191
or conda.
9292

9393
```
94-
conda install -c plotly plotly=5.24.0
94+
conda install -c plotly plotly=5.24.1
9595
```
9696

9797
### JupyterLab Support
@@ -113,7 +113,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
113113

114114
```
115115
# JupyterLab 2.x renderer support
116-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
116+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
117117
```
118118

119119
Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.

Diff for: binder/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
jupytext
2-
plotly==5.24.0
2+
plotly==5.24.1
33
jupyter
44
notebook
55
pandas==2.2.2

Diff for: doc/apidoc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ""
2828
# The full version, including alpha/beta/rc tags
29-
release = "5.24.0"
29+
release = "5.24.1"
3030

3131

3232
# -- General configuration ---------------------------------------------------

Diff for: doc/apidoc/plotly.graph_objects.rst

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ Map Traces
9999

100100
Scattergeo
101101
Choropleth
102+
Scattermap
103+
Choroplethmap
104+
Densitymap
102105
Scattermapbox
103106
Choroplethmapbox
104107
Densitymapbox

Diff for: doc/python/mapbox-density-heatmaps.md renamed to doc/python/density-heatmaps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fig.show()
7272

7373
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
7474
75-
The earlier examples using `px.density_mapbox` and `go.Densitymap` use [Maplibre](https://maplibre.org/maplibre-gl-js/docs/) for rendering. These traces were introduced in Plotly.py 5.24. These trace types are now the recommended way to make tile-based density heatmaps. There are also traces that use [Mapbox](https://docs.mapbox.com): `density_mapbox` and `go.Densitymapbox`.
75+
The earlier examples using `px.density_map` and `go.Densitymap` use [Maplibre](https://maplibre.org/maplibre-gl-js/docs/) for rendering. These traces were introduced in Plotly.py 5.24. These trace types are now the recommended way to make tile-based density heatmaps. There are also traces that use [Mapbox](https://docs.mapbox.com): `density_mapbox` and `go.Densitymapbox`.
7676

7777
To use these trace types, in some cases you _may_ need a Mapbox account and a public [Mapbox Access Token](https://www.mapbox.com/studio). See our [Mapbox Map Layers](/python/mapbox-layers/) documentation for more information.
7878

Diff for: doc/python/filled-area-on-mapbox.md renamed to doc/python/filled-area-tile-maps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jupyter:
2626
display_as: maps
2727
language: python
2828
layout: base
29-
name: Filled Area on Maps
29+
name: Filled Area on Tile Maps
3030
order: 4
3131
page_type: example_index
3232
permalink: python/filled-area-tile-maps/

Diff for: doc/python/getting-started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ We also encourage you to join the [Plotly Community Forum](http://community.plot
5858
`plotly` may be installed using `pip`:
5959

6060
```
61-
$ pip install plotly==5.24.0
61+
$ pip install plotly==5.24.1
6262
```
6363

6464
or `conda`:
6565

6666
```
67-
$ conda install -c plotly plotly=5.24.0
67+
$ conda install -c plotly plotly=5.24.1
6868
```
6969
This package contains everything you need to write figures to standalone HTML files.
7070

@@ -152,7 +152,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
152152

153153
```
154154
# JupyterLab 2.x renderer support
155-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
155+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
156156
```
157157

158158
Please check out our [Troubleshooting guide](/python/troubleshooting/) if you run into any problems with JupyterLab, particularly if you are using multiple python environments inside Jupyter.

Diff for: doc/python/lines-on-mapbox.md renamed to doc/python/lines-on-tile-maps.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jupyter:
2626
display_as: maps
2727
language: python
2828
layout: base
29-
name: Lines on Maps
29+
name: Lines on Tile Maps
3030
order: 3
3131
page_type: example_index
3232
permalink: python/lines-on-tile-maps/
3333
redirect_from: python/lines-on-mapbox/
3434
thumbnail: thumbnail/line_mapbox.jpg
3535
---
3636

37-
### Lines on maps using Plotly Express
37+
### Lines on tile maps using Plotly Express
3838

3939
To draw a line on a map, you either can use `px.line_map` in Plotly Express, or `go.Scattermap` in Plotly Graph Objects. Here's an example of drawing a line on a tile-based map using Plotly Express.
4040

Diff for: doc/python/map-configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Plotly supports two different kinds of maps:
3939

4040
- **[Tile-based maps](https://en.wikipedia.org/wiki/Tiled_web_map)**
4141

42-
If your figure is created with a `px.scatter_map`, `px.scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`,`go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox` the `layout.map` object in your figure contains configuration information for the map itself.
42+
If your figure is created with a `px.scatter_map`, `px.scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`, `go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox`, the `layout.map` object in your figure contains configuration information for the map itself.
4343

4444
- **Outline-based maps**
4545

Diff for: doc/python/renderers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ The `plotly_mimetype` renderer creates a specification of the figure (called a M
164164
These are aliases for `plotly_mimetype` since this renderer is a good choice when working in JupyterLab, nteract, and the Visual Studio Code notebook interface. Note that in VSCode Notebooks, the version of Plotly.js that is used to render is provided by the [vscode-python extension](https://code.visualstudio.com/docs/languages/python) and often trails the latest version by several weeks, so the latest features of `plotly` may not be available in VSCode right away. The situation is similar for Nteract.
165165

166166
##### Static Image Renderers
167-
A set of renderers is provided for displaying figures as static images. These renderers all rely on the [orca](https://github.com/plotly/orca) static image export utility. See the [Static Image Export](https://plot.ly/python/static-image-export/) page for more information on getting set up with [orca].
167+
A set of renderers is provided for displaying figures as static images. See the [Static Image Export](https://plot.ly/python/static-image-export/) page for more information on getting set up.
168168

169169
###### `png`, `jpeg`, and `svg`
170170
These renderers display figures as static `.png`, `.jpeg`, and `.svg` files, respectively. These renderers are useful for user interfaces that do not support inline HTML output, but do support inline static images. Examples include the [QtConsole](https://qtconsole.readthedocs.io/en/stable/), [Spyder](https://www.spyder-ide.org/), and the PyCharm [notebook interface](https://www.jetbrains.com/help/pycharm/jupyter-notebook-support.html).

Diff for: doc/python/smoothing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fig.add_trace(go.Scatter(
9595

9696
fig.add_trace(go.Scatter(
9797
x=x,
98-
y=signal.savgol_filter(y,
98+
y=signal.savgol_filter(y_noise,
9999
53, # window size used for filtering
100100
3), # order of fitted polynomial
101101
mode='markers',
File renamed without changes.

Diff for: doc/python/mapbox-layers.md renamed to doc/python/tile-map-layers.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jupyter:
2929
name: Tile Map Layers
3030
order: 9
3131
page_type: u-guide
32-
permalink: /python/tile-map-layers/
33-
redirect_from: /python/mapbox-layers/
32+
permalink: python/tile-map-layers/
33+
redirect_from: python/mapbox-layers/
3434
thumbnail: thumbnail/mapbox-layers.png
3535
---
3636

@@ -42,7 +42,7 @@ Plotly supports two different kinds of maps:
4242

4343
- **[Tile-based maps](https://en.wikipedia.org/wiki/Tiled_web_map)**
4444

45-
If your figure is created with a `px.scatter_map`, `px_scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`,`go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox` the `layout.map` or `layout.mapbox` object in your figure contains configuration information for the map itself.
45+
If your figure is created with a `px.scatter_map`, `px_scatter_mapbox`, `px.line_map`, `px.line_mapbox`, `px.choropleth_map`, `px.choropleth_mapbox`, `px.density_map`, or `px.density_mapbox` function or otherwise contains one or more traces of type `go.Scattermap`, `go.Scattermapbox`, `go.Choroplethmap`, `go.Choroplethmapbox`, `go.Densitymap`, or `go.Densitymapbox`, the `layout.map` or `layout.mapbox` object in your figure contains configuration information for the map itself.
4646

4747
- **Outline-based maps**
4848

Diff for: doc/python/scattermapbox.md renamed to doc/python/tile-scatter-maps.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jupyter:
2626
display_as: maps
2727
language: python
2828
layout: base
29-
name: Scatter Plots on Mapbox
29+
name: Scatter Plots on Tile Maps
3030
order: 10
3131
page_type: u-guide
3232
permalink: python/tile-scatter-maps/
@@ -303,6 +303,7 @@ fig.show()
303303
## Mapbox Maps
304304

305305
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
306+
306307
The earlier examples using `px.scatter_map` and `go.Scattermap` use [Maplibre](https://maplibre.org/maplibre-gl-js/docs/) for rendering. These traces were introduced in Plotly.py 5.24 and are now the recommended way to create scatter plots on tile-based maps. There are also traces that use [Mapbox](https://docs.mapbox.com): `px.scatter_mapbox` and `go.Scattermapbox`
307308

308309
To plot on Mapbox maps with Plotly you _may_ need a Mapbox account and a public [Mapbox Access Token](https://www.mapbox.com/studio). See our [Mapbox Map Layers](/python/mapbox-layers/) documentation for more information.

Diff for: doc/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
plotly==5.24.0
1+
plotly==5.24.1
22
jupytext==1.1.1
33
ipywidgets==7.7.2
44
jupyter-client<7

0 commit comments

Comments
 (0)