Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b49232d + 6e50a99 commit 3cdfc95Copy full SHA for 3cdfc95
1 file changed
examples/ticks_and_spines/tick-formatters.py
@@ -80,7 +80,7 @@ def major_formatter(x, pos):
80
return f'[{x:.2f}]'
81
82
83
-setup(axs1[2], title='FuncFormatter("[{:.2f}]".format')
+setup(axs1[2], title='FuncFormatter("[{:.2f}]".format)')
84
axs1[2].xaxis.set_major_formatter(major_formatter)
85
86
# Fixed formatter
0 commit comments