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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -