Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
""")

import atexit
from collections import MutableMapping
from collections.abc import MutableMapping
import contextlib
import distutils.version
import functools
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
All string specifications of color, other than "CN", are case-insensitive.
"""

from collections import Sized
from collections.abc import Sized
import itertools
import re

Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
.. |m37| image:: /_static/markers/m37.png
"""

from collections import Sized
from collections.abc import Sized
from numbers import Number

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
parameter set listed here should also be visited to the
:file:`matplotlibrc.template` in matplotlib's root source directory.
"""
from collections import Iterable, Mapping
from collections.abc import Iterable, Mapping
from functools import reduce
import operator
import os
Expand Down