Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4363436

Browse files
committed
A quick 🐄-tip on unnecessary parentheses.
1 parent b0a02bd commit 4363436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/graph_objs/figure_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,8 +1463,8 @@ def get_streamline_arrows(self):
14631463

14641464
streamline_ang = np.arctan(dif_y / dif_x)
14651465

1466-
ang1 = streamline_ang + (self.angle)
1467-
ang2 = streamline_ang - (self.angle)
1466+
ang1 = streamline_ang + self.angle
1467+
ang2 = streamline_ang - self.angle
14681468

14691469
seg1_x = np.cos(ang1) * self.arrow_scale
14701470
seg1_y = np.sin(ang1) * self.arrow_scale

0 commit comments

Comments
 (0)