This commit is contained in:
XANTRONIX 2025-03-15 00:47:01 -04:00
parent cd679d3fc6
commit 56d15ef499

View file

@ -279,16 +279,16 @@ class SkewTGraph():
if params is not None: if params is not None:
self.draw_params(cr, x, y, params) self.draw_params(cr, x, y, params)
if self.opts.draw_virtual_temp:
cr.set_source_rgba(1, 0.6, 0.6, 0.5)
self.draw_series(cr, x, y, sounding.follow_virtual_temp())
cr.set_source_rgb(1, 0, 0) cr.set_source_rgb(1, 0, 0)
self.draw_sounding(cr, x, y, sounding, lambda s: s.temp) self.draw_sounding(cr, x, y, sounding, lambda s: s.temp)
cr.set_source_rgb(0, 1, 0) cr.set_source_rgb(0, 1, 0)
self.draw_sounding(cr, x, y, sounding, lambda s: s.dewpoint) self.draw_sounding(cr, x, y, sounding, lambda s: s.dewpoint)
if self.opts.draw_virtual_temp:
cr.set_source_rgba(1, 0.6, 0.6, 0.5)
self.draw_series(cr, x, y, sounding.follow_virtual_temp())
cr.reset_clip() cr.reset_clip()
class SkewTLegend(): class SkewTLegend():