Skip to content

Commit e685d70

Browse files
committed
Fix suggested import to please the 🎎
1 parent 6428683 commit e685d70

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

plotly/graph_objs/figure_factory.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def create_quiver(x, y, u, v, scale=.1, arrow_scale=.3,
217217
Example 1: Trivial Quiver
218218
```
219219
import plotly.plotly as py
220-
from plotly.tools import FigureFactory as FF
220+
from plotly.graph_objs.figure_factory import FigureFactory as FF
221221
222222
import math
223223
@@ -232,7 +232,7 @@ def create_quiver(x, y, u, v, scale=.1, arrow_scale=.3,
232232
Example 2: Quiver plot using meshgrid
233233
```
234234
import plotly.plotly as py
235-
from plotly.tools import FigureFactory as FF
235+
from plotly.graph_objs.figure_factory import FigureFactory as FF
236236
237237
import numpy as np
238238
import math
@@ -252,7 +252,7 @@ def create_quiver(x, y, u, v, scale=.1, arrow_scale=.3,
252252
Example 3: Styling the quiver plot
253253
```
254254
import plotly.plotly as py
255-
from plotly.tools import FigureFactory as FF
255+
from plotly.graph_objs.figure_factory import FigureFactory as FF
256256
import numpy as np
257257
import math
258258
@@ -319,7 +319,7 @@ def create_streamline(x, y, u, v,
319319
Example 1: Plot simple streamline and increase arrow size
320320
```
321321
import plotly.plotly as py
322-
from plotly.tools import FigureFactory as FF
322+
from plotly.graph_objs.figure_factory import FigureFactory as FF
323323
324324
import numpy as np
325325
import math
@@ -344,7 +344,7 @@ def create_streamline(x, y, u, v,
344344
Example 2: from nbviewer.ipython.org/github/barbagroup/AeroPython
345345
```
346346
import plotly.plotly as py
347-
from plotly.tools import FigureFactory as FF
347+
from plotly.graph_objs.figure_factory import FigureFactory as FF
348348
349349
import numpy as np
350350
import math
@@ -504,7 +504,7 @@ def create_ohlc(open, high, low, close,
504504
Example 1: Simple OHLC chart from a Pandas DataFrame
505505
```
506506
import plotly.plotly as py
507-
from plotly.tools import FigureFactory as FF
507+
from plotly.graph_objs.figure_factory import FigureFactory as FF
508508
from datetime import datetime
509509
510510
import pandas.io.data as web
@@ -520,7 +520,7 @@ def create_ohlc(open, high, low, close,
520520
Example 2: Add text and annotations to the OHLC chart
521521
```
522522
import plotly.plotly as py
523-
from plotly.tools import FigureFactory as FF
523+
from plotly.graph_objs.figure_factory import FigureFactory as FF
524524
from datetime import datetime
525525
526526
import pandas.io.data as web
@@ -553,7 +553,7 @@ def create_ohlc(open, high, low, close,
553553
Example 3: Customize the OHLC colors
554554
```
555555
import plotly.plotly as py
556-
from plotly.tools import FigureFactory as FF
556+
from plotly.graph_objs.figure_factory import FigureFactory as FF
557557
from plotly.graph_objs import Line, Marker
558558
from datetime import datetime
559559
@@ -586,7 +586,7 @@ def create_ohlc(open, high, low, close,
586586
Example 4: OHLC chart with datetime objects
587587
```
588588
import plotly.plotly as py
589-
from plotly.tools import FigureFactory as FF
589+
from plotly.graph_objs.figure_factory import FigureFactory as FF
590590
591591
from datetime import datetime
592592
@@ -749,7 +749,7 @@ def create_candlestick(open, high, low, close,
749749
Example 1: Simple candlestick chart from a Pandas DataFrame
750750
```
751751
import plotly.plotly as py
752-
from plotly.tools import FigureFactory as FF
752+
from plotly.graph_objs.figure_factory import FigureFactory as FF
753753
from datetime import datetime
754754
755755
import pandas.io.data as web
@@ -787,7 +787,7 @@ def create_candlestick(open, high, low, close,
787787
Example 3: Customize the candlestick colors
788788
```
789789
import plotly.plotly as py
790-
from plotly.tools import FigureFactory as FF
790+
from plotly.graph_objs.figure_factory import FigureFactory as FF
791791
from plotly.graph_objs import Line, Marker
792792
from datetime import datetime
793793
@@ -824,7 +824,7 @@ def create_candlestick(open, high, low, close,
824824
Example 4: Candlestick chart with datetime objects
825825
```
826826
import plotly.plotly as py
827-
from plotly.tools import FigureFactory as FF
827+
from plotly.graph_objs.figure_factory import FigureFactory as FF
828828
829829
from datetime import datetime
830830
@@ -899,7 +899,7 @@ def create_distplot(hist_data, group_labels,
899899
Example 1: Simple distplot of 1 data set
900900
```
901901
import plotly.plotly as py
902-
from plotly.tools import FigureFactory as FF
902+
from plotly.graph_objs.figure_factory import FigureFactory as FF
903903
904904
hist_data = [[1.1, 1.1, 2.5, 3.0, 3.5,
905905
3.5, 4.1, 4.4, 4.5, 4.5,
@@ -916,7 +916,7 @@ def create_distplot(hist_data, group_labels,
916916
Example 2: Two data sets and added rug text
917917
```
918918
import plotly.plotly as py
919-
from plotly.tools import FigureFactory as FF
919+
from plotly.graph_objs.figure_factory import FigureFactory as FF
920920
921921
# Add histogram data
922922
hist1_x = [0.8, 1.2, 0.2, 0.6, 1.6,
@@ -957,7 +957,7 @@ def create_distplot(hist_data, group_labels,
957957
Example 3: Plot with normal curve and hide rug plot
958958
```
959959
import plotly.plotly as py
960-
from plotly.tools import FigureFactory as FF
960+
from plotly.graph_objs.figure_factory import FigureFactory as FF
961961
import numpy as np
962962
963963
x1 = np.random.randn(190)
@@ -977,7 +977,7 @@ def create_distplot(hist_data, group_labels,
977977
Example 4: Distplot with Pandas
978978
```
979979
import plotly.plotly as py
980-
from plotly.tools import FigureFactory as FF
980+
from plotly.graph_objs.figure_factory import FigureFactory as FF
981981
import numpy as np
982982
import pandas as pd
983983
@@ -1067,7 +1067,7 @@ def create_dendrogram(X, orientation="bottom", labels=None,
10671067
import numpy as np
10681068
10691069
import plotly.plotly as py
1070-
from plotly.tools import FigureFactory as FF
1070+
from plotly.graph_objs.figure_factory import FigureFactory as FF
10711071
10721072
X = np.random.rand(5,5)
10731073
dendro = FF.create_dendrogram(X)

0 commit comments

Comments
 (0)