Skip to content

Commit

Permalink
another one Jim's python doesn't like
Browse files Browse the repository at this point in the history
teuben committed Aug 21, 2023
1 parent 9e207d6 commit e72fc67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plot1d.py
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ def mouse_moved(e):
bottom = 0.1

# the time in seconds between frames
delay= 100 / 1000
delay = 100 / 1000

# getting the variable names
with open(f[0]) as file:
@@ -224,7 +224,8 @@ def mouse_moved(e):
radio = RadioButtons(rax,
tuple(variables),
# label_props={'color': ['white' for _ in variables]},
radio_props={'color': ['#1f77b4' for _ in variables], 'edgecolor': ['black' for _ in variables]})
# radio_props={'color': ['#1f77b4' for _ in variables], 'edgecolor': ['black' for _ in variables]}
)
rax.axis('off') # removes the border around the radio buttons
radio.on_clicked(select_h)

0 comments on commit e72fc67

Please sign in to comment.