I am trying to edit hovertext in figure_factory.create_quiver().
I am visualizing Spatio-temporal data and basically have 5 columns for coordinates (x, y), differences in coordinates (dx, dy) and velocity (calculated by dx and dy).
the exact code I am using now is below.
fig.add_traces( ff.create_quiver( df['x'], df['y'], df['dx'], df['dy'], hovertext=df['v'] ).data )
When I hover the cursor on an arrow, it only shows the coordinate of one of its edges, not the velocity(
Then I looked into the
ff.create_quiver().data and found out the lengths of x and y axes and that of
df['v'] (i.e. length of original df) do not match; x and y axes are twice as long as the original dataframe.
Is it because one arrow consists of multiple lines?
And how can I put hovertext on each arrow?