
    ը	f                     0    d dl mZ d Zedk(  r e        yy)    Nc                     t        j                         \  } }dd l}ddlm}  |        ddlm} 	 ddlm} d }| d   r"| d   j                         j                  d      }d }| d   r"| d   j                         j                  d      }d }	| d   r| d   }	| d	   }
d }d }| d
   r| d
   j                         j                  d      }| d   st        j                  t        d             n| d   }|r!|	rt        j                  t        d             n"|s |	st        j                  t        d             d }| d   r| d   }d }| d   r| d   }d }| d   r| d   }d }| d   r| d   }|j!                         } d  |       t        d            }|d   r8|j"                  j%                  d       |j&                  j%                  d       |j)                  ||||	||||||d   t         j*                         |
r|j-                          | d   rU| d   j                         j                  d      }|D cg c]  }t/        |       }}|j0                  j3                  |       |j0                  j4                  j7                  |
       y |j9                          |j;                          y # t        $ r*}t        j                  |j                         Y d }~d }~ww xY wc c}w )Nr   )set_gui_path)StandaloneGrassInterface)
TplotFramestrds,coordinatescatsoutputstvdsattrz(With stvds you have to set 'attr' optionzNWith stvds it is not possible to use 'coordinates' and 'cats' options togetherz9With stvds you have to use 'coordinates' or 'cats' optiontitlexlabelylabelcsvzTemporal Plot Tool - GRASS GIS)parentgifacer   lT)statehsize)gscriptparserwxgrass.script.setupr   core.gifacer   tplot.framer   ImportErrorfatalmessagestripsplit_warningApplinRegRasterSetValuelinRegVectorSetDatasets	overwriteOnRedrawintcanvasSetSizefiguresavefigShowMainLoop)optionsflagsr   r   r   r   erasterscoordsr
   r   vectorsr   r   r   r   csvfileappframesizesss                        2/usr/lib/grass83/gui/wxpython/tplot/g.gui.tplot.pymainr?   s   s   ^^%NGU/N4!* Gw'"((*005F}'--/55c:DvvXFGDw'"((*005vMM!FGH6?DdMM2 OOPQ Ew Fx"Fx"Gu~%.
&&(C')01E
 Sz##$#/##$#/	c
 6?FO))+11#6E%*+SV+E+LL  '##F+

U  !aii  !J ,s   J' 1K'	K0KK__main__)grass.scriptscriptr   r?   __name__     r>   <module>rF      s&   ` Wt zF rE   