use mkdtemp in _create_tmp_config_dir #4597
Labels
Difficulty: Easy
https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues
mentored: hackathon
Milestone
See https://docs.python.org/2/library/tempfile.html#tempfile.mkdtemp
Noted while reviewing #4591
Python now has a function in tempfile which will ensure we get a usable directory in 'the most secure way possible' which seems better than rolling our own.
The text was updated successfully, but these errors were encountered: