diff --git a/mpas_analysis/shared/plot/climatology_map.py b/mpas_analysis/shared/plot/climatology_map.py index d2685d215..d458f7681 100644 --- a/mpas_analysis/shared/plot/climatology_map.py +++ b/mpas_analysis/shared/plot/climatology_map.py @@ -612,10 +612,9 @@ def plot_panel(ax, title, array, colormap, norm, levels, ticks, contours, colors=lineColor, linewidths=lineWidth) # add arrows to streamlines if arrows is not None: - for collection in cs.collections: - for path in collection.get_paths(): - for poly in path.to_polygons(): - add_arrow_to_line_2d(ax, poly) + for path in cs.get_paths(): + for poly in path.to_polygons(): + add_arrow_to_line_2d(ax, poly) # create an axes on the right side of ax. The width of cax will be 5% # of ax and the padding between cax and ax will be fixed at 0.05 inch. divider = make_axes_locatable(ax)