Skip to content
Open
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
5 changes: 4 additions & 1 deletion smithplot/smithaxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
parameters are array-like types (e.g. numpy.ndarray).
'''

from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from numbers import Number
from types import MethodType, FunctionType

Expand Down
5 changes: 4 additions & 1 deletion smithplot/smithhelper.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# -*- coding: utf-8 -*-
# last edit: 11.04.2018

from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable

import numpy as np

Expand Down