We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7e5c0 commit 4e4fa6eCopy full SHA for 4e4fa6e
doc/python/colorscales.md
@@ -307,11 +307,11 @@ Using `labelalias` you can replace some labels on the `colorbar` with alternativ
307
```python
308
import plotly.graph_objects as go
309
310
-import urllib
+import urllib.request as request
311
import json
312
313
# Load heatmap data
314
-response = urllib.request.urlopen(
+response = request.urlopen(
315
"https://raw.githubusercontent.com/plotly/datasets/master/custom_heatmap_colorscale.json")
316
dataset = json.load(response)
317
0 commit comments