コード例 #1
0
 def from_(cls, plot_item: pg.PlotItem):
     plot_item.__class__ = cls
     return plot_item