Skip to content

Commit 6c58277

Browse files
authored
Merge pull request #5359 from plotly/changes-for-main
Add recent docs changes to main
2 parents 2d6771f + 8cff585 commit 6c58277

File tree

3 files changed

+38
-10
lines changed

3 files changed

+38
-10
lines changed

doc/python/imshow.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jupyter:
55
text_representation:
66
extension: .md
77
format_name: markdown
8-
format_version: '1.2'
9-
jupytext_version: 1.4.2
8+
format_version: '1.3'
9+
jupytext_version: 1.17.2
1010
kernelspec:
11-
display_name: Python 3
11+
display_name: Python 3 (ipykernel)
1212
language: python
1313
name: python3
1414
language_info:
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.7.7
23+
version: 3.12.0
2424
plotly:
2525
description: How to display image data in Python with Plotly.
2626
display_as: scientific
@@ -61,7 +61,7 @@ In order to create a numerical array to be passed to `px.imshow`, you can use a
6161
```python
6262
import plotly.express as px
6363
from skimage import io
64-
img = io.imread('https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Crab_Nebula.jpg/240px-Crab_Nebula.jpg')
64+
img = io.imread('https://user-images.githubusercontent.com/72614349/179115668-2630e3e4-3a9f-4c88-9494-3412e606450a.jpg')
6565
fig = px.imshow(img)
6666
fig.show()
6767
```

doc/python/plotly-express.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jupyter:
66
extension: .md
77
format_name: markdown
88
format_version: '1.3'
9-
jupytext_version: 1.14.7
9+
jupytext_version: 1.17.2
1010
kernelspec:
1111
display_name: Python 3 (ipykernel)
1212
language: python
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.10.4
23+
version: 3.12.0
2424
plotly:
2525
description: Plotly Express is a terse, consistent, high-level API for creating
2626
figures.
@@ -386,7 +386,7 @@ fig.show()
386386
```python
387387
import plotly.express as px
388388
from skimage import io
389-
img = io.imread('https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Crab_Nebula.jpg/240px-Crab_Nebula.jpg')
389+
img = io.imread('https://user-images.githubusercontent.com/72614349/179115668-2630e3e4-3a9f-4c88-9494-3412e606450a.jpg')
390390
fig = px.imshow(img)
391391
fig.show()
392392
```

doc/python/tile-scatter-maps.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jupyter:
66
extension: .md
77
format_name: markdown
88
format_version: '1.3'
9-
jupytext_version: 1.16.3
9+
jupytext_version: 1.16.4
1010
kernelspec:
1111
display_name: Python 3 (ipykernel)
1212
language: python
@@ -20,7 +20,7 @@ jupyter:
2020
name: python
2121
nbconvert_exporter: python
2222
pygments_lexer: ipython3
23-
version: 3.10.0
23+
version: 3.9.16
2424
plotly:
2525
description: How to make scatter plots on tile maps in Python.
2626
display_as: maps
@@ -220,6 +220,34 @@ fig.update_layout(
220220
fig.show()
221221
```
222222

223+
#### Supported Symbols
224+
225+
Plotly uses [Maki v2.1.0](https://app.unpkg.com/maki@2.1.0/files/icons) for symbols and supports the following values for `symbol`:
226+
227+
"aerialway", "airfield", "airport", "alcohol-shop", "america-football",
228+
"amusement-park", "aquarium", "art-gallery", "attraction", "bakery",
229+
"bank", "bar", "baseball", "basketball", "beer", "bicycle", "bicycle-share",
230+
"blood-bank", "buddhism", "building", "bus", "cafe", "campsite", "car",
231+
"castle", "cemetery", "central-building", "cinema", "circle", "circle-stroked",
232+
"clothing-store", "college", "commercial", "cricket", "cross", "dam",
233+
"danger", "dentist", "doctor", "dog-park", "drinking-water", "embassy",
234+
"entrance", "farm", "fast-food", "ferry", "fire-station", "fuel", "gaming",
235+
"garden", "garden-center", "gift", "golf", "grocery", "hairdresser",
236+
"harbor", "heart", "heliport", "hospital", "ice-cream", "industry",
237+
"information", "karaoke", "landmark", "laundry", "library", "lighthouse",
238+
"lodging", "marker", "monument", "mountain", "museum", "music", "park",
239+
"parking", "parking-garage", "pharmacy", "picnic-site", "pitch",
240+
"place-of-worship", "playground", "police", "post", "prison", "rail",
241+
"rail-light", "rail-metro", "ranger-station", "religious-christian",
242+
"religious-jewish", "religious-muslim", "residential-community",
243+
"restaurant", "roadblock", "rocket", "school", "shelter", "shop",
244+
"skiing", "soccer", "square", "square-stroked", "stadium", "star",
245+
"star-stroked", "suitcase", "sushi", "swimming", "teahouse", "telephone",
246+
"tennis", "theatre", "toilet", "town-hall", "triangle", "triangle-stroked",
247+
"veterinary", "volcano", "warehouse", "waste-basket", "water", "wetland",
248+
"wheelchair", "zoo"
249+
250+
223251
#### Add Clusters
224252

225253
*New in 5.11*

0 commit comments

Comments
 (0)