Skip to content

Commit 7494655

Browse files
committed
MNT: Update colors on Skew-T example
Grab some other colors out of the default cycle so that temp is red, dewpoint is green, and the slanted line is blue.
1 parent 5c11d2c commit 7494655

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/api/skewt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@ def upper_xlim(self):
241241

242242
# Plot the data using normal plotting functions, in this case using
243243
# log scaling in Y, as dictated by the typical meteorological plot
244-
ax.semilogy(T, p)
245-
ax.semilogy(Td, p)
244+
ax.semilogy(T, p, color='C3')
245+
ax.semilogy(Td, p, color='C2')
246246

247247
# An example of a slanted line at constant X
248-
l = ax.axvline(0)
248+
l = ax.axvline(0, color='C0')
249249

250250
# Disables the log-formatting that comes with semilogy
251251
ax.yaxis.set_major_formatter(ScalarFormatter())

0 commit comments

Comments
 (0)