Skip to content

Commit

Permalink
Added 'add_timestamp' to the isentropic_example.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
eliteuser26 committed Jan 28, 2018
1 parent bab71e8 commit 7879683
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/isentropic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import metpy.calc as mcalc
from metpy.cbook import get_test_data
from metpy.plots import add_metpy_logo
from metpy.plots import add_metpy_logo, add_timestamp
from metpy.units import units

#######################################
Expand Down Expand Up @@ -166,6 +166,7 @@
loc='left')
plt.title('VALID: {:s}'.format(str(vtimes[0])), loc='right')
plt.tight_layout()
add_timestamp(ax, vtimes[0], y=0.02, high_contrast=True)

######################################
# **Montgomery Streamfunction**
Expand Down Expand Up @@ -212,4 +213,6 @@
'Wind (kt), Relative Humidity (percent)', loc='left')
plt.title('VALID: {:s}'.format(str(vtimes[0])), loc='right')
plt.tight_layout()
add_timestamp(ax, vtimes[0], y=0.02, high_contrast=True)

plt.show()

0 comments on commit 7879683

Please sign in to comment.