PyTuflow: Difference between revisions

Content deleted Content added
Line 687:
# add legend to plot
lines, labs = ax.get_legend_handles_labels()
 
# filter duplicate legend items (if there is more than one pipe or culvert)
# for example if there is more than one pipe or culvert we only want that to appear once in the legend
unique_lines = []
unique_labels = []