diff --git a/FlowCytometryTools/core/containers.py b/FlowCytometryTools/core/containers.py index c33c437..fe4bdc2 100644 --- a/FlowCytometryTools/core/containers.py +++ b/FlowCytometryTools/core/containers.py @@ -1,4 +1,4 @@ -import collections +import collections.abc import inspect import warnings from itertools import cycle @@ -135,7 +135,7 @@ def plot( if gate_colors is None: gate_colors = cycle(("b", "g", "r", "m", "c", "y")) - if not isinstance(gate_lw, collections.Iterable): + if not isinstance(gate_lw, collections.abc.Iterable): gate_lw = [gate_lw] gate_lw = cycle(gate_lw)