From 40504455870c09cf00f2082bc11c33dc67a1404f Mon Sep 17 00:00:00 2001 From: zbruick Date: Tue, 2 Jul 2019 13:36:20 -0600 Subject: [PATCH] Added note that x-axis can be any variable, due to feedback received from a user --- examples/cross_section.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/cross_section.py b/examples/cross_section.py index 3a46d6d9c06..5388ad5d1ed 100644 --- a/examples/cross_section.py +++ b/examples/cross_section.py @@ -136,3 +136,8 @@ rh_colorbar.set_label('Relative Humidity (dimensionless)') plt.show() + +############################## +# Note: The x-axis can display any variable that is the same length as the +# plotted variables, including latitude. Additionally, arguments can be provided +# to ``ax.set_xticklabels`` to label lat/lon pairs, similar to the default NCL output.