Skip to content

Commit

Permalink
Merge pull request #1080 from zbruick/xsection_ex_update
Browse files Browse the repository at this point in the history
DOC: Clarify x-axis variables in cross section example
  • Loading branch information
dopplershift committed Jul 3, 2019
2 parents ae0c67d + 4050445 commit d02773a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/cross_section.py
Expand Up @@ -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.

0 comments on commit d02773a

Please sign in to comment.