We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e5bf6e commit f9e94c9Copy full SHA for f9e94c9
plotly/figure_factory/_streamline.py
@@ -354,7 +354,11 @@ def get_streamline_arrows(self):
354
dif_x = arrow_end_x - arrow_start_x
355
dif_y = arrow_end_y - arrow_start_y
356
357
+ orig_err = np.geterr()
358
+ np.seterr(divide='ignore', invalid='ignore')
359
streamline_ang = np.arctan(dif_y / dif_x)
360
+ np.seterr(**orig_err)
361
+
362
363
ang1 = streamline_ang + (self.angle)
364
ang2 = streamline_ang - (self.angle)
0 commit comments