Skip to content

Commit 2c60f6f

Browse files
authored
Merge pull request matplotlib#19971 from timhoffm/doc-fix-formatters
Fix missing closing bracket in docs
2 parents ad33280 + 4531590 commit 2c60f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ticks_and_spines/tick-formatters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def major_formatter(x, pos):
8080
return f'[{x:.2f}]'
8181

8282

83-
setup(axs1[2], title='FuncFormatter("[{:.2f}]".format')
83+
setup(axs1[2], title='FuncFormatter("[{:.2f}]".format)')
8484
axs1[2].xaxis.set_major_formatter(major_formatter)
8585

8686
# Fixed formatter

0 commit comments

Comments
 (0)