CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
GraphicsLayout.cpython-310.pyc36 linesDownload Raw Back to __pycache__
1o

2�Yi��@sdZddlZddlZe�d�Ze��Zej	dd�Z3e�e4�e��e�
d�e�dd�d	Ze5jed6dd�e7��e8jd
ddd�e9jdd�Ze10jdd�Ze11jdd�Ze�ejjdd��Ze�e�e��e12��e13jddd�Ze�dddd�ejddd�e��ejdddd�e��Z e��Z!e��e��Z"e��Z#e��ejdd14dd�e �$d �e!�$d �e!�$d!�e#�$d!�e �%�e!�%�e"�%�e#�%�e15jdd16d"�Z&e17jdddd#�Z'e�(gd$��e�(gd$��e&�(gd$��e'�(gd$��e)d%k�re�*�dSdS)&zX18Demonstrate the use of layouts to control placement of multiple plots / views /19labels20�NzGradiant Layout Example)�drr)�borderz!pyqtgraph example: GraphicsLayouti iXz�21This example demonstrates the use of GraphicsLayout to arrange items in a grid.<br>22The items added to the layout must be subclasses of QGraphicsWidget (this includes <br>23PlotItem, ViewBox, LabelItem, and GrphicsLayout itself).24��)�col�colspanzLong Vertical Labeli�����)ZangleZrowspanzPlot 1)�titlezPlot 2T)Z25lockAspect)rr)�size)�2rr)rr�26zKSub-layout: this layout demonstrates the use of shared axes and axis labels)rzVertical Axis Label�ZHorizontalAxisLabel�bottom�left)�rowr)rrr)rrr
rr��__main__)+�__doc__�numpy�npZ	pyqtgraphZpgZmkQAppZappZGraphicsView�viewZGraphicsLayout�lZsetCentralItem�showZsetWindowTitle�resize�textZaddLabelZnextRowZaddPlot�p1Zp2Z27addViewBoxZvbZ	ImageItem�random�normalZimgZaddItemZ	autoRangeZ	addLayout�l2ZsetContentsMarginsZp21Zp22Zp23Zp24ZhideAxisZhideButtonsZp4Zp5Zplot�__name__�exec�r!r!��E:\DocsHouse\542 percep lab latest\PerceptionLab\PerceptionLab_Portable\python_embed\Lib\site-packages\pyqtgraph/examples/GraphicsLayout.py�<module>sd282930313233343536�
Aluode/PerceptionLabPortable · CoolFace