python - PyQtGraph : how to change size (height and width) of graph in a ScrollArea -


i'm trying plot graph in scroll area i've no idea how change size of graphs. here example of have:

enter image description here

as can see, in scrollarea (in red) size want, have graph (well, in reallity have more graphs , want see more 1 (at least two) in area).

so, want height of graph (a) smaller , width of graph (b) expanding. somine can me ?

thanks !

it looks plot inside layout "hide emg" button. widget holding layout must resized fit scroll area. you'll need provide code sample if want more that..

also consider using pg.multiplotwidget, provides similar functionality.


Comments

Popular posts from this blog

php - How to serve a file for download on WordPress -

how to share virtual sharepoint server and get it in host windows and visual studio? -