Error using FigureCanvasQTAgg in MatplotlibWidget pyqt5

前端 未结 1 1793
庸人自扰
庸人自扰 2021-01-25 09:10

I would like to plot on my GUI with pyqt5 using matplotlib. I have created a class called MatplotlibWidget which create the figure and canvas of my plot. But I have a problem to

相关标签:
1条回答
  • 2021-01-25 09:48

    If using pyqt5, do this:

    from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg
    
    0 讨论(0)
提交回复
热议问题