Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
AttackingOrDefending authored May 6, 2024
1 parent 24db9ed commit bd01693
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sundialy/analemmatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import datetime
from .tools import SPA
from shapely import affinity, geometry # type: ignore
from matplotlib.patches import Ellipse # type: ignore
import matplotlib.pyplot as plt # type: ignore
from matplotlib.patches import Ellipse
import matplotlib.pyplot as plt
import math

NUMBER_TYPE = Union[int, float]
Expand Down Expand Up @@ -209,7 +209,7 @@ def add_to_y(hour: NUMBER_TYPE) -> float:
zorder -= 1
ax.plot([x_ans], [y_ans], color='k', marker='.', zorder=zorder, linewidth=1)
zorder -= 1
ax.text(x_ans + add_to_x(hour) * 0.02 * self.width, y_ans + add_to_y(hour) * 0.02 * self.width, hour,
ax.text(x_ans + add_to_x(hour) * 0.02 * self.width, y_ans + add_to_y(hour) * 0.02 * self.width, str(hour),
{'size': 4}, zorder=zorder)

right = -1.
Expand Down

0 comments on commit bd01693

Please sign in to comment.