From ce2c4d37b560126b2113d5e6f482944f1dfe6f60 Mon Sep 17 00:00:00 2001 From: kgoebber Date: Fri, 16 Sep 2022 20:20:56 -0500 Subject: [PATCH] rebase fixes --- src/metpy/plots/declarative.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/metpy/plots/declarative.py b/src/metpy/plots/declarative.py index 41afb769c4b..c29f9075326 100644 --- a/src/metpy/plots/declarative.py +++ b/src/metpy/plots/declarative.py @@ -646,6 +646,20 @@ class PanelTraits(MetPyHasTraits): 'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'. """ + left_title = Unicode(allow_none=True, default_value=None) + left_title.__doc__ = """A string to set a title for the figure with the location on the + top left of the figure. + + This trait sets a user-defined title that will plot at the top left of the figure. + """ + + right_title = Unicode(allow_none=True, default_value=None) + right_title.__doc__ = """A string to set a title for the figure with the location on the + top right of the figure. + + This trait sets a user-defined title that will plot at the top right of the figure. + """ + plots = List(Any()) plots.__doc__ = """A list of handles that represent the plots (e.g., `ContourPlot`, `FilledContourPlot`, `ImagePlot`, `SkewPlot`) to put on a given panel.