Skip to content

Conversation

tgpfeiffer
Copy link

The current version emits a warning

$ python -Wdefault demo.py 
.../japanize_matplotlib.py:16: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  is_support_createFontList = LooseVersion(matplotlib.__version__) < '3.2'
.../site-packages/setuptools/_distutils/version.py:345: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  other = LooseVersion(other)

so I have updated the code to use packaging.version.Version instead.

@tgpfeiffer
Copy link
Author

duplicate of #27

@tgpfeiffer tgpfeiffer closed this Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant