plot_two

tropycal.utils.plot_two(self, two_dict, days=7, **kwargs)[source]

Plot a NHC Tropical Weather Outlook (TWO) on the axes instance.

Parameters
  • two_dict (dict) – Dictionary containing TWO areas and points. This dictionary can be retrieved from utils.get_two_current() or utils.get_two_archive().

  • days (int) – Forecast range of TWO. Can be 2, 5 or 7 days. Default is 7.

Other Parameters
  • ms (int or float, optional) – Marker size label for invest areas. Default is 15.

  • linewidth (int or float, optional) – Linewidth of TWO area. Default is 1.5.

  • alpha (int or float, optional) – Opacity of TWO area fill. Default is 0.3.

  • zorder (int, optional) – Optional display order on axes of TWO areas and labels.

Notes

It is not necessary to pass a “transform” keyword argument, as this is already assumed to be ccrs.PlateCarree().

This function is already appended to an axes instance if ax = utils.add_tropycal(ax) is run beforehand. This allows this method to be called simply via ax.plot_two(...).