7
7
layout: user-guide
8
8
name: Annotated Heatmaps
9
9
language: python
10
- version: 2
11
10
title: Python Annotated Heatmaps | plotly
12
11
display_as: scientific
13
12
has_thumbnail: true
13
+ version: 2
14
14
ipynb: ~notebook_demo/35
15
15
order: 4
16
16
page_type: u-guide
17
17
---
18
18
{% raw %}
19
- < div class ="cell border-box-sizing text_cell rendered ">
20
- < div class ="prompt input_prompt ">
19
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
21
20
</ div >
22
21
< div class ="inner_cell ">
23
22
< div class ="text_cell_render border-box-sizing rendered_html ">
24
23
< h4 id ="New-to-Plotly? "> New to Plotly?< a class ="anchor-link " href ="#New-to-Plotly? "> ¶</ a > </ h4 > < p > Plotly's Python library is free and open source! < a href ="https://plot.ly/python/getting-started/ "> Get started</ a > by downloading the client and < a href ="https://plot.ly/python/getting-started/ "> reading the primer</ a > .
25
24
< br > You can set up Plotly to work in < a href ="https://plot.ly/python/getting-started/#initialization-for-online-plotting "> online</ a > or < a href ="https://plot.ly/python/getting-started/#initialization-for-offline-plotting "> offline</ a > mode, or in < a href ="https://plot.ly/python/getting-started/#start-plotting-online "> jupyter notebooks</ a > .
26
25
< br > We also have a quick-reference < a href ="https://images.plot.ly/plotly-documentation/images/python_cheat_sheet.pdf "> cheatsheet</ a > (new!) to help you get started!</ p >
27
- < h4 id ="Version-Check "> Version Check< a class ="anchor-link " href ="#Version-Check "> ¶</ a > </ h4 > < p > Plotly's python package is updated frequently. To upgrade, run < code > pip install plotly --upgrade</ code > .</ p >
28
-
29
- </ div >
30
- </ div >
31
- </ div >
32
- < div class ="cell border-box-sizing code_cell rendered ">
33
- < div class ="input ">
34
- < div class ="prompt input_prompt "> In [2]:</ div >
35
- < div class ="inner_cell ">
36
- < div class ="input_area ">
37
- < div class =" highlight hl-ipython2 "> < pre > < span > </ span > < span class ="kn "> import</ span > < span class ="nn "> plotly</ span >
38
- < span class ="n "> plotly</ span > < span class ="o "> .</ span > < span class ="n "> __version__</ span >
39
- </ pre > </ div >
40
-
41
- </ div >
42
- </ div >
43
- </ div >
44
-
45
- < div class ="output_wrapper ">
46
- < div class ="output ">
47
-
48
-
49
- < div class ="output_area ">
50
- < div class ="prompt output_prompt "> Out[2]:</ div >
51
-
52
-
53
-
54
- < div class ="output_text output_subarea output_execute_result ">
55
- < pre > '2.0.2'</ pre >
56
- </ div >
26
+ < h4 id ="Version-Check "> Version Check< a class ="anchor-link " href ="#Version-Check "> ¶</ a > </ h4 > < p > This is documentation for version 2 of plotly.py. See the < a href ="https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md#270---2018-05-23 "> changelog</ a > for differences between package versions.</ p >
57
27
58
28
</ div >
59
-
60
29
</ div >
61
30
</ div >
62
-
63
- </ div >
64
- < div class ="cell border-box-sizing text_cell rendered ">
65
- < div class ="prompt input_prompt ">
31
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
66
32
</ div >
67
33
< div class ="inner_cell ">
68
34
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -97,9 +63,11 @@ <h4 id="Simple-Annotated-Heatmap">Simple Annotated Heatmap<a class="anchor-link"
97
63
98
64
99
65
< div class ="output_area ">
66
+
100
67
< div class ="prompt output_prompt "> Out[3]:</ div >
101
68
102
69
70
+
103
71
< div class ="output_html rendered_html output_subarea output_execute_result ">
104
72
< iframe id ="igraph " scrolling ="no " style ="border:none; " seamless ="seamless " src ="https://plot.ly/~PythonPlotBot/417.embed " height ="525px " width ="100% "> </ iframe >
105
73
</ div >
@@ -110,8 +78,7 @@ <h4 id="Simple-Annotated-Heatmap">Simple Annotated Heatmap<a class="anchor-link"
110
78
</ div >
111
79
112
80
</ div >
113
- < div class ="cell border-box-sizing text_cell rendered ">
114
- < div class ="prompt input_prompt ">
81
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
115
82
</ div >
116
83
< div class ="inner_cell ">
117
84
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -145,9 +112,11 @@ <h4 id="Defined-Colorscale">Defined Colorscale<a class="anchor-link" href="#Defi
145
112
146
113
147
114
< div class ="output_area ">
115
+
148
116
< div class ="prompt output_prompt "> Out[4]:</ div >
149
117
150
118
119
+
151
120
< div class ="output_html rendered_html output_subarea output_execute_result ">
152
121
< iframe id ="igraph " scrolling ="no " style ="border:none; " seamless ="seamless " src ="https://plot.ly/~PythonPlotBot/419.embed " height ="525px " width ="100% "> </ iframe >
153
122
</ div >
@@ -158,8 +127,7 @@ <h4 id="Defined-Colorscale">Defined Colorscale<a class="anchor-link" href="#Defi
158
127
</ div >
159
128
160
129
</ div >
161
- < div class ="cell border-box-sizing text_cell rendered ">
162
- < div class ="prompt input_prompt ">
130
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
163
131
</ div >
164
132
< div class ="inner_cell ">
165
133
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -195,9 +163,11 @@ <h4 id="Custom-Colorscale">Custom Colorscale<a class="anchor-link" href="#Custom
195
163
196
164
197
165
< div class ="output_area ">
166
+
198
167
< div class ="prompt output_prompt "> Out[5]:</ div >
199
168
200
169
170
+
201
171
< div class ="output_html rendered_html output_subarea output_execute_result ">
202
172
< iframe id ="igraph " scrolling ="no " style ="border:none; " seamless ="seamless " src ="https://plot.ly/~PythonPlotBot/421.embed " height ="525px " width ="100% "> </ iframe >
203
173
</ div >
@@ -208,8 +178,7 @@ <h4 id="Custom-Colorscale">Custom Colorscale<a class="anchor-link" href="#Custom
208
178
</ div >
209
179
210
180
</ div >
211
- < div class ="cell border-box-sizing text_cell rendered ">
212
- < div class ="prompt input_prompt ">
181
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
213
182
</ div >
214
183
< div class ="inner_cell ">
215
184
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -250,9 +219,11 @@ <h4 id="Custom-Text-and-X-&-Y-Labels">Custom Text and X & Y Labels<a cla
250
219
251
220
252
221
< div class ="output_area ">
222
+
253
223
< div class ="prompt output_prompt "> Out[6]:</ div >
254
224
255
225
226
+
256
227
< div class ="output_html rendered_html output_subarea output_execute_result ">
257
228
< iframe id ="igraph " scrolling ="no " style ="border:none; " seamless ="seamless " src ="https://plot.ly/~PythonPlotBot/423.embed " height ="525px " width ="100% "> </ iframe >
258
229
</ div >
@@ -263,8 +234,7 @@ <h4 id="Custom-Text-and-X-&-Y-Labels">Custom Text and X & Y Labels<a cla
263
234
</ div >
264
235
265
236
</ div >
266
- < div class ="cell border-box-sizing text_cell rendered ">
267
- < div class ="prompt input_prompt ">
237
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
268
238
</ div >
269
239
< div class ="inner_cell ">
270
240
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -302,9 +272,11 @@ <h4 id="Annotated-Heatmap-with-numpy">Annotated Heatmap with numpy<a class="anch
302
272
303
273
304
274
< div class ="output_area ">
275
+
305
276
< div class ="prompt output_prompt "> Out[7]:</ div >
306
277
307
278
279
+
308
280
< div class ="output_html rendered_html output_subarea output_execute_result ">
309
281
< iframe id ="igraph " scrolling ="no " style ="border:none; " seamless ="seamless " src ="https://plot.ly/~PythonPlotBot/425.embed " height ="525px " width ="100% "> </ iframe >
310
282
</ div >
@@ -315,8 +287,7 @@ <h4 id="Annotated-Heatmap-with-numpy">Annotated Heatmap with numpy<a class="anch
315
287
</ div >
316
288
317
289
</ div >
318
- < div class ="cell border-box-sizing text_cell rendered ">
319
- < div class ="prompt input_prompt ">
290
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
320
291
</ div >
321
292
< div class ="inner_cell ">
322
293
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -414,9 +385,11 @@ <h4 id="Custom-Hovertext">Custom Hovertext<a class="anchor-link" href="#Custom-H
414
385
415
386
416
387
< div class ="output_area ">
388
+
417
389
< div class ="prompt output_prompt "> Out[8]:</ div >
418
390
419
391
392
+
420
393
< div class ="output_html rendered_html output_subarea output_execute_result ">
421
394
< iframe id ="igraph " scrolling ="no " style ="border:none; " seamless ="seamless " src ="https://plot.ly/~PythonPlotBot/427.embed " height ="525px " width ="100% "> </ iframe >
422
395
</ div >
@@ -427,8 +400,7 @@ <h4 id="Custom-Hovertext">Custom Hovertext<a class="anchor-link" href="#Custom-H
427
400
</ div >
428
401
429
402
</ div >
430
- < div class ="cell border-box-sizing text_cell rendered ">
431
- < div class ="prompt input_prompt ">
403
+ < div class ="cell border-box-sizing text_cell rendered "> < div class ="prompt input_prompt ">
432
404
</ div >
433
405
< div class ="inner_cell ">
434
406
< div class ="text_cell_render border-box-sizing rendered_html ">
@@ -454,8 +426,10 @@ <h4 id="Reference">Reference<a class="anchor-link" href="#Reference">¶</a><
454
426
455
427
456
428
< div class ="output_area ">
429
+
457
430
< div class ="prompt "> </ div >
458
431
432
+
459
433
< div class ="output_subarea output_stream output_stdout output_text ">
460
434
< pre > Help on function create_annotated_heatmap in module plotly.figure_factory._annotated_heatmap:
461
435
0 commit comments