diff --git a/plotly/figure_factory/_quiver.py b/plotly/figure_factory/_quiver.py index fa182222881..a72df5ba10b 100644 --- a/plotly/figure_factory/_quiver.py +++ b/plotly/figure_factory/_quiver.py @@ -9,7 +9,7 @@ def create_quiver( x, y, u, v, scale=0.1, arrow_scale=0.3, angle=math.pi / 9, scaleratio=None, **kwargs ): """ - Returns data for a quiver plot. + Returns a figure for a quiver plot. :param (list|ndarray) x: x coordinates of the arrow locations :param (list|ndarray) y: y coordinates of the arrow locations @@ -27,7 +27,7 @@ def create_quiver( for more information on valid kwargs call help(plotly.graph_objs.Scatter) - :rtype (dict): returns a representation of quiver figure. + :rtype (plotly.graph_objects.Figure): returns a representation of quiver figure. Example 1: Trivial Quiver diff --git a/plotly/figure_factory/_streamline.py b/plotly/figure_factory/_streamline.py index 55b74c3e7b7..537665cc28f 100644 --- a/plotly/figure_factory/_streamline.py +++ b/plotly/figure_factory/_streamline.py @@ -38,7 +38,7 @@ def create_streamline( x, y, u, v, density=1, angle=math.pi / 9, arrow_scale=0.09, **kwargs ): """ - Returns data for a streamline plot. + Returns a figure for a streamline plot. :param (list|ndarray) x: 1 dimensional, evenly spaced list or array :param (list|ndarray) y: 1 dimensional, evenly spaced list or array @@ -55,7 +55,7 @@ def create_streamline( for more information on valid kwargs call help(plotly.graph_objs.Scatter) - :rtype (dict): returns a representation of streamline figure. + :rtype (plotly.graph_objects.Figure): returns a representation of streamline figure. Example 1: Plot simple streamline and increase arrow size