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.
1 parent 7329d6a commit 78ca288Copy full SHA for 78ca288
lib/matplotlib/tests/test_cbook.py
@@ -910,3 +910,4 @@ def test_safe_first_element_with_none():
910
def test_auto_format_str(fmt, value, result):
911
"""Apply *value* to the format string *fmt*."""
912
assert cbook._auto_format_str(fmt, value) == result
913
+ assert cbook._auto_format_str(fmt, np.float64(value)) == result
0 commit comments