uples, iterators etc
                group_iter = iter(mark_groups)
            else:
                # False
                group_iter = iter({}.items())

            if kwds.get(&#34;legend&#34;, False):
                legend_info = {
                    &#34;handles&#34;: [],
                    &#34;labels&#34;: [],
                }

            # Iterate over color-memberlist pairs
            for group, color_id in group_iter:
                if not group or color_id is None:
                    co