You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
removed_chars = r'<>:"/|?\0 ' in get_default_filename has r before string so escape char '' is ignored in the string, so it just replace regular zero character '0' with '_'
just replace removed_chars = r'<>:"/|?\0 ' with removed_chars = '<>:"/\|?*\0 '
Bug summary
removed_chars = r'<>:"/|?\0 ' in get_default_filename has r before string so escape char '' is ignored in the string, so it just replace regular zero character '0' with '_'
just replace removed_chars = r'<>:"/|?\0 ' with removed_chars = '<>:"/\|?*\0 '
matplotlib/lib/matplotlib/backend_bases.py
Line 2223 in c887ecb
Code for reproduction
Actual outcome
It shows save dialog with 12_.png file name
Expected outcome
It should show save dialog with 120.png file name
Additional information
No response
Operating system
No response
Matplotlib Version
All
Matplotlib Backend
All
Python version
All
Jupyter version
All
Installation
None
The text was updated successfully, but these errors were encountered: