From 9839beebf22a5abd2c3f7fd42d0f249db87310d9 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 19f52e95f98..ac070189d80 100644 --- a/src/metpy/plots/declarative.py +++ b/src/metpy/plots/declarative.py @@ -203,6 +203,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.