def set_line_width(self, width):
"""
Set the line plot width
Parameters
----------
width: float
The width of the line
"""
self.line_width = width
_pen = pg.mkPen(self._plot.opts['pen'])
_pen.setWidth(self.line_width)
self.pen = _pen
评论列表
文章目录