Hi Vincent, I'd be really interested to see your code for this if you've still got it!
Cheers, Michael On Monday, July 7, 2014 at 4:51:28 AM UTC+10, Vincent Le Saux wrote: > > This is exactly what I did (using a QGridLayout). However, I had to add a > "blank" label over the left axis to make sure the plotItem size of the two > widgets are exactly the same. > > I'll test your solution regarding the colorbar size. > > I should be able to provide the source code this week (if someone is > interested in of course). > > Thanks for your time! > > Regards, > > Vincent > > > > Le dimanche 6 juillet 2014 18:15:58 UTC+2, Luke Campagnola a écrit : >> >> On Thu, Jul 3, 2014 at 5:44 PM, Vincent Le Saux <[email protected]> >> wrote: >> >>> Everything is fully functionnal, but there remains two problems: >>> 1. I want the size of the colorbar (and its axis) to be exactly the >>> same as the widget 1 PlotItem (and in the prolongation) as illustrated by >>> the red element in the fileImageWidget_wanted.png. I would like to It is >>> possible to do that in PyQtGraph? >>> 2. I would like to adapt the size of the PlotItem axis of widget 3 so >>> that its width is exactly the same as the widget 1 PlotItem axis (in the >>> prolongation in fact) as illustrated by the blue lines in the file >>> ImageWidget_wanted.png. Is it possible with PyQtGraph? >>> >>> There's another solution here that might make more sense: Try adding all >> of the sub-components of each plot to a single grid. This would ensure that >> the boundaries all line up automatically. You could, for example, take the >> AxisItems, ViewBox, and LabelItems from widget 3 and add them into the >> layout used by widget 1. >> >> >> -- 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/76025df7-dfa8-43ee-a1ea-3a7a544de5c4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
