;iJ dZddlZddlZejejddefdefdefdefdefd g Z gd Z ej d d Z eje e e d<ej d e d<e de ddkxxdzcc<e de ddkxxdzcc<e de ddkxxdz cc<e de ddkxxdz cc<e de ddkxxdz cc<ej d e ddzze d<e de ddkxxdz cc<e de ddkxxdz cc<e ddze dzej ddze d<ej dde dzee d<ej dde ddzze d<e de ddkxxdzcc<e de ddkxxdzcc<ejZedddifdddifdifddd ifddd!ifdd"e d#fgee eed$krejdSdS)%a Demonstration of ScatterPlotWidget for exploring structure in tabular data. The widget consists of four components: 1) A list of column names from which the user may select 1 or 2 columns to plot. If one column is selected, the data for that column will be plotted in a histogram-like manner by using pg.pseudoScatter(). If two columns are selected, then the scatter plot will be generated with x determined by the first column that was selected and y by the second. 2) A DataFilter that allows the user to select a subset of the data by specifying multiple selection criteria. 3) A ColorMap that allows the user to determine how points are colored by specifying multiple criteria. 4) A PlotWidget for displaying the data. Nix_posy_poscount amplitudedecay)typeU10)dtype)Type-AType-BType-CType-DType-E)sizerr r r rrg?gffffff?g?)rscaledgMbP?g-C6?unitsmVsenum)modevalues__main__)__doc__numpynp pyqtgraphpgmkQAppemptyfloatintdatastringsrandomrandinttypeIndsarraynormal exponentialastypeScatterPlotWidgetspw setFieldssetDatashow__name__execXC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\pyqtgraph/examples/ScatterPlotWidget.pyr;s&  rxgu-/?%s^k5-A%u-@AAA = < < 9  QT  * *rx  *V    d ++W W d6lh&'''1,'''W d6lh&'''1,'''W d6lh&'''1,'''W d6lh&'''1,'''W d6lh&'''1,'''   d ++d7mC.??W W d6lh&'''1,'''W d6lh&'''1,'''MC'$w-7"):J:JPT\_:J:`:``[&&D&<