File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 extension : .md
77 format_name : markdown
88 format_version : ' 1.3'
9- jupytext_version : 1.14.5
9+ jupytext_version : 1.14.6
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.11
23+ version : 3.10.8
2424 plotly :
2525 description : How to set, create and control continuous color scales and color
2626 bars in scatter, bar, map and heatmap figures.
@@ -307,11 +307,11 @@ Using `labelalias` you can replace some labels on the `colorbar` with alternativ
307307``` python
308308import plotly.graph_objects as go
309309
310- import urllib
310+ import urllib.request as request
311311import json
312312
313313# Load heatmap data
314- response = urllib. request.urlopen(
314+ response = request.urlopen(
315315 " https://raw.githubusercontent.com/plotly/datasets/master/custom_heatmap_colorscale.json" )
316316dataset = json.load(response)
317317
You can’t perform that action at this time.
0 commit comments