Figured it out!

GraphicsLayout.setSpacing(0) did the trick.


On Thursday, 17 January 2019 14:54:07 UTC-5, Mark wrote:
>
> Hi there,
>
> I have a GraphicsLayoutWidget with three PlotItems in it.  One PlotItem 
> spans 2 columns in Row 0, and two PlotItems in Row 1 each span 1 column.
>
> I would like the PlotItems to lie directly adjacent to one another, with 
> no gap between their borders. 
>
> if I use SetContentsMargin() , it only seems to affect the border around 
> the PlotItems and not the gap between them.
>
> Any ideas how I can set the border between the PlotItems in my 
> GraphicsLayout to 0? 
>
> Thanks!
>
> Mark
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/523b698b-d1b4-41c4-915b-01a01eac2f3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to