Tanaka-san I appreciate your response to my issue. Your answer was very helpful and it was able to solve my problem. Thank you again for your support.
2023年3月13日(月) 10:35 Shin-ichiro Tanaka <[email protected]>: > Hi, > > I experienced the same issue in my system. > > Instead, how about using > > "pg.setConfigOption('background', 'w') > pg.setConfigOption('foreground', 'k’)" > . > > These should be placed before “pw=PlotWidget()”. > > > > > 2023/03/12 1:20、片山 大輝 <[email protected]>のメール: > > > > 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 > . > > -- > 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/C91552BD-3820-45FB-83DA-2760CBBBE479%40gmail.com > . > -- 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/CAJekVOU-3dCjOLSOERXVq_QLA16hK1iJw-P0UUcVXku34ut_aw%40mail.gmail.com.
