File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
extension : .md
7
7
format_name : markdown
8
8
format_version : ' 1.3'
9
- jupytext_version : 1.14.5
9
+ jupytext_version : 1.14.6
10
10
kernelspec :
11
11
display_name : Python 3 (ipykernel)
12
12
language : python
@@ -20,7 +20,7 @@ jupyter:
20
20
name : python
21
21
nbconvert_exporter : python
22
22
pygments_lexer : ipython3
23
- version : 3.10.11
23
+ version : 3.10.8
24
24
plotly :
25
25
description : How to set, create and control continuous color scales and color
26
26
bars in scatter, bar, map and heatmap figures.
@@ -307,11 +307,11 @@ Using `labelalias` you can replace some labels on the `colorbar` with alternativ
307
307
``` python
308
308
import plotly.graph_objects as go
309
309
310
- import urllib
310
+ import urllib.request as request
311
311
import json
312
312
313
313
# Load heatmap data
314
- response = urllib. request.urlopen(
314
+ response = request.urlopen(
315
315
" https://raw.githubusercontent.com/plotly/datasets/master/custom_heatmap_colorscale.json" )
316
316
dataset = json.load(response)
317
317
You can’t perform that action at this time.
0 commit comments