Skip to content

Commit 944a513

Browse files
author
Johann Krauter
committed
fix flake8 build fail
1 parent 0005c7e commit 944a513

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

galleries/examples/shapes_and_collections/ellipse_arrow.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@
1818

1919
from typing import Tuple
2020

21+
# %%
22+
#
23+
# A method to calculate the end points of the ellipse major, minor axis
24+
# """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
25+
#
26+
# Calculates the minor axis and major axis end points of the ellipse.
27+
# It needs the ellipse parameter like widht, height, angle.
28+
# The output are 2 lists of 2 xy coordinates
29+
# (minor((x0, y0), (x1, y1)), major((x0, y0), (x1, y1))).
30+
2131

2232
def getMinorMajor(ellipse: Ellipse) -> Tuple[list, list]:
2333
"""

0 commit comments

Comments
 (0)