I'm sorry, I'm sure this is an extremely basic question, but I've been
unable to sort it out.
I have a plot contained in a window. I'd like to be able to change the
background of the entire plot, including behind the axis labels, extending
all the way to the boundary of the graphics area. (but not to the edge of
the window)
Thus far, I've only been able to figure out how to change the color of the
background of the area *within* the axes, using vb.setBackgroundColor.
This doesn't quite do what I need. I can also change the default values
using setConfigOption, but again - I'd like to be able to change the
background of a plot that's already been rendered.
What am I missing?
Relevant code:
# Make a sample graph
self.plotView = pg.GraphicsLayoutWidget()
self.inlinePlot = self.plotView.addPlot()
self.curve = self.inlinePlot.plot(x,y)
layout = QtGui.QGridLayout(self)
layout.addWidget(self.plotView,2,0,1,3)
--
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/c5fbbeb3-8f2c-4d24-aa61-6942e52c4d46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.