
    eJ	                        d Z ddlZddlZ ej
                           ej                  ddefdefdefdefdefd	g
      Z	g dZ
ej                  j                  dd      Z ej                  e
      e   e	d<   ej                  j                  d      e	d<   e	d   e	d   dk(  xx   dz  cc<   e	d   e	d   dk(  xx   dz  cc<   e	d   e	d   dk(  xx   dz  cc<   e	d   e	d   dk(  xx   dz  cc<   e	d   e	d   dk(  xx   dz  cc<   ej                  j                  d      e	d   dz  z   e	d<   e	d   e	d   dk(  xx   dz  cc<   e	d   e	d   dk(  xx   dz  cc<   e	d   dz  e	d   z   ej                  j                  dd      z   e	d<   ej                  j!                  dd      e	d   z  j#                  e      e	d<   ej                  j                  dd      e	d   dz  z   e	d<   e	d   e	d   dk(  xx   dz  cc<   e	d   e	d   dk(  xx   dz  cc<    ej$                         Zej)                  dddifdddifdi fddd ifddd!ifdd"e
d#fg       ej+                  e	       ej-                          ed$k(  r ej0                          yy)%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.

    Ni  x_posy_poscount	amplitudedecay)typeU10)dtype)Type-AType-BType-CType-DType-E   )sizer   r      r   r      r   r   g?   gffffff?g?)r   scaled   gMbP?g-C6?unitsmVsenum)modevalues__main__)__doc__numpynp	pyqtgraphpgmkQAppemptyfloatintdatastringsrandomrandinttypeIndsarraynormalexponentialastypeScatterPlotWidgetspw	setFieldssetDatashow__name__exec     F/usr/lib/python3/dist-packages/pyqtgraph/examples/ScatterPlotWidget.py<module>r;      s  &   			 rxxgu-/?%s^k5-A%u-@ A =99QT*rxx *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&<tG}LTTUXYW		  d$ 7${:Kd:RRW Wd6lh& '1 , ' Wd6lh& '1 , ' b wnwnbM7C.!wnf01  D  
zBGGI r9   