Exporter

class metpy.plots.ctables.Exporter(globls)[source]

Manages exporting of symbols from the module.

Grabs a reference to globals() for a module and provides a decorator to add functions and classes to __all__ rather than requiring a separately maintained list. Also provides a context manager to do this for instances by adding all instances added within a block to __all__.

Initialize the Exporter.

Methods Summary

__init__(globls) Initialize the Exporter.
export(defn) Declare a function or class as exported.

Methods Documentation

__init__(globls)[source]

Initialize the Exporter.

export(defn)[source]

Declare a function or class as exported.