;idZddlZddlZddlmZejdddZej eez Z ej Z e dde d e ee Zejd d d d dZe eede ejde fdZe eejeae t.ejddZet.ejdZet.dadZejZej ee!de"dkrej#dSdS)aF This example shows how to insert text into a scene using TextItem. This class is for displaying text that is anchored to a particular location in the data coordinate system, but which is always displayed unscaled. For text that scales with the data, use QTextItem. For text that can be placed in a layout, use LabelItem. N)QtCoreiizpyqtgraph example: textz
This is the
PEAK
)g333333ӿ?-w)rrd)htmlanchorangleborderfilli)posrtest)rg)r Z)rcJtdzttzatt tttdz z t dttttfzdS)Nz[%0.1f, %0.1f]) indexlenx curvePointsetPosfloattext2setTextyKC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\pyqtgraph/examples/text.pyupdater"*sj QY#a&& EeEllCFF1H-... MM"ah%%99:::::r __main__)$__doc__numpynp pyqtgraphpg pyqtgraph.Qtrlinspacersinrplot setYRangesetWindowTitlecurveTextItemtextaddItemrmax ArrowItemarrow CurvePointrr setParentItemarrow2rr"QTimertimertimeoutconnectstart__name__execrr r!rAs2BKR BF1IIMrwyyr1-... !Ar{ir|DFORYijjj T Aquuww  !QUUWWS111 UR]5 ! !  Z F;///J B   Z  ;;;   f B z BGIIIIIr