Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e412dcc

Browse files
authored
Merge pull request plotly#695 from plotly/fix-annotated-heatmap-doc-string
fix doc string in annotated-heatmap
2 parents 814bcbe + 64dd94b commit e412dcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/figure_factory/_annotated_heatmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ def create_annotated_heatmap(z, x=None, y=None, annotation_text=None,
7171
Example 1: Simple annotated heatmap with default configuration
7272
```
7373
import plotly.plotly as py
74-
from plotly.figure_factory create_annotated_heatmap
74+
import plotly.figure_factory as FF
7575
7676
z = [[0.300000, 0.00000, 0.65, 0.300000],
7777
[1, 0.100005, 0.45, 0.4300],
7878
[0.300000, 0.00000, 0.65, 0.300000],
7979
[1, 0.100005, 0.45, 0.00000]]
8080
81-
figure = create_annotated_heatmap(z)
81+
figure = FF.create_annotated_heatmap(z)
8282
py.iplot(figure)
8383
```
8484
"""

0 commit comments

Comments
 (0)