def _rem_dup_leg(ax):
    """
	Removes duplicate legend entries.

	Parameters
	----------
	ax : plt.axishandle
		Axis handle containing entries to remove.

	Returns
	-------
	han_list : list
		List of axis handles.

	lab_list : list
		List of axis handle labels.
	"""
    han, lab = ax.get_legend_handles_labels()
    han_list, lab_list = [], []
    for h, l in zip(han, lab):
        if l not in lab_list:
            han_list.append(h)
            lab_list.append(l)
    return han_list, lab_list
