Hi,

I want to change the graph style in a jupyter notebook.
(e.g. the background color of the PlotWidget from pyqtgraph.jupyter)

I tried, but the "setBackground" function does not exist.
Could you please tell me how to do this?

> import pyqtgraph as pg
> from pyqtgraph.jupyter import PlotWidget
>
> pg.mkQApp()
> pw = PlotWidget()
> pw.plot(x=[1,2,3], y=[1,3,2])
> pw.setBackground("#FFFFFF00") # AttributeError occured
> pw

Thank you in advance for your help.

--
KATAYAMA Daiki

-- 
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/CAJekVOWN_LCxW%2BpvV88JP1sgcrAkjqcCk1Z%3D72LaRs39eS9X3A%40mail.gmail.com.

Reply via email to