eomatch.MatchupEvent.plot

eomatch.MatchupEvent.plot#

MatchupEvent.plot(ax=None, show_bbox: bool = False, tick_step: float | None = None)[source]#

Plot the product footprints for all matchups in this event’s matchup_set, coloured by collection. Products shared across multiple matchups are drawn only once. Optionally overlays the event bounding box as a dashed rectangle.

Parameters:
  • ax – existing cartopy PlateCarree axes to draw onto; a new figure is created when not provided.

  • show_bbox – if True, draw the event lat/lon bounding box as a dashed rectangle.

  • tick_step – lat/lon axis tick separation passed through to plot_geometries().

Returns:

the axes object.

cartopy is optional (pip install 'eomatch[plot]') and imported lazily – if it is not installed, the plot is still produced (with a warning), just without a map projection/coastlines.

Example usage:

import matplotlib.pyplot as plt

event = events[0]
event.plot(show_bbox=True)
plt.show()