Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ampersand04 committed Dec 22, 2023
1 parent 056b853 commit e8de582
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions trunk/II02323/task_03/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ def calculate_circle_intersection(x1, y1, x2, y2):
class GraphNode:
def __init__(self, name):
seed_value = 42
np_random.seed(seed_value)
np.random.seed(seed_value)
self.name = name
x = np_random.default_rng().integers(0, 636)
y = np_random.default_rng().integers(0, 596)
self.x = np.random.default_rng(seed=seed_value).integers(0, 636)
#self method
self.circle = create_circle(self.x, self.y, 20, fill=color_vertex)
self.text = canvas.create_text(self.x, self.y, anchor='center', font="Arial 9", text=name, fill="black")
Expand Down

0 comments on commit e8de582

Please sign in to comment.