From 14925b7fe3d3712829ae963635a1caabecb27d2c Mon Sep 17 00:00:00 2001 From: fake-name Date: Mon, 24 Jun 2019 14:11:54 -0700 Subject: [PATCH] Gah, forgot to add this. --- pyqtgraph/graphicsItems/PlotCurveItem.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyqtgraph/graphicsItems/PlotCurveItem.py b/pyqtgraph/graphicsItems/PlotCurveItem.py index 2ee4978a..e90901a0 100644 --- a/pyqtgraph/graphicsItems/PlotCurveItem.py +++ b/pyqtgraph/graphicsItems/PlotCurveItem.py @@ -69,7 +69,8 @@ class PlotCurveItem(GraphicsObject): 'mouseWidth': 8, # width of shape responding to mouse click 'compositionMode': None, } - + if 'pen' not in kargs: + self.opts['pen'] = fn.mkPen('w') self.setClickable(kargs.get('clickable', False)) self.setData(*args, **kargs)