Hi,
How do I get the less than symbol to actually appear on the screen when using annotate?
panel1=buildWindow(height=480,width=640)[0]
labelStr2='{} um - {} um difference ({} um clouds @ < 250K)'.format(3.9,10.4,10.4)
labelStr2Annon=panel1.annotate(labelStr2, line=450, element=600,color='white', bgColor='black', alignment=('left','center'))
less than symbol in annotate
Re: less than symbol in annotate
Hi Joleen -
With annotate you can use html for characters like less than or greater than (< and > respectively). This would change your code to:
Please let me know if you have any problems with this.
- Bob Carp
With annotate you can use html for characters like less than or greater than (< and > respectively). This would change your code to:
Code: Select all
panel1=buildWindow(height=480,width=640)[0]
labelStr2='{} um - {} um difference ({} um clouds @ < 250K)'.format(3.9,10.4,10.4)
labelStr2Annon=panel1.annotate(labelStr2, line=450, element=600,color='white', bgColor='black', alignment=('left','center'))
Please let me know if you have any problems with this.
- Bob Carp