Skip to content

Commit 9d57f56

Browse files
committed
remove references to FigureWidget for now.
1 parent 11cd956 commit 9d57f56

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Diff for: plotly/figure_factory/_quiver.py

+2-11
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99

1010
def create_quiver(x, y, u, v, scale=.1, arrow_scale=.3,
11-
angle=math.pi / 9, scaleratio = None,
12-
returnAsFigureWidget = False, **kwargs):
11+
angle=math.pi / 9, scaleratio = None, **kwargs):
1312
"""
1413
Returns data for a quiver plot.
1514
@@ -113,15 +112,7 @@ def create_quiver(x, y, u, v, scale=.1, arrow_scale=.3,
113112
)
114113
)
115114

116-
if returnAsFigureWidget:
117-
f = graph_objs.FigureWidget(data=data, layout=layout)
118-
f.layout.on_change(update_quiver, 'xaxis.range', 'yaxis.range', 'width', 'height')
119-
return f
120-
else:
121-
return graph_objs.Figure(data=data, layout=layout)
122-
123-
def update_quiver(layout):
124-
print("Inside callback function")
115+
return graph_objs.Figure(data=data, layout=layout)
125116

126117
class _Quiver(object):
127118
"""

0 commit comments

Comments
 (0)