8000 adding str to force string in format · matplotlib/matplotlib@43e3dcb · GitHub
[go: up one dir, main page]

Skip to content

Commit 43e3dcb

Browse files
committed
adding str to force string in format
1 parent 5ac32f3 commit 43e3d
8000
cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/user_interfaces/toolmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def trigger(self, *args, **kwargs):
4141
print("{0:12} {1:45}".format("Group", "Active"))
4242
print('-' * 80)
4343
for group, active in self.toolmanager.active_toggle.items():
44-
print("{0:12} {1:45}".format(group, active))
44+
print("{0:12} {1:45}".format(str(group), str(active)))
4545

4646

4747
class GroupHideTool(ToolToggleBase):

0 commit comments

Comments
 (0)
0