MetPy
  • Installation Guide
  • Unit Support
  • Examples
  • Tutorials
  • Reference Guide
    • constants
    • units
    • io
    • cdm
    • calc
    • plots
      • add_metpy_logo
      • add_timestamp
      • add_unidata_logo
      • convert_gempak_color
      • read_colortable
      • Hodograph
      • SkewT
      • StationPlot
      • StationPlotLayout
    • ctables
    • interpolate
    • gridding
  • GEMPAK Conversion Guide
  • Contributors Guide
  • Infrastructure Guide
  • Citing MetPy
  • References
MetPy
  • Docs »
  • Reference Guide »
  • plots »
  • add_unidata_logo
  • Improve this page

add_unidata_logo¶

metpy.plots.add_unidata_logo(fig, x=10, y=25, zorder=100, size='small', **kwargs)[source]¶

Add the Unidata logo to a figure.

Adds an image of the MetPy logo to the figure.

Parameters:
  • fig (matplotlib.figure) – The figure instance used for plotting
  • x (int) – x position padding in pixels
  • y (float) – y position padding in pixels
  • zorder (int) – The zorder of the logo
  • size (str) – Size of logo to be used. Can be ‘small’ for 75 px square or ‘large’ for 150 px square.
Returns:

matplotlib.image.FigureImage – The matplotlib.image.FigureImage instance created

Next Previous

© Copyright 2017, MetPy Developers. Last updated on Sep 29, 2018 at 20:19:33.

Built with Sphinx using a theme provided by Read the Docs.

Do you enjoy using MetPy? Say Thanks!